Print/export to PDF with Hidden Sections

Discuss the word processor
Post Reply
mojohn
Posts: 19
Joined: Sat Feb 09, 2008 1:50 am
Location: The Show-me State

Print/export to PDF with Hidden Sections

Post by mojohn »

Hello. I have three templates that contain several hidden sections. When I print the assembled document, it shows the correct, unhidden, sections. However, whenever I save the document in PDF format, all of the sections are unhidden. Any ideas?

Thanks,

Mojohn

OOo 2.3.1 on Ubuntu Feisty Fawn (7.04)
User avatar
foxcole
Volunteer
Posts: 1507
Joined: Mon Oct 08, 2007 1:31 am
Location: Minneapolis, Minnesota

Re: Print/export to PDF with Hidden Sections

Post by foxcole »

I haven't been able to duplicate your problem with PDFs, though I'm still poking around... but I see you're running Ubuntu. Did you install the Ubuntu version of OOo, or the one from the OpenOffice.org website?
Cheers!
---Fox

OOo 3.2.0 Portable, Windows 7 Home Premium 64-bit
mojohn
Posts: 19
Joined: Sat Feb 09, 2008 1:50 am
Location: The Show-me State

Re: Print/export to PDF with Hidden Sections

Post by mojohn »

Fox, it's the OpenOffice version, not the Ubuntu version.

Mojohn

OOo 2.3.1 Ubuntu Feisty Fawn (7.04)
OOo 3.1.X on Ubuntu 9.10
User avatar
Hagar Delest
Moderator
Posts: 33633
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Print/export to PDF with Hidden Sections

Post by Hagar Delest »

Weird. I can't reproduce that (OOo 2.3.1 on Dapper). Can you upload a sample file here?
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE 7 Gigi) and 25.2 portable on Windows 11.
mojohn
Posts: 19
Joined: Sat Feb 09, 2008 1:50 am
Location: The Show-me State

Re: Print/export to PDF with Hidden Sections

Post by mojohn »

My database and two of my three templates are attached.

To clarify, I am able to print the documents to my PDF printer and things look fine. It's only when I use the "Export to PDF" function that all of the hidden sections end up "showing".

Thanks, Mojohn

OOo 2.3.1 Ubuntu Feisty Fawn (7.04)
Attachments
Strengths Finder Report.ott
(13.47 KiB) Downloaded 245 times
action items.ott
(26.31 KiB) Downloaded 201 times
strengths.odb
(14.19 KiB) Downloaded 162 times
OOo 3.1.X on Ubuntu 9.10
User avatar
Hagar Delest
Moderator
Posts: 33633
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Print/export to PDF with Hidden Sections

Post by Hagar Delest »

I can reproduce that but your sections are hidden with conditions. It seems to some from that. I don't use the conditional formatting so can't really help. Can you detail what's the condition and how it works? What's the link with the database?
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE 7 Gigi) and 25.2 portable on Windows 11.
User avatar
foxcole
Volunteer
Posts: 1507
Joined: Mon Oct 08, 2007 1:31 am
Location: Minneapolis, Minnesota

Re: Print/export to PDF with Hidden Sections

Post by foxcole »

This is a mail merge document and the export to PDF bypasses the mail merge function.

The answer is to print to file when you do your mail merge. In the Print dialog is a grouping for Output, in which you'll find the File radio button.

You'll want to print to individual files and choose 'Generate filename from database' which then allows you to choose PDF as the output file format. Unfortunately, that's the only way you can get individual PDFs from the mail merge directly... and it won't let you choose more than one database field to name the file, so you might easily get more than one Pitstop pdf, for example. These files would be numbered sequentially after the first instance of the file name, so that might help identify which file is which. An easier option might be to add one more field to the database with the individual's last name and first name together.
Cheers!
---Fox

OOo 3.2.0 Portable, Windows 7 Home Premium 64-bit
Post Reply