It is displayable by most pdf readers, however the one we use to display pdfs will not work. So we cannot reopen pdf's exported by our own application. To solve this it seems modifying itext7 code would be necessary. Or we would need some way to detect the malformed xref table and fix it when we read a file.
otherwise opening pdf's that are not malformed works fine.
Added a button under
File -> Open Document
to open existing pdf documentsWhile testing this it has come to my attention that the exported pdf from itext7 is slightly malformed, likely the same issue here https://stackoverflow.com/questions/61364972/why-is-my-xref-table-corrupt-after-removing-or-adding-annotations
It is displayable by most pdf readers, however the one we use to display pdfs will not work. So we cannot reopen pdf's exported by our own application. To solve this it seems modifying itext7 code would be necessary. Or we would need some way to detect the malformed xref table and fix it when we read a file.
otherwise opening pdf's that are not malformed works fine.