diff options
| author | Simon Tatham <anakin@pobox.com> | 2004-04-14 10:00:07 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2004-04-14 10:00:07 +0000 |
| commit | 65dd4e256fe50504eed7f9a38937b781775a1886 (patch) | |
| tree | b25f43043b4294931f7d99ee1b2e9946e0238fec /paper.h | |
| parent | 62155ecfee896325545668ce0e108c245baca43d (diff) | |
| download | halibut-65dd4e256fe50504eed7f9a38937b781775a1886.zip halibut-65dd4e256fe50504eed7f9a38937b781775a1886.tar.gz halibut-65dd4e256fe50504eed7f9a38937b781775a1886.tar.bz2 halibut-65dd4e256fe50504eed7f9a38937b781775a1886.tar.xz | |
Implemented PDF outlines.
[originally from svn r4067]
Diffstat (limited to 'paper.h')
| -rw-r--r-- | paper.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -20,6 +20,7 @@ typedef struct text_fragment_Tag text_fragment; typedef struct xref_Tag xref; typedef struct xref_dest_Tag xref_dest; typedef struct rect_Tag rect; +typedef struct outline_element_Tag outline_element; /* * This data structure represents the overall document, in the form @@ -29,6 +30,8 @@ struct document_Tag { int paper_width, paper_height; font_list *fonts; page_data *pages; + outline_element *outline_elements; + int n_outline_elements; }; /* @@ -264,6 +267,11 @@ struct rect_Tag { int x, y, w, h; }; +struct outline_element_Tag { + int level; /* 0=title 1=C 2=H 3=S 4=S2... */ + paragraph *para; +}; + /* * Functions and data exported from psdata.c. */ |