LibreOffice Module filter (master) 1
|
#include <escherex.hxx>
Public Member Functions | |
EscherPropertyContainer () | |
EscherPropertyContainer (EscherGraphicProvider &rGraphicProvider, SvStream *pPicOutStrm, tools::Rectangle &rShapeBoundRect) | |
~EscherPropertyContainer () | |
void | AddOpt (sal_uInt16 nPropID, bool bBlib, sal_uInt32 nSizeReduction, SvMemoryStream &rStream) |
void | AddOpt (sal_uInt16 nPropertyID, std::u16string_view rString) |
void | AddOpt (sal_uInt16 nPropertyID, sal_uInt32 nPropValue, bool bBlib=false) |
void | AddOpt (sal_uInt16 nPropertyID, bool bBlib, sal_uInt32 nPropValue, const std::vector< sal_uInt8 > &rProp) |
bool | GetOpt (sal_uInt16 nPropertyID, sal_uInt32 &rPropValue) const |
bool | GetOpt (sal_uInt16 nPropertyID, EscherPropSortStruct &rPropValue) const |
const EscherProperties & | GetOpts () const |
void | Commit (SvStream &rSt, sal_uInt16 nVersion=3, sal_uInt16 nRecType=ESCHER_OPT) |
void | CreateShapeProperties (const css::uno::Reference< css::drawing::XShape > &rXShape) |
bool | CreateOLEGraphicProperties (const css::uno::Reference< css::drawing::XShape > &rXOleObject) |
bool | CreateGraphicProperties (const css::uno::Reference< css::drawing::XShape > &rXShape, const GraphicObject &rGraphicObj) |
bool | CreateMediaGraphicProperties (const css::uno::Reference< css::drawing::XShape > &rXMediaObject) |
void | CreateEmbeddedBitmapProperties (css::uno::Reference< css::awt::XBitmap > const &rxBitmap, css::drawing::BitmapMode eBitmapMode) |
Creates a complex ESCHER_Prop_fillBlip containing the BLIP directly (for Excel charts). More... | |
void | CreateEmbeddedHatchProperties (const css::drawing::Hatch &rHatch, const Color &rBackColor, bool bFillBackground) |
Creates a complex ESCHER_Prop_fillBlip containing a hatch style (for Excel charts). More... | |
bool | CreateGraphicProperties (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet, const OUString &rSource, const bool bCreateFillBitmap, const bool bCreateCroppingAttributes=false, const bool bFillBitmapModeAllowed=true, const bool bOOxmlExport=false) |
bool | CreateBlipPropertiesforOLEControl (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet, const css::uno::Reference< css::drawing::XShape > &rXShape) |
bool | CreatePolygonProperties (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet, sal_uInt32 nFlags, bool bBezier, css::awt::Rectangle &rGeoRect, tools::Polygon const *pPolygon=nullptr) |
void | CreateGradientProperties (const css::awt::Gradient &rGradient) |
void | CreateGradientProperties (const css::uno::Reference< css::beans::XPropertySet > &, bool bTransparentGradient=false) |
void | CreateLineProperties (const css::uno::Reference< css::beans::XPropertySet > &, bool bEdge) |
void | CreateFillProperties (const css::uno::Reference< css::beans::XPropertySet > &, bool bEdge, bool bTransparentGradient=false) |
void | CreateFillProperties (const css::uno::Reference< css::beans::XPropertySet > &, bool bEdge, const css::uno::Reference< css::drawing::XShape > &rXShape) |
void | CreateTextProperties (const css::uno::Reference< css::beans::XPropertySet > &, sal_uInt32 nText, const bool bIsCustomShape=false, const bool bIsTextFrame=true) |
bool | CreateConnectorProperties (const css::uno::Reference< css::drawing::XShape > &rXShape, EscherSolverContainer &rSolver, css::awt::Rectangle &rGeoRect, sal_uInt16 &rShapeType, ShapeFlag &rShapeFlags) |
void | CreateShadowProperties (const css::uno::Reference< css::beans::XPropertySet > &) |
sal_Int32 | GetValueForEnhancedCustomShapeParameter (const css::drawing::EnhancedCustomShapeParameter &rParameter, const std::vector< sal_Int32 > &rEquationOrder, bool bAdjustTrans=false) |
void | CreateCustomShapeProperties (const MSO_SPT eShapeType, const css::uno::Reference< css::drawing::XShape > &) |
bool | IsFontWork () const |
Static Public Member Functions | |
static sal_uInt32 | GetGradientColor (const css::awt::Gradient *pGradient, sal_uInt32 nStartColor) |
static tools::PolyPolygon | GetPolyPolygon (const css::uno::Reference< css::drawing::XShape > &rXShape) |
static tools::PolyPolygon | GetPolyPolygon (const css::uno::Any &rSource) |
static MSO_SPT | GetCustomShapeType (const css::uno::Reference< css::drawing::XShape > &rXShape, ShapeFlag &nMirrorFlags, OUString &rShapeType, bool bOOXML=false) |
static bool | GetLineArrow (const bool bLineStart, const css::uno::Reference< css::beans::XPropertySet > &rXPropSet, ESCHER_LineEnd &reLineEnd, sal_Int32 &rnArrowLength, sal_Int32 &rnArrowWidth) |
static bool | IsDefaultObject (const SdrObjCustomShape &rSdrObjCustomShape, const MSO_SPT eShapeType) |
static void | LookForPolarHandles (const MSO_SPT eShapeType, sal_Int32 &nAdjustmentsWhichNeedsToBeConverted) |
static bool | GetAdjustmentValue (const css::drawing::EnhancedCustomShapeAdjustmentValue &rkProp, sal_Int32 nIndex, sal_Int32 nAdjustmentsWhichNeedsToBeConverted, sal_Int32 &nValue) |
Private Member Functions | |
void | ImplCreateGraphicAttributes (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet, sal_uInt32 nBlibId, bool bCreateCroppingAttributes) |
bool | ImplCreateEmbeddedBmp (GraphicObject const &rGraphicObject) |
SAL_DLLPRIVATE | EscherPropertyContainer (EscherGraphicProvider *pGraphProv, SvStream *pPiOutStrm, tools::Rectangle *pBoundRect) |
Static Private Member Functions | |
static sal_uInt32 | ImplGetColor (const sal_uInt32 rColor, bool bSwap=true) |
Private Attributes | |
EscherGraphicProvider * | pGraphicProvider |
SvStream * | pPicOutStrm |
tools::Rectangle * | pShapeBoundRect |
sal_uInt32 | nCountCount |
sal_uInt32 | nCountSize |
std::vector< EscherPropSortStruct > | pSortStruct |
bool | bHasComplexData |
Definition at line 662 of file escherex.hxx.
|
explicitprivate |
Definition at line 148 of file escherex.cxx.
References pSortStruct.
EscherPropertyContainer::EscherPropertyContainer | ( | ) |
Definition at line 161 of file escherex.cxx.
EscherPropertyContainer::EscherPropertyContainer | ( | EscherGraphicProvider & | rGraphicProvider, |
SvStream * | pPicOutStrm, | ||
tools::Rectangle & | rShapeBoundRect | ||
) |
Definition at line 165 of file escherex.cxx.
EscherPropertyContainer::~EscherPropertyContainer | ( | ) |
Definition at line 172 of file escherex.cxx.
void EscherPropertyContainer::AddOpt | ( | sal_uInt16 | nPropertyID, |
bool | bBlib, | ||
sal_uInt32 | nPropValue, | ||
const std::vector< sal_uInt8 > & | rProp | ||
) |
Definition at line 230 of file escherex.cxx.
References bHasComplexData, gentoken::i, nCountCount, nCountSize, and pSortStruct.
void EscherPropertyContainer::AddOpt | ( | sal_uInt16 | nPropertyID, |
sal_uInt32 | nPropValue, | ||
bool | bBlib = false |
||
) |
Definition at line 202 of file escherex.cxx.
References AddOpt().
void EscherPropertyContainer::AddOpt | ( | sal_uInt16 | nPropertyID, |
std::u16string_view | rString | ||
) |
Definition at line 210 of file escherex.cxx.
References aBuf, AddOpt(), and gentoken::i.
void EscherPropertyContainer::AddOpt | ( | sal_uInt16 | nPropID, |
bool | bBlib, | ||
sal_uInt32 | nSizeReduction, | ||
SvMemoryStream & | rStream | ||
) |
Definition at line 176 of file escherex.cxx.
References a, aBuf, AddOpt(), SvMemoryStream::GetData(), and SvMemoryStream::GetSize().
Referenced by AddOpt(), CreateBlipPropertiesforOLEControl(), CreateConnectorProperties(), CreateCustomShapeProperties(), CreateEmbeddedBitmapProperties(), CreateEmbeddedHatchProperties(), CreateLineProperties(), CreatePolygonProperties(), CreateShadowProperties(), CreateShapeProperties(), CreateTextProperties(), EscherEx::EnterGroup(), ImplCreateEmbeddedBmp(), ImplCreateGraphicAttributes(), ImplEESdrWriter::ImplFlipBoundingBox(), ImplEESdrWriter::ImplWriteAdditionalText(), and ImplEESdrWriter::ImplWriteShape().
void EscherPropertyContainer::Commit | ( | SvStream & | rSt, |
sal_uInt16 | nVersion = 3 , |
||
sal_uInt16 | nRecType = ESCHER_OPT |
||
) |
Definition at line 318 of file escherex.cxx.
References bHasComplexData, EscherPropSortFunc(), gentoken::i, nCountCount, nCountSize, nVersion, pSortStruct, SvStream::WriteBytes(), SvStream::WriteUInt16(), and SvStream::WriteUInt32().
Referenced by EscherEx::Commit().
bool EscherPropertyContainer::CreateBlipPropertiesforOLEControl | ( | const css::uno::Reference< css::beans::XPropertySet > & | rXPropSet, |
const css::uno::Reference< css::drawing::XShape > & | rXShape | ||
) |
Definition at line 3755 of file escherex.cxx.
References AddOpt(), ESCHER_Prop_pib, EscherGraphicProvider::GetBlibID(), SdrExchangeView::GetObjGraphic(), SdrObject::getSdrObjectFromXShape(), GraphicObject::GetUniqueID(), ImplCreateGraphicAttributes(), pGraphicProvider, pPicOutStrm, and pShapeBoundRect.
bool EscherPropertyContainer::CreateConnectorProperties | ( | const css::uno::Reference< css::drawing::XShape > & | rXShape, |
EscherSolverContainer & | rSolver, | ||
css::awt::Rectangle & | rGeoRect, | ||
sal_uInt16 & | rShapeType, | ||
ShapeFlag & | rShapeFlags | ||
) |
Definition at line 2190 of file escherex.cxx.
References EscherSolverContainer::AddConnector(), AddOpt(), Connector, tools::PolyPolygon::Count(), CreateLineProperties(), ESCHER_cxstyleBent, ESCHER_cxstyleCurved, ESCHER_cxstyleStraight, ESCHER_Prop_adjust2Value, ESCHER_Prop_adjustValue, ESCHER_Prop_cxstyle, ESCHER_Prop_Rotation, ESCHER_ShpInst_BentConnector2, ESCHER_ShpInst_BentConnector3, ESCHER_ShpInst_CurvedConnector3, ESCHER_ShpInst_StraightConnector1, FlipH, FlipV, GetPolyPolygon(), EscherPropertyValueHelper::GetPropertyValue(), HaveAnchor, HaveShapeProperty, gentoken::i, lcl_GetAdjustValueCount(), lcl_GetAngle(), lcl_GetConnectorAdjustValue(), and NONE.
Referenced by ImplEESdrWriter::ImplWriteShape().
void EscherPropertyContainer::CreateCustomShapeProperties | ( | const MSO_SPT | eShapeType, |
const css::uno::Reference< css::drawing::XShape > & | |||
) |
Definition at line 2582 of file escherex.cxx.
References AddOpt(), aSegments, BottomRight, Command, ConvertEnhancedCustomShapeEquation(), 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_fc3DFillHarsh, DFF_Prop_fc3DLightFace, DFF_Prop_fFillOK, DFF_Prop_geoBottom, DFF_Prop_geoLeft, DFF_Prop_geoRight, DFF_Prop_geoTop, DFF_Prop_gtextAlign, DFF_Prop_gtextFont, DFF_Prop_gtextFStrikethrough, DFF_Prop_gtextSpacing, DFF_Prop_gtextUNICODE, DFF_Prop_Handles, DFF_Prop_pFormulas, DFF_Prop_pSegmentInfo, DFF_Prop_pVertices, DFF_Prop_stretchPointX, DFF_Prop_stretchPointY, DFF_Prop_textRectangles, ESCHER_Prop_gtextSize, First, basegfx::fround(), GetAdjustmentValue(), SdrObject::GetMergedItem(), GetOpt(), SdrTextObj::GetOutlinerParaObject(), EscherPropertyValueHelper::GetPropertyValue(), SdrObject::getSdrObjectFromXShape(), GetValueForEnhancedCustomShapeHandleParameter(), GetValueForEnhancedCustomShapeParameter(), gtextFBestFit, gtextFShrinkFit, gtextFStretch, gentoken::i, ImplGetColor(), IsDefaultObject(), OutlinerParaObject::IsEffectivelyVertical(), LookForPolarHandles(), mso_alignTextCenter, mso_alignTextLeft, mso_alignTextRight, mso_alignTextStretch, mso_alignTextWordJust, mso_cdir180, mso_cdir270, mso_cdir90, mso_FullRender, mso_Wireframe, msopathClose, msopathCurveTo, msopathEnd, msopathEscape, msopathMoveTo, nCount, nElements, nValue, SAL_MAX_INT16, SAL_MIN_INT16, SDRATTR_TEXT_FITTOSIZE(), TopLeft, u, UNKNOWN, use_gtextFBestFit, use_gtextFShrinkFit, use_gtextFStretch, uno::Any::Value, SvStream::WriteInt16(), SvStream::WriteInt32(), SvStream::WriteUInt16(), SvStream::WriteUInt32(), X, and Y.
Referenced by ImplEESdrWriter::ImplWriteShape().
void EscherPropertyContainer::CreateEmbeddedBitmapProperties | ( | css::uno::Reference< css::awt::XBitmap > const & | rxBitmap, |
css::drawing::BitmapMode | eBitmapMode | ||
) |
Creates a complex ESCHER_Prop_fillBlip containing the BLIP directly (for Excel charts).
Definition at line 1414 of file escherex.cxx.
References AddOpt(), ESCHER_FillPicture, ESCHER_FillTexture, ESCHER_Prop_fillType, GraphicObject::GetType(), ImplCreateEmbeddedBmp(), and Graphic::IsNone().
void EscherPropertyContainer::CreateEmbeddedHatchProperties | ( | const css::drawing::Hatch & | rHatch, |
const Color & | rBackColor, | ||
bool | bFillBackground | ||
) |
Creates a complex ESCHER_Prop_fillBlip containing a hatch style (for Excel charts).
Definition at line 1465 of file escherex.cxx.
References AddOpt(), ESCHER_FillTexture, ESCHER_Prop_fillType, ImplCreateEmbeddedBmp(), and pShapeBoundRect.
void EscherPropertyContainer::CreateFillProperties | ( | const css::uno::Reference< css::beans::XPropertySet > & | , |
bool | bEdge, | ||
bool | bTransparentGradient = false |
||
) |
Referenced by ImplEESdrWriter::ImplWriteShape().
void EscherPropertyContainer::CreateFillProperties | ( | const css::uno::Reference< css::beans::XPropertySet > & | , |
bool | bEdge, | ||
const css::uno::Reference< css::drawing::XShape > & | rXShape | ||
) |
void EscherPropertyContainer::CreateGradientProperties | ( | const css::awt::Gradient & | rGradient | ) |
void EscherPropertyContainer::CreateGradientProperties | ( | const css::uno::Reference< css::beans::XPropertySet > & | , |
bool | bTransparentGradient = false |
||
) |
bool EscherPropertyContainer::CreateGraphicProperties | ( | const css::uno::Reference< css::beans::XPropertySet > & | rXPropSet, |
const OUString & | rSource, | ||
const bool | bCreateFillBitmap, | ||
const bool | bCreateCroppingAttributes = false , |
||
const bool | bFillBitmapModeAllowed = true , |
||
const bool | bOOxmlExport = false |
||
) |
bool EscherPropertyContainer::CreateGraphicProperties | ( | const css::uno::Reference< css::drawing::XShape > & | rXShape, |
const GraphicObject & | rGraphicObj | ||
) |
Referenced by CreateMediaGraphicProperties(), CreateOLEGraphicProperties(), and ImplEESdrWriter::ImplWriteShape().
void EscherPropertyContainer::CreateLineProperties | ( | const css::uno::Reference< css::beans::XPropertySet > & | , |
bool | bEdge | ||
) |
Definition at line 963 of file escherex.cxx.
References AddOpt(), ESCHER_LineDashDotDotSys, ESCHER_LineDashDotGEL, ESCHER_LineDashDotSys, ESCHER_LineDashGEL, ESCHER_LineDashSys, ESCHER_LineDotGEL, ESCHER_LineDotSys, ESCHER_LineEndCapFlat, ESCHER_LineEndCapRound, ESCHER_LineEndCapSquare, ESCHER_LineJoinBevel, ESCHER_LineJoinMiter, ESCHER_LineJoinRound, ESCHER_LineLongDashDotDotGEL, ESCHER_LineLongDashDotGEL, ESCHER_LineLongDashGEL, ESCHER_LineSolid, ESCHER_Prop_fFillOK, ESCHER_Prop_fNoFillHitTest, ESCHER_Prop_fNoLineDrawDash, ESCHER_Prop_lineBackColor, ESCHER_Prop_lineColor, ESCHER_Prop_lineDashing, ESCHER_Prop_lineEndArrowhead, ESCHER_Prop_lineEndArrowLength, ESCHER_Prop_lineEndArrowWidth, ESCHER_Prop_lineEndCapStyle, ESCHER_Prop_lineJoinStyle, ESCHER_Prop_lineOpacity, ESCHER_Prop_lineStartArrowhead, ESCHER_Prop_lineStartArrowLength, ESCHER_Prop_lineStartArrowWidth, ESCHER_Prop_lineWidth, GetLineArrow(), EscherPropertyValueHelper::GetPropertyValue(), ImplGetColor(), and nLineWidth.
Referenced by CreateConnectorProperties(), and ImplEESdrWriter::ImplWriteShape().
bool EscherPropertyContainer::CreateMediaGraphicProperties | ( | const css::uno::Reference< css::drawing::XShape > & | rXMediaObject | ) |
Definition at line 1383 of file escherex.cxx.
References CreateGraphicProperties(), and SdrObject::getSdrObjectFromXShape().
bool EscherPropertyContainer::CreateOLEGraphicProperties | ( | const css::uno::Reference< css::drawing::XShape > & | rXOleObject | ) |
Definition at line 1333 of file escherex.cxx.
References CreateGraphicProperties(), SdrObject::getSdrObjectFromXShape(), and pObject.
Referenced by ImplEESdrWriter::ImplWriteShape().
bool EscherPropertyContainer::CreatePolygonProperties | ( | const css::uno::Reference< css::beans::XPropertySet > & | rXPropSet, |
sal_uInt32 | nFlags, | ||
bool | bBezier, | ||
css::awt::Rectangle & | rGeoRect, | ||
tools::Polygon const * | pPolygon = nullptr |
||
) |
Definition at line 1850 of file escherex.cxx.
References AddOpt(), Point::AdjustX(), Point::AdjustY(), aSegments, tools::PolyPolygon::Count(), ESCHER_CREATEPOLYGON_LINE, ESCHER_Prop_geoBottom, ESCHER_Prop_geoRight, ESCHER_Prop_pSegmentInfo, ESCHER_Prop_pVertices, ESCHER_Prop_shapePath, ESCHER_ShapeComplex, tools::PolyPolygon::GetBoundRect(), tools::Polygon::GetFlags(), tools::Rectangle::GetHeight(), GetPolyPolygon(), EscherPropertyValueHelper::GetPropertyValue(), tools::Polygon::GetSize(), tools::Rectangle::GetWidth(), gentoken::i, tools::PolyPolygon::Insert(), tools::Rectangle::Left(), tools::Rectangle::Top(), X, Point::X(), Y, and Point::Y().
Referenced by ImplEESdrWriter::ImplWriteShape().
void EscherPropertyContainer::CreateShadowProperties | ( | const css::uno::Reference< css::beans::XPropertySet > & | ) |
Definition at line 2302 of file escherex.cxx.
References AddOpt(), bHasShadow, DFF_Prop_pib, DFF_Prop_pibFlags, DFF_Prop_pibName, ESCHER_Prop_fNoFillHitTest, ESCHER_Prop_fNoLineDrawDash, ESCHER_Prop_fshadowObscured, ESCHER_Prop_shadowColor, ESCHER_Prop_shadowOffsetX, ESCHER_Prop_shadowOffsetY, ESCHER_Prop_shadowOpacity, GetOpt(), EscherPropertyValueHelper::GetPropertyValue(), and ImplGetColor().
Referenced by ImplEESdrWriter::ImplWriteShape().
void EscherPropertyContainer::CreateShapeProperties | ( | const css::uno::Reference< css::drawing::XShape > & | rXShape | ) |
Definition at line 1307 of file escherex.cxx.
References AddOpt(), bVisible, ESCHER_Prop_fPrint, and EscherPropertyValueHelper::GetPropertyValue().
Referenced by ImplEESdrWriter::ImplWriteAdditionalText(), and ImplEESdrWriter::ImplWriteShape().
void EscherPropertyContainer::CreateTextProperties | ( | const css::uno::Reference< css::beans::XPropertySet > & | , |
sal_uInt32 | nText, | ||
const bool | bIsCustomShape = false , |
||
const bool | bIsTextFrame = true |
||
) |
Definition at line 672 of file escherex.cxx.
References AddOpt(), ESCHER_AnchorBottom, ESCHER_AnchorBottomCentered, ESCHER_AnchorMiddle, ESCHER_AnchorMiddleCentered, ESCHER_AnchorTop, ESCHER_AnchorTopCentered, ESCHER_Prop_AnchorText, ESCHER_Prop_dxTextLeft, ESCHER_Prop_dxTextRight, ESCHER_Prop_dyTextBottom, ESCHER_Prop_dyTextTop, ESCHER_Prop_FitTextToShape, ESCHER_Prop_lTxid, ESCHER_Prop_txflTextFlow, ESCHER_Prop_WrapText, ESCHER_txflBtoT, ESCHER_txflTtoBA, ESCHER_WrapNone, ESCHER_WrapSquare, and EscherPropertyValueHelper::GetPropertyValue().
Referenced by ImplEESdrWriter::ImplWriteAdditionalText(), and ImplEESdrWriter::ImplWriteShape().
|
static |
Definition at line 2558 of file escherex.cxx.
References nIndex, and nValue.
Referenced by CreateCustomShapeProperties().
|
static |
Definition at line 3697 of file escherex.cxx.
References FlipH, FlipV, EnhancedCustomShapeTypeNames::Get(), msfilter::util::GETVMLShapeType(), gentoken::i, mso_sptNil, nCount, and NONE.
Referenced by ImplEESdrWriter::ImplWriteShape().
|
static |
Definition at line 366 of file escherex.cxx.
References ColorTransparency, Color::GetBlue(), Color::GetGreen(), and Color::GetRed().
|
static |
Definition at line 862 of file escherex.cxx.
References tools::PolyPolygon::Count(), ESCHER_LineArrowDiamondEnd, ESCHER_LineArrowEnd, ESCHER_LineArrowOpenEnd, ESCHER_LineArrowOvalEnd, ESCHER_LineArrowStealthEnd, GetPolyPolygon(), EscherPropertyValueHelper::GetPropertyValue(), o3tl::getToken(), comphelper::string::getTokenCount(), nPos, SvxUnogetApiNameForItem(), o3tl::toInt32(), u, XATTR_LINEEND(), and XATTR_LINESTART().
Referenced by CreateLineProperties().
bool EscherPropertyContainer::GetOpt | ( | sal_uInt16 | nPropertyID, |
EscherPropSortStruct & | rPropValue | ||
) | const |
Definition at line 283 of file escherex.cxx.
References gentoken::i, and pSortStruct.
bool EscherPropertyContainer::GetOpt | ( | sal_uInt16 | nPropertyID, |
sal_uInt32 & | rPropValue | ||
) | const |
Definition at line 271 of file escherex.cxx.
References GetOpt(), and EscherPropSortStruct::nPropValue.
Referenced by CreateCustomShapeProperties(), CreateShadowProperties(), GetOpt(), GetValueForEnhancedCustomShapeParameter(), and IsFontWork().
const EscherProperties & EscherPropertyContainer::GetOpts | ( | ) | const |
Definition at line 296 of file escherex.cxx.
References pSortStruct.
|
static |
|
static |
Referenced by CreateConnectorProperties(), CreatePolygonProperties(), and GetLineArrow().
sal_Int32 EscherPropertyContainer::GetValueForEnhancedCustomShapeParameter | ( | const css::drawing::EnhancedCustomShapeParameter & | rParameter, |
const std::vector< sal_Int32 > & | rEquationOrder, | ||
bool | bAdjustTrans = false |
||
) |
Definition at line 2339 of file escherex.cxx.
References DFF_Prop_adjustValue, GetOpt(), nIndex, and nValue.
Referenced by CreateCustomShapeProperties().
|
private |
Definition at line 1398 of file escherex.cxx.
References AddOpt(), ESCHER_Prop_fillBlip, EscherGraphicProvider::GetBlibID(), and GraphicObject::GetType().
Referenced by CreateEmbeddedBitmapProperties(), and CreateEmbeddedHatchProperties().
|
private |
Definition at line 1209 of file escherex.cxx.
References AddOpt(), ESCHER_Prop_cropFromBottom, ESCHER_Prop_cropFromLeft, ESCHER_Prop_cropFromRight, ESCHER_Prop_cropFromTop, ESCHER_Prop_pictureActive, ESCHER_Prop_pictureBrightness, ESCHER_Prop_pictureContrast, EscherGraphicProvider::GetPrefSize(), EscherPropertyValueHelper::GetPropertyValue(), Size::Height(), lcl_SizeToEmu(), pGraphicProvider, and Size::Width().
Referenced by CreateBlipPropertiesforOLEControl().
|
staticprivate |
Definition at line 353 of file escherex.cxx.
Referenced by CreateCustomShapeProperties(), CreateLineProperties(), and CreateShadowProperties().
|
static |
Definition at line 2516 of file escherex.cxx.
References SdrObjCustomShape::Equations, SdrObjCustomShape::Gluepoints, SdrObjCustomShape::IsDefaultGeometry(), mso_sptTearDrop, SdrObjCustomShape::Path, SdrObjCustomShape::Segments, SdrObjCustomShape::StretchX, SdrObjCustomShape::StretchY, SdrObjCustomShape::TextFrames, and SdrObjCustomShape::Viewbox.
Referenced by CreateCustomShapeProperties().
bool EscherPropertyContainer::IsFontWork | ( | ) | const |
Definition at line 346 of file escherex.cxx.
References DFF_Prop_gtextFStrikethrough, and GetOpt().
Referenced by ImplEESdrWriter::ImplWriteShape().
|
static |
Definition at line 2540 of file escherex.cxx.
References GetCustomShapeContent(), mso_CustomShape::nHandles, pData, and mso_CustomShape::pHandles.
Referenced by CreateCustomShapeProperties().
|
private |
Definition at line 674 of file escherex.hxx.
|
private |
Definition at line 668 of file escherex.hxx.
|
private |
Definition at line 669 of file escherex.hxx.
|
private |
Definition at line 664 of file escherex.hxx.
Referenced by CreateBlipPropertiesforOLEControl(), and ImplCreateGraphicAttributes().
|
private |
Definition at line 665 of file escherex.hxx.
Referenced by CreateBlipPropertiesforOLEControl().
|
private |
Definition at line 666 of file escherex.hxx.
Referenced by CreateBlipPropertiesforOLEControl(), and CreateEmbeddedHatchProperties().
|
private |
Definition at line 672 of file escherex.hxx.
Referenced by AddOpt(), Commit(), EscherPropertyContainer(), GetOpt(), and GetOpts().