Lines 92-97
Link Here
|
92 |
|
92 |
|
93 |
/** Holds the save history for this document. */ |
93 |
/** Holds the save history for this document. */ |
94 |
protected SavedByTable _sbt; |
94 |
protected SavedByTable _sbt; |
|
|
95 |
|
96 |
/** Holds the revision mark authors for this document. */ |
97 |
protected RevisionMarkAuthorTable _rmat; |
95 |
|
98 |
|
96 |
/** Holds pictures table */ |
99 |
/** Holds pictures table */ |
97 |
protected PicturesTable _pictures; |
100 |
protected PicturesTable _pictures; |
Lines 274-279
Link Here
|
274 |
_sbt = new SavedByTable(_tableStream, sbtOffset, sbtLength); |
277 |
_sbt = new SavedByTable(_tableStream, sbtOffset, sbtLength); |
275 |
} |
278 |
} |
276 |
|
279 |
|
|
|
280 |
int rmarkOffset = _fib.getFcSttbfRMark(); |
281 |
int rmarkLength = _fib.getLcbSttbfRMark(); |
282 |
if (rmarkOffset != 0 && rmarkLength != 0) |
283 |
{ |
284 |
_rmat = new RevisionMarkAuthorTable(_tableStream, rmarkOffset, rmarkLength); |
285 |
} |
286 |
|
277 |
PlexOfCps plc = new PlexOfCps(_tableStream, _fib.getFcPlcffldMom(), _fib.getLcbPlcffldMom(), 2); |
287 |
PlexOfCps plc = new PlexOfCps(_tableStream, _fib.getFcPlcffldMom(), _fib.getLcbPlcffldMom(), 2); |
278 |
for (int x = 0; x < plc.length(); x++) |
288 |
for (int x = 0; x < plc.length(); x++) |
279 |
{ |
289 |
{ |
Lines 412-417
Link Here
|
412 |
} |
422 |
} |
413 |
|
423 |
|
414 |
/** |
424 |
/** |
|
|
425 |
* Gets a reference to the revision mark author table, which holds the revision mark authors for the document. |
426 |
* |
427 |
* @return the saved-by table. |
428 |
*/ |
429 |
public RevisionMarkAuthorTable getRevisionMarkAuthorTable() |
430 |
{ |
431 |
return _rmat; |
432 |
} |
433 |
|
434 |
/** |
415 |
* @return PicturesTable object, that is able to extract images from this document |
435 |
* @return PicturesTable object, that is able to extract images from this document |
416 |
*/ |
436 |
*/ |
417 |
public PicturesTable getPicturesTable() { |
437 |
public PicturesTable getPicturesTable() { |
Lines 514-520
Link Here
|
514 |
|
534 |
|
515 |
tableOffset = tableStream.getOffset(); |
535 |
tableOffset = tableStream.getOffset(); |
516 |
} |
536 |
} |
|
|
537 |
|
538 |
// write out the revision mark authors table. |
539 |
if (_rmat != null) |
540 |
{ |
541 |
_fib.setFcSttbfRMark(tableOffset); |
542 |
_rmat.writeTo(tableStream); |
543 |
_fib.setLcbSttbfRMark(tableStream.getOffset() - tableOffset); |
517 |
|
544 |
|
|
|
545 |
tableOffset = tableStream.getOffset(); |
546 |
} |
547 |
|
518 |
// write out the FontTable. |
548 |
// write out the FontTable. |
519 |
_fib.setFcSttbfffn(tableOffset); |
549 |
_fib.setFcSttbfffn(tableOffset); |
520 |
_ft.writeTo(docSys); |
550 |
_ft.writeTo(docSys); |