1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
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/.
10 #include <com/sun/star/beans/XPropertySet.hpp>
12 #include <test/unoapi_property_testers.hxx>
13 #include <test/text/textdocumentindex.hxx>
17 TextDocumentIndex::~TextDocumentIndex() {}
19 void TextDocumentIndex::testDocumentIndexProperties()
21 css::uno::Reference
<css::beans::XPropertySet
> xDocumentIndex(init(), css::uno::UNO_QUERY_THROW
);
23 testBooleanProperty(xDocumentIndex
, "UseAlphabeticalSeparators");
24 testBooleanProperty(xDocumentIndex
, "UseKeyAsEntry");
25 testBooleanProperty(xDocumentIndex
, "UseCombinedEntries");
26 testBooleanProperty(xDocumentIndex
, "IsCaseSensitive");
27 testBooleanProperty(xDocumentIndex
, "UsePP");
28 testBooleanProperty(xDocumentIndex
, "UseDash");
29 testBooleanProperty(xDocumentIndex
, "UseUpperCase");
30 testStringOptionalProperty(xDocumentIndex
, "MainEntryCharacterStyleName");
31 // [readonly, property] sequence <com::sun::star::text::XDocumentIndexMark> DocumentIndexMarks;
32 // [property] com::sun::star::lang::Locale Locale;
33 testStringProperty(xDocumentIndex
, "SortAlgorithm", "Value");
36 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */