1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
21 module com
{ module sun
{ module star
{ module text
{
24 /** represents a page style for a text document.
26 <p>This service extends the service
27 com::sun::star::style::PageStyle with specific
28 properties for text documents.</p>
30 published service TextPageStyle
33 /** determines whether the register mode is active on that page.
35 [property
] boolean RegisterModeActive
;
38 /** contains the name of the paragraph style that is used as
39 reference of the register mode.
41 [property
] string RegisterParagraphStyle
;
44 /** contains the column settings of the page.
46 [property
] com
::sun
::star
::text
::XTextColumns TextColumns
;
49 /** contains the interface to the text of the header.
51 @see com::sun::star::text::Text
53 [property
] com
::sun
::star
::text
::XText HeaderText
;
56 /** contains the interface to the text of the header of left pages.
58 @see com::sun::star::text::Text
60 [property
] com
::sun
::star
::text
::XText HeaderTextLeft
;
63 /** contains the interface to the text of the header of right pages.
65 @see com::sun::star::text::Text
67 [property
] com
::sun
::star
::text
::XText HeaderTextRight
;
70 /** contains the interface to the text of the header of first pages.
72 @see com::sun::star::text::Text
74 @since LibreOffice 4.0
76 [optional, property
] com
::sun
::star
::text
::XText HeaderTextFirst
;
79 /** contains the interface to the text of the footer.
81 @see com::sun::star::text::Text
83 [property
] com
::sun
::star
::text
::XText FooterText
;
86 /** contains the interface to the text of the footer of a left page.
88 @see com::sun::star::text::Text
90 [property
] com
::sun
::star
::text
::XText FooterTextLeft
;
93 /** contains the interface to the text of the footer of a right page.
95 @see com::sun::star::text::Text
97 [property
] com
::sun
::star
::text
::XText FooterTextRight
;
100 /** contains the interface to the text of the footer of a first page.
102 @see com::sun::star::text::Text
104 @since LibreOffice 4.0
106 [optional, property
] com
::sun
::star
::text
::XText FooterTextFirst
;
109 /** contains the maximum height of the footnote area (in 1/100 mm).
111 <p>If set to zero, the height of the current page is used as limit.</p>
113 [property
] long FootnoteHeight
;
116 /** contains the weight of the separator line between the text and
117 the footnote area (in 1/100 mm).
119 [property
] short FootnoteLineWeight
;
122 /** contains the color of the separator line between the text and
125 [property
] com
::sun
::star
::util
::Color FootnoteLineColor
;
128 /** contains the relative width of the separator line between the
129 text and the footnote area (in percent).
131 [property
] byte FootnoteLineRelativeWidth
;
134 /** contains the adjustment of the separator line between the text
135 and the footnote area.
137 @see com::sun::star::text::HorizontalAdjust
139 [property
] short FootnoteLineAdjust
;
142 /** contains the distance between the text and the separator line
143 between the text and the footnote area (in 1/100 mm).
145 [property
] long FootnoteLineTextDistance
;
148 /** contains the distance between the footnote area and the separator
149 line between the text and the footnote area (in 1/100 mm).
151 [property
] long FootnoteLineDistance
;
158 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */