LibreOffice Module filter (master) 1
|
#include <dffpropset.hxx>
Public Member Functions | |
DffPropSet () | |
~DffPropSet () | |
bool | IsProperty (sal_uInt32 nRecType) const |
bool | IsHardAttribute (sal_uInt32 nId) const |
sal_uInt32 | GetPropertyValue (sal_uInt32 nId, sal_uInt32 nDefault) const |
bool | GetPropertyBool (sal_uInt32 nId) const |
Returns a boolean property by its real identifier. More... | |
OUString | GetPropertyString (sal_uInt32 nId, SvStream &rStrm) const |
Returns a string property. More... | |
bool | SeekToContent (sal_uInt32 nRecType, SvStream &rSt) const |
void | InitializePropSet (sal_uInt16 nPropSetType) const |
Static Public Member Functions | |
static sal_uLong | SanitizeEndPos (SvStream &rIn, sal_uLong nEndRecPos) |
Private Member Functions | |
void | ReadPropSet (SvStream &, bool) |
Private Attributes | |
DffPropSetEntry * | mpPropSetEntries |
std::vector< sal_uInt32 > | maOffsets |
Friends | |
SvStream & | ReadDffPropSet (SvStream &rIn, DffPropSet &rPropSet) |
SvStream & | operator|= (SvStream &rIn, DffPropSet &rPropSet) |
Definition at line 46 of file dffpropset.hxx.
|
explicit |
Definition at line 1088 of file dffpropset.cxx.
References mpPropSetEntries.
DffPropSet::~DffPropSet | ( | ) |
Definition at line 1093 of file dffpropset.cxx.
References mpPropSetEntries.
bool DffPropSet::GetPropertyBool | ( | sal_uInt32 | nId | ) | const |
Returns a boolean property by its real identifier.
Definition at line 1308 of file dffpropset.cxx.
References GetPropertyValue(), and nId.
OUString DffPropSet::GetPropertyString | ( | sal_uInt32 | nId, |
SvStream & | rStrm | ||
) | const |
Returns a string property.
Definition at line 1317 of file dffpropset.cxx.
References aBuffer, GetPropertyValue(), nId, SvStream::ReadUInt16(), rStrm, SvStream::Seek(), SeekToContent(), and SvStream::Tell().
Referenced by SvxMSDffManager::ImportShape().
sal_uInt32 DffPropSet::GetPropertyValue | ( | sal_uInt32 | nId, |
sal_uInt32 | nDefault | ||
) | const |
Definition at line 1302 of file dffpropset.cxx.
References mpPropSetEntries, DffPropSetEntry::nContent, and nId.
Referenced by DffPropertyReader::ApplyAttributes(), DffPropertyReader::ApplyCustomShapeGeometryAttributes(), DffPropertyReader::ApplyCustomShapeTextAttributes(), DffPropertyReader::ApplyFillAttributes(), ApplyRectangularGradientAsBitmap(), SdrPowerPointImport::ApplyTextAnchorAttributes(), PPTPortionObj::ApplyTo(), GetPropertyBool(), GetPropertyString(), GetShadeColors(), DffPropertyReader::ImportGradientColor(), SvxMSDffManager::ImportGraphic(), SdrPowerPointImport::ImportPageBackgroundObject(), SvxMSDffManager::ImportShape(), SdrPowerPointImport::IsVerticalText(), lcl_ApplyCropping(), SvxMSDffManager::MSO_CLR_ToColor(), PPTTextObj::PPTTextObj(), SvxMSDffManager::ProcessObj(), and SdrEscherImport::ProcessObj().
void DffPropSet::InitializePropSet | ( | sal_uInt16 | nPropSetType | ) | const |
Definition at line 1251 of file dffpropset.cxx.
References DFF_msofbtOPT, mpPropSetEntries, and mso_PropSetDefaults.
Referenced by DffPropertyReader::DffPropertyReader(), SvxMSDffManager::ImportShape(), and ReadPropSet().
bool DffPropSet::IsHardAttribute | ( | sal_uInt32 | nId | ) | const |
Definition at line 1290 of file dffpropset.cxx.
References DffPropSetEntry::aFlags, DffPropFlags::bSoftAttr, mpPropSetEntries, DffPropSetEntry::nComplexIndexOrFlagsHAttr, and nId.
Referenced by DffPropertyReader::ApplyAttributes(), DffPropertyReader::ApplyCustomShapeGeometryAttributes(), DffPropertyReader::ApplyFillAttributes(), SvxMSDffManager::ImportShape(), and ReadPropSet().
|
inline |
Definition at line 58 of file dffpropset.hxx.
Referenced by DffPropertyReader::ApplyAttributes(), DffPropertyReader::ApplyCustomShapeGeometryAttributes(), DffPropertyReader::ApplyCustomShapeTextAttributes(), DffPropertyReader::ApplyFillAttributes(), GetShadeColors(), SvxMSDffManager::ImportGraphic(), SvxMSDffManager::ImportShape(), SdrPowerPointImport::IsVerticalText(), SvxMSDffManager::ProcessObj(), SdrEscherImport::ProcessObj(), and ReadPropSet().
|
private |
Definition at line 1098 of file dffpropset.cxx.
References DffPropSetEntry::aFlags, DffPropFlags::bBlip, DffPropFlags::bComplex, DffPropFlags::bSet, checkSeek(), DFF_Prop_connectorPoints, DFF_Prop_dxWrapDistLeft, DFF_Prop_dxWrapDistRight, DFF_Prop_dyWrapDistBottom, DFF_Prop_dyWrapDistTop, DFF_Prop_fillShadeColors, DFF_Prop_Handles, DFF_Prop_lineDashStyle, DFF_Prop_pFormulas, DFF_Prop_pSegmentInfo, DFF_Prop_pVertices, DFF_Prop_pWrapPolygonVertices, DFF_Prop_textRectangles, DffRecordHeader::GetRecEndFilePos(), InitializePropSet(), IsHardAttribute(), IsProperty(), maOffsets, mpPropSetEntries, DffPropSetEntry::nComplexIndexOrFlagsHAttr, DffPropSetEntry::nContent, DffRecordHeader::nRecInstance, DffRecordHeader::nRecType, ReadDffRecordHeader(), SvStream::ReadInt16(), SvStream::ReadUInt16(), SvStream::ReadUInt32(), SvStream::remainingSize(), SAL_WARN, SvStream::Seek(), DffRecordHeader::SeekToEndOfRecord(), and SvStream::Tell().
Definition at line 697 of file svdfppt.cxx.
References SvStream::remainingSize(), SAL_WARN, and SvStream::Tell().
Referenced by ImportComment10(), SdrEscherImport::ImportHeaderFooterContainer(), SdrPowerPointImport::ImportOLE(), SdrPowerPointImport::ImportPage(), PPTStyleTextPropReader::Init(), PPTExtParaProv::PPTExtParaProv(), PPTStyleSheet::PPTStyleSheet(), PPTTextObj::PPTTextObj(), SdrEscherImport::ProcessObj(), and PPTTextSpecInfoAtomInterpreter::Read().
bool DffPropSet::SeekToContent | ( | sal_uInt32 | nRecType, |
SvStream & | rSt | ||
) | const |
Definition at line 1343 of file dffpropset.cxx.
References checkSeek(), maOffsets, mpPropSetEntries, DffPropSetEntry::nComplexIndexOrFlagsHAttr, nIndex, and rStrm.
Referenced by DffPropertyReader::ApplyCustomShapeGeometryAttributes(), DffPropertyReader::ApplyFillAttributes(), ApplyRectangularGradientAsBitmap(), GetPropertyString(), GetShadeColors(), SvxMSDffManager::ImportGraphic(), SvxMSDffManager::ImportShape(), SvxMSDffManager::ProcessObj(), and SdrEscherImport::ProcessObj().
|
friend |
Definition at line 1245 of file dffpropset.cxx.
|
friend |
Definition at line 1239 of file dffpropset.cxx.
Referenced by SdrPowerPointImport::ImportPageBackgroundObject(), and DffPropertyReader::SetDefaultPropSet().
|
private |
Definition at line 50 of file dffpropset.hxx.
Referenced by ReadPropSet(), and SeekToContent().
|
private |
Definition at line 49 of file dffpropset.hxx.
Referenced by DffPropSet(), GetPropertyValue(), InitializePropSet(), IsHardAttribute(), ReadPropSet(), SeekToContent(), and ~DffPropSet().