1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23#ifndef __com_sun_star_presentation_DocumentSettings_idl__
24#define __com_sun_star_presentation_DocumentSettings_idl__
25
26#ifndef __com_sun_star_document_HeaderFooterSettings_idl__
27#include <com/sun/star/document/HeaderFooterSettings.idl>
28#endif
29
30#ifndef __com_sun_star_document_Settings_idl__
31#include <com/sun/star/document/Settings.idl>
32#endif
33
34//=============================================================================
35
36module com {  module sun {  module star {  module presentation {
37
38//=============================================================================
39
40/** describes properties that apply to the whole presentation document.
41 */
42published service DocumentSettings
43{
44    /** This service documents the common properties of an office document
45     */
46    service com::sun::star::document::Settings;
47
48    //-------------------------------------------------------------------------
49
50    /** This service configures the header and footer settings during print
51     */
52    [optional] service com::sun::star::document::HeaderFooterSettings;
53
54    //-------------------------------------------------------------------------
55
56    /** provides access to the properties.
57     */
58    interface com::sun::star::beans::XPropertySet;
59
60    //-------------------------------------------------------------------------
61
62    /** enables or disables the printing of the drawing pages
63     */
64    [optional, property] boolean IsPrintDrawing;
65
66    /** enables or disables the printing of the notes pages
67     */
68    [optional, property] boolean IsPrintNotes;
69
70    /** enables or disables the printing of the handout pages
71     */
72    [optional, property] boolean IsPrintHandout;
73
74    /** enables or disables the printing of the outline pages
75     */
76    [optional, property] boolean IsPrintOutline;
77
78    /** enables or disables the printing of draw pages that
79		are marked hidden
80     */
81    [optional, property] boolean IsPrintHiddenPages;
82
83    // Note: the following properties exist also in
84    // css::drawing::DocumentSettings
85
86    // ------------------------------------------------------------
87
88    /** enables or disables the fitting of the page to the printable
89		area during print
90     */
91    [optional, property] boolean IsPrintFitPage;
92
93    /** if this is true and the paper size for printing is larger than
94		the paper size of the printer than the content is tiled over
95		multiple pages.
96     */
97    [optional, property] boolean IsPrintTilePage;
98
99    /** is the number format used for page number fields
100     */
101    [optional, property] long PageNumberFormat;
102
103    /** If this is true, the distance between two paragraphs is
104		the sum of ParaTopMargin of the previous and ParaBottomMargin of
105		the next paragraph. If false, only the greater of the two is
106		chosen.
107     */
108    [optional, property] boolean ParagraphSummation;
109
110};
111
112//=============================================================================
113
114}; }; }; };
115
116#endif
117