https://issues.apache.org/bugzilla/show_bug.cgi?id=54634

            Bug ID: 54634
           Summary: [PATCH] End index for bookmarks are incorrect when
                    bookmarks overlap
           Product: POI
           Version: 3.9
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HWPF
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified

Created attachment 30016
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30016&action=edit
patch file and a sample document for the test cases

When a document contains one or more overlapping bookmarks the method
BookmarkImpl.getEnd() returns the wrong index.

This is an excerpt from the MICROSOFT OFFICE WORD 97-2007 BINARY FILE FORMAT
SPECIFICATION

Since bookmarks may be nested within one another to any level, the BKF
structure stored in the plcbkf consists of a single index that identifies which
plcbkl marks the end of the bookmark.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to