LibreOffice Module chart2 (master) 1
Namespaces | Functions
CommonConverters.hxx File Reference
#include <com/sun/star/awt/Point.hpp>
#include <com/sun/star/awt/Size.hpp>
#include <com/sun/star/drawing/Direction3D.hpp>
#include <com/sun/star/drawing/HomogenMatrix.hpp>
#include <com/sun/star/drawing/HomogenMatrix3.hpp>
#include <com/sun/star/drawing/PointSequenceSequence.hpp>
#include <com/sun/star/drawing/Position3D.hpp>
#include <com/sun/star/drawing/PolyPolygonShape3D.hpp>
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <basegfx/point/b3dpoint.hxx>
#include <basegfx/vector/b3dvector.hxx>
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include "charttoolsdllapi.hxx"
Include dependency graph for CommonConverters.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  com
 
namespace  com::sun
 
namespace  com::sun::star
 
namespace  com::sun::star::awt
 
namespace  com::sun::star::chart2
 
namespace  com::sun::star::chart2::data
 
namespace  com::sun::star::drawing
 
namespace  chart
 

Functions

OOO_DLLPUBLIC_CHARTTOOLS css::drawing::HomogenMatrix chart::B3DHomMatrixToHomogenMatrix (const ::basegfx::B3DHomMatrix &rM)
 diverse methods for class conversions; e.g. More...
 
OOO_DLLPUBLIC_CHARTTOOLS::basegfx::B3DHomMatrix chart::HomogenMatrixToB3DHomMatrix (const css::drawing::HomogenMatrix &rHM)
 HomogenMatrix -> basegfx::B3DHomMatrix. More...
 
OOO_DLLPUBLIC_CHARTTOOLS::basegfx::B2DHomMatrix chart::IgnoreZ (const ::basegfx::B3DHomMatrix &rM)
 basegfx::B3DHomMatrix -> B2DHomMatrix More...
 
OOO_DLLPUBLIC_CHARTTOOLS css::drawing::HomogenMatrix3 chart::B2DHomMatrixToHomogenMatrix3 (const ::basegfx::B2DHomMatrix &rM)
 B2DHomMatrix <-> HomogenMatrix3. More...
 
OOO_DLLPUBLIC_CHARTTOOLS::basegfx::B3DPoint chart::Position3DToB3DPoint (const css::drawing::Position3D &rPosition)
 Position3D -> B3DPoint. More...
 
OOO_DLLPUBLIC_CHARTTOOLS css::drawing::Direction3D chart::B3DVectorToDirection3D (const ::basegfx::B3DVector &rVector)
 B3DVector -> Direction3D. More...
 
OOO_DLLPUBLIC_CHARTTOOLS css::drawing::Position3D chart::B3DPointToPosition3D (const ::basegfx::B3DPoint &rPoint)
 B3DPoint -> Position3D. More...
 
OOO_DLLPUBLIC_CHARTTOOLS::basegfx::B3DVector chart::Direction3DToB3DVector (const css::drawing::Direction3D &rDirection)
 Direction3D -> B3DVector. More...
 
OOO_DLLPUBLIC_CHARTTOOLS void chart::AddPointToPoly (css::drawing::PolyPolygonShape3D &rPoly, const css::drawing::Position3D &rPos, sal_Int32 nSequenceIndex=0)
 PolyPolygonShape3D + drawing::Position3D -> PolyPolygonShape3D. More...
 
OOO_DLLPUBLIC_CHARTTOOLS void chart::AddPointToPoly (std::vector< std::vector< css::drawing::Position3D > > &rPoly, const css::drawing::Position3D &rPos, sal_Int32 nSequenceIndex=0)
 
OOO_DLLPUBLIC_CHARTTOOLS css::drawing::Position3D chart::getPointFromPoly (const std::vector< std::vector< css::drawing::Position3D > > &rPolygon, sal_Int32 nPointIndex, sal_Int32 nPolyIndex)
 get a single Point from a Polygon More...
 
OOO_DLLPUBLIC_CHARTTOOLS css::drawing::Position3D chart::getPointFromPoly (const css::drawing::PolyPolygonShape3D &rPolygon, sal_Int32 nPointIndex, sal_Int32 nPolyIndex)
 
OOO_DLLPUBLIC_CHARTTOOLS void chart::addPolygon (std::vector< std::vector< css::drawing::Position3D > > &rRet, const std::vector< std::vector< css::drawing::Position3D > > &rAdd)
 
