LibreOffice Module test (master)
1
test
source
table
tablerow.cxx
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
#include <
test/table/tablerow.hxx
>
11
#include <
test/unoapi_property_testers.hxx
>
12
13
#include <com/sun/star/beans/XPropertySet.hpp>
14
15
using namespace
css;
16
17
namespace
apitest
18
{
19
void
TableRow::testTableRowProperties
()
20
{
21
uno::Reference<beans::XPropertySet> xPS(
init
(), uno::UNO_QUERY_THROW);
22
23
OUString
aPropName
;
24
25
aPropName
=
"Height"
;
26
testLongProperty
(xPS,
aPropName
);
27
28
aPropName
=
"OptimalHeight"
;
29
testBooleanProperty
(xPS,
aPropName
);
30
31
aPropName
=
"IsVisible"
;
32
testBooleanProperty
(xPS,
aPropName
);
33
34
aPropName
=
"IsStartOfNewPage"
;
35
testBooleanProperty
(xPS,
aPropName
);
36
}
37
38
}
// namespace apitest
39
40
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
apitest::TableRow::init
virtual css::uno::Reference< css::uno::XInterface > init()=0
apitest::TableRow::testTableRowProperties
void testTableRowProperties()
Definition:
tablerow.cxx:19
apitest
Definition:
xpropertyset.cxx:36
apitest::testLongProperty
void testLongProperty(uno::Reference< beans::XPropertySet > const &xPropertySet, const OUString &name, const sal_Int32 &nValue)
Definition:
unoapi_property_testers.cxx:110
apitest::testBooleanProperty
void testBooleanProperty(uno::Reference< beans::XPropertySet > const &xPropertySet, const OUString &name)
Definition:
unoapi_property_testers.cxx:19
aPropName
OUString aPropName
tablerow.hxx
unoapi_property_testers.hxx
Generated on Sun Jul 30 2023 04:27:11 for LibreOffice Module test (master) by
1.9.3