summaryrefslogtreecommitdiff
path: root/test/docx/0_level_headers.native
diff options
context:
space:
mode:
authorMilan Bracke <mbracke@antidot.net>2021-06-11 09:26:09 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2021-10-18 19:15:40 -0700
commit6acc82c5d2885c596c52e6c35bed8fe08f535066 (patch)
treead9a434851bc05154cc4680fd779aa8f9367b0e2 /test/docx/0_level_headers.native
parent193f6bfebaa43d0d6749d10a4e7ca78a0d31361d (diff)
Docx parser: implement PAGEREF fields
These fields, often used in tables of contents, can be a hyperlink.
Diffstat (limited to 'test/docx/0_level_headers.native')
-rw-r--r--test/docx/0_level_headers.native6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/docx/0_level_headers.native b/test/docx/0_level_headers.native
index ed589b029..7080063f9 100644
--- a/test/docx/0_level_headers.native
+++ b/test/docx/0_level_headers.native
@@ -39,9 +39,9 @@
[])
,Para [Str "CONTENTS"]
,Para [Strong [Str "Section",Space,Str "Page"]]
-,Para [Str "FIGURES",Space,Str "iv"]
-,Para [Str "TABLES",Space,Str "v"]
-,Para [Str "SECTION",Space,Str "1",Space,Str "Introduction",Space,Str "2"]
+,Para [Str "FIGURES",Space,Link ("",[],[]) [Str "iv"] ("#figures","")]
+,Para [Str "TABLES",Space,Link ("",[],[]) [Str "v"] ("#tables","")]
+,Para [Str "SECTION",Space,Str "1",Space,Str "Introduction",Space,Link ("",[],[]) [Str "2"] ("#introduction","")]
,Header 1 ("figures",["Heading-0"],[]) [Str "FIGURES"]
,Para [Strong [Str "Figure",Space,Str "Page"]]
,Para [Strong [Str "No",Space,Str "table",Space,Str "of",Space,Str "figures",Space,Str "entries",Space,Str "found."]]