LibreOffice Module slideshow (master) 1
Namespaces | Functions | Variables
tools.cxx File Reference
#include <comphelper/diagnose_ex.hxx>
#include <canvas/canvastools.hxx>
#include <math.h>
#include <com/sun/star/beans/NamedValue.hpp>
#include <com/sun/star/awt/Rectangle.hpp>
#include <com/sun/star/animations/ValuePair.hpp>
#include <com/sun/star/drawing/FillStyle.hpp>
#include <com/sun/star/drawing/LineStyle.hpp>
#include <com/sun/star/awt/FontSlant.hpp>
#include <basegfx/polygon/b2dpolygon.hxx>
#include <basegfx/polygon/b2dpolygontools.hxx>
#include <basegfx/range/b2drange.hxx>
#include <basegfx/vector/b2dvector.hxx>
#include <basegfx/vector/b2ivector.hxx>
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <basegfx/numeric/ftools.hxx>
#include <basegfx/utils/lerp.hxx>
#include <basegfx/matrix/b2dhommatrixtools.hxx>
#include <cppcanvas/basegfxfactory.hxx>
#include <svtools/colorcfg.hxx>
#include <unoview.hxx>
#include <slideshowexceptions.hxx>
#include <smilfunctionparser.hxx>
#include <tools.hxx>
#include <limits>
Include dependency graph for tools.cxx:

Go to the source code of this file.

Namespaces

namespace  slideshow
 
namespace  slideshow::internal
 

Functions

bool slideshow::internal::extractValue (double &o_rValue, const uno::Any &rSourceAny, const ShapeSharedPtr &rShape, const ::basegfx::B2DVector &rSlideBounds)
 extract unary double value from Any More...
 
bool slideshow::internal::extractValue (sal_Int32 &o_rValue, const uno::Any &rSourceAny, const ShapeSharedPtr &, const ::basegfx::B2DVector &)
 extract enum/constant group value from Any More...
 
bool slideshow::internal::extractValue (sal_Int16 &o_rValue, const uno::Any &rSourceAny, const ShapeSharedPtr &rShape, const ::basegfx::B2DVector &rSlideBounds)
 extract enum/constant group value from Any More...
 
bool slideshow::internal::extractValue (RGBColor &o_rValue, const uno::Any &rSourceAny, const ShapeSharedPtr &, const ::basegfx::B2DVector &)
 extract color value from Any More...
 
bool slideshow::internal::extractValue (HSLColor &o_rValue, const uno::Any &rSourceAny, const ShapeSharedPtr &, const ::basegfx::B2DVector &)
 extract color value from Any More...
 
bool slideshow::internal::extractValue (OUString &o_rValue, const uno::Any &rSourceAny, const ShapeSharedPtr &, const ::basegfx::B2DVector &)
 extract plain string from Any More...
 
bool slideshow::internal::extractValue (bool &o_rValue, const uno::Any &rSourceAny, const ShapeSharedPtr &, const ::basegfx::B2DVector &)
 extract bool value from Any More...
 
bool slideshow::internal::extractValue (::basegfx::B2DTuple &o_rPair, const uno::Any &rSourceAny, const ShapeSharedPtr &rShape, const ::basegfx::B2DVector &rSlideBounds)
 extract double 2-tuple from Any More...
 
bool slideshow::internal::findNamedValue (uno::Sequence< beans::NamedValue > const &rSequence, const beans::NamedValue &rSearchKey)
 
basegfx::B2DRange slideshow::internal::calcRelativeShapeBounds (const basegfx::B2DVector &rPageSize, const basegfx::B2DRange &rShapeBounds)
 
::basegfx::B2DHomMatrix slideshow::internal::getShapeTransformation (const ::basegfx::B2DRectangle &rShapeBounds, const ShapeAttributeLayerSharedPtr &pAttr)
 
::basegfx::B2DHomMatrix slideshow::internal::getSpriteTransformation (const ::basegfx::B2DVector &rPixelSize, const ::basegfx::B2DVector &rOrigSize, const ShapeAttributeLayerSharedPtr &pAttr)
 
::basegfx::B2DRectangle slideshow::internal::getShapeUpdateArea (const ::basegfx::B2DRectangle &rUnitBounds, const ::basegfx::B2DHomMatrix &rShapeTransform, const ShapeAttributeLayerSharedPtr &pAttr)
 
::basegfx::B2DRange slideshow::internal::getShapeUpdateArea (const ::basegfx::B2DRange &rUnitBounds, const ::basegfx::B2DRange &rShapeBounds)
 
::basegfx::B2DRectangle slideshow::internal::getShapePosSize (const ::basegfx::B2DRectangle &rOrigBounds, const ShapeAttributeLayerSharedPtr &pAttr)
 
sal_Int32 slideshow::internal::RGBAColor2UnoColor (::cppcanvas::IntSRGBA aColor)
 
void slideshow::internal::fillRect (const ::cppcanvas::CanvasSharedPtr &rCanvas, const ::basegfx::B2DRectangle &rRect, ::cppcanvas::IntSRGBA aFillColor)
 
void slideshow::internal::initSlideBackground (const ::cppcanvas::CanvasSharedPtr &rCanvas, const ::basegfx::B2ISize &rSize)
 
::basegfx::B2DRectangle slideshow::internal::getAPIShapeBounds (const uno::Reference< drawing::XShape > &xShape)
 
basegfx::B2IVector slideshow::internal::getSlideSizePixel (const basegfx::B2DVector &rSlideSize, const UnoViewSharedPtr &pView)
 

Variables

RGBColor slideshow::internal::unoColor2RGBColor (sal_Int32)
 Convert a plain UNO API 32 bit int to RGBColor. More...
 

Variable Documentation

◆ mrKey

const beans::NamedValue& mrKey
private

Definition at line 75 of file tools.cxx.