1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
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.
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).
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.
26 ************************************************************************/
27 #ifndef __com_sun_star_text_PrintPreviewSettings_idl__
28 #define __com_sun_star_text_PrintPreviewSettings_idl__
30 #ifndef __com_sun_star_text_NotePrintMode_idl__
31 #include
<com
/sun
/star
/text
/NotePrintMode.idl
>
35 //=============================================================================
37 module com
{ module sun
{ module star
{ module text
{
39 //=============================================================================
41 /** These properties describe the printing of the content of a text document.
43 published service PrintPreviewSettings
45 /** All properties have the property attribute 'maybevoid'
46 meaning: if none of them have been set, they all will return a void value, if any
47 one of them has been set, then none of them will be void any longer */
49 /** Size of the left margin */
50 [property
, maybevoid
] long PreviewPrintLeftMargin
;
52 /** Size of the right margin */
53 [property
, maybevoid
] long PreviewPrintRightMargin
;
55 /** Size of the top margin */
56 [property
, maybevoid
] long PreviewPrintTopMargin
;
58 /** Size of the bottom margin */
59 [property
, maybevoid
] long PreviewPrintBottomMargin
;
61 /** Size of the horizontal spacing */
62 [property
, maybevoid
] long PreviewPrintHorizontalSpacing
;
64 [property
, maybevoid
] long PreviewPrintVerticalSpacing
;
67 [property
, maybevoid
] byte PreviewPrintNumRows
;
69 /** Number of Columns */
70 [property
, maybevoid
] byte PreviewPrintNumColumns
;
72 /** If the format is landscape (if false then the format is portrait */
73 [property
, maybevoid
] boolean PreviewPrintLandscape
;
76 //=============================================================================