LibreOffice Module canvas (master) 1
Namespaces | Functions
verifyinput.hxx File Reference
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/lang/IllegalArgumentException.hpp>
#include <canvas/canvastoolsdllapi.h>
Include dependency graph for verifyinput.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::geometry
 
namespace  com::sun::star::rendering
 
namespace  com::sun::star::uno
 
namespace  canvas
 
namespace  canvas::tools
 

Functions

CANVASTOOLS_DLLPUBLIC void canvas::tools::verifyInput (const css::geometry::AffineMatrix2D &rMatrix, const char *pStr, const css::uno::Reference< css::uno::XInterface > &xIf, ::sal_Int16 nArgPos)
 Verify that the given transformation contains valid floating point values. More...
 
CANVASTOOLS_DLLPUBLIC void canvas::tools::verifyInput (const css::geometry::Matrix2D &rMatrix, const char *pStr, const css::uno::Reference< css::uno::XInterface > &xIf, ::sal_Int16 nArgPos)
 Verify that the given transformation contains valid floating point values. More...
 
CANVASTOOLS_DLLPUBLIC void canvas::tools::verifyInput (const css::geometry::RealPoint2D &rPoint, const char *pStr, const css::uno::Reference< css::uno::XInterface > &xIf, ::sal_Int16 nArgPos)
 Verify that the given point contains valid floating point values. More...
 
CANVASTOOLS_DLLPUBLIC void canvas::tools::verifyInput (const css::geometry::RealBezierSegment2D &rSegment, const char *pStr, const css::uno::Reference< css::uno::XInterface > &xIf, ::sal_Int16 nArgPos)
 Verify that the given bezier segment contains valid floating point values. More...
 
CANVASTOOLS_DLLPUBLIC void canvas::tools::verifyInput (const css::geometry::RealRectangle2D &rRect, const char *pStr, const css::uno::Reference< css::uno::XInterface > &xIf, ::sal_Int16 nArgPos)
 Verify that the given rectangle contains valid floating point values. More...
 
CANVASTOOLS_DLLPUBLIC void canvas::tools::verifyInput (const css::rendering::ViewState &viewState, const char *pStr, const css::uno::Reference< css::uno::XInterface > &xIf, ::sal_Int16 nArgPos)
 Basic check for view state validity. More...
 
CANVASTOOLS_DLLPUBLIC void canvas::tools::verifyInput (const css::rendering::RenderState &renderState, const char *pStr, const css::uno::Reference< css::uno::XInterface > &xIf, ::sal_Int16 nArgPos, sal_Int32 nMinColorComponents=0)
 Basic check for render state validity. More...
 
CANVASTOOLS_DLLPUBLIC void canvas::tools::verifyInput (const css::rendering::StrokeAttributes &strokeAttributes, const char *pStr, const css::uno::Reference< css::uno::XInterface > &xIf, ::sal_Int16 nArgPos)
 Basic check for stroke attributes validity. More...
 
CANVASTOOLS_DLLPUBLIC void canvas::tools::verifyInput (const css::rendering::Texture &texture, const char *pStr, const css::uno::Reference< css::uno::XInterface > &xIf, ::sal_Int16 nArgPos)
 Basic check for texture validity. More...
 
CANVASTOOLS_DLLPUBLIC void canvas::tools::verifyInput (const css::rendering::IntegerBitmapLayout &bitmapLayout, const char *pStr, const css::uno::Reference< css::uno::XInterface > &xIf, ::sal_Int16 nArgPos)
 Basic check for bitmap layout validity. More...
 
CANVASTOOLS_DLLPUBLIC void canvas::tools::verifyInput (const css::rendering::FontRequest &fontRequest, const char *pStr, const css::uno::Reference< css::uno::XInterface > &xIf, ::sal_Int16 nArgPos)
 Basic check for font request validity. More...
 
template<class Interface >
void canvas::tools::verifyInput (const css::uno::Reference< Interface > &rRef, const char *pStr, const css::uno::Reference< css::uno::XInterface > &xIf, ::sal_Int16 nArgPos)
 Templatized check for uno::Reference validity. More...
 
template<typename SequenceContent >
void canvas::tools::verifyInput (const css::uno::Sequence< SequenceContent > &rSequence, const char *pStr, const css::uno::Reference< css::uno::XInterface > &xIf, ::sal_Int16 nArgPos)
 Templatized check for content-of-sequence validity. More...
 
template<typename T >
void canvas::tools::verifyInput (const T &, const char *, const css::uno::Reference< css::uno::XInterface > &, ::sal_Int16)
 Catch-all, to handle cases that DON'T need input checking (i.e. the Integer geometry ones) More...
 
template<typename Arg0 >
void canvas::tools::verifyArgs (const Arg0 &rArg0, const char *pStr, const css::uno::Reference< css::uno::XInterface > &xIf)
 
template<typename Arg0 , typename Arg1 >
void canvas::tools::verifyArgs (const Arg0 &rArg0, const Arg1 &rArg1, const char *pStr, const css::uno::Reference< css::uno::XInterface > &xIf)
 
template<typename Arg0 , typename Arg1 , typename Arg2 >
void canvas::tools::verifyArgs (const Arg0 &rArg0, const Arg1 &rArg1, const Arg2 &rArg2, const char *pStr, const css::uno::Reference< css::uno::XInterface > &xIf)
 
template<typename Arg0 , typename Arg1 , typename Arg2 , typename Arg3 >
void canvas::tools::verifyArgs (const Arg0 &rArg0, const Arg1 &rArg1, const Arg2 &rArg2, const Arg3 &rArg3, const char *pStr, const css::uno::Reference< css::uno::XInterface > &xIf)
 
template<typename Arg0 , typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 >
void canvas::tools::verifyArgs (const Arg0 &rArg0, const Arg1 &rArg1, const Arg2 &rArg2, const Arg3 &rArg3, const Arg4 &rArg4, const char *pStr, const css::uno::Reference< css::uno::XInterface > &xIf)
 
template<typename Arg0 , typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 , typename Arg5 >
void canvas::tools::verifyArgs (const Arg0 &rArg0, const Arg1 &rArg1, const Arg2 &rArg2, const Arg3 &rArg3, const Arg4 &rArg4, const Arg5 &rArg5, const char *pStr, const css::uno::Reference< css::uno::XInterface > &xIf)
 
template<typename Arg0 , typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 , typename Arg5 , typename Arg6 >
void canvas::tools::verifyArgs (const Arg0 &rArg0, const Arg1 &rArg1, const Arg2 &rArg2, const Arg3 &rArg3, const Arg4 &rArg4, const Arg5 &rArg5, const Arg6 &rArg6, const char *pStr, const css::uno::Reference< css::uno::XInterface > &xIf)
 
template<typename NumType >
void canvas::tools::verifyRange (NumType arg, NumType lowerBound, NumType upperBound)
 Range checker, which throws css::lang::IllegalArgument exception, when range is violated. More...
 
template<typename NumType >
void canvas::tools::verifyRange (NumType arg, NumType bound, bool bLowerBound=true)
 Range checker, which throws css::lang::IllegalArgument exception, when range is violated. More...
 
CANVASTOOLS_DLLPUBLIC void canvas::tools::verifyIndexRange (const css::geometry::IntegerRectangle2D &rect, const css::geometry::IntegerSize2D &size)
 Range checker, which throws css::lang::IndexOutOfBounds exception, when index range is violated. More...
 
CANVASTOOLS_DLLPUBLIC void canvas::tools::verifyIndexRange (const css::geometry::IntegerPoint2D &pos, const css::geometry::IntegerSize2D &size)
 Range checker, which throws css::lang::IndexOutOfBounds exception, when index range is violated. More...
 
CANVASTOOLS_DLLPUBLIC void canvas::tools::verifyBitmapSize (const css::geometry::IntegerSize2D &size, const char *pStr, const css::uno::Reference< css::uno::XInterface > &xIf)
 Range checker, which throws css::lang::IndexOutOfBounds exception, when the size is negative or null. More...
 
CANVASTOOLS_DLLPUBLIC void canvas::tools::verifySpriteSize (const css::geometry::RealSize2D &size, const char *pStr, const css::uno::Reference< css::uno::XInterface > &xIf)
 Range checker, which throws css::lang::IndexOutOfBounds exception, when the size is negative or null. More...