LibreOffice Module chart2 (master) 1
Public Types | Public Member Functions | Static Public Member Functions | Static Private Member Functions | List of all members
chart::ShapeFactory Class Reference

#include <ShapeFactory.hxx>

Public Types

enum class  StackPosition {
  Top ,
  Bottom
}
 

Public Member Functions

 ShapeFactory ()=delete
 

Static Public Member Functions

static rtl::Reference< SvxShapeGroupcreateGroup2D (const rtl::Reference< SvxShapeGroupAnyD > &xTarget, const OUString &aName=OUString())
 
static rtl::Reference< SvxShapeGroupcreateGroup2D (const rtl::Reference< SvxDrawPage > &xTarget, const OUString &aName=OUString())
 
static rtl::Reference< Svx3DSceneObjectcreateGroup3D (const rtl::Reference< SvxShapeGroupAnyD > &xTarget, const OUString &aName=OUString())
 
static rtl::Reference< Svx3DExtrudeObjectcreateCube (const rtl::Reference< SvxShapeGroupAnyD > &xTarget, const css::drawing::Position3D &rPosition, const css::drawing::Direction3D &rSize, sal_Int32 nRotateZAngleHundredthDegree, const css::uno::Reference< css::beans::XPropertySet > &xSourceProp, const tPropertyNameMap &rPropertyNameMap, bool bRounded=false)
 
static rtl::Reference< Svx3DLatheObjectcreateCylinder (const rtl::Reference< SvxShapeGroupAnyD > &xTarget, const css::drawing::Position3D &rPosition, const css::drawing::Direction3D &rSize, sal_Int32 nRotateZAngleHundredthDegree)
 
static rtl::Reference< Svx3DSceneObjectcreatePyramid (const rtl::Reference< SvxShapeGroupAnyD > &xTarget, const css::drawing::Position3D &rPosition, const css::drawing::Direction3D &rSize, double fTopHeight, bool bRotateZ, const css::uno::Reference< css::beans::XPropertySet > &xSourceProp, const tPropertyNameMap &rPropertyNameMap)
 
static rtl::Reference< Svx3DLatheObjectcreateCone (const rtl::Reference< SvxShapeGroupAnyD > &xTarget, const css::drawing::Position3D &rPosition, const css::drawing::Direction3D &rSize, double fTopHeight, sal_Int32 nRotateZAngleHundredthDegree)
 
static rtl::Reference< SvxShapePolyPolygoncreatePieSegment2D (const rtl::Reference< SvxShapeGroupAnyD > &xTarget, double fUnitCircleStartAngleDegree, double fUnitCircleWidthAngleDegree, double fUnitCircleInnerRadius, double fUnitCircleOuterRadius, const css::drawing::Direction3D &rOffset, const css::drawing::HomogenMatrix &rUnitCircleToScene)
 
static rtl::Reference< Svx3DExtrudeObjectcreatePieSegment (const rtl::Reference< SvxShapeGroupAnyD > &xTarget, double fUnitCircleStartAngleDegree, double fUnitCircleWidthAngleDegree, double fUnitCircleInnerRadius, double fUnitCircleOuterRadius, const css::drawing::Direction3D &rOffset, const css::drawing::HomogenMatrix &rUnitCircleToScene, double fDepth)
 
static rtl::Reference< Svx3DPolygonObjectcreateStripe (const rtl::Reference< SvxShapeGroupAnyD > &xTarget, const Stripe &rStripe, const css::uno::Reference< css::beans::XPropertySet > &xSourceProp, const tPropertyNameMap &rPropertyNameMap, bool bDoubleSided, short nRotatedTexture=0, bool bFlatNormals=true)
 
static rtl::Reference< Svx3DExtrudeObjectcreateArea3D (const rtl::Reference< SvxShapeGroupAnyD > &xTarget, const std::vector< std::vector< css::drawing::Position3D > > &rPolyPolygon, double fDepth)
 
