LibreOffice Module test (master)  1
helper/shape.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_SHAPE_HXX
11 #define INCLUDED_TEST_HELPER_SHAPE_HXX
12 
13 #include <sal/config.h>
14 
15 #include <string_view>
16 
17 #include <sal/types.h>
18 #include <test/testdllapi.hxx>
19 
20 #include <com/sun/star/drawing/XShape.hpp>
21 #include <com/sun/star/lang/XComponent.hpp>
22 
23 #include <com/sun/star/uno/Reference.hxx>
24 
25 namespace apitest
26 {
27 namespace helper
28 {
29 namespace shape
30 {
40 css::uno::Reference<css::drawing::XShape>
41  OOO_DLLPUBLIC_TEST createEllipse(const css::uno::Reference<css::lang::XComponent>& r_xComponent,
42  const sal_Int32 nX, const sal_Int32 nY, const sal_Int32 nWidth,
43  const sal_Int32 nHeight);
44 
54 css::uno::Reference<css::drawing::XShape>
55  OOO_DLLPUBLIC_TEST createLine(const css::uno::Reference<css::lang::XComponent>& r_xComponent,
56  const sal_Int32 nX, const sal_Int32 nY, const sal_Int32 nWidth,
57  const sal_Int32 nHeight);
58 
68 css::uno::Reference<css::drawing::XShape> OOO_DLLPUBLIC_TEST
69 createRectangle(const css::uno::Reference<css::lang::XComponent>& r_xComponent, const sal_Int32 nX,
70  const sal_Int32 nY, const sal_Int32 nWidth, const sal_Int32 nHeight);
71 
82 css::uno::Reference<css::drawing::XShape> OOO_DLLPUBLIC_TEST createShape(
83  const css::uno::Reference<css::lang::XComponent>& r_xComponent, std::u16string_view r_aKind,
84  const sal_Int32 nX, const sal_Int32 nY, const sal_Int32 nWidth, const sal_Int32 nHeight);
85 
86 } // namespace shape
87 } // namespace helper
88 } // namespace apitest
89 
90 #endif // INCLUDED_TEST_HELPER_SHAPE_HXX
91 
92 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
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)
#define OOO_DLLPUBLIC_TEST
Definition: testdllapi.hxx:28