LibreOffice LibreOffice 25.2 SDK API Reference

DocumentSettings.idl
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20
21module com { module sun { module star { module drawing {
22
23
26published service DocumentSettings
27{
28 service com::sun::star::document::Settings;
29
32 [optional] service com::sun::star::document::HeaderFooterSettings;
33
34
37 interface com::sun::star::beans::XPropertySet;
38
39
43 [optional, property] short MeasureUnit;
44
47 [optional, property] long ScaleNumerator;
48
51 [optional, property] long ScaleDenominator;
52
53 // Note: the following properties exist also in
54 // css::presentation::DocumentSettings
55
56
60 [optional, property] boolean IsPrintFitPage;
61
66 [optional, property] boolean IsPrintTilePage;
67
74 [optional, property] long PageNumberFormat;
75
81 [optional, property] boolean ParagraphSummation;
82
83};
84
85
86}; }; }; };
87
88/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::beans::XPropertySet
provides information about and access to the properties from an implementation.
Definition: XPropertySet.idl:46
com
Definition: Ambiguous.idl:20
com::sun::star::document::HeaderFooterSettings
describes properties that control the formatting of headers and footers for documents that do not all...
Definition: HeaderFooterSettings.idl:30
com::sun::star::document::Settings
describes properties that apply to the whole document of any application.
Definition: Settings.idl:36
com::sun::star::drawing::DocumentSettings
describes properties that apply to the whole drawing document.
Definition: DocumentSettings.idl:27
com::sun::star::drawing::DocumentSettings::PageNumberFormat
long PageNumberFormat
is the number format used for page number fields
Definition: DocumentSettings.idl:74
com::sun::star::drawing::DocumentSettings::IsPrintTilePage
boolean IsPrintTilePage
if this is true and the paper size for printing is larger than the paper size of the printer than the...
Definition: DocumentSettings.idl:66
com::sun::star::drawing::DocumentSettings::ParagraphSummation
boolean ParagraphSummation
If this is true, the distance between two paragraphs is the sum of ParaBottomMargin of the previous a...
Definition: DocumentSettings.idl:81
com::sun::star::drawing::DocumentSettings::ScaleNumerator
long ScaleNumerator
is the numerator for the logical scale of the document
Definition: DocumentSettings.idl:47
com::sun::star::drawing::DocumentSettings::MeasureUnit
short MeasureUnit
This is the default logical measure unit that is used for string formatting inside the document,...
Definition: DocumentSettings.idl:37
com::sun::star::drawing::DocumentSettings::IsPrintFitPage
boolean IsPrintFitPage
enables or disables the fitting of the page to the printable area during print
Definition: DocumentSettings.idl:60
com::sun::star::drawing::DocumentSettings::ScaleDenominator
long ScaleDenominator
is the denominator for the logical scale of the document
Definition: DocumentSettings.idl:51