static rtl::Reference< SvxShapePolyPolygoncreateArea2D (const rtl::Reference< SvxShapeGroupAnyD > &xTarget, const std::vector< std::vector< css::drawing::Position3D > > &rPolyPolygon)
 
static rtl::Reference< SvxShapePolyPolygoncreateSymbol2D (const rtl::Reference< SvxShapeGroupAnyD > &xTarget, const css::drawing::Position3D &rPos, const css::drawing::Direction3D &rSize, sal_Int32 nStandardSymbol, sal_Int32 nBorderColor, sal_Int32 nFillColor)
 
static rtl::Reference< SvxGraphicObjectcreateGraphic2D (const rtl::Reference< SvxShapeGroupAnyD > &xTarget, const css::drawing::Position3D &rPos, const css::drawing::Direction3D &rSize, const css::uno::Reference< css::graphic::XGraphic > &xGraphic)
 
static rtl::Reference< SvxShapePolyPolygoncreateLine2D (const rtl::Reference< SvxShapeGroupAnyD > &xTarget, const css::drawing::PointSequenceSequence &rPoints, const VLineProperties *pLineProperties=nullptr)
 
static rtl::Reference< SvxShapePolyPolygoncreateLine2D (const rtl::Reference< SvxShapeGroupAnyD > &xTarget, const std::vector< std::vector< css::drawing::Position3D > > &rPoints, const VLineProperties *pLineProperties=nullptr)
 
static rtl::Reference< SvxShapePolyPolygoncreateLine (const rtl::Reference< SvxShapeGroupAnyD > &xTarget, const css::awt::Size &rSize, const css::awt::Point &rPosition)
 
static rtl::Reference< Svx3DPolygonObjectcreateLine3D (const rtl::Reference< SvxShapeGroupAnyD > &xTarget, const std::vector< std::vector< css::drawing::Position3D > > &rPoints, const VLineProperties &rLineProperties)
 
static rtl::Reference< SvxShapeCirclecreateCircle2D (const rtl::Reference< SvxShapeGroupAnyD > &xTarget, const css::drawing::Position3D &rPos, const css::drawing::Direction3D &rSize)
 
static rtl::Reference< SvxShapeCirclecreateCircle (const rtl::Reference< SvxShapeGroupAnyD > &xTarget, const css::awt::Size &rSize, const css::awt::Point &rPosition)
 
static rtl::Reference< SvxShapeTextcreateText (const rtl::Reference< SvxShapeGroupAnyD > &xTarget2D, const OUString &rText, const tNameSequence &rPropNames, const tAnySequence &rPropValues, const css::uno::Any &rATransformation)
 
static rtl::Reference< SvxShapeTextcreateText (const rtl::Reference< SvxShapeGroupAnyD > &xTarget, const css::uno::Sequence< css::uno::Reference< css::chart2::XFormattedString > > &xFormattedString, const tNameSequence &rPropNames, const tAnySequence &rPropValues, const css::uno::Any &rATransformation)
 
static rtl::Reference< SvxShapeTextcreateText (const rtl::Reference< SvxShapeGroupAnyD > &xTarget2D, const css::awt::Size &rSize, const css::awt::Point &rPosition, css::uno::Sequence< css::uno::Reference< css::chart2::XFormattedString > > &xFormattedString, const css::uno::Reference< css::beans::XPropertySet > &xTextProperties, double nRotation, const OUString &aName, sal_Int32 nTextMaxWidth)
 
static rtl::Reference< SvxTableShapecreateTable (rtl::Reference< SvxShapeGroupAnyD > const &xTarget, OUString const &rName=OUString())
 
static rtl::Reference< SvxShapeRectcreateInvisibleRectangle (const rtl::Reference< SvxShapeGroupAnyD > &xTarget, const css::awt::Size &rSize)
 
static rtl::Reference< SvxShapeRectcreateRectangle (const rtl::Reference< SvxShapeGroupAnyD > &xTarget, const css::awt::Size &rSize, const css::awt::Point &rPosition, const tNameSequence &rPropNames, const tAnySequence &rPropValues, StackPosition ePos=StackPosition::Top)
 
