diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-08-13 11:16:50 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-08-13 11:16:50 -0700 |
commit | 40e67b873735f108dfb17f75f6475219a62278cd (patch) | |
tree | 7814e987155d3b7d196135e2cdbf06deb67d460d /tests/docx | |
parent | fa71a08ed3cae4ed26d2cb84b1f7a29be94e3ddb (diff) | |
download | pandoc-40e67b873735f108dfb17f75f6475219a62278cd.tar.gz |
Revised tests directory.
Renamed some tests, introducing subsidiary directories
for fb2, docx, epub.
Cleaned up tests in cabal file.
Combined dokuwiki-writer and dokuwiki_inline_formatting tests.
Diffstat (limited to 'tests/docx')
52 files changed, 119 insertions, 0 deletions
diff --git a/tests/docx/already_auto_ident.docx b/tests/docx/already_auto_ident.docx Binary files differnew file mode 100644 index 000000000..ec2b348d7 --- /dev/null +++ b/tests/docx/already_auto_ident.docx diff --git a/tests/docx/already_auto_ident.native b/tests/docx/already_auto_ident.native new file mode 100644 index 000000000..054bfe34a --- /dev/null +++ b/tests/docx/already_auto_ident.native @@ -0,0 +1,2 @@ +[Header 1 ("anchor-header",[],[]) [Str "Anchor",Space,Str "Header"] +,Para [Str "A",Space,Link [Str "link"] ("#anchor-header","")]] diff --git a/tests/docx/block_quotes.docx b/tests/docx/block_quotes.docx Binary files differnew file mode 100644 index 000000000..729ae1f43 --- /dev/null +++ b/tests/docx/block_quotes.docx diff --git a/tests/docx/block_quotes_parse_indent.native b/tests/docx/block_quotes_parse_indent.native new file mode 100644 index 000000000..842b3606a --- /dev/null +++ b/tests/docx/block_quotes_parse_indent.native @@ -0,0 +1,8 @@ +[Header 2 ("some-block-quotes-in-different-ways",[],[]) [Str "Some",Space,Str "block",Space,Str "quotes,",Space,Str "in",Space,Str "different",Space,Str "ways"] +,Para [Str "This",Space,Str "is",Space,Str "the",Space,Str "proper",Space,Str "way,",Space,Str "with",Space,Str "a",Space,Str "style"] +,BlockQuote + [Para [Str "I",Space,Str "don\8217t",Space,Str "know",Space,Str "why",Space,Str "this",Space,Str "would",Space,Str "be",Space,Str "in",Space,Str "italics,",Space,Str "but",Space,Str "so",Space,Str "it",Space,Str "appears",Space,Str "to",Space,Str "be",Space,Str "on",Space,Str "my",Space,Str "screen."]] +,Para [Str "And",Space,Str "this",Space,Str "is",Space,Str "the",Space,Str "way",Space,Str "that",Space,Str "most",Space,Str "people",Space,Str "do",Space,Str "it:"] +,BlockQuote + [Para [Str "I",Space,Str "just",Space,Str "indented",Space,Str "this,",Space,Str "so",Space,Str "it",Space,Str "looks",Space,Str "like",Space,Str "a",Space,Str "block",Space,Str "quote.",Space,Str "I",Space,Str "think",Space,Str "this",Space,Str "is",Space,Str "how",Space,Str "most",Space,Str "people",Space,Str "do",Space,Str "block",Space,Str "quotes",Space,Str "in",Space,Str "their",Space,Str "documents."]] +,Para [Str "And",Space,Str "back",Space,Str "to",Space,Str "the",Space,Str "normal",Space,Str "style."]] diff --git a/tests/docx/codeblock.docx b/tests/docx/codeblock.docx Binary files differnew file mode 100644 index 000000000..8ec00953c --- /dev/null +++ b/tests/docx/codeblock.docx diff --git a/tests/docx/codeblock.native b/tests/docx/codeblock.native new file mode 100644 index 000000000..441e33511 --- /dev/null +++ b/tests/docx/codeblock.native @@ -0,0 +1,3 @@ +[Para [Str "This",Space,Str "is",Space,Str "some",Space,Str "code:"] +,CodeBlock ("",[],[]) "readDocx :: ReaderOptions\n -> B.ByteString\n -> Pandoc" +,Para [Str "from",Space,Str "the",Space,Str "beginning",Space,Str "of",Space,Str "the",Space,Str "docx",Space,Str "reader."]] diff --git a/tests/docx/deep_normalize.docx b/tests/docx/deep_normalize.docx Binary files differnew file mode 100644 index 000000000..7626d59ce --- /dev/null +++ b/tests/docx/deep_normalize.docx diff --git a/tests/docx/deep_normalize.native b/tests/docx/deep_normalize.native new file mode 100644 index 000000000..9b2089ec8 --- /dev/null +++ b/tests/docx/deep_normalize.native @@ -0,0 +1,6 @@ +[OrderedList (1,Decimal,OneParen) + [[Para [Str "This",Space,Str "is",Space,Str "at",Space,Str "the",Space,Str "first",Space,Str "level"] + ,OrderedList (1,LowerAlpha,DefaultDelim) + [[Para [Str "This",Space,Str "is",Space,Str "at",Space,Str "the",Space,Str "second",Space,Str "level"] + ,OrderedList (1,LowerRoman,DefaultDelim) + [[Para [Str "This",Space,Str "is",Space,Emph [Str "at",Space,Strong [Str "the",Space,Str "third",Space,Str "level"],Str ",",Space,Str "and",Space,Str "I",Space,Str "want",Space,Str "to"],Space,Str "test",Space,Str "normalization",Space,Str "here."]]]]]]]] diff --git a/tests/docx/definition_list.docx b/tests/docx/definition_list.docx Binary files differnew file mode 100644 index 000000000..a19edda45 --- /dev/null +++ b/tests/docx/definition_list.docx diff --git a/tests/docx/definition_list.native b/tests/docx/definition_list.native new file mode 100644 index 000000000..2e08ff1ac --- /dev/null +++ b/tests/docx/definition_list.native @@ -0,0 +1,7 @@ +[DefinitionList + [([Str "Term",Space,Str "1"], + [[Para [Str "Definition",Space,Str "1"]]]) + ,([Str "Term",Space,Str "2",Space,Str "with",Space,Emph [Str "inline",Space,Str "markup"]], + [[Para [Str "Definition",Space,Str "2"] + ,CodeBlock ("",[],[]) "{ some code, part of Definition 2 }" + ,Para [Str "Third",Space,Str "paragraph",Space,Str "of",Space,Str "definition",Space,Str "2."]]])]] diff --git a/tests/docx/drop_cap.docx b/tests/docx/drop_cap.docx Binary files differnew file mode 100644 index 000000000..19fab4a52 --- /dev/null +++ b/tests/docx/drop_cap.docx diff --git a/tests/docx/drop_cap.native b/tests/docx/drop_cap.native new file mode 100644 index 000000000..d361cfb0b --- /dev/null +++ b/tests/docx/drop_cap.native @@ -0,0 +1,4 @@ +[Para [Str "Drop",Space,Str "cap."] +,Para [Str "Next",Space,Str "paragraph."] +,Para [Str "Drop",Space,Str "cap",Space,Str "in",Space,Str "margin."] +,Para [Str "Drop",Space,Str "cap",Space,Str "(not",Space,Str "really)."]] diff --git a/tests/docx/hanging_indent.docx b/tests/docx/hanging_indent.docx Binary files differnew file mode 100644 index 000000000..6f62dc731 --- /dev/null +++ b/tests/docx/hanging_indent.docx diff --git a/tests/docx/hanging_indent.native b/tests/docx/hanging_indent.native new file mode 100644 index 000000000..138a6967f --- /dev/null +++ b/tests/docx/hanging_indent.native @@ -0,0 +1,3 @@ +[Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "hanging",Space,Str "indent,",Space,Str "with",Space,Str "the",Space,Str "left",Space,Str "side",Space,Str "set",Space,Str "to",Space,Str "the",Space,Str "left",Space,Str "margin,",Space,Str "and",Space,Str "it",Space,Str "wraps",Space,Str "around",Space,Str "the",Space,Str "line."] +,BlockQuote + [Para [Str "Five",Space,Str "years",Space,Str "have",Space,Str "passed,",Space,Str "five",Space,Str "summers",Space,Str "with",Space,Str "the",Space,Str "length"]]] diff --git a/tests/docx/headers.docx b/tests/docx/headers.docx Binary files differnew file mode 100644 index 000000000..630b6bfc5 --- /dev/null +++ b/tests/docx/headers.docx diff --git a/tests/docx/headers.native b/tests/docx/headers.native new file mode 100644 index 000000000..03f967728 --- /dev/null +++ b/tests/docx/headers.native @@ -0,0 +1,5 @@ +[Header 1 ("a-test-of-headers",[],[]) [Str "A",Space,Str "Test",Space,Str "of",Space,Str "Headers"] +,Header 2 ("second-level",[],[]) [Str "Second",Space,Str "Level"] +,Para [Str "Some",Space,Str "plain",Space,Str "text."] +,Header 3 ("third-level",[],[]) [Str "Third",Space,Str "level"] +,Para [Str "Some",Space,Str "more",Space,Str "plain",Space,Str "text."]] diff --git a/tests/docx/image.docx b/tests/docx/image.docx Binary files differnew file mode 100644 index 000000000..06e4efd1a --- /dev/null +++ b/tests/docx/image.docx diff --git a/tests/docx/image_no_embed.native b/tests/docx/image_no_embed.native new file mode 100644 index 000000000..95c73610e --- /dev/null +++ b/tests/docx/image_no_embed.native @@ -0,0 +1,2 @@ +[Para [Str "An",Space,Str "image:"] +,Para [Image [] ("media/image1.jpg","")]] diff --git a/tests/docx/inline_code.docx b/tests/docx/inline_code.docx Binary files differnew file mode 100644 index 000000000..75c5ea3cb --- /dev/null +++ b/tests/docx/inline_code.docx diff --git a/tests/docx/inline_code.native b/tests/docx/inline_code.native new file mode 100644 index 000000000..11cf2777c --- /dev/null +++ b/tests/docx/inline_code.native @@ -0,0 +1 @@ +[Para [Str "This",Space,Str "is",Space,Str "an",Space,Str "example",Space,Str "of",Space,Code ("",[],[]) "inline code",Space,Str "with",Space,Str "three",Space,Str "spaces."]] diff --git a/tests/docx/inline_formatting.docx b/tests/docx/inline_formatting.docx Binary files differnew file mode 100644 index 000000000..eccf26425 --- /dev/null +++ b/tests/docx/inline_formatting.docx diff --git a/tests/docx/inline_formatting.native b/tests/docx/inline_formatting.native new file mode 100644 index 000000000..22d8f79e8 --- /dev/null +++ b/tests/docx/inline_formatting.native @@ -0,0 +1,5 @@ +[Para [Str "Regular",Space,Str "text",Space,Emph [Str "italics"],Space,Strong [Str "bold",Space,Emph [Str "bold",Space,Str "italics"]],Str "."] +,Para [Str "This",Space,Str "is",Space,SmallCaps [Str "Small",Space,Str "Caps"],Str ",",Space,Str "and",Space,Str "this",Space,Str "is",Space,Strikeout [Str "strikethrough"],Str "."] +,Para [Str "Some",Space,Str "people",Space,Str "use",Space,Emph [Str "single",Space,Str "underlines",Space,Str "for",Space,Emph [Str "emphasis"]],Str "."] +,Para [Str "Above",Space,Str "the",Space,Str "line",Space,Str "is",Space,Superscript [Str "superscript"],Space,Str "and",Space,Str "below",Space,Str "the",Space,Str "line",Space,Str "is",Space,Subscript [Str "subscript"],Str "."] +,Para [Str "A",Space,Str "line",LineBreak,Str "break."]] diff --git a/tests/docx/inline_images.docx b/tests/docx/inline_images.docx Binary files differnew file mode 100644 index 000000000..6288f66ff --- /dev/null +++ b/tests/docx/inline_images.docx diff --git a/tests/docx/inline_images.native b/tests/docx/inline_images.native new file mode 100644 index 000000000..f962f5c09 --- /dev/null +++ b/tests/docx/inline_images.native @@ -0,0 +1,2 @@ +[Para [Str "This",Space,Str "picture",Space,Image [] ("media/image1.jpg",""),Space,Str "is",Space,Str "an",Space,Str "identicon."] +,Para [Str "Here",Space,Str "is",Space,Link [Str "one",Space,Image [] ("media/image2.jpg",""),Space,Str "that"] ("http://www.google.com",""),Space,Str "links."]] diff --git a/tests/docx/links.docx b/tests/docx/links.docx Binary files differnew file mode 100644 index 000000000..10ec62fd7 --- /dev/null +++ b/tests/docx/links.docx diff --git a/tests/docx/links.native b/tests/docx/links.native new file mode 100644 index 000000000..c741fe875 --- /dev/null +++ b/tests/docx/links.native @@ -0,0 +1,6 @@ +[Header 2 ("an-internal-link-and-an-external-link",[],[]) [Str "An",Space,Str "internal",Space,Str "link",Space,Str "and",Space,Str "an",Space,Str "external",Space,Str "link"] +,Para [Str "An",Space,Link [Str "external",Space,Str "link"] ("http://google.com",""),Space,Str "to",Space,Str "a",Space,Str "popular",Space,Str "website."] +,Para [Str "An",Space,Link [Str "internal",Space,Str "link"] ("#a-section-for-testing-link-targets",""),Space,Str "to",Space,Str "a",Space,Str "section",Space,Str "header."] +,Para [Str "An",Space,Link [Str "internal",Space,Str "link"] ("#my_bookmark",""),Space,Str "to",Space,Str "a",Space,Str "bookmark."] +,Header 2 ("a-section-for-testing-link-targets",[],[]) [Str "A",Space,Str "section",Space,Str "for",Space,Str "testing",Space,Str "link",Space,Str "targets"] +,Para [Str "A",Space,Str "bookmark",Space,Str "right",Space,Span ("my_bookmark",["anchor"],[]) [],Str "here"]] diff --git a/tests/docx/lists.docx b/tests/docx/lists.docx Binary files differnew file mode 100644 index 000000000..bf7fd8ae4 --- /dev/null +++ b/tests/docx/lists.docx diff --git a/tests/docx/lists.native b/tests/docx/lists.native new file mode 100644 index 000000000..af922b335 --- /dev/null +++ b/tests/docx/lists.native @@ -0,0 +1,18 @@ +[Header 2 ("some-nested-lists",[],[]) [Str "Some",Space,Str "nested",Space,Str "lists"] +,OrderedList (1,Decimal,Period) + [[Para [Str "one"]] + ,[Para [Str "two"] + ,OrderedList (1,LowerAlpha,DefaultDelim) + [[Para [Str "a"]] + ,[Para [Str "b"]]]]] +,BulletList + [[Para [Str "one"]] + ,[Para [Str "two"] + ,BulletList + [[Para [Str "three"] + ,BulletList + [[Para [Str "four"] + ,Para [Str "Sub",Space,Str "paragraph"]]]]]] + ,[Para [Str "Same",Space,Str "list"]]] +,BulletList + [[Para [Str "Different",Space,Str "list",Space,Str "adjacent",Space,Str "to",Space,Str "the",Space,Str "one",Space,Str "above."]]]] diff --git a/tests/docx/metadata.docx b/tests/docx/metadata.docx Binary files differnew file mode 100644 index 000000000..ccf50b475 --- /dev/null +++ b/tests/docx/metadata.docx diff --git a/tests/docx/metadata.native b/tests/docx/metadata.native new file mode 100644 index 000000000..ed7ba63cf --- /dev/null +++ b/tests/docx/metadata.native @@ -0,0 +1,2 @@ +Pandoc (Meta {unMeta = fromList [("abstract",MetaInlines [Str "This",Space,Str "is",Space,Str "a",Space,Str "test",Space,Str "of",Space,Str "how",Space,Str "this",Space,Str "all",Space,Str "works.",Space,Str "I\8217ve",Space,Str "skipped",Space,Str "lines",Space,Str "here,",Space,Str "which",Space,Str "pandoc",Space,Str "doesn\8217t",Space,Str "do,",Space,Str "but",Space,Str "which",Space,Str "shouldn\8217t",Space,Str "make",Space,Str "a",Space,Str "difference."]),("author",MetaList [MetaInlines [Str "Mary",Space,Str "Ann",Space,Str "Evans"],MetaInlines [Str "Aurore",Space,Str "Dupin"]]),("date",MetaInlines [Str "July",Space,Str "28,",Space,Str "2014"]),("title",MetaInlines [Str "This",Space,Str "Is",Space,Str "the",Space,Str "Title"])]}) +[Para [Str "And",Space,Str "now",Space,Str "this",Space,Str "is",Space,Str "normal",Space,Str "text."]] diff --git a/tests/docx/metadata_after_normal.docx b/tests/docx/metadata_after_normal.docx Binary files differnew file mode 100644 index 000000000..b94a016cb --- /dev/null +++ b/tests/docx/metadata_after_normal.docx diff --git a/tests/docx/metadata_after_normal.native b/tests/docx/metadata_after_normal.native new file mode 100644 index 000000000..f0e31f8da --- /dev/null +++ b/tests/docx/metadata_after_normal.native @@ -0,0 +1,7 @@ +Pandoc (Meta {unMeta = fromList [("abstract",MetaInlines [Str "This",Space,Str "is",Space,Str "a",Space,Str "test",Space,Str "of",Space,Str "how",Space,Str "this",Space,Str "all",Space,Str "works.",Space,Str "I\8217ve",Space,Str "skipped",Space,Str "lines",Space,Str "here,",Space,Str "which",Space,Str "pandoc",Space,Str "doesn\8217t",Space,Str "do,",Space,Str "but",Space,Str "which",Space,Str "shouldn\8217t",Space,Str "make",Space,Str "a",Space,Str "difference."]),("author",MetaList [MetaInlines [Str "Mary",Space,Str "Ann",Space,Str "Evans"],MetaInlines [Str "Aurore",Space,Str "Dupin"]]),("date",MetaInlines [Str "July",Space,Str "28,",Space,Str "2014"]),("title",MetaInlines [Str "This",Space,Str "Is",Space,Str "the",Space,Str "Title"])]}) +[Para [Str "And",Space,Str "now",Space,Str "this",Space,Str "is",Space,Str "normal",Space,Str "text."] +,Para [Str "This",Space,Str "Is",Space,Str "the",Space,Str "Title"] +,Para [Str "Mary",Space,Str "Ann",Space,Str "Evans"] +,Para [Str "Aurore",Space,Str "Dupin"] +,Para [Str "July",Space,Str "28,",Space,Str "2014"] +,Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "test",Space,Str "of",Space,Str "how",Space,Str "this",Space,Str "all",Space,Str "works.",Space,Str "I\8217ve",Space,Str "skipped",Space,Str "lines",Space,Str "here,",Space,Str "which",Space,Str "pandoc",Space,Str "doesn\8217t",Space,Str "do,",Space,Str "but",Space,Str "which",Space,Str "shouldn\8217t",Space,Str "make",Space,Str "a",Space,Str "difference."]] diff --git a/tests/docx/normalize.docx b/tests/docx/normalize.docx Binary files differnew file mode 100644 index 000000000..b4fc55818 --- /dev/null +++ b/tests/docx/normalize.docx diff --git a/tests/docx/normalize.native b/tests/docx/normalize.native new file mode 100644 index 000000000..aeba672c4 --- /dev/null +++ b/tests/docx/normalize.native @@ -0,0 +1,2 @@ +[Para [Str "These",Space,Str "are",Space,Str "different",Space,Str "fonts."] +,Para [Strong [Str "These",Space,Emph [Str "are",Space,Strikeout [Str "different"]],Space,Str "fonts."]]] diff --git a/tests/docx/notes.docx b/tests/docx/notes.docx Binary files differnew file mode 100644 index 000000000..eb6fa12d4 --- /dev/null +++ b/tests/docx/notes.docx diff --git a/tests/docx/notes.native b/tests/docx/notes.native new file mode 100644 index 000000000..ec1b414b6 --- /dev/null +++ b/tests/docx/notes.native @@ -0,0 +1,2 @@ +[Header 2 ("a-footnote",[],[]) [Str "A",Space,Str "footnote"] +,Para [Str "Test",Space,Str "footnote.",Note [Para [Str "My",Space,Str "note."]],Space,Str "Test",Space,Str "endnote.",Note [Para [Str "This",Space,Str "is",Space,Str "an",Space,Str "endnote",Space,Str "at",Space,Str "the",Space,Str "end",Space,Str "of",Space,Str "the",Space,Str "document."]]]] diff --git a/tests/docx/tables.docx b/tests/docx/tables.docx Binary files differnew file mode 100644 index 000000000..7dcff8d35 --- /dev/null +++ b/tests/docx/tables.docx diff --git a/tests/docx/tables.native b/tests/docx/tables.native new file mode 100644 index 000000000..2564afcec --- /dev/null +++ b/tests/docx/tables.native @@ -0,0 +1,24 @@ +[Header 2 ("a-table-with-and-without-a-header-row",[],[]) [Str "A",Space,Str "table,",Space,Str "with",Space,Str "and",Space,Str "without",Space,Str "a",Space,Str "header",Space,Str "row"] +,Table [] [AlignDefault,AlignDefault,AlignDefault,AlignDefault] [0.0,0.0,0.0,0.0] + [[Para [Str "Name"]] + ,[Para [Str "Game"]] + ,[Para [Str "Fame"]] + ,[Para [Str "Blame"]]] + [[[Para [Str "Lebron",Space,Str "James"]] + ,[Para [Str "Basketball"]] + ,[Para [Str "Very",Space,Str "High"]] + ,[Para [Str "Leaving",Space,Str "Cleveland"]]] + ,[[Para [Str "Ryan",Space,Str "Braun"]] + ,[Para [Str "Baseball"]] + ,[Para [Str "Moderate"]] + ,[Para [Str "Steroids"]]] + ,[[Para [Str "Russell",Space,Str "Wilson"]] + ,[Para [Str "Football"]] + ,[Para [Str "High"]] + ,[Para [Str "Tacky",Space,Str "uniform"]]]] +,Table [] [AlignDefault,AlignDefault] [0.0,0.0] + [] + [[[Para [Str "Sinple"]] + ,[Para [Str "Table"]]] + ,[[Para [Str "Without"]] + ,[Para [Str "Header"]]]]] diff --git a/tests/docx/tabs.docx b/tests/docx/tabs.docx Binary files differnew file mode 100644 index 000000000..6ff5f4bb1 --- /dev/null +++ b/tests/docx/tabs.docx diff --git a/tests/docx/tabs.native b/tests/docx/tabs.native new file mode 100644 index 000000000..05461f20b --- /dev/null +++ b/tests/docx/tabs.native @@ -0,0 +1,2 @@ +[Para [Str "Some",Space,Str "text",Space,Str "separated",Space,Str "by",Space,Str "a",Space,Str "tab."] +,Para [Str "Tab-indented",Space,Str "text."]] diff --git a/tests/docx/track_changes_deletion.docx b/tests/docx/track_changes_deletion.docx Binary files differnew file mode 100644 index 000000000..5cfdbeed8 --- /dev/null +++ b/tests/docx/track_changes_deletion.docx diff --git a/tests/docx/track_changes_deletion_accept.native b/tests/docx/track_changes_deletion_accept.native new file mode 100644 index 000000000..205c67810 --- /dev/null +++ b/tests/docx/track_changes_deletion_accept.native @@ -0,0 +1 @@ +[Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "text",Space,Str "with",Space,Str "a",Space,Str "deletion."]] diff --git a/tests/docx/track_changes_deletion_all.native b/tests/docx/track_changes_deletion_all.native new file mode 100644 index 000000000..7f4ed2a90 --- /dev/null +++ b/tests/docx/track_changes_deletion_all.native @@ -0,0 +1 @@ +[Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "text",Space,Str "with",Space,Str "a",Span ("",["deletion"],[("author","eng-dept"),("date","2014-06-25T10:42:00Z")]) [Str "n",Space,Str "excessively",Space,Str "modified"],Space,Str "deletion."]] diff --git a/tests/docx/track_changes_deletion_reject.native b/tests/docx/track_changes_deletion_reject.native new file mode 100644 index 000000000..04283bee5 --- /dev/null +++ b/tests/docx/track_changes_deletion_reject.native @@ -0,0 +1 @@ +[Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "text",Space,Str "with",Space,Str "an",Space,Str "excessively",Space,Str "modified",Space,Str "deletion."]] diff --git a/tests/docx/track_changes_insertion.docx b/tests/docx/track_changes_insertion.docx Binary files differnew file mode 100644 index 000000000..fbdc9003e --- /dev/null +++ b/tests/docx/track_changes_insertion.docx diff --git a/tests/docx/track_changes_insertion_accept.native b/tests/docx/track_changes_insertion_accept.native new file mode 100644 index 000000000..ca2e46df0 --- /dev/null +++ b/tests/docx/track_changes_insertion_accept.native @@ -0,0 +1 @@ +[Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "text",Space,Str "with",Space,Str "two",Space,Str "exciting",Space,Str "insertions."]] diff --git a/tests/docx/track_changes_insertion_all.native b/tests/docx/track_changes_insertion_all.native new file mode 100644 index 000000000..12664e425 --- /dev/null +++ b/tests/docx/track_changes_insertion_all.native @@ -0,0 +1 @@ +[Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "text",Space,Str "with",Space,Span ("",["insertion"],[("author","eng-dept"),("date","2014-06-25T10:40:00Z")]) [Str "two",Space,Str "exciting"],Space,Str "insertions."]] diff --git a/tests/docx/track_changes_insertion_reject.native b/tests/docx/track_changes_insertion_reject.native new file mode 100644 index 000000000..def000abd --- /dev/null +++ b/tests/docx/track_changes_insertion_reject.native @@ -0,0 +1 @@ +[Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "text",Space,Str "with",Space,Str "insertions."]] diff --git a/tests/docx/trailing_spaces_in_formatting.docx b/tests/docx/trailing_spaces_in_formatting.docx Binary files differnew file mode 100644 index 000000000..ebe7404a9 --- /dev/null +++ b/tests/docx/trailing_spaces_in_formatting.docx diff --git a/tests/docx/trailing_spaces_in_formatting.native b/tests/docx/trailing_spaces_in_formatting.native new file mode 100644 index 000000000..46ea9bca8 --- /dev/null +++ b/tests/docx/trailing_spaces_in_formatting.native @@ -0,0 +1 @@ +[Para [Str "Turn",Space,Str "my",Space,Emph [Str "formatting"],Space,Str "off",Space,Str "after",Space,Str "the",Space,Str "spaces."]] diff --git a/tests/docx/unicode.docx b/tests/docx/unicode.docx Binary files differnew file mode 100644 index 000000000..cf902c6c6 --- /dev/null +++ b/tests/docx/unicode.docx diff --git a/tests/docx/unicode.native b/tests/docx/unicode.native new file mode 100644 index 000000000..aee7ef74b --- /dev/null +++ b/tests/docx/unicode.native @@ -0,0 +1 @@ +[Para [Str "Hello,",Space,Str "\19990\30028.",Space,Str "This",Space,Str "costs",Space,Str "\8364\&10.\8744\8744("]] |