Skip to content
Snippets Groups Projects
Commit affd5b46 authored by Martin Mareš's avatar Martin Mareš
Browse files

pdf-notes: Drobnosti

parent bb71c8bb
No related branches found
No related tags found
No related merge requests found
......@@ -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})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment