LibreOffice Module filter (master) 1
Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
DffPropertyReader Class Reference

#include <msdffimp.hxx>

Inheritance diagram for DffPropertyReader:
[legend]
Collaboration diagram for DffPropertyReader:
[legend]

Public Member Functions

 DffPropertyReader (const SvxMSDffManager &rManager)
 
 ~DffPropertyReader ()
 
DffPropertyReaderoperator= (DffPropertyReader const &)=delete
 
 DffPropertyReader (DffPropertyReader const &)=delete
 
void ReadPropSet (SvStream &rIn, SvxMSDffClientData *pClientData) const
 
void SetDefaultPropSet (SvStream &rIn, sal_uInt32 nOffDgg) const
 
void ApplyAttributes (SvStream &rIn, SfxItemSet &rSet) const
 
void ApplyAttributes (SvStream &rIn, SfxItemSet &rSet, DffObjData const &rObjData) const
 
void ImportGradientColor (SfxItemSet &aSet, sal_uInt32 eMSO_FillType, double dTrans, double dBackTrans) const
 
- Public Member Functions inherited from DffPropSet
 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 Degree100 Fix16ToAngle (sal_Int32 nAngle)
 
- Static Public Member Functions inherited from DffPropSet
static sal_uLong SanitizeEndPos (SvStream &rIn, sal_uLong nEndRecPos)
 

Public Attributes

Degree100 mnFix16Angle
 
bool mbRotateGranientFillWithAngle
 

Private Member Functions

void ApplyCustomShapeTextAttributes (SfxItemSet &rSet) const
 
void CheckAndCorrectExcelTextRotation (SvStream &rIn, SfxItemSet &rSet, DffObjData const &rObjData) const
 
void ApplyCustomShapeGeometryAttributes (SvStream &rIn, SfxItemSet &rSet, const DffObjData &rObjData) const
 
void ApplyLineAttributes (SfxItemSet &rSet, const MSO_SPT eShapeType) const
 
void ApplyFillAttributes (SvStream &rIn, SfxItemSet &rSet, const DffObjData &rObjData) const
 

Private Attributes

const SvxMSDffManagerrManager
 
std::unique_ptr< DffPropSetpDefaultPropSet
 

Detailed Description

Definition at line 82 of file msdffimp.hxx.

Constructor & Destructor Documentation

◆ DffPropertyReader() [1/2]

DffPropertyReader::DffPropertyReader ( const SvxMSDffManager rManager)
explicit

Definition at line 250 of file msdffimp.cxx.

References DFF_msofbtOPT, and DffPropSet::InitializePropSet().

◆ ~DffPropertyReader()

DffPropertyReader::~DffPropertyReader ( )

Definition at line 411 of file msdffimp.cxx.

◆ DffPropertyReader() [2/2]

DffPropertyReader::DffPropertyReader ( DffPropertyReader const &  )
delete

Member Function Documentation

◆ ApplyAttributes() [1/2]

void DffPropertyReader::ApplyAttributes ( SvStream rIn,
SfxItemSet rSet 
) const

◆ ApplyAttributes() [2/2]

void DffPropertyReader::ApplyAttributes ( SvStream rIn,
SfxItemSet rSet,
DffObjData const &  rObjData 
) const

Definition at line 2626 of file msdffimp.cxx.

