1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: RenderOptions.idl,v $
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
>
37 //=============================================================================
39 module com
{ module sun
{ module star
{ module view
{
41 //=============================================================================
43 /** describes the options for Render jobs.
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.
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.
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
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,
107 [optional, property
] string PageRange
;
110 //=============================================================================