You are not logged in.
Pages: 1
TPdfPageLayout implemented is like this:
TPdfPageLayout = (plSinglePage, plOneColumn, plTwoColumnLeft, plTwoColumnRight);
But I realize that Acrobat has two additional page layout which I need:
TwoPageLeft and TwoPageRight
so I changed two lines of code like this:
TPdfPageLayout = (
plSinglePage, plOneColumn, plTwoColumnLeft, plTwoColumnRight, plTwoPageLeft,
plTwoPageRight);
...
PDF_PAGE_LAYOUT_NAMES: array[TPdfPageLayout] of PDFString = (
'SinglePage', 'OneColumn', 'TwoColumnLeft', 'TwoColumnRight', 'TwoPageLeft',
'TwoPageRight');
I hope that it helps to someone.
Best Regards...
Offline
In which revision did it appear?
I changed my local copy. I did not upload any source code change. May be you can apply change to next revision.
Perhaps this would need to change the pdf format header.
As I see, these two little line of change is enough.
Offline
I was talking about the PDF format revision.
The Adobe PDF format has an internal revision version, in its header, which states the expected content.
I guess that those new parameters are not compatible with the current PDF format used.
It would work without touching it, but may fail validation of the PDF content, by third-party tool.
Offline
Sorry for my ignorance .
I tried with my pdf outputs and it worked. I don't know anything about pdf headers.
Offline
It's appear in PDF 1.5
I use this documentation when working with pdf: www.adobe.com/devnet/acrobat/pdfs/PDF32000_2008.pdf
Quote:
PageLayout
(Optional) A name object specifying the page layout shall be used when the document is opened:
SinglePageDisplay one page at a time
OneColumnDisplay the pages in one column
TwoColumnLeftDisplay the pages in two columns, with odd-numbered pages on the left
TwoColumnRightDisplay the pages in two columns, with odd-numbered pages on the right
TwoPageLeft(PDF 1.5) Display the pages two at a time, with odd-numbered pages on the left
TwoPageRight(PDF 1.5) Display the pages two at a time, with odd-numbered pages on the right
Default value: SinglePage.
Last edited by mpv (2012-05-11 08:09:29)
Offline
Pages: 1