References ApplyCustomShapeGeometryAttributes(), ApplyCustomShapeTextAttributes(), ApplyFillAttributes(), ApplyLineAttributes(), bHasShadow, CheckAndCorrectExcelTextRotation(), DFF_Prop_fFilled, DFF_Prop_fillColor, DFF_Prop_fillType, DFF_Prop_fLine, DFF_Prop_fNoFillHitTest, DFF_Prop_fNoLineDrawDash, DFF_Prop_fshadowObscured, DFF_Prop_gtextFStrikethrough, DFF_Prop_gtextSize, DFF_Prop_pVertices, DFF_Prop_shadowColor, DFF_Prop_shadowOffsetX, DFF_Prop_shadowOffsetY, DFF_Prop_shadowOpacity, DFF_Prop_shadowType, EE_CHAR_FONTHEIGHT(), EE_CHAR_ITALIC(), EE_CHAR_SHADOW(), EE_CHAR_STRIKEOUT(), EE_CHAR_UNDERLINE(), EE_CHAR_WEIGHT(), DffObjData::eShapeType, FlipV, DffPropSet::GetPropertyValue(), SdrModel::GetScaleUnit(), SvxMSDffManager::GetSvxMSDffSettings(), IsCustomShapeFilledByDefault(), IsCustomShapeStrokedByDefault(), DffPropSet::IsHardAttribute(), DffPropSet::IsProperty(), ITALIC_NONE, ITALIC_NORMAL, LINESTYLE_NONE, LINESTYLE_SINGLE, makeSdrShadowColorItem(), makeSdrShadowItem(), makeSdrShadowTransparenceItem(), makeSdrShadowXDistItem(), makeSdrShadowYDistItem(), mnFix16Angle, SvxMSDffManager::MSO_CLR_ToColor(), mso_fillPattern, mso_fillPicture, mso_fillShade, mso_fillShadeCenter, mso_fillShadeScale, mso_fillShadeShape, mso_fillShadeTitle, mso_fillSolid, mso_fillTexture, mso_shadowOffset, mso_sptNil, mso_sptPictureFrame, DffObjData::nSpFlags, SvxMSDffManager::pSdrModel, SfxItemSet::Put(), rManager, rSet, SvxMSDffManager::ScaleEmu(), SvxMSDffManager::ScalePt(), STRIKEOUT_NONE, STRIKEOUT_SINGLE, SVXMSDFF_SETTINGS_IMPORT_EXCEL, WEIGHT_BOLD, and WEIGHT_NORMAL.

◆ ApplyCustomShapeGeometryAttributes()

void DffPropertyReader::ApplyCustomShapeGeometryAttributes ( SvStream rIn,
SfxItemSet rSet,
const DffObjData rObjData 
) const
private

Definition at line 1604 of file msdffimp.cxx.

References aMap, aSegments, comphelper::containerToSequence(), DFF_Prop_adjust10Value, DFF_Prop_adjustValue, DFF_Prop_c3DAmbientIntensity, DFF_Prop_c3DDiffuseAmt, DFF_Prop_c3DExtrudeBackward, DFF_Prop_c3DExtrudeForward, DFF_Prop_c3DExtrusionColor, DFF_Prop_c3DFillIntensity, DFF_Prop_c3DFillX, DFF_Prop_c3DFillY, DFF_Prop_c3DFillZ, DFF_Prop_c3DKeyIntensity, DFF_Prop_c3DKeyX, DFF_Prop_c3DKeyY, DFF_Prop_c3DKeyZ, DFF_Prop_c3DOriginX, DFF_Prop_c3DOriginY, DFF_Prop_c3DRenderMode, DFF_Prop_c3DRotationCenterX, DFF_Prop_c3DRotationCenterY, DFF_Prop_c3DRotationCenterZ, DFF_Prop_c3DShininess, DFF_Prop_c3DSkewAmount, DFF_Prop_c3DSkewAngle, DFF_Prop_c3DSpecularAmt, DFF_Prop_c3DTolerance, DFF_Prop_c3DXRotationAngle, DFF_Prop_c3DXViewpoint, DFF_Prop_c3DYRotationAngle, DFF_Prop_c3DYViewpoint, DFF_Prop_c3DZViewpoint, DFF_Prop_cdirFont, DFF_Prop_connectorPoints, DFF_Prop_connectorType, DFF_Prop_f3DOK, DFF_Prop_fc3DFillHarsh, DFF_Prop_fc3DLightFace, DFF_Prop_fFillOK, DFF_Prop_fFillShadeShapeOK, DFF_Prop_fGtextOK, DFF_Prop_geoBottom, DFF_Prop_geoLeft, DFF_Prop_geoRight, DFF_Prop_geoTop, DFF_Prop_gtextFStretch, DFF_Prop_gtextFStrikethrough, DFF_Prop_Handles, DFF_Prop_pFormulas, DFF_Prop_pSegmentInfo, DFF_Prop_pVertices, DFF_Prop_stretchPointX, DFF_Prop_stretchPointY, DFF_Prop_textRectangles, DFF_Prop_txflTextFlow, DffObjData::eShapeType, EnhancedCustomShapeTypeNames::Get(), GetCustomShapeContent(), EnhancedCustomShape2d::GetEquation(), DffPropSet::GetPropertyValue(), gentoken::i, DffPropSet::IsHardAttribute(), DffPropSet::IsProperty(), mso_cdir0, mso_cdir180, mso_cdir270, mso_cdir90, SvxMSDffManager::MSO_CLR_ToColor(), mso_sptArc, mso_sptTextArchDownCurve, mso_sptTextArchUpCurve, mso_sptTextButtonCurve, mso_sptTextCircleCurve, mso_txflBtoT, mso_txflTtoBA, mso_Wireframe, mso_CustomShape::nHandles, nValue, pData, mso_CustomShape::pHandles, SfxItemSet::Put(), SvStream::ReadInt16(), SvStream::ReadInt32(), SvStream::ReadUInt16(), SvStream::ReadUInt32(), SvStream::remainingSize(), rManager, rSet, SAL_WARN, DffPropSet::SeekToContent(), EnhancedCustomShape2d::SetEnhancedCustomShapeHandleParameter(), EnhancedCustomShape2d::SetEnhancedCustomShapeParameter(), and UNKNOWN.

