summaryrefslogtreecommitdiff
path: root/paper.h
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2004-04-14 13:14:12 +0000
committerSimon Tatham <anakin@pobox.com>2004-04-14 13:14:12 +0000
commitc9c48312ff1dea25729159c0336b639570dbda47 (patch)
tree6e14d5033fb1814f6e958c075e733873aba33291 /paper.h
parent0ac3cfcb59a87b58d0a21f1e70dba206bbf43795 (diff)
downloadhalibut-c9c48312ff1dea25729159c0336b639570dbda47.zip
halibut-c9c48312ff1dea25729159c0336b639570dbda47.tar.gz
halibut-c9c48312ff1dea25729159c0336b639570dbda47.tar.bz2
halibut-c9c48312ff1dea25729159c0336b639570dbda47.tar.xz
Support for a contents section.
[originally from svn r4069]
Diffstat (limited to 'paper.h')
-rw-r--r--paper.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/paper.h b/paper.h
index 160bff5..fe2e795 100644
--- a/paper.h
+++ b/paper.h
@@ -153,6 +153,10 @@ struct para_data_Tag {
*/
int outline_level; /* 0=title 1=C 2=H 3=S 4=S2... */
wchar_t *outline_title;
+ /*
+ * For adding the page number of a contents entry afterwards.
+ */
+ paragraph *contents_entry;
};
struct line_data_Tag {
@@ -250,6 +254,10 @@ struct page_data_Tag {
rect *first_rect;
rect *last_rect;
/*
+ * The page number, as a string.
+ */
+ wchar_t *number;
+ /*
* This spare pointer field is for use by the client backends.
*/
void *spare;