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

           Summary: [Patch] HWPF: added a convenience class for the
                    revision mark authors table (sttbfrmark)
           Product: POI
           Version: 3.7-dev
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: HWPF
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Created an attachment (id=25138)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25138)
svn diff

Added a convenience class (RevisionMarkAuthorTable) that holds the table of
revision mark author names from the SttbfRMark structure, along with methods to
get the length and offset locations from FileInformationBlock and code to
read/write/get in HWPFDocument.  

All revision marks/tracked changes in the document store a zero-based index
into this table, examples include ParagraphProperties.getIbstPropRMark(),
CharacterProperties.getIbstRMarkDel(), CharacterProperties.getIbstPropRMark(),
etc.

I have not added any unit tests for this code, but it is in use in my own
production code that extracts revision mark data and is tested against revision
marks created in word 97 - 2007.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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