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_drawing_DocumentSettings_idl__ 24#define __com_sun_star_drawing_DocumentSettings_idl__ 25 26#ifndef __com_sun_star_document_Settings_idl__ 27#include <com/sun/star/document/Settings.idl> 28#endif 29 30#ifndef __com_sun_star_document_HeaderFooterSettings_idl__ 31#include <com/sun/star/document/HeaderFooterSettings.idl> 32#endif 33 34//============================================================================= 35 36module com { module sun { module star { module drawing { 37 38//============================================================================= 39 40/** describes properties that apply to the whole drawing document. 41 */ 42published service DocumentSettings 43{ 44 service com::sun::star::document::Settings; 45 46 //------------------------------------------------------------------------- 47 /** This service configures the header and footer settings during print 48 */ 49 [optional] service com::sun::star::document::HeaderFooterSettings; 50 51 //------------------------------------------------------------------------- 52 53 /** provides access to the properties. 54 */ 55 interface com::sun::star::beans::XPropertySet; 56 57 //------------------------------------------------------------------------- 58 59 /** This is the default logical measure unit that is used for string 60 formatings inside the document, f.e. the measure text 61 */ 62 [optional, property] short MeasureUnit; 63 64 /** is the numerator for the logical scale of the document 65 */ 66 [optional, property] long ScaleNumerator; 67 68 /** is the denominator for the logical scale of the document 69 */ 70 [optional, property] long ScaleDenominator; 71 72 // Note: the following properties exist also in 73 // css::presentation::DocumentSettings 74 75 // ------------------------------------------------------------ 76 77 /** enables or disables the fitting of the page to the printable 78 area during print 79 */ 80 [optional, property] boolean IsPrintFitPage; 81 82 /** if this is true and the paper size for printing is larger than 83 the paper size of the printer than the content is tiled over 84 multiple pages. 85 */ 86 [optional, property] boolean IsPrintTilePage; 87 88 /** is the number format used for page number fields 89 */ 90 [optional, property] long PageNumberFormat; 91 92 /** If this is true, the distance between two paragraphs is 93 the sum of ParaTopMargin of the previous and ParaBottomMargin of 94 the next paragraph. If false, only the greater of the two is 95 choosen. 96 */ 97 [optional, property] boolean ParagraphSummation; 98 99}; 100 101//============================================================================= 102 103}; }; }; }; 104 105#endif 106