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_text_PrintSettings_idl__ 24#define __com_sun_star_text_PrintSettings_idl__ 25 26#ifndef __com_sun_star_text_NotePrintMode_idl__ 27#include <com/sun/star/text/NotePrintMode.idl> 28#endif 29 30 31//============================================================================= 32 33 module com { module sun { module star { module text { 34 35//============================================================================= 36 37// DocMerge from xml: service com::sun::star::text::PrintSettings 38/** These properties describe the printing of the content of a text document. 39 */ 40published service PrintSettings 41{ 42 //------------------------------------------------------------------------- 43 44 // DocMerge from xml: property com::sun::star::text::PrintSettings::PrintGraphics 45 /** determines if graphic objects are printed 46 */ 47 [property] boolean PrintGraphics; 48 49 //------------------------------------------------------------------------- 50 51 // DocMerge from xml: property com::sun::star::text::PrintSettings::PrintTables 52 /** determines if text tables are printed. 53 */ 54 [property] boolean PrintTables; 55 56 //------------------------------------------------------------------------- 57 58 // DocMerge from xml: property com::sun::star::text::PrintSettings::PrintDrawings 59 /** determines if shapes are printed. 60 */ 61 [property] boolean PrintDrawings; 62 63 //------------------------------------------------------------------------- 64 65 // DocMerge from xml: property com::sun::star::text::PrintSettings::PrintLeftPage 66 /** determines if left pages are printed. 67 */ 68 [property] boolean PrintLeftPages; 69 70 //------------------------------------------------------------------------- 71 72 // DocMerge from xml: property com::sun::star::text::PrintSettings::PrintRightPage 73 /** determines if right pages are printed. 74 */ 75 [property] boolean PrintRightPages; 76 77 //------------------------------------------------------------------------- 78 79 // DocMerge from xml: property com::sun::star::text::PrintSettings::PrintControls 80 /** determines if control shapes are printed. 81 */ 82 [property] boolean PrintControls; 83 84 //------------------------------------------------------------------------- 85 86 // DocMerge from xml: property com::sun::star::text::PrintSettings::PrintReverse 87 /** determines if the pages are printed in the reverse order, starting with the last page. 88 */ 89 [property] boolean PrintReversed; 90 91 //------------------------------------------------------------------------- 92 93 // DocMerge from xml: property com::sun::star::text::PrintSettings::PaperFromSetup 94 /** specifies if the printer paper tray selection of the system 95 printer is used. 96 97 98 99 <p>If <member scope="com::sun::star::view">PrintSettings::PaperFromSetup</member> is <FALSE/>, 100 then the paper tray selection of the page styles is used.</p> 101 */ 102 [property] boolean PrintPaperFromSetup; 103 104 //------------------------------------------------------------------------- 105 106 // DocMerge from xml: property com::sun::star::text::PrintSettings::FaxName 107 /** contains the name of the fax. 108 */ 109 [property] string PrintFaxName; 110 111 //------------------------------------------------------------------------- 112 113 // DocMerge from xml: property com::sun::star::text::PrintSettings::PrintNotes 114 /** determines how notes are printed.@see NotePrintMode 115 */ 116 [property] com::sun::star::text::NotePrintMode PrintAnnotationMode; 117 118 //------------------------------------------------------------------------- 119 120 // DocMerge from xml: property com::sun::star::text::PrintSettings::PrintProspect 121 /** determines if prospect printing is used. 122 */ 123 [property] boolean PrintProspect; 124 125 //------------------------------------------------------------------------- 126 127 // DocMerge from xml: property com::sun::star::text::PrintSettings::PrintBackground 128 /** determines if the background color / background graphic of pages is printed. 129 */ 130 [property] boolean PrintPageBackground; 131 132 //------------------------------------------------------------------------- 133 134 // DocMerge from xml: property com::sun::star::text::PrintSettings::PrintBlackFont 135 /** determines if characters are always printed in black. 136 */ 137 [property] boolean PrintBlackFonts; 138 139 //------------------------------------------------------------------------- 140 141 /** determines if automatically inserted empty pages are printed. 142 */ 143 [optional, property] boolean PrintEmptyPages; 144}; 145 146//============================================================================= 147 148}; }; }; }; 149 150#endif 151