static rtl::Reference< SvxShapeRectcreateRectangle (const rtl::Reference< SvxShapeGroupAnyD > &xTarget)
 
static rtl::Reference< SvxShapeGroupAnyDgetOrCreateChartRootShape (const rtl::Reference< SvxDrawPage > &xPage)
 
static void setPageSize (const rtl::Reference< SvxShapeGroupAnyD > &xChartShapes, const css::awt::Size &rSize)
 
static rtl::Reference< SvxShapeGroupAnyDgetChartRootShape (const rtl::Reference< SvxDrawPage > &xPage)
 
static void makeShapeInvisible (const rtl::Reference< SvxShape > &rShape)
 
static void setShapeName (const rtl::Reference< SvxShape > &xShape, const OUString &rName)
 
static OUString getShapeName (const css::uno::Reference< css::drawing::XShape > &xShape)
 
static css::uno::Any makeTransformation (const css::awt::Point &rScreenPosition2D, double fRotationAnglePi=0.0)
 
static OUString getStackedString (const OUString &rString, bool bStacked)
 
static bool hasPolygonAnyLines (const std::vector< std::vector< css::drawing::Position3D > > &rPoly)
 
static bool isPolygonEmptyOrSinglePoint (const css::drawing::PolyPolygonShape3D &rPoly)
 
static bool isPolygonEmptyOrSinglePoint (const std::vector< std::vector< css::drawing::Position3D > > &rPoly)
 
static void closePolygon (css::drawing::PolyPolygonShape3D &rPoly)
 
static void closePolygon (std::vector< std::vector< css::drawing::Position3D > > &rPoly)
 
static css::awt::Size calculateNewSizeRespectingAspectRatio (const css::awt::Size &rTargetSize, const css::awt::Size &rSourceSizeWithCorrectAspectRatio)
 
static css::awt::Point calculateTopLeftPositionToCenterObject (const css::awt::Point &rTargetAreaPosition, const css::awt::Size &rTargetAreaSize, const css::awt::Size &rObjectSize)
 
::basegfx::B2IRectangle getRectangleOfShape (SvxShape &rShape)
 
static css::awt::Size getSizeAfterRotation (SvxShape &rShape, double fRotationAngleDegree)
 
static void removeSubShapes (const rtl::Reference< SvxShapeGroupAnyD > &xShapes)
 
static sal_Int32 getSymbolCount ()
 

Static Private Member Functions

static rtl::Reference< Svx3DExtrudeObjectimpl_createCube (const rtl::Reference< SvxShapeGroupAnyD > &xTarget, const css::drawing::Position3D &rPosition, const css::drawing::Direction3D &rSize, sal_Int32 nRotateZAngleHundredthDegree, bool bRounded)
 
static rtl::Reference< Svx3DLatheObjectimpl_createConeOrCylinder (const rtl::Reference< SvxShapeGroupAnyD > &xTarget, const css::drawing::Position3D &rPosition, const css::drawing::Direction3D &rSize, double fTopHeight, sal_Int32 nRotateZAngleHundredthDegree, bool bCylinder)
 

Detailed Description

Definition at line 70 of file ShapeFactory.hxx.

Member Enumeration Documentation

◆ StackPosition

Enumerator
Top 
Bottom 

Definition at line 73 of file ShapeFactory.hxx.

Constructor & Destructor Documentation

◆ ShapeFactory()

chart::ShapeFactory::ShapeFactory ( )
delete

Member Function Documentation

◆ calculateNewSizeRespectingAspectRatio()

awt::Size chart::ShapeFactory::calculateNewSizeRespectingAspectRatio ( const css::awt::Size &  rTargetSize,
const css::awt::Size &  rSourceSizeWithCorrectAspectRatio 
)
static

Definition at line 2456 of file ShapeFactory.cxx.

◆ calculateTopLeftPositionToCenterObject()

