Files
core/ASCOfficeDocFile/DocDocxConverter/SectionPropertyExceptions.h
Elen.Subbotina 3f905fda26 DocFormat - bi-direction в параграфах(форматирование)
git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@67398 954022d7-b5bf-4e40-9824-e11837661b57
2016-05-21 00:51:51 +03:00

31 lines
676 B
C++

#pragma once
#include "PropertyExceptions.h"
namespace DocFileFormat
{
class SectionPropertyExceptions: public PropertyExceptions
{
public:
/// Parses the bytes to retrieve a SectionPropertyExceptions
SectionPropertyExceptions( unsigned char* bytes, int size ):
PropertyExceptions( bytes, size ), isBidi(false)
{
for ( list<SinglePropertyModifier>::iterator iter = this->grpprl->begin(); iter != this->grpprl->end(); iter++ )
{
SinglePropertyModifier sprm( *iter );
if( sprm.OpCode == sprmSFBiDi )
{
isBidi = true;
}
}
}
virtual ~SectionPropertyExceptions()
{
}
bool isBidi;
};
}