OOO_DLLPUBLIC_CHARTTOOLS void chart::appendPoly (std::vector< std::vector< css::drawing::Position3D > > &rRet, const std::vector< std::vector< css::drawing::Position3D > > &rAdd)
 PolyPolygonShape3D + PolyPolygonShape3D -> PolyPolygonShape3D. More...
 
OOO_DLLPUBLIC_CHARTTOOLS css::drawing::PolyPolygonShape3D chart::BezierToPoly (const css::drawing::PolyPolygonBezierCoords &rBezier)
 PolyPolygonBezierCoords -> PolyPolygonShape3D. More...
 
OOO_DLLPUBLIC_CHARTTOOLS css::drawing::PointSequenceSequence chart::PolyToPointSequence (const css::drawing::PolyPolygonShape3D &rPolyPolygon)
 PolyPolygonShape3D -> drawing::PointSequenceSequence (2D) More...
 
OOO_DLLPUBLIC_CHARTTOOLS css::drawing::PointSequenceSequence chart::PolyToPointSequence (const std::vector< std::vector< css::drawing::Position3D > > &rPolyPolygon)
 
OOO_DLLPUBLIC_CHARTTOOLS basegfx::B2DPolyPolygon chart::PolyToB2DPolyPolygon (const std::vector< std::vector< css::drawing::Position3D > > &rPolyPolygon)
 PolyPolygonShape3D -> basegfx::B2DPolyPolygon (2D) More...
 
OOO_DLLPUBLIC_CHARTTOOLS void chart::appendPointSequence (css::drawing::PointSequenceSequence &rTarget, const css::drawing::PointSequenceSequence &rAdd)
 drawing::PointSequenceSequence + drawing::PointSequenceSequence More...
 
OOO_DLLPUBLIC_CHARTTOOLS css::drawing::Position3D chart::operator+ (const css::drawing::Position3D &rPos, const css::drawing::Direction3D &rDirection)
 Position3D + Direction3D == Position3D. More...
 
OOO_DLLPUBLIC_CHARTTOOLS css::drawing::Direction3D chart::operator- (const css::drawing::Position3D &rPos1, const css::drawing::Position3D &rPos2)
 Position3D - Position3D == Direction3D. More...
 
OOO_DLLPUBLIC_CHARTTOOLS css::awt::Point chart::ToPoint (const css::awt::Rectangle &rRectangle)
 awt::Rect --> awt::Point (2D) More...
 
OOO_DLLPUBLIC_CHARTTOOLS css::awt::Size chart::ToSize (const css::awt::Rectangle &rRectangle)
 awt::Rect --> awt::Size (2D) More...
 
OOO_DLLPUBLIC_CHARTTOOLS css::awt::Point chart::Position3DToAWTPoint (const css::drawing::Position3D &rPos)
 Position3D --> awt::Point (2D) More...
 
OOO_DLLPUBLIC_CHARTTOOLS css::awt::Size chart::Direction3DToAWTSize (const css::drawing::Direction3D &rDirection)
 Direction3D --> awt::Size (2D) More...
 
OOO_DLLPUBLIC_CHARTTOOLS css::drawing::Position3D chart::SequenceToPosition3D (const css::uno::Sequence< double > &rSeq)
 Sequence<double> -> drawing::Position3D. More...
 
OOO_DLLPUBLIC_CHARTTOOLS css::uno::Sequence< double > chart::DataSequenceToDoubleSequence (const css::uno::Reference< css::chart2::data::XDataSequence > &xDataSequence)
 chart2::XDataSequence -> uno::Sequence< double > More...
 
OOO_DLLPUBLIC_CHARTTOOLS css::uno::Sequence< OUString > chart::DataSequenceToStringSequence (const css::uno::Reference< css::chart2::data::XDataSequence > &xDataSequence)
 
template<typename T >
std::vector< T > chart::FlattenSequence (const std::vector< std::vector< T > > &aSeqSeq)
 std::vector< std::vector< T > > -> std::vector< T > More...
 
OOO_DLLPUBLIC_CHARTTOOLS bool chart::hasDoubleValue (const css::uno::Any &rAny)
 
OOO_DLLPUBLIC_CHARTTOOLS bool chart::hasLongOrShortValue (const css::uno::Any &rAny)
 
OOO_DLLPUBLIC_CHARTTOOLS sal_Int16 chart::getShortForLongAlso (const css::uno::Any &rAny)
 
OOO_DLLPUBLIC_CHARTTOOLS bool chart::replaceParamterInString (OUString &rInOutResourceString, std::u16string_view rParamToReplace, std::u16string_view rReplaceWith)