https://bugs.documentfoundation.org/show_bug.cgi?id=99621
Bug ID: 99621
Summary: Export to PDF should have an option to include
filename/fields in page header
Product: LibreOffice
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: enhancement
Priority: medium
Component: Printing and PDF export
Assignee: [email protected]
Reporter: [email protected]
Discussed this earlier today on IRC:
The PDF exporter command-line should include an option that adds the current
file's name to the header of the exported PDF.
This is useful when preparing a lot of files for printing, when metadata such
as the spreadsheet's data or title is included in the filename. Especially when
batch-processing files via the LibreOffice command-line.
It is probably better to instead develop a more generic "header format string"
option that allows including custom fields, since that would allow for greater
flexibility while still being relatively usable.
An example command I could think of if a "generic" version is more desirable:
`libreoffice --convert-to pdf --convert-head "%{filename} - Page %{currentPage}
of %{pageCount}" *.xlsx`
However, a simple implementation could include
`libreoffice --convert-to pdf --convert-filename-head *.xlsx`
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs