LibreOffice Module chart2 (master) 1
Namespaces | Functions
CommonConverters.cxx File Reference
#include <CommonConverters.hxx>
#include <com/sun/star/awt/Rectangle.hpp>
#include <com/sun/star/drawing/DoubleSequence.hpp>
#include <com/sun/star/drawing/PolyPolygonBezierCoords.hpp>
#include <com/sun/star/chart2/data/XDataSequence.hpp>
#include <com/sun/star/chart2/data/XNumericalDataSequence.hpp>
#include <com/sun/star/chart2/data/XTextualDataSequence.hpp>
#include <o3tl/safeint.hxx>
#include <osl/diagnose.h>
#include <basegfx/matrix/b3dhommatrix.hxx>
#include <basegfx/polygon/b2dpolygontools.hxx>
#include <cstddef>
#include <limits>
Include dependency graph for CommonConverters.cxx:

Go to the source code of this file.

Namespaces

namespace  chart
 

Functions

OOO_DLLPUBLIC_CHARTTOOLS css::drawing::HomogenMatrix chart::B3DHomMatrixToHomogenMatrix (const ::basegfx::B3DHomMatrix &rM)
 diverse methods for class conversions; e.g. More...
 
::basegfx::B3DHomMatrix chart::HomogenMatrixToB3DHomMatrix (const drawing::HomogenMatrix &rHM)
 
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...
 
::basegfx::B3DPoint chart::Position3DToB3DPoint (const drawing::Position3D &rPosition)
 
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...
 
::basegfx::B3DVector chart::Direction3DToB3DVector (const drawing::Direction3D &rDirection)
 
void chart::AddPointToPoly (drawing::PolyPolygonShape3D &rPoly, const drawing::Position3D &rPos, sal_Int32 nPolygonIndex)
 
void chart::AddPointToPoly (std::vector< std::vector< css::drawing::Position3D > > &rPoly, const drawing::Position3D &rPos, sal_Int32 nPolygonIndex)
 
drawing::Position3D chart::getPointFromPoly (const drawing::PolyPolygonShape3D &rPolygon, sal_Int32 nPointIndex, sal_Int32 nPolyIndex)
 
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 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...
 
drawing::PolyPolygonShape3D chart::BezierToPoly (const drawing::PolyPolygonBezierCoords &rBezier)
 
drawing::PointSequenceSequence chart::PolyToPointSequence (const drawing::PolyPolygonShape3D &rPolyPolygon)
 
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...
 
void chart::appendPointSequence (drawing::PointSequenceSequence &rTarget, const drawing::PointSequenceSequence &rAdd)
 
drawing::Position3D chart::operator+ (const drawing::Position3D &rPos, const drawing::Direction3D &rDirection)
 
drawing::Direction3D chart::operator- (const drawing::Position3D &rPos1, const drawing::Position3D &rPos2)
 
awt::Point chart::Position3DToAWTPoint (const drawing::Position3D &rPos)
 
awt::Point chart::ToPoint (const awt::Rectangle &rRectangle)
 
awt::Size chart::ToSize (const awt::Rectangle &rRectangle)
 
awt::Size chart::Direction3DToAWTSize (const drawing::Direction3D &rDirection)
 
drawing::Position3D chart::SequenceToPosition3D (const uno::Sequence< double > &rSeq)
 
uno::Sequence< double > chart::DataSequenceToDoubleSequence (const uno::Reference< data::XDataSequence > &xDataSequence)
 
uno::Sequence< OUString > chart::DataSequenceToStringSequence (const uno::Reference< data::XDataSequence > &xDataSequence)
 
bool chart::hasDoubleValue (const uno::Any &rAny)
 
bool chart::hasLongOrShortValue (const uno::Any &rAny)
 
sal_Int16 chart::getShortForLongAlso (const uno::Any &rAny)
 
OOO_DLLPUBLIC_CHARTTOOLS bool chart::replaceParamterInString (OUString &rInOutResourceString, std::u16string_view rParamToReplace, std::u16string_view rReplaceWith)