1/************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 11 * OpenOffice.org is free software: you can redistribute it and/or modify 12 * it under the terms of the GNU Lesser General Public License version 3 13 * only, as published by the Free Software Foundation. 14 * 15 * OpenOffice.org is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Lesser General Public License version 3 for more details 19 * (a copy is included in the LICENSE file that accompanied this code). 20 * 21 * You should have received a copy of the GNU Lesser General Public License 22 * version 3 along with OpenOffice.org. If not, see 23 * <http://www.openoffice.org/license.html> 24 * for a copy of the LGPLv3 License. 25 * 26 ************************************************************************/ 27#ifndef __com_sun_star_presentation_DocumentSettings_idl__ 28#define __com_sun_star_presentation_DocumentSettings_idl__ 29 30#ifndef __com_sun_star_document_HeaderFooterSettings_idl__ 31#include <com/sun/star/document/HeaderFooterSettings.idl> 32#endif 33 34#ifndef __com_sun_star_document_Settings_idl__ 35#include <com/sun/star/document/Settings.idl> 36#endif 37 38//============================================================================= 39 40module com { module sun { module star { module presentation { 41 42//============================================================================= 43 44/** describes properties that apply to the whole presentation document. 45 */ 46published service DocumentSettings 47{ 48 /** This service documents the common properties of an office document 49 */ 50 service com::sun::star::document::Settings; 51 52 //------------------------------------------------------------------------- 53 54 /** This service configures the header and footer settings during print 55 */ 56 [optional] service com::sun::star::document::HeaderFooterSettings; 57 58 //------------------------------------------------------------------------- 59 60 /** provides access to the properties. 61 */ 62 interface com::sun::star::beans::XPropertySet; 63 64 //------------------------------------------------------------------------- 65 66 /** enables or disables the printing of the drawing pages 67 */ 68 [optional, property] boolean IsPrintDrawing; 69 70 /** enables or disables the printing of the notes pages 71 */ 72 [optional, property] boolean IsPrintNotes; 73 74 /** enables or disables the printing of the handout pages 75 */ 76 [optional, property] boolean IsPrintHandout; 77 78 /** enables or disables the printing of the outline pages 79 */ 80 [optional, property] boolean IsPrintOutline; 81 82 /** enables or disables the printing of draw pages that 83 are marked hidden 84 */ 85 [optional, property] boolean IsPrintHiddenPages; 86 87 // Note: the following properties exist also in 88 // css::drawing::DocumentSettings 89 90 // ------------------------------------------------------------ 91 92 /** enables or disables the fitting of the page to the printable 93 area during print 94 */ 95 [optional, property] boolean IsPrintFitPage; 96 97 /** if this is true and the paper size for printing is larger than 98 the paper size of the printer than the content is tiled over 99 multiple pages. 100 */ 101 [optional, property] boolean IsPrintTilePage; 102 103 /** is the number format used for page number fields 104 */ 105 [optional, property] long PageNumberFormat; 106 107 /** If this is true, the distance between two paragraphs is 108 the sum of ParaTopMargin of the previous and ParaBottomMargin of 109 the next paragraph. If false, only the greater of the two is 110 choosen. 111 */ 112 [optional, property] boolean ParagraphSummation; 113 114}; 115 116//============================================================================= 117 118}; }; }; }; 119 120#endif 121