From 8d07fccc0787bb043125e2f8788e550c692a2579 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 13 Nov 2016 12:38:05 +0000 Subject: Read embedded style maps --- src/test/java/org/zwobble/mammoth/tests/MammothTests.java | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/test/java') diff --git a/src/test/java/org/zwobble/mammoth/tests/MammothTests.java b/src/test/java/org/zwobble/mammoth/tests/MammothTests.java index fff4cb3..665e00a 100644 --- a/src/test/java/org/zwobble/mammoth/tests/MammothTests.java +++ b/src/test/java/org/zwobble/mammoth/tests/MammothTests.java @@ -226,6 +226,14 @@ public class MammothTests { list("Unrecognised paragraph style: List Paragraph (Style ID: ListParagraph)"))); } + @Test + public void embeddedStyleMapIsUsedIfPresent() throws IOException { + assertThat( + convertToHtml("embedded-style-map.docx"), + isSuccess("

Walking on imported air

") + ); + } + @Test public void canExtractRawTextFromFile() throws IOException { assertThat( -- cgit v1.2.3