summaryrefslogtreecommitdiff
path: root/include/test/helper/form.hxx
diff options
context:
space:
mode:
authorJens Carl <j.carl43@gmx.de>2019-03-29 22:06:59 +0000
committerJens Carl <j.carl43@gmx.de>2019-03-30 22:40:23 +0100
commit2e0e7a15f66f5cb55f2a424fae6a9050c2c7f9ca (patch)
treeba1500b99dc070cd0a33eb5acb39c24295cebb6b /include/test/helper/form.hxx
parentbcecc4a2943632030dcd71964bc0aa5690c03735 (diff)
tdf#45904 Move XFormLayerAccess Java tests to C++
Move XFormLayerAccess Java tests to C++ for ScViewPaneObj. Change-Id: I7ed6ff51d435b6f3de85daec99a13583e50a450a Reviewed-on: https://gerrit.libreoffice.org/69942 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
Diffstat (limited to 'include/test/helper/form.hxx')
-rw-r--r--include/test/helper/form.hxx15
1 files changed, 14 insertions, 1 deletions
diff --git a/include/test/helper/form.hxx b/include/test/helper/form.hxx
index f6e035d64fec..d84794cc5b6d 100644
--- a/include/test/helper/form.hxx
+++ b/include/test/helper/form.hxx
@@ -26,6 +26,19 @@ namespace helper
{
namespace form
{
+/** @brief Create a XControlShape of kind "CommandButton".
+ *
+ * @param r_xComponent The document.
+ * @param nX The x-position of the shape.
+ * @param nY The y-position of the shape.
+ * @param nHeight The height of the shape.
+ * @param nWidth The width of the shape.
+ * @return The created XControlShape.
+ */
+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);
+
/** @brief Create a XControlShape
*
* @param r_xComponent The document.
@@ -34,7 +47,7 @@ namespace form
* @param nY The y-position of the shape.
* @param nHeight The height of the shape.
* @param nWidth The width of the shape.
- * @return The create XControlShape.
+ * @return The created XControlShape.
*/
css::uno::Reference<css::drawing::XControlShape> OOO_DLLPUBLIC_TEST createControlShape(
const css::uno::Reference<css::lang::XComponent>& r_xComponent, const OUString& r_aKind,