Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend Arlington extension to document OpenOffice and LibreOffice custom trailer keys #111

Closed
petervwyatt opened this issue Apr 3, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@petervwyatt
Copy link
Member

In file trailer and XRefStream:

  • /AdditionalStreams [/application#2Fvnd#2Eoasis#2Eopendocument#2Etext 6 0 R] (ODT document) - an array of pairs of (MIME as a name + indirect references to streams)

  • /DocChecksum /DocChecksum /C2ABA76E903B138C5EC5DE44D0AE2A77 (MD5 as a name)

See https://git.libreoffice.org/core/+/refs/heads/master/vcl/source/gdi/pdfwriter_impl.cxx

@petervwyatt petervwyatt added the enhancement New feature or request label Apr 3, 2024
@petervwyatt petervwyatt self-assigned this Apr 3, 2024
@petervwyatt
Copy link
Member Author

petervwyatt commented Apr 3, 2024

According to https://bugs.documentfoundation.org/show_bug.cgi?id=66580, /DocChecksum and /AdditionalStreams were added to OpenOffice on 2007-03-26.

In the LibreOffice git repository this is commit d217c079d7b3ca7b5039428594e7cdfdf9a0c4a9

From quick code skim, looks like this might occur in any PDF from PDF 1.2 (historically)

@crlf0710
Copy link

crlf0710 commented Apr 3, 2024

Are these correct uses of first-class names?

@petervwyatt
Copy link
Member Author

Nope. But its what they've been doin' since 2007-ish so there are plenty in the wild!
I have a few issues open with them ATM to fix conformance to PDF/A and PDF/UA subsets...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants