DocFormatReader - add older version format

This commit is contained in:
ElenaSubbotina
2018-04-03 15:28:08 +03:00
parent 0599018f99
commit c64a33f42d
40 changed files with 1095 additions and 669 deletions

View File

@ -48,8 +48,13 @@ namespace DocFileFormat
RevisionData::RevisionData( CharacterPropertyExceptions* chpx ) : Dttm(), Isbt(0), Type(NoRevision), Changes(NULL), RsidDel(0), RsidProp(0), Rsid(0)
{
if (!chpx) return;
if (!chpx->grpprl)
return;
bool collectRevisionData = true;
this->Changes = new std::list<SinglePropertyModifier>();
Changes = new std::list<SinglePropertyModifier>();
for ( std::list<SinglePropertyModifier>::iterator iter = chpx->grpprl->begin(); iter != chpx->grpprl->end(); iter++ )
{