Referenced by ApplyAttributes().

◆ ApplyCustomShapeTextAttributes()

void DffPropertyReader::ApplyCustomShapeTextAttributes ( SfxItemSet rSet) const
private

◆ ApplyFillAttributes()

void DffPropertyReader::ApplyFillAttributes ( SvStream rIn,
SfxItemSet rSet,
const DffObjData rObjData 
) const
private

◆ ApplyLineAttributes()

void DffPropertyReader::ApplyLineAttributes ( SfxItemSet rSet,
const MSO_SPT  eShapeType 
) const
private

◆ CheckAndCorrectExcelTextRotation()

void DffPropertyReader::CheckAndCorrectExcelTextRotation ( SvStream rIn,
SfxItemSet rSet,
DffObjData const &  rObjData 
) const
private

◆ Fix16ToAngle()

Degree100 DffPropertyReader::Fix16ToAngle ( sal_Int32  nAngle)
static

◆ ImportGradientColor()

void DffPropertyReader::ImportGradientColor ( SfxItemSet aSet,
sal_uInt32  eMSO_FillType,
double  dTrans,
double  dBackTrans 
) const

◆ operator=()

DffPropertyReader & DffPropertyReader::operator= ( DffPropertyReader const &  )
delete

◆ ReadPropSet()

void DffPropertyReader::ReadPropSet ( SvStream rIn,
SvxMSDffClientData pClientData 
) const

◆ SetDefaultPropSet()

void DffPropertyReader::SetDefaultPropSet ( SvStream rIn,
sal_uInt32  nOffDgg 
) const

Member Data Documentation

◆ mbRotateGranientFillWithAngle

bool DffPropertyReader::mbRotateGranientFillWithAngle

Definition at line 97 of file msdffimp.hxx.

Referenced by ImportGradientColor(), and SvxMSDffManager::ImportShape().

◆ mnFix16Angle

Degree100 DffPropertyReader::mnFix16Angle

◆ pDefaultPropSet

std::unique_ptr<DffPropSet> DffPropertyReader::pDefaultPropSet
private

Definition at line 85 of file msdffimp.hxx.

Referenced by SetDefaultPropSet().

◆ rManager

const SvxMSDffManager& DffPropertyReader::rManager
private

The documentation for this class was generated from the following files: