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 ************************************************************************/
28 #ifndef __com_sun_star_text_TextPageStyle_idl__
29 #define __com_sun_star_text_TextPageStyle_idl__
31 #ifndef __com_sun_star_util_Color_idl__
32 #include
<com
/sun
/star
/util
/Color.idl
>
35 #ifndef __com_sun_star_table_ShadowFormat_idl__
36 #include
<com
/sun
/star
/table
/ShadowFormat.idl
>
38 #ifndef __com_sun_star_table_BorderLine_idl__
39 #include
<com
/sun
/star
/table
/BorderLine.idl
>
41 #ifndef __com_sun_star_style_PageStyleLayout_idl__
42 #include
<com
/sun
/star
/style
/PageStyleLayout.idl
>
44 #ifndef __com_sun_star_style_GraphicLocation_idl__
45 #include
<com
/sun
/star
/style
/GraphicLocation.idl
>
47 #ifndef __com_sun_star_awt_Size_idl__
48 #include
<com
/sun
/star
/awt
/Size.idl
>
50 #ifndef __com_sun_star_text_XText_idl__
51 #include
<com
/sun
/star
/text
/XText.idl
>
53 #ifndef __com_sun_star_text_XTextColumns_idl__
54 #include
<com
/sun
/star
/text
/XTextColumns.idl
>
56 #ifndef __com_sun_star_container_XNameContainer_idl__
57 #include
<com
/sun
/star
/container
/XNameContainer.idl
>
60 //=============================================================================
62 module com
{ module sun
{ module star
{ module text
{
64 //=============================================================================
66 /** represents a page style for a text document.
68 <p>This service extends the service
69 <type scope="com::sun::star::style">PageStyle</type> with specific
70 properties for text documents.</p>
72 published service TextPageStyle
74 //-------------------------------------------------------------------------
76 /** determins whether the register mode is active on that page.
78 [property
] boolean RegisterModeActive
;
80 //-------------------------------------------------------------------------
82 /** contains the name of the paragraph style that is used as
83 reference of the register mode.
85 [property
] string RegisterParagraphStyle
;
87 //-------------------------------------------------------------------------
89 /** contains the column settings of the page.
91 [property
] com
::sun
::star
::text
::XTextColumns TextColumns
;
93 //-------------------------------------------------------------------------
95 /** contains the interface to the text of the header.
97 @see com::sun::star::text::Text
99 [property
] com
::sun
::star
::text
::XText HeaderText
;
101 //-------------------------------------------------------------------------
103 /** contains the interface to the text of the header of left pages.
105 @see com::sun::star::text::Text
107 [property
] com
::sun
::star
::text
::XText HeaderTextLeft
;
109 //-------------------------------------------------------------------------
111 /** contains the interface to the text of the header of right pages.
113 @see com::sun::star::text::Text
115 [property
] com
::sun
::star
::text
::XText HeaderTextRight
;
117 //-------------------------------------------------------------------------
119 /** contains the interface to the text of the footer.
121 @see com::sun::star::text::Text
123 [property
] com
::sun
::star
::text
::XText FooterText
;
125 //-------------------------------------------------------------------------
127 /** contains the interface to the text of the footer of a left page.
129 @see com::sun::star::text::Text
131 [property
] com
::sun
::star
::text
::XText FooterTextLeft
;
133 //-------------------------------------------------------------------------
135 /** contains the interface to the text of the footer of a right page.
137 @see com::sun::star::text::Text
139 [property
] com
::sun
::star
::text
::XText FooterTextRight
;
141 //-------------------------------------------------------------------------
143 /** contains the maximum height of the footnote area (in 1/100 mm).
145 <p>If set to zero, the height of the current page is used as limit.</p>
147 [property
] long FootnoteHeight
;
149 //-------------------------------------------------------------------------
151 /** contains the weight of the separator line between the text and
152 the footnote area (in 1/100 mm).
154 [property
] short FootnoteLineWeight
;
156 //-------------------------------------------------------------------------
158 /** contains the color of the separator line between the text and
161 [property
] com
::sun
::star
::util
::Color FootnoteLineColor
;
163 //-------------------------------------------------------------------------
165 /** contains the relative width of the separator line between the
166 text and the footnote area (in percent).
168 [property
] byte FootnoteLineRelativeWidth
;
170 //-------------------------------------------------------------------------
172 /** contains the adjustment of the separator line between the text
173 and the footnote area.
175 @see com::sun::star::text::HorizontalAdjust
177 [property
] short FootnoteLineAdjust
;
179 //-------------------------------------------------------------------------
181 /** contains the distance between the text and the separator line
182 between the text and the footnote area (in 1/100 mm).
184 [property
] long FootnoteLineTextDistance
;
186 //-------------------------------------------------------------------------
188 /** contains the distance between the footnote area and the separator
189 line between the text and the footnote area (in 1/100 mm).
191 [property
] long FootnoteLineDistance
;
195 //=============================================================================