awt::Point chart::ShapeFactory::calculateTopLeftPositionToCenterObject ( const css::awt::Point &  rTargetAreaPosition,
const css::awt::Size &  rTargetAreaSize,
const css::awt::Size &  rObjectSize 
)
static

Definition at line 2471 of file ShapeFactory.cxx.

◆ closePolygon() [1/2]

static void chart::ShapeFactory::closePolygon ( css::drawing::PolyPolygonShape3D &  rPoly)
static

Referenced by createPieSegment().

◆ closePolygon() [2/2]

void chart::ShapeFactory::closePolygon ( std::vector< std::vector< css::drawing::Position3D > > &  rPoly)
static

Definition at line 2446 of file ShapeFactory.cxx.

References chart::AddPointToPoly(), and isPolygonEmptyOrSinglePoint().

◆ createArea2D()

rtl::Reference< SvxShapePolyPolygon > chart::ShapeFactory::createArea2D ( const rtl::Reference< SvxShapeGroupAnyD > &  xTarget,
const std::vector< std::vector< css::drawing::Position3D > > &  rPolyPolygon 
)
static

Definition at line 1112 of file ShapeFactory.cxx.

References chart::PolyToB2DPolyPolygon(), TOOLS_WARN_EXCEPTION, and xTarget.

◆ createArea3D()

rtl::Reference< Svx3DExtrudeObject > chart::ShapeFactory::createArea3D ( const rtl::Reference< SvxShapeGroupAnyD > &  xTarget,
const std::vector< std::vector< css::drawing::Position3D > > &  rPolyPolygon,
double  fDepth 
)
static

◆ createCircle()

rtl::Reference< SvxShapeCircle > chart::ShapeFactory::createCircle ( const rtl::Reference< SvxShapeGroupAnyD > &  xTarget,
const css::awt::Size &  rSize,
const css::awt::Point &  rPosition 
)
static

Definition at line 1749 of file ShapeFactory.cxx.

References xTarget.

◆ createCircle2D()

rtl::Reference< SvxShapeCircle > chart::ShapeFactory::createCircle2D ( const rtl::Reference< SvxShapeGroupAnyD > &  xTarget,
const css::drawing::Position3D &  rPos,
const css::drawing::Direction3D &  rSize 
)
static

◆ createCone()

rtl::Reference< Svx3DLatheObject > chart::ShapeFactory::createCone ( const rtl::Reference< SvxShapeGroupAnyD > &  xTarget,
const css::drawing::Position3D &  rPosition,
const css::drawing::Direction3D &  rSize,
double  fTopHeight,
sal_Int32  nRotateZAngleHundredthDegree 
)
static

Definition at line 648 of file ShapeFactory.cxx.

References impl_createConeOrCylinder(), and xTarget.

◆ createCube()

rtl::Reference< Svx3DExtrudeObject > chart::ShapeFactory::createCube ( const rtl::Reference< SvxShapeGroupAnyD > &  xTarget,
const css::drawing::Position3D &  rPosition,
const css::drawing::Direction3D &  rSize,
sal_Int32  nRotateZAngleHundredthDegree,
const css::uno::Reference< css::beans::XPropertySet > &  xSourceProp,
const tPropertyNameMap rPropertyNameMap,
bool  bRounded = false 
)
static

◆ createCylinder()

rtl::Reference< Svx3DLatheObject > chart::ShapeFactory::createCylinder ( const rtl::Reference< SvxShapeGroupAnyD > &  xTarget,
const css::drawing::Position3D &  rPosition,
const css::drawing::Direction3D &  rSize,
sal_Int32  nRotateZAngleHundredthDegree 
)
static

Definition at line 478 of file ShapeFactory.cxx.

References impl_createConeOrCylinder(), and xTarget.

◆ createGraphic2D()

rtl::Reference< SvxGraphicObject > chart::ShapeFactory::createGraphic2D ( const rtl::Reference< SvxShapeGroupAnyD > &  xTarget,
const css::drawing::Position3D &  rPos,
const css::drawing::Direction3D &  rSize,
const css::uno::Reference< css::graphic::XGraphic > &  xGraphic 
)
static

