22#include <com/sun/star/uno/Reference.hxx>
23#include <com/sun/star/lang/IllegalArgumentException.hpp>
31 struct RealBezierSegment2D;
32 struct RealRectangle2D;
33 struct AffineMatrix2D;
35 struct IntegerPoint2D;
37 struct IntegerRectangle2D;
43 struct StrokeAttributes;
46 struct IntegerBitmapLayout;
83 const css::uno::Reference< css::uno::XInterface >& xIf,
84 ::sal_Int16 nArgPos );
105 const css::uno::Reference< css::uno::XInterface >& xIf,
106 ::sal_Int16 nArgPos );
127 const css::uno::Reference< css::uno::XInterface >& xIf,
128 ::sal_Int16 nArgPos );
149 const css::uno::Reference< css::uno::XInterface >& xIf,
150 ::sal_Int16 nArgPos );
171 const css::uno::Reference< css::uno::XInterface >& xIf,
172 ::sal_Int16 nArgPos );
192 const css::uno::Reference< css::uno::XInterface >& xIf,
193 ::sal_Int16 nArgPos );
217 const css::uno::Reference< css::uno::XInterface >& xIf,
219 sal_Int32 nMinColorComponents=0 );
239 const css::uno::Reference< css::uno::XInterface >& xIf,
240 ::sal_Int16 nArgPos );
260 const css::uno::Reference< css::uno::XInterface >& xIf,
261 ::sal_Int16 nArgPos );
281 const css::uno::Reference< css::uno::XInterface >& xIf,
282 ::sal_Int16 nArgPos );
302 const css::uno::Reference< css::uno::XInterface >& xIf,
303 ::sal_Int16 nArgPos );
322 const css::uno::Reference< Interface >& rRef,
324 const css::uno::Reference< css::uno::XInterface >& xIf,
325 ::sal_Int16 nArgPos )
329#if OSL_DEBUG_LEVEL > 0
330 throw css::lang::IllegalArgumentException(
331 OUString::createFromAscii(pStr) +
": reference is NULL",
335 (void)pStr; (void)xIf; (void)nArgPos;
336 throw css::lang::IllegalArgumentException();
358 const css::uno::Sequence< SequenceContent >& rSequence,
360 const css::uno::Reference< css::uno::XInterface >& xIf,
361 ::sal_Int16 nArgPos )
363 const SequenceContent* pCurr = rSequence.getConstArray();
364 const SequenceContent* pEnd = pCurr + rSequence.getLength();
365 while( pCurr != pEnd )
372 const css::uno::Reference< css::uno::XInterface >& ,
380 template<
typename Arg0 >
void verifyArgs(
const Arg0& rArg0,
382 const css::uno::Reference< css::uno::XInterface >& xIf )
387 template<
typename Arg0,
391 const css::uno::Reference< css::uno::XInterface >& xIf )
397 template<
typename Arg0,
403 const css::uno::Reference< css::uno::XInterface >& xIf )
410 template<
typename Arg0,
418 const css::uno::Reference< css::uno::XInterface >& xIf )
426 template<
typename Arg0,
436 const css::uno::Reference< css::uno::XInterface >& xIf )
445 template<
typename Arg0,
457 const css::uno::Reference< css::uno::XInterface >& xIf )
467 template<
typename Arg0,
481 const css::uno::Reference< css::uno::XInterface >& xIf )
496 template<
typename NumType >
inline void verifyRange( NumType arg, NumType lowerBound, NumType upperBound )
498 if( arg < lowerBound ||
501 throw css::lang::IllegalArgumentException();
520 template<
typename NumType >
inline void verifyRange( NumType arg, NumType bound,
bool bLowerBound=
true )
522 if( (bLowerBound && arg < bound) ||
523 (!bLowerBound && arg > bound) )
525 throw css::lang::IllegalArgumentException();
539 const css::geometry::IntegerSize2D& size );
551 const css::geometry::IntegerSize2D& size );
561 const css::uno::Reference< css::uno::XInterface >& xIf );
571 const css::uno::Reference< css::uno::XInterface >& xIf );