Planet PDF Forum Archive

Planet PDF ForumThis is from our 160,000 page PDF discussion forum archive one & two spanning 1999-2011. Use the filters on our Advanced Search page to search archive only. Head to the LIVE Planet PDF Forum. It features more than 10 conferences, covering everything from beginner to in-depth developer and pre-press discussions.

Previous | Next | (P-PDF) Acrobat 6.0

Topic: Optional content layers, 1 Attachments
Conf: (P-PDF) Acrobat 6.0, Msg: 91755
From: ehoch
Date: 7/10/2003 12:27 AM

I have an idea for using Optional Content layering in an internal application at the publisher I'm consulting for. I've looked in vain for a simple way to produce a sample file that I can play with in order to test out my ideas, so I decided to create my own. Leaning heavily on the sample code from the PDF 1.5 Reference Manual, I managed to produce the attached file.

It doesn't have any errors that I can see, but the layers don't appear in the Layers tab when I open it in 6.0 professional edition. Acrobat does seem to recognize that layers are in some way enabled in the file, because clicking the "options" button in the layers tab shows options that are not grayed out.

I have been up and down the Format Reference Manual, looking for some clue to what is missing in this file, but, as far as I can tell, everything that is required is there. There is no Optional Content Membership Directory, but that is optional as long as there are Optional Content Groups, it says. The reference manual also points to a SetOCGState action dictionary, but that doesn't seem to be necessary unless you want to deviate from the default state.

Can anyone help?

Much appreciated,

Ellen Hoch

Click to open!layer test.pdf
simple layers test file (1,200 bytes)

PDF In-Depth Free Product Trials Ubiquitous PDF

Debenu Aerialist 12

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link...

Download free demo

Debenu PDF Tools Pro

It's simple to use and will let you preview and edit PDF files, it's a Windows application that makes...

Download free demo

Two Passwords Are Better Than One: The Low-Down On PDF Security

For people who don't spend their time looking at PDF files in text editors*, PDF security is a sometimes misunderstood beast.

For example, those document restrictions that PDF files sometimes have -- no Printing, Content Copying, Page Extraction, etc -- are essentially useless unless the PDF also has a User Password.

January 09, 2014
Platinum Sponsor

Search Planet PDF
more searching options...
Planet PDF Newsletter
Most Popular Articles
Featured Product

Debenu PDF Aerialist 12

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link control. Take Acrobat to the next level.


Adding a PDF Stamp Comment

OK, so you want to stamp your document. Maybe you need to give reviewers some advice about the document's status or sensitivity. This tip from author Ted Padova demonstrates how to add stamps with the Stamp Tool along with related comments.