◆ createGroup2D() [1/2]

rtl::Reference< SvxShapeGroup > chart::ShapeFactory::createGroup2D ( const rtl::Reference< SvxDrawPage > &  xTarget,
const OUString &  aName = OUString() 
)
static

Definition at line 1636 of file ShapeFactory.cxx.

References aName, setShapeName(), TOOLS_WARN_EXCEPTION, and xTarget.

◆ createGroup2D() [2/2]

rtl::Reference< SvxShapeGroup > chart::ShapeFactory::createGroup2D ( const rtl::Reference< SvxShapeGroupAnyD > &  xTarget,
const OUString &  aName = OUString() 
)
static

◆ createGroup3D()

rtl::Reference< Svx3DSceneObject > chart::ShapeFactory::createGroup3D ( const rtl::Reference< SvxShapeGroupAnyD > &  xTarget,
const OUString &  aName = OUString() 
)
static

◆ createInvisibleRectangle()

rtl::Reference< SvxShapeRect > chart::ShapeFactory::createInvisibleRectangle ( const rtl::Reference< SvxShapeGroupAnyD > &  xTarget,
const css::awt::Size &  rSize 
)
static

◆ createLine()

rtl::Reference< SvxShapePolyPolygon > chart::ShapeFactory::createLine ( const rtl::Reference< SvxShapeGroupAnyD > &  xTarget,
const css::awt::Size &  rSize,
const css::awt::Point &  rPosition 
)
static

Definition at line 1962 of file ShapeFactory.cxx.

References xTarget.

◆ createLine2D() [1/2]

static rtl::Reference< SvxShapePolyPolygon > chart::ShapeFactory::createLine2D ( const rtl::Reference< SvxShapeGroupAnyD > &  xTarget,
const css::drawing::PointSequenceSequence &  rPoints,
const VLineProperties pLineProperties = nullptr 
)
static

◆ createLine2D() [2/2]

rtl::Reference< SvxShapePolyPolygon > chart::ShapeFactory::createLine2D ( const rtl::Reference< SvxShapeGroupAnyD > &  xTarget,
const std::vector< std::vector< css::drawing::Position3D > > &  rPoints,
const VLineProperties pLineProperties = nullptr 
)
static

◆ createLine3D()

rtl::Reference< Svx3DPolygonObject > chart::ShapeFactory::createLine3D ( const rtl::Reference< SvxShapeGroupAnyD > &  xTarget,
const std::vector< std::vector< css::drawing::Position3D > > &  rPoints,
const VLineProperties rLineProperties 
)
static

◆ createPieSegment()

rtl::Reference< Svx3DExtrudeObject > chart::ShapeFactory::createPieSegment ( const rtl::Reference< SvxShapeGroupAnyD > &  xTarget,
double  fUnitCircleStartAngleDegree,
double  fUnitCircleWidthAngleDegree,
double  fUnitCircleInnerRadius,
double  fUnitCircleOuterRadius,
const css::drawing::Direction3D &  rOffset,
const css::drawing::HomogenMatrix &  rUnitCircleToScene,
double  fDepth 
)
static

◆ createPieSegment2D()

rtl::Reference< SvxShapePolyPolygon > chart::ShapeFactory::createPieSegment2D ( const rtl::Reference< SvxShapeGroupAnyD > &  xTarget,
double  fUnitCircleStartAngleDegree,
double  fUnitCircleWidthAngleDegree,
double  fUnitCircleInnerRadius,
double  fUnitCircleOuterRadius,
const css::drawing::Direction3D &  rOffset,
const css::drawing::HomogenMatrix &  rUnitCircleToScene 
)
static

◆ createPyramid()

