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