Did you consult ISO 32000-1:2008 for the possible values? Perhaps iText hasn't
predefined all of them?
From: Matthew Richer [mailto:[email protected]]
Sent: Monday, March 22, 2010 11:36 AM
To: [email protected]
Subject: [iText-questions] Determining viewer preference for 'Show Cover page
during 2-Up'
Hello,
I'm new to the mailing list (although I've used iText for a little while now).
I've looking at extract the viewer preferences from a PDF document (particular
the ones used in Acrobat Reader - i.e. One-Up, Two-Up, Show Cover page during
2-Up (yes/no)).
I've found the viewer preferences and can determine 1-Up/2-Up (odd numbering
left/right) but I can't seem to find a property for determining if the default
viewer should have a cover page applied (i.e. in 2-up the first page is by
itself).
Is this property extracted from the viewer preferences and made available via
iText?
Thank-you!
P.S. I'm using iTextSharp - PdfReader and using the "ViewerPreferences"
property and comparing against PdfWriter.PageLayoutOneColumn,
PdfWriter.PageLayoutTwoColumnLeft, etc.
Matt
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions:
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/