Description: When exporting with the pdf filter, the most recent settings should be honored (e.g. when exporting on the command line). However, the "ExportOnlyNotesPage" setting is not. Steps to Reproduce: 1. Export a presentation to PDF using the GUI, selecting "Export Notes Pages" and "Export Only Notes Pages". Your export should have only notes pages. 2. Run a command-line export of that same spreadsheet to pdf (`soffice --convert-to pdf in.pptx --outdir /tmp`). Actual Results: The command-line exported pdf will have slide pages and note pages (as if ExportOnlyNotesPages is false). Expected Results: The command-line exported pdf should have only notes pages (matching the most recent GUI output). Reproducible: Always User Profile Reset: No Additional Info: I think this is due to a simple omission at LibreOffice/core/filter/source/pdf/pdffilter.cxx:74: """ /* we don't get FilterData if we are exporting directly to pdf, but we have to use the last user settings (especially for the CompressMode) */ if ( !aFilterData.getLength() ) { FilterConfigItem aCfgItem( "Office.Common/Filter/PDF/Export/" ); ... aCfgItem.ReadBool( "ExportNotesPages", false ); aCfgItem.ReadBool( "UseTransitionEffects", true ); ... } """ A simple fix is to add `aCfgItem.ReadBool( "ExportOnlyNotesPages", false );`. More comprehensive/better would be to re-write the configuration code so that the expected settings (and their types and default values) are defined in a single place in such a way as to make creating/updating/merging a "configuration" possible without enumerating all the necessary fields. User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36
Zach: would you like to submit a patch for the fix: https://wiki.documentfoundation.org/Development/gerrit
Dear Zach, Could you please submit it to gerrit as described here: https://wiki.documentfoundation.org/Development/gerrit/SubmitPatch?
I would like to add a patch but have not yet had time to do so.
(In reply to Zach Travis from comment #3) > I would like to add a patch but have not yet had time to do so. Ok, no problem. Whenever you have time. It's great you're around though. You can join @libreoffice-dev IRC channel if you have any question -> https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-dev Assigning it yourself. Looking forward to seeing your patch!!
Dear Zach Travis, This bug has been in ASSIGNED status for more than 3 months without any activity. Resetting it to NEW. Please assigned it back to yourself if you're still working on this.
David Tardon committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=fd877edc1822816be04b2e2fa0f883c00b5d2fb0 tdf#105679 honor more saved settings on direct PDF export It will be available in 6.1.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.