mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:57:44 +00:00
LibPDF: Add accessor for the document's info dict
This dict contains some metadata in some files. Newer files also contain XMP metadata, but it's recommended to still include this dict as well, for compatibility with older readers. And it's much less complex than XMP, so let's support it.
This commit is contained in:
parent
826c0426f3
commit
c5c940b1c9
3 changed files with 93 additions and 0 deletions
|
@ -13,6 +13,7 @@
|
|||
A(Alternate) \
|
||||
A(ASCII85Decode) \
|
||||
A(ASCIIHexDecode) \
|
||||
A(Author) \
|
||||
A(BG) \
|
||||
A(BG2) \
|
||||
A(BM) \
|
||||
|
@ -31,6 +32,8 @@
|
|||
A(Columns) \
|
||||
A(Contents) \
|
||||
A(Count) \
|
||||
A(CreationDate) \
|
||||
A(Creator) \
|
||||
A(CropBox) \
|
||||
A(Crypt) \
|
||||
A(D) \
|
||||
|
@ -79,8 +82,10 @@
|
|||
A(Image) \
|
||||
A(ImageMask) \
|
||||
A(Index) \
|
||||
A(Info) \
|
||||
A(JBIG2Decode) \
|
||||
A(JPXDecode) \
|
||||
A(Keywords) \
|
||||
A(Kids) \
|
||||
A(L) \
|
||||
A(LC) \
|
||||
|
@ -99,6 +104,7 @@
|
|||
A(Matrix) \
|
||||
A(MediaBox) \
|
||||
A(MissingWidth) \
|
||||
A(ModDate) \
|
||||
A(N) \
|
||||
A(Names) \
|
||||
A(Next) \
|
||||
|
@ -113,6 +119,7 @@
|
|||
A(Pattern) \
|
||||
A(Predictor) \
|
||||
A(Prev) \
|
||||
A(Producer) \
|
||||
A(R) \
|
||||
A(RI) \
|
||||
A(Registry) \
|
||||
|
@ -123,6 +130,7 @@
|
|||
A(SA) \
|
||||
A(SM) \
|
||||
A(SMask) \
|
||||
A(Subject) \
|
||||
A(Subtype) \
|
||||
A(Supplement) \
|
||||
A(T) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue