LibreOffice
LibreOffice 7.3 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#ifndef __com_sun_star_drawing_DocumentSettings_idl__
20#define __com_sun_star_drawing_DocumentSettings_idl__
21
24
25
26module com { module sun { module star { module drawing {
27
28
31published service DocumentSettings
32{
34
38
39
43
44
48 [optional, property] short MeasureUnit;
49
52 [optional, property] long ScaleNumerator;
53
56 [optional, property] long ScaleDenominator;
57
58 // Note: the following properties exist also in
59 // css::presentation::DocumentSettings
60
61
65 [optional, property] boolean IsPrintFitPage;
66
71 [optional, property] boolean IsPrintTilePage;
72
79 [optional, property] long PageNumberFormat;
80
86 [optional, property] boolean ParagraphSummation;
87
88};
89
90
91}; }; }; };
92
93#endif
94
95/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
provides information about and access to the properties from an implementation.
Definition: XPropertySet.idl:64
Definition: Accessible.idl:22
describes properties that control the formatting of headers and footers for documents that do not all...
Definition: HeaderFooterSettings.idl:34
describes properties that apply to the whole document of any application.
Definition: Settings.idl:41
describes properties that apply to the whole drawing document.
Definition: DocumentSettings.idl:32
long PageNumberFormat
is the number format used for page number fields
Definition: DocumentSettings.idl:79
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:71
boolean ParagraphSummation
If this is true, the distance between two paragraphs is the sum of ParaBottomMargin of the previous a...
Definition: DocumentSettings.idl:86
long ScaleNumerator
is the numerator for the logical scale of the document
Definition: DocumentSettings.idl:52
short MeasureUnit
This is the default logical measure unit that is used for string formatting inside the document,...
Definition: DocumentSettings.idl:42
boolean IsPrintFitPage
enables or disables the fitting of the page to the printable area during print
Definition: DocumentSettings.idl:65
long ScaleDenominator
is the denominator for the logical scale of the document
Definition: DocumentSettings.idl:56