ODT file enlarges when exported as pdf, in Writer

Writing a book, Automating Document Production - Discuss your special needs here

ODT file enlarges when exported as pdf, in Writer

Postby larsalb » Mon May 09, 2016 7:14 pm

Hello,

I have a 496 pages odt text. When I do File/Export as pdf then the number of pages enlarges to 500 pages in the pdf file.
My problem is that the page numbers in the Contents list then no longer is correct.

I have tried to save the text as doc file and then export as pdf from Writer, but that results in the same enlargement, to 500 pages.

Also tried to look into the different settings for pdf export and for printing. And tried many different things, but with no solution of my problem. It is also difficult to understand the implications of the settings.
Searches on this site didn't bring any solution.
I use Windows 10, and OOO 4.1.2.
In the text all chapters are set to start on a right page, and if necessary a left page is put in before automatically. In the OOO settings for printing, print of those auto-pages is checked. I have set the same in settings for exporting to pdf.

I noticed that the enlargement seems to take place during the reformatting of the file - that seems to take - before the print window appears. A similar reformatting and enlargement take place, when I change to View in Print Layout, either by View/print layout, or by the button for that.

I will be very thankful for any help. :)
Have a nice day/evening.
lars, denmark
openoffice 4.1.1 on Windows 8.1
larsalb
 
Posts: 8
Joined: Tue Mar 24, 2015 5:45 pm

Re: ODT file enlarges when exported as pdf, in writer

Postby Zizi64 » Mon May 09, 2016 7:53 pm

I have a 496 pages odt text. When I do File/Export as pdf then the number of pages enlarges to 500 pages in the pdf file.
My problem is that the page numbers in the Contents list then no longer is correct.


Do you use the embedded pdf export function, or some virtual pdf printer software?
(Maybe the document page size, and the page size of the virtual pdf printer are not same.)
Tibor Kovacs, Hungary; LO6.1.6, 6.2.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-6.4.5;AOO4.1.7
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
User avatar
Zizi64
Volunteer
 
Posts: 9531
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: ODT file enlarges when exported as pdf, in writer

Postby RoryOF » Mon May 09, 2016 7:57 pm

Have you Saved the file as type .odt before /Exporting as PDF?
Apache OpenOffice 4.1.7 on Xubuntu 20.04.1 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 31400
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: ODT file enlarges when exported as pdf, in writer

Postby larsalb » Mon May 09, 2016 8:03 pm

I don't use the embedded pdf export function. Should I?

I am uncertain about your other question. On my computer is installed Adobe Acrobat Reader 2015.010.20060. And also with computer came a program called Nitro Pro 9.0.6.20 which I use for "printing" to pdf; I actually also tried this, but it resulted in the same.
openoffice 4.1.1 on Windows 8.1
larsalb
 
Posts: 8
Joined: Tue Mar 24, 2015 5:45 pm

Re: ODT file enlarges when exported as pdf, in writer

Postby larsalb » Mon May 09, 2016 8:06 pm

RoryOF wrote:Have you Saved the file as type .odt before /Exporting as PDF?


Yes, I did.
I made the text in odt, and then export to pdf.
To try something else - a suggestion from somewhere in this forum - I made a doc file from the odt file, and then exported that doc file to pdf. But same result.
openoffice 4.1.1 on Windows 8.1
larsalb
 
Posts: 8
Joined: Tue Mar 24, 2015 5:45 pm

Re: ODT file enlarges when exported as pdf, in writer

Postby RoryOF » Mon May 09, 2016 8:18 pm

Try exporting the .odt to PDF, using Export as PDF. After you save the file as .odt, give it time to reformat before Exporting.

 Edit: After Saving as .odt, rebuild the Table of Contents, by Right clicking anywhere in the Table and selecting Update from the popup. Then Export as PDF; the ToC and the PDF should now match. 
Apache OpenOffice 4.1.7 on Xubuntu 20.04.1 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 31400
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: ODT file enlarges when exported as pdf, in Writer

Postby keme » Tue May 10, 2016 9:30 am

I have seen several complaints about page standards support and scaling vs. cropping in the Nitro PDF software. Never had any problem with Writer's builtin export function. That said, I have not handled any 300+pages documents...

Also if you include links or other references in your file (Chapter headings/ToC entries, bookmarks, footnotes), those are conveyed to the exported PDF (clickable and/or available in the PDF viewer sidebar). I don't know of any virtual print solutions which do that. Useful if your file is meant for onscreen reading, but worthless if your target is paper.

There have been issues with the integrated PDF export when submitting to print (lacking alignment info and color separation), but I believe that those issues have been resolved in recent versions.
Apache OO 3.4.1/4.1.2/4.1.3, on Ms Windows 7/10 and Mac OS-X 10.8.5 and 10.11.
LibreOffice 4.3.3.2 on Mepis Antix MX 14
User avatar
keme
Volunteer
 
Posts: 3365
Joined: Wed Nov 28, 2007 10:27 am
Location: Egersund, Norway

Re: ODT file enlarges when exported as pdf, in writer

Postby larsalb » Thu May 12, 2016 7:30 pm

RoryOF wrote:Try exporting the .odt to PDF, using Export as PDF. After you save the file as .odt, give it time to reformat before Exporting.

 Edit: After Saving as .odt, rebuild the Table of Contents, by Right clicking anywhere in the Table and selecting Update from the popup. Then Export as PDF; the ToC and the PDF should now match. 


I have done like you suggest, but the result is the same - extra pages are added in the pdf file.

I seems like there is a small enlargement for each page in the pdf file. And at about the 70th page the accumulation of enlargement is so great that an extra page is inserted. At about the 480th page four extra pages are inserted.

I found a tinker solution just before deadline, but it was cumbersome. I exported as pdf, and from that pdf file I copied the page numbers for each chapter and heading in the Table of Contents. These page numbers I pasted into the Table of Contents in the odt file. Then I saved the odt file without updating the ToC. Finally exported as pdf.

Should I not expect to get a smarter solution with Writer? And in stead I would have to use a professional program like InDesign?
openoffice 4.1.1 on Windows 8.1
larsalb
 
Posts: 8
Joined: Tue Mar 24, 2015 5:45 pm


Return to Advanced Uses

Who is online

Users browsing this forum: No registered users and 2 guests