From ae52918faa36ad59deca3561acce79ad6d3ea0c2 Mon Sep 17 00:00:00 2001 From: Nils Carlson Date: Sat, 21 Nov 2020 20:42:43 +0000 Subject: OpenDocument writer: Table text width support (#6792) Support for table width as a percentage of text width by summing width of columns and verifying that the sum is > 0 and <= 1. --- test/command/6792.md | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 test/command/6792.md (limited to 'test') diff --git a/test/command/6792.md b/test/command/6792.md new file mode 100644 index 000000000..3d31942fe --- /dev/null +++ b/test/command/6792.md @@ -0,0 +1,66 @@ +``` +% pandoc -f native -t opendocument -s --quiet +[Table ("",[],[]) (Caption Nothing + []) + [(AlignDefault,ColWidth 0.25) + ,(AlignDefault,ColWidth 0.25)] + (TableHead ("",[],[]) + []) + [(TableBody ("",[],[]) (RowHeadColumns 0) + [] + [Row ("",[],[]) + [Cell ("",[],[]) AlignCenter (RowSpan 1) (ColSpan 1) + [Para [Str "2"]] + ,Cell ("",[],[]) AlignCenter (RowSpan 1) (ColSpan 1) + [Para [Str "1"]]]])] + (TableFoot ("",[],[]) + [])] +^D + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + 1 + + + + + + +``` -- cgit v1.2.3