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: TextPageStyle.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 ************************************************************************/
31 #ifndef __com_sun_star_text_TextPageStyle_idl__
32 #define __com_sun_star_text_TextPageStyle_idl__
34 #ifndef __com_sun_star_util_Color_idl__
35 #include
<com
/sun
/star
/util
/Color.idl
>
38 #ifndef __com_sun_star_table_ShadowFormat_idl__
39 #include
<com
/sun
/star
/table
/ShadowFormat.idl
>
41 #ifndef __com_sun_star_table_BorderLine_idl__
42 #include
<com
/sun
/star
/table
/BorderLine.idl
>
44 #ifndef __com_sun_star_style_PageStyleLayout_idl__
45 #include
<com
/sun
/star
/style
/PageStyleLayout.idl
>
47 #ifndef __com_sun_star_style_GraphicLocation_idl__
48 #include
<com
/sun
/star
/style
/GraphicLocation.idl
>
50 #ifndef __com_sun_star_awt_Size_idl__
51 #include
<com
/sun
/star
/awt
/Size.idl
>
53 #ifndef __com_sun_star_text_XText_idl__
54 #include
<com
/sun
/star
/text
/XText.idl
>
56 #ifndef __com_sun_star_text_XTextColumns_idl__
57 #include
<com
/sun
/star
/text
/XTextColumns.idl
>
59 #ifndef __com_sun_star_container_XNameContainer_idl__
60 #include
<com
/sun
/star
/container
/XNameContainer.idl
>
63 //=============================================================================
65 module com
{ module sun
{ module star
{ module text
{
67 //=============================================================================
69 /** represents a page style for a text document.
71 <p>This service extends the service
72 <type scope="com::sun::star::style">PageStyle</type> with specific
73 properties for text documents.</p>
75 published service TextPageStyle
77 //-------------------------------------------------------------------------
79 /** determins whether the register mode is active on that page.
81 [property
] boolean RegisterModeActive
;
83 //-------------------------------------------------------------------------
85 /** contains the name of the paragraph style that is used as
86 reference of the register mode.
88 [property
] string RegisterParagraphStyle
;
90 //-------------------------------------------------------------------------
92 /** contains the column settings of the page.
94 [property
] com
::sun
::star
::text
::XTextColumns TextColumns
;
96 //-------------------------------------------------------------------------
98 /** contains the interface to the text of the header.
100 @see com::sun::star::text::Text
102 [property
] com
::sun
::star
::text
::XText HeaderText
;
104 //-------------------------------------------------------------------------
106 /** contains the interface to the text of the header of left pages.
108 @see com::sun::star::text::Text
110 [property
] com
::sun
::star
::text
::XText HeaderTextLeft
;
112 //-------------------------------------------------------------------------
114 /** contains the interface to the text of the header of right pages.
116 @see com::sun::star::text::Text
118 [property
] com
::sun
::star
::text
::XText HeaderTextRight
;
120 //-------------------------------------------------------------------------
122 /** contains the interface to the text of the footer.
124 @see com::sun::star::text::Text
126 [property
] com
::sun
::star
::text
::XText FooterText
;
128 //-------------------------------------------------------------------------
130 /** contains the interface to the text of the footer of a left page.
132 @see com::sun::star::text::Text
134 [property
] com
::sun
::star
::text
::XText FooterTextLeft
;
136 //-------------------------------------------------------------------------
138 /** contains the interface to the text of the footer of a right page.
140 @see com::sun::star::text::Text
142 [property
] com
::sun
::star
::text
::XText FooterTextRight
;
144 //-------------------------------------------------------------------------
146 /** contains the maximum height of the footnote area (in 1/100 mm).
148 <p>If set to zero, the height of the current page is used as limit.</p>
150 [property
] long FootnoteHeight
;
152 //-------------------------------------------------------------------------
154 /** contains the weight of the separator line between the text and
155 the footnote area (in 1/100 mm).
157 [property
] short FootnoteLineWeight
;
159 //-------------------------------------------------------------------------
161 /** contains the color of the separator line between the text and
164 [property
] com
::sun
::star
::util
::Color FootnoteLineColor
;
166 //-------------------------------------------------------------------------
168 /** contains the relative width of the separator line between the
169 text and the footnote area (in percent).
171 [property
] byte FootnoteLineRelativeWidth
;
173 //-------------------------------------------------------------------------
175 /** contains the adjustment of the separator line between the text
176 and the footnote area.
178 @see com::sun::star::text::HorizontalAdjust
180 [property
] short FootnoteLineAdjust
;
182 //-------------------------------------------------------------------------
184 /** contains the distance between the text and the separator line
185 between the text and the footnote area (in 1/100 mm).
187 [property
] long FootnoteLineTextDistance
;
189 //-------------------------------------------------------------------------
191 /** contains the distance between the footnote area and the separator
192 line between the text and the footnote area (in 1/100 mm).
194 [property
] long FootnoteLineDistance
;
198 //=============================================================================