[reportlab-users] DisplayDocTitle
Robin Becker
robin at reportlab.com
Thu Sep 30 11:54:02 EDT 2010
On 30/09/2010 14:11, Mark Erbaugh wrote:
> According to "PDF Reference for Version 1.4", a flag, DisplayDocTitle, was added to the viewer preferences dictionary, starting with version 1.4. If this flag is set, when a document that has a Title is opened in Adobe Reader, the title bar will show the document Title rather than the file name.
>
> The DisplayDocTitle seems to work with Adobe Reader 6.0 under Windows XP and Evince in Ubuntu 10.4. It doesn't seem to work with Apple's Preview on the Mac (OSX 10.6).
>
> Reportlab 2.4 is not configured to accept DisplayDocTitle as a parameter to canvas.setViewerPreferences, but it appears easy to add:
>
.......
that seems sensible and I have added it. Not sure what happens if a version 1.3
reader sees it though.
--
Robin Becker
More information about the reportlab-users
mailing list