Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-2347

Underlined text is not decorated as such when extracting from word documents

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.14, 2.0.0
    • 1.17
    • parser
    • None

    Description

      When extracting from doc and docx bold and italic text decoration is extracted, however underlining is not. Can be demonstrated in WordParserTest or OOXMLParserTest (change to docx) with the following test case.

      WordParserTest.java
          @Test
          public void testTextDecoration() throws Exception {
            XMLResult result = getXML("testWORD_various.doc");
            String xml = result.xml;
      
            assertTrue(xml.contains("<b>Bold</b>"));
            assertTrue(xml.contains("<i>italic</i>"));
            assertTrue(xml.contains("<u>underline</u>"));
      
          }
      

      Attachments

        Issue Links

          Activity

            People

              davemeikle Dave Meikle
              hendrens Stuart Hendren
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: