Apologies for using the issue request as a forum to ask a question!

As the title suggests, I have a requirement to do a couple of things with an existing PDF:
- Add Marked Content identifiers to specific parts of a page content stream
- Reshuffle some OCG's, specifically moving the content from multiple existing OCGs to a single pre-existing OCG.
- Add/change entries into the Properties dictionary

I'm struggling to understand the structure of the library and how to achieve what I'm trying to achieve. I understand that there isn't built-in support for OCG's in PoDoFo and that I'll have to make my own modifications to the PDF structure/page content stream. I also realise I can't edit a PDF in situ and need to write the data out to a new file. Any pointers/example code would be massively appreciated!

I guess my questions are:
- Is what I'm trying to achieve possible with PoDoFo?
- I'm struggling to modify an existing content stream and write it back out to a new file. Are there any examples I can refer to? I'm quite new to PDF's in general and all the examples I find refer to PoDoFo 0.9.x

Again, apologies if this is the wrong place to ask these questions.

Windows (32/64 bits) / MacOS 12.7.4 (Monterey)
Using version 0.10.3 
(Win) vcpkg
MacOS github source 

Question: Trying to add Marked Content and reshuffle OCG's
This is a GitHub Issue
repo:podofo
owner:podofo
Title : Question: Trying to add Marked Content and reshuffle OCG's
Issue date:

--- start body ---
Apologies for using the issue request as a forum to ask a question!

As the title suggests, I have a requirement to do a couple of things with an existing PDF:
- Add Marked Content identifiers to specific parts of a page content stream
- Reshuffle some OCG's, specifically moving the content from multiple existing OCGs to a single pre-existing OCG.
- Add/change entries into the Properties dictionary

I'm struggling to understand the structure of the library and how to achieve what I'm trying to achieve. I understand that there isn't built-in support for OCG's in PoDoFo and that I'll have to make my own modifications to the PDF structure/page content stream. I also realise I can't edit a PDF in situ and need to write the data out to a new file. Any pointers/example code would be massively appreciated!

I guess my questions are:
- Is what I'm trying to achieve possible with PoDoFo?
- I'm struggling to modify an existing content stream and write it back out to a new file. Are there any examples I can refer to? I'm quite new to PDF's in general and all the examples I find refer to PoDoFo 0.9.x

Again, apologies if this is the wrong place to ask these questions.

Windows (32/64 bits) / MacOS 12.7.4 (Monterey)
Using version 0.10.3 
(Win) vcpkg
MacOS github source 

--- end body ---

None