New Forum | Previous | Next | (P-PDF) Acrobat 6.0
Topic: Optional content layers, 1 Attachments
Conf: (P-PDF) Acrobat 6.0, Msg: 91755
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?
simple layers test file (1,200 bytes)