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 2014/09/20 11:40:39 UTC

[Bug 56998] New: [PATCH] Patch to allow for proper list number formatting in HWPF

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

            Bug ID: 56998
           Summary: [PATCH] Patch to allow for proper list number
                    formatting in HWPF
           Product: POI
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: HWPF
          Assignee: dev@poi.apache.org
          Reporter: morido@web.de

Created attachment 32034
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=32034&action=edit
Patch containing three new methods for list formatting

Expose a few methods to allow for correct list number formatting as described
in [MS-DOC], v20140721, 2.4.6.3 + 2.4.6.4

-- 
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 56998] [PATCH] Patch to allow for proper list number formatting in HWPF

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Dominik Stadler <do...@gmx.at> ---
Any chance you could add a unit test which verifies the newly added methods
with a pre-existing document so the code stays working in the future?

-- 
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 56998] [PATCH] Patch to allow for proper list number formatting in HWPF

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

--- Comment #3 from Dominik Stadler <do...@gmx.at> ---
Best would be a unit-test together with a simple .doc file which triggers the
getters and expects the correct values to be returned by POI, e.g. something
similar to one of the test-cases in
https://svn.apache.org/repos/asf/poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestLists.java

-- 
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 56998] [PATCH] Patch to allow for proper list number formatting in HWPF

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

--- Comment #2 from Moritz Dorka <mo...@web.de> ---
What do you mean by "pre-existing document"? A *.doc-file? I believe it is
pretty much infeasible to trigger these methods from such a file in isolation.

TIKA has a pending feature request which depends on this patch
(https://issues.apache.org/jira/browse/TIKA-1315) and includes a proper
unit-test. Would you be ok with that?

-- 
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