Export to PDF - Troubleshooting help

Issues installing under the Mac OSX - X11 - Aqua
Post Reply
amorris
Posts: 7
Joined: Mon Oct 16, 2017 6:03 pm

Export to PDF - Troubleshooting help

Post by amorris »

After having worked fine for some time, I have recently run into trouble when exporting an OpenOffice Writer file to PDF.
Whether I use the button on the menu bar or file--export to pdf, the command freezes the program (I get the infinite spinning wheel).
I have reinstalled the program and both my operating system and the program are up-to-date. Any ideas on how to address this?
OpenOffice 4.1.3 on Mac 10.12.6
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Export to PDF - Troubleshooting help

Post by acknak »

If OO suddenly starts acting strangely, it can often be cured with a fresh OO settings profile. This just means exiting OO, renaming (or removing) the folder where OO stores all its settings, then restarting OO. It will then create a new settings profile folder.

For details, see: [Tutorial] The OOo user profile
AOO4/LO5 • Linux • Fedora 23
amorris
Posts: 7
Joined: Mon Oct 16, 2017 6:03 pm

Re: Export to PDF - Troubleshooting help

Post by amorris »

Thanks for taking the time to respond.
I tried renaming and removing the settings profile folder but I still encountered the error.
OpenOffice 4.1.3 on Mac 10.12.6
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Export to PDF - Troubleshooting help

Post by acknak »

From your description, I assume the freeze occurs with more than just one particular document, right?

I'm moving your topic to the Mac troubleshooting area of the forum; hopefully someone with more Mac knowledge will have a suggestion for you.
AOO4/LO5 • Linux • Fedora 23
John_Ha
Volunteer
Posts: 9584
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Export to PDF - Troubleshooting help

Post by John_Ha »

I think Writer on a Mac uses a different method to produce a PDF when using File > Export as PDF ..., compared with clicking the PDF icon. See Re: [Solved] Exported PDF / Typographic Ligatures / "fi", "f which says:
Apple's Overview of Quartz 2D says Quartz 2D is a feature of Mac OS which can be called by any application and can be used to create a PDF file. Perhaps AOO on Mac uses its own PDF creator for File > Export as PDF ...; but uses Quartz 2D for the Save as PDF ..., icon.
Quartz 2D is a two-dimensional drawing engine accessible in the iOS environment and from all Mac OS X application environments outside of the kernel.

You can use the Quartz 2D application programming interface (API) to gain access to features such as path-based drawing, painting with transparency, shading, drawing shadows, transparency layers, color management, anti-aliased rendering, PDF document generation, and PDF metadata access.
Search for other posts with [url=http:\\x.x.com]export pdf mac[/url] (you must have one word of 4 or more characters).
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
User avatar
MrProgrammer
Moderator
Posts: 4905
Joined: Fri Jun 04, 2010 7:57 pm
Location: Wisconsin, USA

Re: Export to PDF - Troubleshooting help

Post by MrProgrammer »

Hi, and welcome to the forum.
amorris wrote:Any ideas on how to address this?
On Mac OS X try File → Print → PDF → Save as PDF.

If this solved your problem please go to your first post use the Edit button and add [Solved] to the start of the title. You can select the green checkmark icon at the same time.
Mr. Programmer
AOO 4.1.7 Build 9800, MacOS 13.6.3, iMac Intel.   The locale for any menus or Calc formulas in my posts is English (USA).
amorris
Posts: 7
Joined: Mon Oct 16, 2017 6:03 pm

Re: Export to PDF - Troubleshooting help

Post by amorris »

MrProgrammer wrote:
amorris wrote:Any ideas on how to address this?
On Mac OS X try File → Print → PDF → Save as PDF.
I can still save as PDF but this is different than export to PDF. One problem I've had using print to PDF instead of export is that embedded links will not work.
OpenOffice 4.1.3 on Mac 10.12.6
amorris
Posts: 7
Joined: Mon Oct 16, 2017 6:03 pm

Re: Export to PDF - Troubleshooting help

Post by amorris »

acknak wrote:From your description, I assume the freeze occurs with more than just one particular document, right?
Yes, the freeze occurs with all the documents I have tried.
OpenOffice 4.1.3 on Mac 10.12.6
amorris
Posts: 7
Joined: Mon Oct 16, 2017 6:03 pm

Re: Export to PDF - Troubleshooting help

Post by amorris »

