diff --git a/pdf/pdf-notes b/pdf/pdf-notes index 1e72b806eec3bbb8ba7585753db1f849a46f6370..4f8e2d8b0e57fa37af4ebd1687cd796b644c19c5 100644 --- a/pdf/pdf-notes +++ b/pdf/pdf-notes @@ -24,6 +24,7 @@ named dest catalog -> /Names -> /Dests -> name tree ## \pdfdest name{<name>} (xyz [zoom <mag>] | fitr <rule> | fitv ...) +## -> fitb, fitbv, fitbh: bounding box of the page ## \pdfdestmargin=<dimen> Actions: (dictionaries) @@ -56,8 +57,8 @@ item: /Parent -> parent item /Prev -> previous item /Next -> next item - /First -> first descendant - /Last -> last descendant + /First -> first child + /Last -> last child /Count num-of-open-descendants /Dest name-string-or-array /A action-on-activate @@ -66,12 +67,15 @@ item: ## \pdfoutline [attr <text>] <action> [count <integer>] <text> ## action: -## - goto page N +## - goto page N, goto name X ## - user { ... } +## count > 0: open subentries +## count < 0: closed subentries Page labels: catalog -> /PageLabels -> number tree -> page label dict +(for each range, the number tree contains the first page number in the range) /Type /PageLabel optional /S style D=decimal, R=ROMAN, r=roman, A=upcase (A..Z, AA,BB..ZZ, ...), a=lowcase @@ -101,7 +105,7 @@ page -> /Annots -> array of annotation dictionaries /D dash-array /C [gray / r g b / c m y k] -annotation types: +annotation subtypes: /Text ikonka, vyvolava pop-up text /Name icon (/Comment /Help apod.) @@ -115,6 +119,7 @@ annotation types: pdftex: \pdfannot [reserveobjnum | useobjnum <N>] [<rule-spec>] <raw-PDF> rule-spec describes annot size, default is all dimensions running + (inherits dimensions of enclosing box) \pdflastannot returns object number \pdfstartlink [<rule-spec>] [attr <text>] (<action> ::= user <user-action> | goto name{<destination>} | goto page <num> {/Fit})