diff options
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. */ |