bump product version to 7.6.3.2-android
[LibreOffice.git] / test / source / text / textprintersettings.cxx
blobb28c652413e56333175a06cb31d04c19467c4501
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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/.
8 */
10 #include <com/sun/star/beans/XPropertySet.hpp>
12 #include <test/unoapi_property_testers.hxx>
13 #include <test/text/textprintersettings.hxx>
15 namespace apitest
17 TextPrinterSettings::~TextPrinterSettings() {}
18 void TextPrinterSettings::testPrinterSettingsProperties()
20 css::uno::Reference<css::beans::XPropertySet> xPrinterSettings(init(),
21 css::uno::UNO_QUERY_THROW);
23 testBooleanProperty(xPrinterSettings, "PrintGraphics");
24 testBooleanProperty(xPrinterSettings, "PrintTables");
25 testBooleanProperty(xPrinterSettings, "PrintDrawings");
26 testBooleanProperty(xPrinterSettings, "PrintLeftPages");
27 testBooleanProperty(xPrinterSettings, "PrintRightPages");
28 testBooleanProperty(xPrinterSettings, "PrintControls");
29 testBooleanProperty(xPrinterSettings, "PrintReversed");
30 testBooleanProperty(xPrinterSettings, "PrintControls");
31 testStringProperty(xPrinterSettings, "PrintFaxName", "FaxName");
32 testBooleanProperty(xPrinterSettings, "PrintProspect");
33 testBooleanProperty(xPrinterSettings, "PrintPageBackground");
34 testBooleanProperty(xPrinterSettings, "PrintBlackFonts");
35 testBooleanOptionalProperty(xPrinterSettings, "PrintEmptyPages");
37 } // end namespace apitest
39 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */