Created attachment 25138 [details] 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.
Created attachment 25139 [details] RevisionMarkAuthorTable.java
Sorry for the delay in looking at this. Patch applied to svn in r948435. Any chance you could upload a document which has lots of entries in the table? I've added a couple of simple unit tests, one for a document with no table, and one for a document with only a single entry. However, it'd be good to have a file with loads of entries to properly stress the code with!
Created attachment 25486 [details] Author table text case Thanks for taking a look at this Nick! Heres a simple test case with at least 3 different authors in the table. Also, one of the authors name is blank (from a copy of office not registered to a user?) as an additional test case.
Thanks for the extra document, new tests added