LibreOffice Module test (master)  1
Functions
apitest::helper::shape Namespace Reference

Functions

uno::Reference< drawing::XShape > OOO_DLLPUBLIC_TEST createEllipse (const uno::Reference< lang::XComponent > &r_xComponent, const sal_Int32 nX, const sal_Int32 nY, const sal_Int32 nWidth, const sal_Int32 nHeight)
 
uno::Reference< drawing::XShape > OOO_DLLPUBLIC_TEST createLine (const uno::Reference< lang::XComponent > &r_xComponent, const sal_Int32 nX, const sal_Int32 nY, const sal_Int32 nWidth, const sal_Int32 nHeight)
 
uno::Reference< drawing::XShape > OOO_DLLPUBLIC_TEST createRectangle (const uno::Reference< lang::XComponent > &r_xComponent, const sal_Int32 nX, const sal_Int32 nY, const sal_Int32 nWidth, const sal_Int32 nHeight)
 
uno::Reference< drawing::XShape > OOO_DLLPUBLIC_TEST createShape (const uno::Reference< lang::XComponent > &r_xComponent, std::u16string_view r_aKind, const sal_Int32 nX, const sal_Int32 nY, const sal_Int32 nWidth, const sal_Int32 nHeight)
 
css::uno::Reference< css::drawing::XShape > OOO_DLLPUBLIC_TEST createEllipse (const css::uno::Reference< css::lang::XComponent > &r_xComponent, const sal_Int32 nX, const sal_Int32 nY, const sal_Int32 nWidth, const sal_Int32 nHeight)
 Create a XShape of kind "Ellipse". More...
 
css::uno::Reference< css::drawing::XShape > OOO_DLLPUBLIC_TEST createLine (const css::uno::Reference< css::lang::XComponent > &r_xComponent, const sal_Int32 nX, const sal_Int32 nY, const sal_Int32 nWidth, const sal_Int32 nHeight)
 Create a XShape of kind "Line". More...
 
css::uno::Reference< css::drawing::XShape > OOO_DLLPUBLIC_TEST createRectangle (const css::uno::Reference< css::lang::XComponent > &r_xComponent, const sal_Int32 nX, const sal_Int32 nY, const sal_Int32 nWidth, const sal_Int32 nHeight)
 Create a XShape of kind "Rectangle". More...
 
css::uno::Reference< css::drawing::XShape > OOO_DLLPUBLIC_TEST createShape (const css::uno::Reference< css::lang::XComponent > &r_xComponent, std::u16string_view r_aKind, const sal_Int32 nX, const sal_Int32 nY, const sal_Int32 nWidth, const sal_Int32 nHeight)
 Create a XShape. More...
 

Function Documentation

uno::Reference<drawing::XShape> OOO_DLLPUBLIC_TEST apitest::helper::shape::createEllipse ( const uno::Reference< lang::XComponent > &  r_xComponent,
const sal_Int32  nX,
const sal_Int32  nY,
const sal_Int32  nWidth,
const sal_Int32  nHeight 
)

Definition at line 25 of file helper/shape.cxx.

References createShape(), and u.

css::uno::Reference<css::drawing::XShape> OOO_DLLPUBLIC_TEST apitest::helper::shape::createEllipse ( const css::uno::Reference< css::lang::XComponent > &  r_xComponent,
const sal_Int32  nX,
const sal_Int32  nY,
const sal_Int32  nWidth,
const sal_Int32  nHeight 
)

Create a XShape of kind "Ellipse".

Parameters
r_xComponentThe document
nXThe x-position of the shape.
nYThe y-position of the shape.
nHeightThe height of the shape.
nWidthThe width of the shape.
Returns
The created XShape.
uno::Reference<drawing::XShape> OOO_DLLPUBLIC_TEST apitest::helper::shape::createLine ( const uno::Reference< lang::XComponent > &  r_xComponent,
const sal_Int32  nX,
const sal_Int32  nY,
const sal_Int32  nWidth,
const sal_Int32  nHeight 
)

Definition at line 33 of file helper/shape.cxx.

References createShape(), and u.

css::uno::Reference<css::drawing::XShape> OOO_DLLPUBLIC_TEST apitest::helper::shape::createLine ( const css::uno::Reference< css::lang::XComponent > &  r_xComponent,
const sal_Int32  nX,
const sal_Int32  nY,
const sal_Int32  nWidth,
const sal_Int32  nHeight 
)

Create a XShape of kind "Line".

Parameters
r_xComponentThe document
nXThe x-position of the shape.
nYThe y-position of the shape.
nHeightThe height of the shape.
nWidthThe width of the shape.
Returns
The created XShape.
uno::Reference<drawing::XShape> OOO_DLLPUBLIC_TEST apitest::helper::shape::createRectangle ( const uno::Reference< lang::XComponent > &  r_xComponent,
const sal_Int32  nX,
const sal_Int32  nY,
const sal_Int32  nWidth,
const sal_Int32  nHeight 
)

Definition at line 41 of file helper/shape.cxx.

References createShape(), and u.

css::uno::Reference<css::drawing::XShape> OOO_DLLPUBLIC_TEST apitest::helper::shape::createRectangle ( const css::uno::Reference< css::lang::XComponent > &  r_xComponent,
const sal_Int32  nX,
const sal_Int32  nY,
const sal_Int32  nWidth,
const sal_Int32  nHeight 
)

Create a XShape of kind "Rectangle".

Parameters
r_xComponentThe document
nXThe x-position of the shape.
nYThe y-position of the shape.
nHeightThe height of the shape.
nWidthThe width of the shape.
Returns
The created XShape.
uno::Reference<drawing::XShape> OOO_DLLPUBLIC_TEST apitest::helper::shape::createShape ( const uno::Reference< lang::XComponent > &  r_xComponent,
std::u16string_view  r_aKind,
const sal_Int32  nX,
const sal_Int32  nY,
const sal_Int32  nWidth,
const sal_Int32  nHeight 
)

Definition at line 49 of file helper/shape.cxx.

Referenced by createEllipse(), createLine(), and createRectangle().

css::uno::Reference<css::drawing::XShape> OOO_DLLPUBLIC_TEST apitest::helper::shape::createShape ( const css::uno::Reference< css::lang::XComponent > &  r_xComponent,
std::u16string_view  r_aKind,
const sal_Int32  nX,
const sal_Int32  nY,
const sal_Int32  nWidth,
const sal_Int32  nHeight 
)

Create a XShape.

Parameters
r_xComponentThe document
r_aKindThe kind of shape.
nXThe x-position of the shape.
nYThe y-position of the shape.
nHeightThe height of the shape.
nWidthThe width of the shape.
Returns
The created XShape.