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

Functions

uno::Reference< drawing::XControlShape > OOO_DLLPUBLIC_TEST createCommandButton (const uno::Reference< lang::XComponent > &r_xComponent, const sal_Int32 nX, const sal_Int32 nY, const sal_Int32 nHeight, const sal_Int32 nWidth)
 
uno::Reference< drawing::XControlShape > OOO_DLLPUBLIC_TEST createControlShape (const uno::Reference< lang::XComponent > &r_xComponent, std::u16string_view r_aKind, const sal_Int32 nX, const sal_Int32 nY, const sal_Int32 nHeight, const sal_Int32 nWidth)
 
css::uno::Reference< css::drawing::XControlShape > OOO_DLLPUBLIC_TEST createCommandButton (const css::uno::Reference< css::lang::XComponent > &r_xComponent, const sal_Int32 nX, const sal_Int32 nY, const sal_Int32 nHeight, const sal_Int32 nWidth)
 Create a XControlShape of kind "CommandButton". More...
 
css::uno::Reference< css::drawing::XControlShape > OOO_DLLPUBLIC_TEST createControlShape (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 nHeight, const sal_Int32 nWidth)
 Create a XControlShape. More...
 

Function Documentation

uno::Reference<drawing::XControlShape> OOO_DLLPUBLIC_TEST apitest::helper::form::createCommandButton ( const uno::Reference< lang::XComponent > &  r_xComponent,
const sal_Int32  nX,
const sal_Int32  nY,
const sal_Int32  nHeight,
const sal_Int32  nWidth 
)

Definition at line 28 of file form.cxx.

References createControlShape(), and u.

css::uno::Reference<css::drawing::XControlShape> OOO_DLLPUBLIC_TEST apitest::helper::form::createCommandButton ( const css::uno::Reference< css::lang::XComponent > &  r_xComponent,
const sal_Int32  nX,
const sal_Int32  nY,
const sal_Int32  nHeight,
const sal_Int32  nWidth 
)

Create a XControlShape of kind "CommandButton".

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 XControlShape.
uno::Reference<drawing::XControlShape> OOO_DLLPUBLIC_TEST apitest::helper::form::createControlShape ( const uno::Reference< lang::XComponent > &  r_xComponent,
std::u16string_view  r_aKind,
const sal_Int32  nX,
const sal_Int32  nY,
const sal_Int32  nHeight,
const sal_Int32  nWidth 
)

Definition at line 35 of file form.cxx.

Referenced by createCommandButton(), and apitest::XControlAccess::testGetControl().

css::uno::Reference<css::drawing::XControlShape> OOO_DLLPUBLIC_TEST apitest::helper::form::createControlShape ( 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  nHeight,
const sal_Int32  nWidth 
)

Create a XControlShape.

Parameters
r_xComponentThe document.
r_aKindThe kind of the 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 XControlShape.