LibreOffice Module test (master) 1
form.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9
10#ifndef INCLUDED_TEST_HELPER_FORM_HXX
11#define INCLUDED_TEST_HELPER_FORM_HXX
12
13#include <sal/config.h>
14
15#include <string_view>
16
17#include <com/sun/star/drawing/XControlShape.hpp>
18#include <com/sun/star/lang/XComponent.hpp>
19
20#include <com/sun/star/uno/Reference.hxx>
21
22#include <sal/types.h>
23#include <test/testdllapi.hxx>
24
25namespace apitest
26{
27namespace helper
28{
29namespace form
30{
40css::uno::Reference<css::drawing::XControlShape> OOO_DLLPUBLIC_TEST createCommandButton(
41 const css::uno::Reference<css::lang::XComponent>& r_xComponent, const sal_Int32 nX,
42 const sal_Int32 nY, const sal_Int32 nHeight, const sal_Int32 nWidth);
43
54css::uno::Reference<css::drawing::XControlShape> OOO_DLLPUBLIC_TEST createControlShape(
55 const css::uno::Reference<css::lang::XComponent>& r_xComponent, std::u16string_view r_aKind,
56 const sal_Int32 nX, const sal_Int32 nY, const sal_Int32 nHeight, const sal_Int32 nWidth);
57
58} // namespace form
59} // namespace helper
60} // namespace apitest
61
62#endif // INCLUDED_TEST_HELPER_FORM_HXX
63
64/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
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)
Definition: form.cxx:28
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)
Definition: form.cxx:35
#define OOO_DLLPUBLIC_TEST
Definition: testdllapi.hxx:28