Graphics Programs Reference
In-Depth Information
InfoKey: Producer
InfoValue: Antenna House PDF Output Library 2.6.0 (Linux)
InfoKey: ModDate
InfoValue: D:20110713115225-05'00'
InfoKey: CreationDate
InfoValue: D:20110713115225-05'00'
PdfID0: 57f4673abea4ca58a27e19bf1871dfa
PdfID1: 57f4673abea4ca58a27e19bf1871dfa
NumberOfPages: 90
...
BookmarkTitle: Table of Contents
BookmarkLevel: 1
BookmarkPageNumber: 5
BookmarkTitle: Preface
BookmarkLevel: 1
BookmarkPageNumber: 9
BookmarkTitle: Why Read This Topic?
BookmarkLevel: 2
BookmarkPageNumber: 9
BookmarkTitle: Audience
BookmarkLevel: 2
BookmarkPageNumber: 9
...
PageLabelNewIndex: 1
PageLabelStart: 1
PageLabelNumStyle: DecimalArabicNumerals
PageLabelNewIndex: 5
PageLabelStart: 5
PageLabelNumStyle: LowercaseRomanNumerals
PageLabelNewIndex: 13
PageLabelStart: 1
PageLabelNumStyle: DecimalArabicNumerals
This data lists:
1. Values and keys from the document information dictionary
2. The number of pages in the document
3. The bookmark titles, levels, and destination pages
4. The page labels
The update_info operation can be used to perform the reverse: to set the information
listed above. There is also a corresponding update_info_utf8 operation. For example,
we can modify the data.txt file we created and then use update_info :
pdftk input.pdf update_info data.txt output output.pdf
File Attachments
PDF files can have attachments added at the document or page level. The technical
foundations of PDF attachments are discussed in Chapter 7 . To add an attachment at
the file level:
Search WWH ::




Custom Search