Planet PDF Forum Archive

Planet PDF ForumWowsers! This is page is old, 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. If you wish to continue... one & two archive covers 1999-2011 (160,000 pages).

New Forum | 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

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

Five visions of a PDF Day

In the world of PDFs or as we like to say Planet (of) PDF, a year isn't a real PDF year without an intense few days of industry knowledge sharing.

May 15, 2018
Platinum Sponsor

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

Debenu PDF Aerialist

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.