Ah, thanks. I hadn't noticed the "show internal structure" choice. The tool I used to use just did that normally. (I thought things looked a bit odd...)
From: Tilman Hausherr <thaush...@t-online.de> Sent: Wednesday, January 4, 2023 10:29 AM To: users@pdfbox.apache.org Subject: Re: Optional Content Groups [EXTERNAL] On 04.01.2023 19:22, John Lussmyer wrote: I have a pdf with several Optional Content groups. I can find their definitions in the Page/Resources/Properties dictionary, but I don't see how they are enabled or disabled. Where is that controlled? This is below the document root, use PDFDebugger to look at it (first click "view", "show internal structure"). To learn more, you'll have to read the PDF specification, although some can be understood by looking at the structure below. This is from the file at https://issues.apache.org/jira/browse/PDFBOX-5524<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.apache.org%2Fjira%2Fbrowse%2FPDFBOX-5524&data=05%7C01%7CJohn.Lussmyer%40efi.com%7C2147e215b0b340ca7e7008daee8194fe%7C3fe4532499b245c397517034bae71475%7C0%7C1%7C638084537602543858%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&sdata=ykSglpshnvSasNgiDQmpJCt1T3t8JdYmD7Q7o9o69ow%3D&reserved=0> which has two "off" OCGs [cid:image001.png@01D92029.9F0E9020] [cid:image002.png@01D92029.9F0E9020] Tilman Confidentiality notice: This message may contain confidential information. It is intended only for the person to whom it is addressed. If you are not that person, you should not use this message. We request that you notify us by replying to this message, and then delete all copies including any contained in your reply. Thank you.