I am curious about how a PDF stores text formatting in a sticky note. Adobe reader lets me make bold, underline, and italics formatting in my sticky note annotations. But when I extract that data from the GetContents method on the annotation using the PDFTron library, it's just the text.
The main reason I'm asking this is that we currently have our own document viewer (using the XOD format) and our viewer includes a custom feature to make annotations on the document. We store that metadata ourselves and currently it is in HTML. I would like to be able to convert between PDF sticky note annotations and our annotations, but don't really see a way for the formatting to be converted.
Can you provide any insight into this?