Export to PDF sheet name as header

Discuss the spreadsheet application
Post Reply
User avatar
mikesbytes
Posts: 4
Joined: Wed Jun 03, 2020 3:05 pm

Export to PDF sheet name as header

Post by mikesbytes »

When exporting to a PDF some of my spreadsheets insert the sheet name as a header and other spreadsheets don't insert the sheet name as a header.

Could you please point me to the setting that toggles whether the sheet name appears as a header when exporting to a PDF
Libra Office Version: 6.4.0.3 (x64) on Windows 10
User avatar
JohnSUN-Pensioner
Volunteer
Posts: 876
Joined: Fri Jan 14, 2011 1:21 pm
Location: Kyiv, Ukraine

Re: Export to PDF sheet name as header

Post by JohnSUN-Pensioner »

Choose Format - Page - Header/Footer tab
HeaderPage.png
HeaderPage.png (10.25 KiB) Viewed 2835 times
I may not have a lot to give but what I got I'll give to you...
Apache OpenOffice 4.1.5, LibreOffice 6.4.4.2 (x64) on Windows 7
If you think that I did not answer your question, make allowances for my imperfect English
User avatar
mikesbytes
Posts: 4
Joined: Wed Jun 03, 2020 3:05 pm

Re: Export to PDF sheet name as header

Post by mikesbytes »

No that didn't work so perhaps its something to do with PDF generation rather than printing?
Libra Office Version: 6.4.0.3 (x64) on Windows 10
User avatar
Zizi64
Volunteer
Posts: 11494
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Export to PDF sheet name as header

Post by Zizi64 »

No that didn't work so perhaps its something to do with PDF generation rather than printing?
The settings of the Page styles are not related to the printing.

Otherwise you can create PDF version of your document by printing with a virtual PDF printer (the Windows 10 has such feature by dafault); and you can create a PDF version by usage of the Export feature of the AOO/LO
The selection of the sheets/ranges to print are different at theese two ways.


(And finally you can print he document on paper sheets, the you can scan them as a PDF document... :D :knock: )
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
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
Villeroy
Volunteer
Posts: 31348
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Export to PDF sheet name as header

Post by Villeroy »

Zizi64 wrote:The settings of the Page styles are not related to the printing.
:?: :?: :?:
mikesbytes wrote:When exporting to a PDF some of my spreadsheets insert the sheet name as a header and other spreadsheets don't insert the sheet name as a header.
This can be set up for individual sheets by means of page styles.
The status bar indicates the active sheet's page style. In my screenshot it's "Default" which includes an active header with sheet name. Either apply the same cell style to all your sheets or modify the page style which is lacking the sheet name.
When you call menu:Format>Page... you get a dialog where you edit the properties of the active sheet's page style. Any changes apply to all sheets sharing the same page style.
Attachments
Bildschirmfoto von 2020-06-05 10-38-18.png
Bildschirmfoto von 2020-06-05 10-38-18.png (7.01 KiB) Viewed 2783 times
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
User avatar
Zizi64
Volunteer
Posts: 11494
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Export to PDF sheet name as header

Post by Zizi64 »

Zizi64 wrote:
The settings of the Page styles are not related to the printing.


:?: :?:
I meant this: "related not only to the printing (hardcopy)", but The page styles related to the PDF export and to some other type of the export. And you can set up the page styles independently from the printing procedure.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
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
Villeroy
Volunteer
Posts: 31348
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Export to PDF sheet name as header

Post by Villeroy »

I understand PDF export as "print to PDF file" but I may be wrong. PDF output looks like the print preview and like the stuff you get on a paper print.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
John_Ha
Volunteer
Posts: 9600
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Export to PDF sheet name as header

Post by John_Ha »

In a PDF created by Writer File > Properties > Description > Title .., contains the name of the template. If the template is named something other than Default, eg Fred, then Fred appears in the PDF title bar.
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.
Post Reply