[Libreoffice-ux-advise] [Bug 149859] Exported pdf displays in firefox and acrobat as titled "landscape."
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Thu Jul 7 14:10:17 UTC 2022
https://bugs.documentfoundation.org/show_bug.cgi?id=149859
--- Comment #5 from Mike Kaganski <mikekaganski at hotmail.com> ---
The problem appears to happen at the "Save as Template" stage, when the name
entered into the dialog gets written also as the template document's title:
SfxDocTplService_Impl::storeTemplate [1] sets the "DocumentTitle" property;
then it is used in TransformParameters [2] and then in
SfxObjectShell::APISaveAs_Impl [3].
Setting the "DocumentTitle" in [1] was added in commit
72d6767bb2eafee703c429fd1b6fb562ebb43caa, and the need for that wasn't
mentioned there.
[1]
https://opengrok.libreoffice.org/xref/core/sfx2/source/doc/doctemplates.cxx?r=0bfa6a18#1774
[2]
https://opengrok.libreoffice.org/xref/core/sfx2/source/appl/appuno.cxx?r=e6de84d4#750
[3]
https://opengrok.libreoffice.org/xref/core/sfx2/source/doc/objserv.cxx?r=28c31ba1#313
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Libreoffice-ux-advise
mailing list