23#include <com/sun/star/awt/Size.hpp>
24#include <com/sun/star/awt/Point.hpp>
25#include <com/sun/star/drawing/PointSequenceSequence.hpp>
28#include <rtl/ustring.hxx>
33namespace chart {
struct VLineProperties; }
80 ,
const OUString& aName = OUString() );
85 ,
const OUString& aName = OUString() );
90 ,
const OUString& aName = OUString() );
94 ,
const css::drawing::Position3D& rPosition
95 ,
const css::drawing::Direction3D& rSize
96 , sal_Int32 nRotateZAngleHundredthDegree
97 ,
const css::uno::Reference< css::beans::XPropertySet >& xSourceProp
99 ,
bool bRounded =
false);
103 ,
const css::drawing::Position3D& rPosition
104 ,
const css::drawing::Direction3D& rSize
105 , sal_Int32 nRotateZAngleHundredthDegree );
109 ,
const css::drawing::Position3D& rPosition
110 ,
const css::drawing::Direction3D& rSize
113 ,
const css::uno::Reference< css::beans::XPropertySet >& xSourceProp
118 ,
const css::drawing::Position3D& rPosition
119 ,
const css::drawing::Direction3D& rSize
120 ,
double fTopHeight, sal_Int32 nRotateZAngleHundredthDegree );
124 ,
double fUnitCircleStartAngleDegree,
double fUnitCircleWidthAngleDegree
125 ,
double fUnitCircleInnerRadius,
double fUnitCircleOuterRadius
126 ,
const css::drawing::Direction3D& rOffset
127 ,
const css::drawing::HomogenMatrix& rUnitCircleToScene );
131 ,
double fUnitCircleStartAngleDegree,
double fUnitCircleWidthAngleDegree
132 ,
double fUnitCircleInnerRadius,
double fUnitCircleOuterRadius
133 ,
const css::drawing::Direction3D& rOffset
134 ,
const css::drawing::HomogenMatrix& rUnitCircleToScene
140 ,
const css::uno::Reference< css::beans::XPropertySet >& xSourceProp
143 ,
short nRotatedTexture = 0
144 ,
bool bFlatNormals=
true );
148 ,
const std::vector<std::vector<css::drawing::Position3D>>& rPolyPolygon
153 ,
const std::vector<std::vector<css::drawing::Position3D>>& rPolyPolygon);
157 ,
const css::drawing::Position3D& rPos
158 ,
const css::drawing::Direction3D& rSize
159 , sal_Int32 nStandardSymbol
160 , sal_Int32 nBorderColor
161 , sal_Int32 nFillColor );
165 ,
const css::drawing::Position3D& rPos
166 ,
const css::drawing::Direction3D& rSize
167 ,
const css::uno::Reference< css::graphic::XGraphic >& xGraphic );
171 ,
const css::drawing::PointSequenceSequence& rPoints
175 ,
const std::vector<std::vector<css::drawing::Position3D>>& rPoints
180 const css::awt::Size& rSize,
const css::awt::Point& rPosition );
184 ,
const std::vector<std::vector<css::drawing::Position3D>>& rPoints
189 ,
const css::drawing::Position3D& rPos
190 ,
const css::drawing::Direction3D& rSize );
194 ,
const css::awt::Size& rSize
195 ,
const css::awt::Point& rPosition );
199 ,
const OUString& rText
202 ,
const css::uno::Any& rATransformation
207 ,
const css::uno::Sequence< css::uno::Reference< css::chart2::XFormattedString > >& xFormattedString
210 ,
const css::uno::Any& rATransformation);
214 const css::awt::Size& rSize,
215 const css::awt::Point& rPosition,
216 css::uno::Sequence< css::uno::Reference< css::chart2::XFormattedString > >& xFormattedString,
217 const css::uno::Reference< css::beans::XPropertySet > & xTextProperties,
218 double nRotation,
const OUString& aName, sal_Int32 nTextMaxWidth );
225 ,
const css::awt::Size& rSize );
230 const css::awt::Size& rSize,
231 const css::awt::Point& rPosition,
244 const css::awt::Size& rSize);
252 ,
const OUString& rName );
254 static OUString
getShapeName(
const css::uno::Reference< css::drawing::XShape >& xShape );
256 static css::uno::Any
makeTransformation(
const css::awt::Point& rScreenPosition2D,
double fRotationAnglePi=0.0 );
260 static bool hasPolygonAnyLines(
const std::vector<std::vector<css::drawing::Position3D>>& rPoly );
264 static void closePolygon( std::vector<std::vector<css::drawing::Position3D>>& rPoly );
267 const css::awt::Size& rTargetSize
268 ,
const css::awt::Size& rSourceSizeWithCorrectAspectRatio );
271 const css::awt::Point& rTargetAreaPosition
272 ,
const css::awt::Size& rTargetAreaSize
273 ,
const css::awt::Size& rObjectSize );
278 SvxShape& rShape,
double fRotationAngleDegree );
287 ,
const css::drawing::Position3D& rPosition
288 ,
const css::drawing::Direction3D& rSize, sal_Int32 nRotateZAngleHundredthDegree
293 ,
const css::drawing::Position3D& rPosition
294 ,
const css::drawing::Direction3D& rSize
295 ,
double fTopHeight, sal_Int32 nRotateZAngleHundredthDegree
css::chart::ChartAxisLabelPosition ePos
static rtl::Reference< SvxShapeCircle > createCircle2D(const rtl::Reference< SvxShapeGroupAnyD > &xTarget, const css::drawing::Position3D &rPos, const css::drawing::Direction3D &rSize)
static void setShapeName(const rtl::Reference< SvxShape > &xShape, const OUString &rName)
static rtl::Reference< SvxShapePolyPolygon > 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 OUString getStackedString(const OUString &rString, bool bStacked)
static rtl::Reference< Svx3DPolygonObject > createLine3D(const rtl::Reference< SvxShapeGroupAnyD > &xTarget, const std::vector< std::vector< css::drawing::Position3D > > &rPoints, const VLineProperties &rLineProperties)
static rtl::Reference< Svx3DExtrudeObject > createArea3D(const rtl::Reference< SvxShapeGroupAnyD > &xTarget, const std::vector< std::vector< css::drawing::Position3D > > &rPolyPolygon, double fDepth)
static rtl::Reference< SvxTableShape > createTable(rtl::Reference< SvxShapeGroupAnyD > const &xTarget, OUString const &rName=OUString())
static rtl::Reference< SvxShapeGroupAnyD > getOrCreateChartRootShape(const rtl::Reference< SvxDrawPage > &xPage)
static rtl::Reference< Svx3DPolygonObject > 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 void setPageSize(const rtl::Reference< SvxShapeGroupAnyD > &xChartShapes, const css::awt::Size &rSize)
static rtl::Reference< Svx3DLatheObject > impl_createConeOrCylinder(const rtl::Reference< SvxShapeGroupAnyD > &xTarget, const css::drawing::Position3D &rPosition, const css::drawing::Direction3D &rSize, double fTopHeight, sal_Int32 nRotateZAngleHundredthDegree, bool bCylinder)
static rtl::Reference< SvxShapeRect > 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 rtl::Reference< Svx3DExtrudeObject > 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 rtl::Reference< Svx3DSceneObject > createGroup3D(const rtl::Reference< SvxShapeGroupAnyD > &xTarget, const OUString &aName=OUString())
static rtl::Reference< SvxShapePolyPolygon > createLine(const rtl::Reference< SvxShapeGroupAnyD > &xTarget, const css::awt::Size &rSize, const css::awt::Point &rPosition)
static void makeShapeInvisible(const rtl::Reference< SvxShape > &rShape)
static css::awt::Size getSizeAfterRotation(SvxShape &rShape, double fRotationAngleDegree)
static rtl::Reference< SvxShapeRect > createInvisibleRectangle(const rtl::Reference< SvxShapeGroupAnyD > &xTarget, const css::awt::Size &rSize)
static rtl::Reference< SvxShapeText > 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 bool hasPolygonAnyLines(const std::vector< std::vector< css::drawing::Position3D > > &rPoly)
static rtl::Reference< SvxShapePolyPolygon > createArea2D(const rtl::Reference< SvxShapeGroupAnyD > &xTarget, const std::vector< std::vector< css::drawing::Position3D > > &rPolyPolygon)
static OUString getShapeName(const css::uno::Reference< css::drawing::XShape > &xShape)
static rtl::Reference< SvxShapeText > createText(const rtl::Reference< SvxShapeGroupAnyD > &xTarget2D, const OUString &rText, const tNameSequence &rPropNames, const tAnySequence &rPropValues, const css::uno::Any &rATransformation)
static rtl::Reference< Svx3DLatheObject > createCone(const rtl::Reference< SvxShapeGroupAnyD > &xTarget, const css::drawing::Position3D &rPosition, const css::drawing::Direction3D &rSize, double fTopHeight, sal_Int32 nRotateZAngleHundredthDegree)
static sal_Int32 getSymbolCount()
static void closePolygon(css::drawing::PolyPolygonShape3D &rPoly)
static bool isPolygonEmptyOrSinglePoint(const css::drawing::PolyPolygonShape3D &rPoly)
static rtl::Reference< SvxShapeText > 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 void removeSubShapes(const rtl::Reference< SvxShapeGroupAnyD > &xShapes)
static rtl::Reference< SvxShapePolyPolygon > createLine2D(const rtl::Reference< SvxShapeGroupAnyD > &xTarget, const css::drawing::PointSequenceSequence &rPoints, const VLineProperties *pLineProperties=nullptr)
static css::awt::Point calculateTopLeftPositionToCenterObject(const css::awt::Point &rTargetAreaPosition, const css::awt::Size &rTargetAreaSize, const css::awt::Size &rObjectSize)
static rtl::Reference< Svx3DExtrudeObject > impl_createCube(const rtl::Reference< SvxShapeGroupAnyD > &xTarget, const css::drawing::Position3D &rPosition, const css::drawing::Direction3D &rSize, sal_Int32 nRotateZAngleHundredthDegree, bool bRounded)
static rtl::Reference< Svx3DLatheObject > createCylinder(const rtl::Reference< SvxShapeGroupAnyD > &xTarget, const css::drawing::Position3D &rPosition, const css::drawing::Direction3D &rSize, sal_Int32 nRotateZAngleHundredthDegree)
static rtl::Reference< SvxGraphicObject > 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 rtl::Reference< SvxShapeGroup > createGroup2D(const rtl::Reference< SvxShapeGroupAnyD > &xTarget, const OUString &aName=OUString())
static rtl::Reference< Svx3DExtrudeObject > 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)
::basegfx::B2IRectangle getRectangleOfShape(SvxShape &rShape)
static css::uno::Any makeTransformation(const css::awt::Point &rScreenPosition2D, double fRotationAnglePi=0.0)
static css::awt::Size calculateNewSizeRespectingAspectRatio(const css::awt::Size &rTargetSize, const css::awt::Size &rSourceSizeWithCorrectAspectRatio)
static rtl::Reference< Svx3DSceneObject > 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 rtl::Reference< SvxShapeCircle > createCircle(const rtl::Reference< SvxShapeGroupAnyD > &xTarget, const css::awt::Size &rSize, const css::awt::Point &rPosition)
static rtl::Reference< SvxShapePolyPolygon > 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 rtl::Reference< SvxShapeGroupAnyD > getChartRootShape(const rtl::Reference< SvxDrawPage > &xPage)
A Stripe represents a 2 dimensional foursquare plane in a 3 dimensional room.
css::uno::Sequence< OUString > tNameSequence
std::unordered_map< OUString, OUString > tPropertyNameMap
css::uno::Sequence< css::uno::Any > tAnySequence
class SAL_NO_VTABLE XPropertySet