The PDF format doesn't allow any other OC option as a viewer preference.
However, you may be able to run a Javascript when the document opens that does
what you want (I'm not sure, you'll have to look for yourself).
Paulo
> -----Original Message-----
> From: Daniel Henry [mailto:[email protected]]
> Sent: Monday, September 28, 2009 6:22 AM
> To: [email protected]
> Subject: [iText-questions] PageModeUseOC - List Layers for All Pages
>
> Hello, I have a question about optional content. I have
> setup the document when opened to show optional content with
> the PdfWriter.PageModeUseOC. This works well as described in
> the book (a fantastic work) at chapter 13.1 and 12.4.1.
>
>
>
> However, I would like the document to open with OC as "List
> Layers for All Pages" rather than the default "List Layers
> for Visible Pages". Is this possible ?
>
>
>
> Thank you
>
>
>
>
>
>
>
>
Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter
informação confidencial ou legalmente protegida. A incorrecta transmissão desta
mensagem não significa a perca de confidencialidade. Se esta mensagem for
recebida por engano, por favor envie-a de volta para o remetente e apague-a do
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de
usar, revelar ou distribuir qualquer parte desta mensagem.
Disclaimer:
This message is destined exclusively to the intended receiver. It may contain
confidential or legally protected information. The incorrect transmission of
this message does not mean the loss of its confidentiality. If this message is
received by mistake, please send it back to the sender and delete it from your
system immediately. It is forbidden to any person who is not the intended
receiver to use, distribute or copy any part of this message.
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
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/