aboutsummaryrefslogtreecommitdiff
path: root/tests/odt/native
AgeCommit message (Collapse)AuthorFilesLines
2016-11-26[odt] Infer table's caption from the paragraph (#3224)hubertp-lshift1-0/+1
ODT's reader always put empty captions for the parsed tables. This commit 1) checks paragraphs that follow the table definition 2) treats specially a paragraph with a style named 'Table' 3) does some postprocessing of the paragraphs that combines tables followed immediately by captions The ODT writer used 'TableCaption' style name for the caption paragraph. This commit follows the open office approach which allows for appending captions to table but uses a built-in style named 'Table' instead of 'TableCaption'. Any users of odt format (both writer and reader) are therefore required to change the style's name to 'Table', if necessary.
2016-11-08Inline code when text has a special styleHubert Plociniczak1-0/+1
When a piece of text has a text 'Source_Text' then we assume that this is a piece of the document that represents a code that needs to be inlined. Addapted an odt writer to also reflect that change; previously it was just writing a 'preformatted' text using a non-distinguishable font style. Code blocks are still not recognized by the ODT reader. That's a separate issue.
2016-11-01[odt] Infer tables' header props from rows (#3199)hubertp-lshift1-1/+1
ODT reader simply provided an empty header list which meant that the contents of the whole table, even if not empty, was simply ignored. While we still do not infer headers we at least have to provide default properties of columns.
2016-10-19Image with a caption needs special formattingHubert Plociniczak2-2/+2
Latex Writer only handles captions if the image's title is prefixed with 'fig:'.
2016-10-18Merge pull request #3166 from hubertp-lshift/bug/3134John MacFarlane1-1/+1
Issue 3143: Don't duplicate text for anchors
2016-10-18Merge pull request #3165 from hubertp-lshift/feature/odt-imageJohn MacFarlane3-0/+3
[odt] images parser
2016-10-18Issue 3143: Don't duplicate text for anchorsHubert Plociniczak1-1/+1
When creating an anchor element we were adding its representation as well as the original content, leading to text duplication.
2016-10-17Infer caption from the text following the imgHubert Plociniczak3-0/+3
Frame can contain other frames with the text boxes. This is something that has not been considered before and meant that the whole construction of images was broken in those cases. Also the captions were fixed/ignored.
2016-10-14Added tests and a corner case for starting numberHubert Plociniczak3-3/+3
Review revealed that we didn't handle the case when the starting point is an empty string. While this is not a valid .odt file, we simply added a special case to deal with it. Also added tests for the new feature.
2015-08-07Updated tests for link attribute changes.mb213-3/+3
2015-07-23Added odt readerMarLinn10-0/+10
Fully implemented features: * Paragraphs * Headers * Basic styling * Unordered lists * Ordered lists * External Links * Internal Links * Footnotes, Endnotes * Blockquotes Partly implemented features: * Citations Very basic, but pandoc can't do much more * Tables No headers, no sizing, limited styling