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 2013/03/05 00:29:07 UTC
[Bug 54634] New: [PATCH] End index for bookmarks are incorrect when
bookmarks overlap
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: dev@poi.apache.org
Reporter: josh.holthaus@gmail.com
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
[Bug 54634] [PATCH] End index for bookmarks are incorrect when
bookmarks overlap
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54634
Nick Burch <ap...@gagravarr.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |PatchAvailable
--
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 54634] [PATCH] End index for bookmarks are incorrect when
bookmarks overlap
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54634
Josh Holthaus <jo...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #30016|0 |1
is patch| |
Attachment #30016|application/octet-stream |text/plain
mime type| |
--
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 54634] [PATCH] End index for bookmarks are incorrect when
bookmarks overlap
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54634
Josh Holthaus <jo...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #30016|0 |1
is obsolete| |
--- Comment #1 from Josh Holthaus <jo...@gmail.com> ---
Created attachment 30018
--> https://issues.apache.org/bugzilla/attachment.cgi?id=30018&action=edit
patch file and a sample document for the test cases
Decided to use LittleEndian.getUShort() instead of
LittleEndianByteArrayInputStream.readUShort()
--
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 54634] [PATCH] End index for bookmarks are incorrect when
bookmarks overlap
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54634
Josh Holthaus <jo...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #30016|1 |0
is patch| |
--
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 54634] [PATCH] End index for bookmarks are incorrect when
bookmarks overlap
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54634
Josh Holthaus <jo...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #30016|text/plain |application/zip
mime type| |
--
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