rtl::Reference< Svx3DSceneObject > chart::ShapeFactory::createPyramid ( const rtl::Reference< SvxShapeGroupAnyD > &  xTarget,
const css::drawing::Position3D &  rPosition,
const css::drawing::Direction3D &  rSize,
double  fTopHeight,
bool  bRotateZ,
const css::uno::Reference< css::beans::XPropertySet > &  xSourceProp,
const tPropertyNameMap rPropertyNameMap 
)
static

◆ createRectangle() [1/2]

rtl::Reference< SvxShapeRect > chart::ShapeFactory::createRectangle ( const rtl::Reference< SvxShapeGroupAnyD > &  xTarget)
static

Definition at line 2026 of file ShapeFactory.cxx.

References xTarget.

◆ createRectangle() [2/2]

static rtl::Reference< SvxShapeRect > chart::ShapeFactory::createRectangle ( const rtl::Reference< SvxShapeGroupAnyD > &  xTarget,
const css::awt::Size &  rSize,
const css::awt::Point &  rPosition,
const tNameSequence rPropNames,
const tAnySequence rPropValues,
StackPosition  ePos = StackPosition::Top 
)
static

◆ createStripe()

rtl::Reference< Svx3DPolygonObject > chart::ShapeFactory::createStripe ( const rtl::Reference< SvxShapeGroupAnyD > &  xTarget,
const Stripe rStripe,
const css::uno::Reference< css::beans::XPropertySet > &  xSourceProp,
const tPropertyNameMap rPropertyNameMap,
bool  bDoubleSided,
short  nRotatedTexture = 0,
bool  bFlatNormals = true 
)
static

◆ createSymbol2D()

rtl::Reference< SvxShapePolyPolygon > chart::ShapeFactory::createSymbol2D ( const rtl::Reference< SvxShapeGroupAnyD > &  xTarget,
const css::drawing::Position3D &  rPos,
const css::drawing::Direction3D &  rSize,
sal_Int32  nStandardSymbol,
sal_Int32  nBorderColor,
sal_Int32  nFillColor 
)
static

◆ createTable()

rtl::Reference< SvxTableShape > chart::ShapeFactory::createTable ( rtl::Reference< SvxShapeGroupAnyD > const &  xTarget,
OUString const &  rName = OUString() 
)
static

Definition at line 2538 of file ShapeFactory.cxx.

References setShapeName(), and xTarget.

Referenced by chart::DataTableView::createShapes().

◆ createText() [1/3]

static rtl::Reference< SvxShapeText > chart::ShapeFactory::createText ( const rtl::Reference< SvxShapeGroupAnyD > &  xTarget,
const css::uno::Sequence< css::uno::Reference< css::chart2::XFormattedString > > &  xFormattedString,
const tNameSequence rPropNames,
const tAnySequence rPropValues,
const css::uno::Any &  rATransformation 
)
static

◆ createText() [2/3]

static rtl::Reference< SvxShapeText > chart::ShapeFactory::createText ( const rtl::Reference< SvxShapeGroupAnyD > &  xTarget2D,
const css::awt::Size &  rSize,
const css::awt::Point &  rPosition,
css::uno::Sequence< css::uno::Reference< css::chart2::XFormattedString > > &  xFormattedString,
const css::uno::Reference< css::beans::XPropertySet > &  xTextProperties,
double  nRotation,
const OUString &  aName,
sal_Int32  nTextMaxWidth 
)
static

◆ createText() [3/3]

static rtl::Reference< SvxShapeText > chart::ShapeFactory::createText ( const rtl::Reference< SvxShapeGroupAnyD > &  xTarget2D,
const OUString &  rText,
const tNameSequence rPropNames,
const tAnySequence rPropValues,
const css::uno::Any &  rATransformation 
)
static

◆ getChartRootShape()

rtl::Reference< SvxShapeGroupAnyD > chart::ShapeFactory::getChartRootShape ( const rtl::Reference< SvxDrawPage > &  xPage)
static

◆ getOrCreateChartRootShape()

rtl::Reference< SvxShapeGroupAnyD > chart::ShapeFactory::getOrCreateChartRootShape ( const rtl::Reference< SvxDrawPage > &  xPage)
static

