You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2023/02/06 13:44:15 UTC

[Bug 66467] New: Unsupported Sprm operation: 58 (0x3A) when extracting data from a Word 97 document

https://bz.apache.org/bugzilla/show_bug.cgi?id=66467

            Bug ID: 66467
           Summary: Unsupported Sprm operation: 58 (0x3A) when extracting
                    data from a Word 97 document
           Product: POI
           Version: 5.2.2-FINAL
          Hardware: Macintosh
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HWPF
          Assignee: dev@poi.apache.org
          Reporter: gastaldi@apache.org
  Target Milestone: ---

Created attachment 38497
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=38497&action=edit
Word document reproducing the bug

When extracting the text of a Word 97 document I get the following INFO in the
logs (using poi-scratchpad 5.2.3): 

2023-02-06 10:15:08,983 INFO  [org.apa.poi.hwp.spr.SectionSprmUncompressor]
(executor-thread-0) Unsupported Sprm operation: 58 (0x3A)


The following unit test reproduces the issue (using the attached .doc file): 

    @Test
    void testSprmOperation58() throws IOException {
        try (HWPFDocument hwpfDocument = openSampleFile( "hello_poi.doc" )) {
            WordExtractor extractor = new WordExtractor(hwpfDocument);
            assertEquals("Hello POI", extractor.getText().trim());
        }
    }

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 66467] Unsupported Sprm operation: 58 (0x3A) when extracting data from a Word 97 document

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66467

Dominik Stadler <do...@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org