c7814f31e1
The Builder.simpleTable now only adds a row to the TableHead when the given header row is not null. This uncovered an inconsistency in the readers: some would unconditionally emit a header filled with empty cells, even if the header was not present. Now every reader has the conditional behaviour. Only the XWiki writer depended on the header row being always present; it now pads its head as necessary.
52 lines
No EOL
1.8 KiB
Text
52 lines
No EOL
1.8 KiB
Text
[Table ("",[],[]) (Caption Nothing
|
|
[])
|
|
[(AlignDefault,ColWidthDefault)]
|
|
(TableHead ("",[],[])
|
|
[])
|
|
[(TableBody ("",[],[]) (RowHeadColumns 0)
|
|
[]
|
|
[Row ("",[],[])
|
|
[Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
|
|
[]]
|
|
,Row ("",[],[])
|
|
[Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
|
|
[Plain [Str "User\8217s",Space,Str "Guide"]]]
|
|
,Row ("",[],[])
|
|
[Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
|
|
[]]
|
|
,Row ("",[],[])
|
|
[Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
|
|
[]]
|
|
,Row ("",[],[])
|
|
[Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
|
|
[]]
|
|
,Row ("",[],[])
|
|
[Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
|
|
[Plain [Str "11",Space,Str "August",Space,Str "2017"]]]
|
|
,Row ("",[],[])
|
|
[Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
|
|
[]]
|
|
,Row ("",[],[])
|
|
[Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
|
|
[]]
|
|
,Row ("",[],[])
|
|
[Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
|
|
[]]
|
|
,Row ("",[],[])
|
|
[Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
|
|
[]]])]
|
|
(TableFoot ("",[],[])
|
|
[])
|
|
,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"]
|
|
,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."]]
|
|
,Header 1 ("tables",["Heading-0"],[]) [Str "TABLES"]
|
|
,Para [Strong [Str "Table",Space,Str "Page"]]
|
|
,Para [Strong [Str "No",Space,Str "table",Space,Str "of",Space,Str "figures",Space,Str "entries",Space,Str "found."]]
|
|
,Header 1 ("introduction",[],[]) [Str "Introduction"]
|
|
,Para [Str "Nothing",Space,Str "to",Space,Str "introduce,",Space,Str "yet."]] |