OpenOffice Export PDF

 

Follow Askgerbil on Twitter 


The attached documents illustrate the use of the OpenOffice Writer to create and export PDF files -

  • Bookmarks in OpenOffice documents are exported as Named Destinations in the PDF files.
  • Hyperlinks in the OpenOffice documents are exported as PDF links to Named Destinations in the PDF files.

Two problems exist -

  • If there are 65 or more Named Destinations in the target PDF file, Adobe Reader will open the target PDF file at the beginning of the file instead of at the Named Destination.
  • If the source file is opened in PDF-XChange Viewer, the target PDF file is ALWAYS opened at the beginning of the file instead of at the Named Destination - no matter how many, or few, Named Destinations are in the target PDF file.

18 Feb 2010
Update on correctly positioning target PDF documents when following hyperlinks created with OpenOffice Writer PDF Export (using PDF-XChange Viewer to read the PDF documents):

The support team at Tracker Software Products advised -

Thanks for supplying those samples, and as you can see the comunication below, the problem has been located and fixed.
The fix would be available with the next build ("2.0.48") in about a couple of weeks.

Support Team
Tracker Software Products
PDF-XChange & SDK, Image-XChange SDK,
PDF-Tools & SDK, TIFF-XChange & SDK.
 
05 Mar 2010
Further Update: The new version of PDF-XChange Viewer: Build 2.0.48 available for download (FREE) from Tracker Software Products (HERE).
PDF files created with OpenOffice Writer (PDF Export function) - that contain hyperlinks to Named Destinations in target PDF documents - correctly open and position the target PDF documents, using PDF-XChange Viewer!!!
(The target PDF documents may be created with any software capable of adding Named Destinations. This includes OpenOffice Writer (PDF Export function).)
 
Many thanks to the Software Support Team at Tracker Software Products.

Note that if a link is created with PDF-XChange Viewer, both Adobe Reader and PDF-XChange Viewer will position the target PDF file correctly at the nominated Named Destination, regardless of whether there are 65 or more Named Destinations in it.

The difference between the PDF links in the example attached PDF files is -

  • PDF-XChange Viewer link syntax:

<<
/A <<
/D (þÿ D e s t i n a t i o n 0 4 4)
/F (TargetDocument-with-65-Destinations.pdf) /S /GoToR
>>
/M (D:20100215174331+10'00')
/P 5 0 R
/NM (567366f7-cd70-4ffb-8211cb579aa56e9c)
/Rect [461.6 771.5 486.4 785.3]
/Type /Annot
/Border [0 0 0]
/Subtype /Link
>>

  • OpenOffice Writer PDF Export link syntax:

<<
/Type/Annot/Subtype/Link/Border[0 0 0]/Rect[461.6 771.5 486.4 785.3]
/A<<
/Type/Action/S/GoToR/F(TargetDocument-with-65-Destinations.pdf)/D/Destination044
>>
>>

Identifying the difference between the above two syntaxes should allow changes to OpenOffice Writer's PDF Export function so that it will produce predictable and consistent cross-document PDF links.  



Nuance PDF Create v.6.0 PDF Application - PC - English Nuance PDF Create v.6.0 PDF Application - PC - English at Buy.com UK
Create PDF files from all of your documents with just the click of a mouse, thanks to PDF Create.
Now it's easier than ever to share information or archive important files using the PDF format.
Create documents up to 3 times faster than with other PDF applications, with results that are universally viewable from virtually any PDF viewer.
Nuance PDF Create v.6.0 PDF Application - PC - English

Adobe Acrobat v.9.0 Pro PDF Application - Complete Product - Standard - 1 User - Retail - PC Adobe Acrobat v.9.0 Pro PDF Application - Complete Product - Standard - 1 User - Retail - PC at Buy.com UK
Communicate and collaborate more effectively and securely. Unify a wide range of content in a single organized PDF Portfolio. Collaborate through electronic document reviews. Create and manage dynamic forms. And help protect sensitive information.
Adobe Acrobat v.9.0 Pro PDF Application - Complete Product - Standard - 1 User - Retail - PC

ċ
Ask Gerbilnow,
15 Feb 2010, 06:57
Ċ
Ask Gerbilnow,
15 Feb 2010, 06:58
ċ
Ask Gerbilnow,
15 Feb 2010, 06:59
Ċ
Ask Gerbilnow,
15 Feb 2010, 06:59
ċ
TargetDocument-with-64-Destinations.doc
(30k)
Ask Gerbilnow,
15 Feb 2010, 06:58
Ċ
Ask Gerbilnow,
15 Feb 2010, 06:59
ċ
TargetDocument-with-65-Destinations.doc
(30k)
Ask Gerbilnow,
15 Feb 2010, 06:59
Ċ
Ask Gerbilnow,
15 Feb 2010, 07:00
Comments