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_text_PrintPreviewSettings_idl__ 28#define __com_sun_star_text_PrintPreviewSettings_idl__ 29 30#ifndef __com_sun_star_text_NotePrintMode_idl__ 31#include <com/sun/star/text/NotePrintMode.idl> 32#endif 33 34 35//============================================================================= 36 37 module com { module sun { module star { module text { 38 39//============================================================================= 40 41/** These properties describe the printing of the content of a text document. 42 * 43 * @deprecated since OOo 3.3 44 */ 45published service PrintPreviewSettings 46{ 47 /** All properties have the property attribute 'maybevoid' 48 meaning: if none of them have been set, they all will return a void value, if any 49 one of them has been set, then none of them will be void any longer */ 50 51 /** Size of the left margin */ 52 [property, maybevoid] long PreviewPrintLeftMargin; 53 54 /** Size of the right margin */ 55 [property, maybevoid] long PreviewPrintRightMargin; 56 57 /** Size of the top margin */ 58 [property, maybevoid] long PreviewPrintTopMargin; 59 60 /** Size of the bottom margin */ 61 [property, maybevoid] long PreviewPrintBottomMargin; 62 63 /** Size of the horizontal spacing */ 64 [property, maybevoid] long PreviewPrintHorizontalSpacing; 65 66 [property, maybevoid] long PreviewPrintVerticalSpacing; 67 68 /** Number of Rows */ 69 [property, maybevoid] byte PreviewPrintNumRows; 70 71 /** Number of Columns */ 72 [property, maybevoid] byte PreviewPrintNumColumns; 73 74 /** If the format is landscape (if false then the format is portrait */ 75 [property, maybevoid] boolean PreviewPrintLandscape; 76}; 77 78//============================================================================= 79 80}; }; }; }; 81 82#endif 83