John_Ha wrote:I think Writer on a Mac uses a different method to produce a PDF when using File > Export as PDF ..., compared with clicking the PDF icon. See Re: [Solved] Exported PDF / Typographic Ligatures / "fi", "f which says:
Apple's Overview of Quartz 2D says Quartz 2D is a feature of Mac OS which can be called by any application and can be used to create a PDF file. Perhaps AOO on Mac uses its own PDF creator for File > Export as PDF ...; but uses Quartz 2D for the Save as PDF ..., icon.
Quartz 2D is a two-dimensional drawing engine accessible in the iOS environment and from all Mac OS X application environments outside of the kernel.

You can use the Quartz 2D application programming interface (API) to gain access to features such as path-based drawing, painting with transparency, shading, drawing shadows, transparency layers, color management, anti-aliased rendering, PDF document generation, and PDF metadata access.
Search for other posts with [url=http:\\x.x.com]export pdf mac[/url] (you must have one word of 4 or more characters).
Thanks for your response John. Neither method (File > Export as PDF or clicking the PDF icon) are working currently so even if they are different, they are both broken! I read the topic you linked to but I could not find a fix for my problem.
I scoured the forums for days before submitting my post but if anyone can find a fix in a previous topic, please send it my way!
OpenOffice 4.1.3 on Mac 10.12.6
John_Ha
Volunteer
Posts: 9584
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Export to PDF - Troubleshooting help

Post by John_Ha »

1. Try to create a PDF with this document.

2. Try to create a PDF from another application on your Mac - it will probably use Quartz.
Attachments
test.odt
(8.82 KiB) Downloaded 184 times
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
amorris
Posts: 7
Joined: Mon Oct 16, 2017 6:03 pm

Re: Export to PDF - Troubleshooting help

Post by amorris »

Thanks again for the ideas John.

I was able to export the test document to a pdf with no problem.
I was also able to export a document to a pdf from Microsoft Word with no problem.

But OO still freezes.
OpenOffice 4.1.3 on Mac 10.12.6
Joco
Posts: 1
Joined: Sat Jun 24, 2017 3:19 pm

Re: Export to PDF - Troubleshooting help

Post by Joco »

MrProgrammer wrote:Hi, and welcome to the forum.
amorris wrote:Any ideas on how to address this?
On Mac OS X try File → Print → PDF → Save as PDF.

If this solved your problem please go to your first post use the Edit button and add [Solved] to the start of the title. You can select the green checkmark icon at the same time.
Thank you for this, have the issue with pdf exporting
John_Ha
Volunteer
Posts: 9584
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Export to PDF - Troubleshooting help

Post by John_Ha »

amorris wrote:I was able to export the test document to a pdf with no problem.
I was also able to export a document to a pdf from Microsoft Word with no problem.

But OO still freezes.
That therefore sounds like a problem with the specific .odt file you are exporting. Do you have any images with transparency as I think that causes problems?

Can you upload a problem .odt file here (128kB max) or to a file share site so someone can have a look at it.
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
amorris
Posts: 7
Joined: Mon Oct 16, 2017 6:03 pm

Re: Export to PDF - Troubleshooting help

Post by amorris »

Yes, it seems to be affecting only files that I created recently. I went back to old files and was able to successfully export to pdf.
I attached a file that causes OO to freeze when I try to export to pdf.
Attachments
Chapter 3 Project.odt
(57.14 KiB) Downloaded 196 times
OpenOffice 4.1.3 on Mac 10.12.6
John_Ha
Volunteer
Posts: 9584
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Export to PDF - Troubleshooting help

Post by John_Ha »

Chapter 3 Project.odt exports to a PDF without problems for me.

What happens if you just wait for, say, two minutes when it freezes. Does it then work?
Attachments
Chapter 3 Project.pdf
(66.65 KiB) Downloaded 174 times
Last edited by John_Ha on Sun Nov 12, 2017 4:12 pm, edited 1 time in total.
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
lgusaas
Volunteer
Posts: 1580
Joined: Sun Mar 30, 2008 8:32 pm
Location: Moose Jaw, SK Canada

Re: Export to PDF - Troubleshooting help

Post by lgusaas »

amorris wrote:Yes, it seems to be affecting only files that I created recently. I went back to old files and was able to successfully export to pdf.
I attached a file that causes OO to freeze when I try to export to pdf.
I had not problem exporting to PDF on my Mac. It Exported immediatly.

What settings do you use to export to PDF
Larry I. Gusaas
Moose Jaw, SK Canada
Website: http://larry-gusaas.com
"An artist is never ahead of his time but most people are far behind theirs." Edgard Varese
Apache OpenOffice 4.1.14 — MacBook Air (M1)—macOS Ver.13.5 Ventura
Post Reply