Definition at line 113 of file ShapeFactory.cxx.

References getChartRootShape(), and setShapeName().

Referenced by chart::ChartView::createShapes().

◆ getRectangleOfShape()

basegfx::B2IRectangle chart::ShapeFactory::getRectangleOfShape ( SvxShape rShape)
static

◆ getShapeName()

OUString chart::ShapeFactory::getShapeName ( const css::uno::Reference< css::drawing::XShape > &  xShape)
static

Definition at line 2362 of file ShapeFactory.cxx.

References TOOLS_WARN_EXCEPTION, and UNO_NAME_MISC_OBJ_NAME.

Referenced by getChartRootShape().

◆ getSizeAfterRotation()

awt::Size chart::ShapeFactory::getSizeAfterRotation ( SvxShape rShape,
double  fRotationAngleDegree 
)
static

◆ getStackedString()

OUString chart::ShapeFactory::getStackedString ( const OUString &  rString,
bool  bStacked 
)
static

◆ getSymbolCount()

static sal_Int32 chart::ShapeFactory::getSymbolCount ( )
inlinestatic

◆ hasPolygonAnyLines()

bool chart::ShapeFactory::hasPolygonAnyLines ( const std::vector< std::vector< css::drawing::Position3D > > &  rPoly)
static

Definition at line 2414 of file ShapeFactory.cxx.

References i.

◆ impl_createConeOrCylinder()

rtl::Reference< Svx3DLatheObject > chart::ShapeFactory::impl_createConeOrCylinder ( const rtl::Reference< SvxShapeGroupAnyD > &  xTarget,
const css::drawing::Position3D &  rPosition,
const css::drawing::Direction3D &  rSize,
double  fTopHeight,
sal_Int32  nRotateZAngleHundredthDegree,
bool  bCylinder 
)
staticprivate

◆ impl_createCube()

rtl::Reference< Svx3DExtrudeObject > chart::ShapeFactory::impl_createCube ( const rtl::Reference< SvxShapeGroupAnyD > &  xTarget,
const css::drawing::Position3D &  rPosition,
const css::drawing::Direction3D &  rSize,
sal_Int32  nRotateZAngleHundredthDegree,
bool  bRounded 
)
staticprivate

◆ isPolygonEmptyOrSinglePoint() [1/2]

static bool chart::ShapeFactory::isPolygonEmptyOrSinglePoint ( const css::drawing::PolyPolygonShape3D &  rPoly)
static

Referenced by closePolygon().

◆ isPolygonEmptyOrSinglePoint() [2/2]

bool chart::ShapeFactory::isPolygonEmptyOrSinglePoint ( const std::vector< std::vector< css::drawing::Position3D > > &  rPoly)
static

Definition at line 2430 of file ShapeFactory.cxx.

References size.

◆ makeShapeInvisible()

void chart::ShapeFactory::makeShapeInvisible ( const rtl::Reference< SvxShape > &  rShape)
static

Definition at line 2331 of file ShapeFactory.cxx.

References TOOLS_WARN_EXCEPTION.

Referenced by createInvisibleRectangle().

◆ makeTransformation()

uno::Any chart::ShapeFactory::makeTransformation ( const css::awt::Point &  rScreenPosition2D,
double  fRotationAnglePi = 0.0 
)
static

◆ removeSubShapes()

void chart::ShapeFactory::removeSubShapes ( const rtl::Reference< SvxShapeGroupAnyD > &  xShapes)
static

◆ setPageSize()

void chart::ShapeFactory::setPageSize ( const rtl::Reference< SvxShapeGroupAnyD > &  xChartShapes,
const css::awt::Size &  rSize 
)
static

Definition at line 133 of file ShapeFactory.cxx.

Referenced by chart::ChartView::createShapes().

◆ setShapeName()

void chart::ShapeFactory::setShapeName ( const rtl::Reference< SvxShape > &  xShape,
const OUString &  rName 
)
static

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