xref: /AOO41X/main/offapi/com/sun/star/view/PrintSettings.idl (revision d1766043198e81d0bcfc626e12893e7b4d7e31ca)
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_view_PrintSettings_idl__
24#define __com_sun_star_view_PrintSettings_idl__
25
26
27//=============================================================================
28
29module com {  module sun {  module star {  module view {
30
31//=============================================================================
32
33/** provides access to the settings for printing documents.
34
35    <p>These settings are printer independet but affect the rendering of
36    the document.
37 */
38published service PrintSettings
39{
40    //-------------------------------------------------------------------------
41    /** If <TRUE/>, all characters are printed in black.
42
43        <p>It is useful for printing colored text on a b/w printer.</p>
44     */
45    [property] boolean PrintBlackFonts;
46
47    //-------------------------------------------------------------------------
48    /** If <TRUE/>, control shapes are included in printing.
49     */
50    [property] boolean PrintControls;
51
52    //-------------------------------------------------------------------------
53    /** If <TRUE/>, drawing objects (shapes)  are included in printing.
54     */
55    [property] boolean PrintDrawings;
56
57    //-------------------------------------------------------------------------
58    /** If <TRUE/>, graphic objects are included in printing.
59     */
60    [property] boolean PrintGraphics;
61
62    //-------------------------------------------------------------------------
63    /** If <TRUE/>, left pages are included in printing.
64     */
65    [property] boolean PrintLeftPages;
66
67    //-------------------------------------------------------------------------
68    /** If <TRUE/>, right pages are included in printing.
69     */
70    [property] boolean PrintRightPages;
71
72    //-------------------------------------------------------------------------
73    /** If <TRUE/>, tables are included in printing.
74     */
75    [property] boolean PrintTables;
76
77    //-------------------------------------------------------------------------
78    /** If <TRUE/>, the pages are printed in reverse order.
79
80        <p>The last page is printed first.</p>
81     */
82    [property] boolean PrintReversed;
83
84    //-------------------------------------------------------------------------
85    /** If <TRUE/>, the pages are printed in the order of prospects.
86     */
87    [property] boolean PrintProspect;
88
89    //-------------------------------------------------------------------------
90    /** If <TRUE/>, the background of the page is printed.
91     */
92    [property] boolean PrintPageBackground;
93
94    //-------------------------------------------------------------------------
95    /** determines how annotations are printed.
96
97        @see NotePrintMode
98     */
99    [property] short PrintAnnotationMode;
100
101};
102
103//=============================================================================
104
105}; }; }; };
106
107#endif
108