aboutsummaryrefslogtreecommitdiff
path: root/test/rtf/table_simple.native
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-07-30 17:23:46 -0600
committerJohn MacFarlane <jgm@berkeley.edu>2021-08-10 10:48:55 -0700
commit6543b05116ee58ef4de62f93dcafeb27617d83e6 (patch)
tree807dcf073285e484329982f3c7bd3d4031f370b7 /test/rtf/table_simple.native
parentc0b68b2030ecdb4ad006443a56ce99aebc92fbc5 (diff)
downloadpandoc-6543b05116ee58ef4de62f93dcafeb27617d83e6.tar.gz
Add RTF reader.
- `rtf` is now supported as an input format as well as output. - New module Text.Pandoc.Readers.RTF (exporting `readRTF`). [API change] Closes #3982.
Diffstat (limited to 'test/rtf/table_simple.native')
-rw-r--r--test/rtf/table_simple.native31
1 files changed, 31 insertions, 0 deletions
diff --git a/test/rtf/table_simple.native b/test/rtf/table_simple.native
new file mode 100644
index 000000000..3cff9ac38
--- /dev/null
+++ b/test/rtf/table_simple.native
@@ -0,0 +1,31 @@
+Pandoc (Meta {unMeta = fromList []})
+[Table ("",[],[]) (Caption Nothing
+ [])
+ [(AlignDefault,ColWidthDefault)
+ ,(AlignDefault,ColWidthDefault)
+ ,(AlignDefault,ColWidthDefault)
+ ,(AlignDefault,ColWidthDefault)]
+ (TableHead ("",[],[])
+ [])
+ [(TableBody ("",[],[]) (RowHeadColumns 0)
+ []
+ [Row ("",[],[])
+ [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
+ [Para [Str "A"]]
+ ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
+ [Para [Str "B"]]
+ ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
+ [Para [Str "C"]]
+ ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
+ [Para [Str "D"]]]
+ ,Row ("",[],[])
+ [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
+ [Para [Str "E"]]
+ ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
+ [Para [Str "F"]]
+ ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
+ [Para [Str "G"]]
+ ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
+ [Para [Str "H"]]]])]
+ (TableFoot ("",[],[])
+ [])]