Update ooo320-m1
[ooovba.git] / offapi / com / sun / star / view / RenderOptions.idl
blob2a0ba58997396e35c846d0ed3ceea137c90d12b0
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: RenderOptions.idl,v $
10 * $Revision: 1.11 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __com_sun_star_view_RenderOptions_idl__
31 #define __com_sun_star_view_RenderOptions_idl__
33 #ifndef __com_sun_star_awt_XDevice_idl__
34 #include <com/sun/star/awt/XDevice.idl>
35 #endif
37 //=============================================================================
39 module com { module sun { module star { module view {
41 //=============================================================================
43 /** describes the options for Render jobs.
45 @since OOo 1.1.2
47 published service RenderOptions
49 //-------------------------------------------------------------------------
51 /** specifies the device the page should be rendered to
53 [property] com::sun::star::awt::XDevice RenderDevice;
55 //-------------------------------------------------------------------------
57 /** indicates that the current page is the first page to be exported.
59 <p>Hyperlinks, notes, and outlines cannot be exported on a per
60 page base. They have to be exported once *before* the first page
61 is exported. Therefore the IsFirstPage property has been introduced.
62 It is evaluated in the ::render function and indicates that the
63 current page is the first page to be exported.
64 </p>
66 @see XRenderable
68 [optional, property] boolean IsFirstPage;
69 //-------------------------------------------------------------------------
71 /** indicates that the current page is the last page to be exported.
73 <p>Hyperlinks from the EditEngine have to be exported once *after*
74 the last page has been processed. Therefore the IsLastPage property
75 has been introduced. It is evaluated in the ::render function and
76 indicates that the current page is the last page to be exported.
77 </p>
79 @see XRenderable
81 [optional, property] boolean IsLastPage;
82 //-------------------------------------------------------------------------
84 /** specifies if empty pages should be skipped.
86 <p>Tells the pdf export to skip empty pages. This flag also has
87 to be passed to the ::render function, in order to calculate to
88 correct page numbers during the export of hyperlinks, notes, and
89 outlines.
90 </p>
92 @see XRenderable
94 [optional, property] boolean IsSkipEmptyPages;
95 //-------------------------------------------------------------------------
97 /** specifies the page ranges to be rendered.
99 <p>Tells the pdf export to skip empty pages. This flag also has
100 to be passed to the ::render function, in order to calculate to
101 correct page numbers during the export of hyperlinks, notes,
102 and outlines.
103 </p>
105 @see XRenderable
107 [optional, property] string PageRange;
110 //=============================================================================
112 }; }; }; };
115 #endif