tdf#130857 qt weld: Support mail merge "Server Auth" dialog
[LibreOffice.git] / offapi / com / sun / star / style / PageProperties.idl
blob80586ac797250e6f1688c8c0bf31406f03803e47
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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 .
20 module com { module sun { module star { module style {
22 /** describes the style of pages.
24 published service PageProperties
26 /** contains the background color of the page.
28 [property] com::sun::star::util::Color BackColor;
30 /** contains the URL of the background graphic.
32 @deprecated as of LibreOffice 6.1 - use BackGraphic instead
34 Note the new behaviour since it this was deprecated:
35 This property can only be set and only external URLs are
36 supported (no more vnd.sun.star.GraphicObject scheme). When an
37 URL is set, then it will load the graphic and set the BackGraphic
38 property.
40 [property] string BackGraphicURL;
42 /** contains the filter name of the background graphic.
44 [property] string BackGraphicFilter;
46 /** determines the location of the background graphic.
48 [property] com::sun::star::style::GraphicLocation BackGraphicLocation;
50 /** determines if the background color is transparent.
52 <p>If this property is set to `TRUE`,
53 PageStyle::BackColor will not be used.</p>
55 [property] boolean BackTransparent;
57 /** determines the left margin of the page.
59 [property] long LeftMargin;
61 /** determines the right margin of the page.
63 [property] long RightMargin;
65 /** determines the top margin of the page.
67 [property] long TopMargin;
69 /** determines the bottom margin of the page.
71 [property] long BottomMargin;
73 /** determines the style of the left border line of the page.
75 [property] com::sun::star::table::BorderLine LeftBorder;
77 /** determines the style of the right border line of the page.
79 [property] com::sun::star::table::BorderLine RightBorder;
81 /** determines the style of the top border line of the page.
83 [property] com::sun::star::table::BorderLine TopBorder;
85 /** determines the style of the bottom border line of the page.
87 [property] com::sun::star::table::BorderLine BottomBorder;
89 /** determines the left border distance of the page.
91 [property] long LeftBorderDistance;
93 /** determines the right border distance of the page.
95 [property] long RightBorderDistance;
97 /** determines the top border distance of the page.
99 [property] long TopBorderDistance;
101 /** determines the bottom border distance of the page.
103 [property] long BottomBorderDistance;
105 /** determines the shadow of the page.
107 [property] com::sun::star::table::ShadowFormat ShadowFormat;
109 /** determines if the page format is landscape.
111 [property] boolean IsLandscape;
113 /** determines the default numbering type for this page.
115 [property] short NumberingType;
117 /** determines the layout of the page.
119 [property] com::sun::star::style::PageStyleLayout PageStyleLayout;
121 /** contains the name of a paper tray of the selected printer.
123 [property] string PrinterPaperTray;
125 /** determines if the register mode is active on that page.
127 [optional, property] boolean RegisterModeActive;
129 /** contains the name of the paragraph style that is used as reference of the register mode.
131 [optional, property] string RegisterParagraphStyle;
133 /** contains the paper size of the page.
135 [property] com::sun::star::awt::Size Size;
137 /** contains the width of the page.
139 [property] long Width;
141 /** contains the height of the page.
143 [property] long Height;
145 /** contains the column settings of the page.
147 [optional , property] com::sun::star::text::XTextColumns TextColumns;
149 /** contains user defined attributes.
151 @see com::sun::star::xml::AttributeContainer
153 [property] com::sun::star::container::XNameContainer UserDefinedAttributes;
155 /** contains the color of the background of the header.
157 [property, maybevoid] com::sun::star::util::Color HeaderBackColor;
159 /** contains the URL of the background graphic of the header.
161 @deprecated as of LibreOffice 6.1 - use HeaderBackGraphic instead
163 Note the new behaviour since it this was deprecated:
164 This property can only be set and only external URLs are
165 supported (no more vnd.sun.star.GraphicObject scheme). When an
166 URL is set, then it will load the graphic and set the HeaderBackGraphic
167 property.
169 [property, maybevoid] string HeaderBackGraphicURL;
171 /** contains the filter name of the background graphic of the header.
173 [property, maybevoid] string HeaderBackGraphicFilter;
175 /** determines the location of the background graphic of the header.
177 [property, maybevoid] com::sun::star::style::GraphicLocation HeaderBackGraphicLocation;
179 /** contains the left margin of the header.
181 [property, maybevoid] long HeaderLeftMargin;
183 /** contains the right margin of the header.
185 [property, maybevoid] long HeaderRightMargin;
187 /** determines if the background color of the header is transparent.
189 <p>If this property is set to `TRUE`,
190 PageStyle::HeaderBackColor will not be used.</p>
192 [property, maybevoid] boolean HeaderBackTransparent;
194 /** determines the style of the left border line of the header.
196 [property, maybevoid] com::sun::star::table::BorderLine HeaderLeftBorder;
198 /** determines the style of the right border line of the header.
200 [property, maybevoid] com::sun::star::table::BorderLine HeaderRightBorder;
202 /** determines the style of the top border line of the header.
204 [property, maybevoid] com::sun::star::table::BorderLine HeaderTopBorder;
206 /** determines the style of the bottom border line of the header.
208 [property, maybevoid] com::sun::star::table::BorderLine HeaderBottomBorder;
210 /** determines the left border distance of the header.
212 [property, maybevoid] long HeaderLeftBorderDistance;
214 /** determines the right border distance of the header.
216 [property, maybevoid] long HeaderRightBorderDistance;
218 /** determines the top border distance of the header.
220 [property, maybevoid] long HeaderTopBorderDistance;
222 /** determines the bottom border distance of the header.
224 [property, maybevoid] long HeaderBottomBorderDistance;
226 /** determines the shadow of the header.
228 [property, maybevoid] com::sun::star::table::ShadowFormat HeaderShadowFormat;
230 /** determines the distance between the header and the body text area.
232 [property, maybevoid] long HeaderBodyDistance;
234 /** determines if the header content on left and right pages is the same.
236 [property, maybevoid] boolean HeaderIsShared;
238 /** determines if the header/footer content on the first page and remaining pages is the same.
240 @since LibreOffice 4.0
242 [optional, property, maybevoid] boolean FirstIsShared;
244 /** contains the height of the header.
246 [property, maybevoid] long HeaderHeight;
248 /** determines if the height of the header depends on the content.
250 [property, maybevoid] boolean HeaderIsDynamicHeight;
252 /** determines if a header is used on the page.
254 [property] boolean HeaderIsOn;
256 /** contains the interface to the text of the header.
258 [optional, property, maybevoid] com::sun::star::text::XText HeaderText;
260 /** contains the interface to the text of the header of left pages.
262 [optional, property, maybevoid] com::sun::star::text::XText HeaderTextLeft;
264 /** contains the interface to the text of the header of right pages.
266 [optional, property, maybevoid] com::sun::star::text::XText HeaderTextRight;
268 /** contains the color of the background of the footer.
270 [property, maybevoid] com::sun::star::util::Color FooterBackColor;
272 /** contains the URL of the background graphic in the footer.
274 @deprecated as of LibreOffice 6.1 - use FooterBackGraphic
276 Note the new behaviour since it this was deprecated:
277 This property can only be set and only external URLs are
278 supported (no more vnd.sun.star.GraphicObject scheme). When an
279 URL is set, then it will load the graphic and set the FooterBackGraphic
280 property.
282 [property, maybevoid] string FooterBackGraphicURL;
284 /** contains the filter name of the background graphic in the footer.
286 [property, maybevoid] string FooterBackGraphicFilter;
288 /** determines the location of the background graphic in the footer.
290 [property, maybevoid] com::sun::star::style::GraphicLocation FooterBackGraphicLocation;
292 /** determines the left margin of the footer.
294 [property, maybevoid] long FooterLeftMargin;
296 /** determines the right margin of the footer.
298 [property, maybevoid] long FooterRightMargin;
300 /** determines if the background of the footer is transparent.
302 [property, maybevoid] boolean FooterBackTransparent;
304 /** contains the style of the left border line of the footer.
306 [property, maybevoid] com::sun::star::table::BorderLine FooterLeftBorder;
308 /** contains the style of the right border line of the footer.
310 [property, maybevoid] com::sun::star::table::BorderLine FooterRightBorder;
312 /** contains the style of the top border line of the footer.
314 [property, maybevoid] com::sun::star::table::BorderLine FooterTopBorder;
316 /** contains the style of the bottom border line of the footer.
318 [property, maybevoid] com::sun::star::table::BorderLine FooterBottomBorder;
320 /** contains the left border distance of the footer.
322 [property, maybevoid] long FooterLeftBorderDistance;
324 /** contains the right border distance of the footer.
326 [property, maybevoid] long FooterRightBorderDistance;
328 /** contains the top border distance of the footer.
330 [property, maybevoid] long FooterTopBorderDistance;
332 /** contains the bottom border distance of the footer.
334 [property, maybevoid] long FooterBottomBorderDistance;
336 /** determines the shadow of the footer.
338 [property, maybevoid] com::sun::star::table::ShadowFormat FooterShadowFormat;
340 /** determines the distance between the footer and the body text area.
342 [property, maybevoid] long FooterBodyDistance;
344 /** determines if the height of the footer depends on the content.
346 [property, maybevoid] boolean FooterIsDynamicHeight;
348 /** determines if the footer content on left and right pages is the same.
350 [property, maybevoid] boolean FooterIsShared;
352 /** determines the height of the footer.
354 [property, maybevoid] long FooterHeight;
356 /** determines if a footer is used on the page.
358 [property] boolean FooterIsOn;
360 /** contains the interface to the text of the footer.
362 [optional, property, maybevoid] com::sun::star::text::XText FooterText;
364 /** contains the interface to the text of the footer of a left page.
366 [optional, property, maybevoid] com::sun::star::text::XText FooterTextLeft;
368 /** contains the interface to the text of the footer of a right page.
370 [optional, property, maybevoid] com::sun::star::text::XText FooterTextRight;
372 /** contains the maximum height of the footnote area. If set to zero then the height
373 of the current page is used as limit.
375 [optional,property] long FootnoteHeight;
377 /** contains the weight of the separator line between the text and the footnote area.
379 [optional,property] short FootnoteLineWeight;
381 /** contains the style of the separator line between the text and the footnote area.
383 @see com::sun::star::style::FootnoteLineStyle
384 for the possible values.
386 [optional,property] short FootnoteLineStyle;
388 /** contains the color of the separator line between the text and the footnote area.
390 [optional,property] com::sun::star::util::Color FootnoteLineColor;
392 /** contains the relative width of the separator line between the text and the footnote area.
394 [optional,property] byte FootnoteLineRelativeWidth;
396 /** contains the adjustment of the separator line between the text and the footnote area.
397 <p>com::sun::star::text::HorizontalAdjusts.</p>
399 [optional,property] short FootnoteLineAdjust;
401 /** contains the distance between the text and the separator line between the
402 text and the footnote area.
404 [optional,property] long FootnoteLineTextDistance;
406 /** contains the distance between the footnote area and the separator line between
407 the text and the footnote area.
409 [optional,property] long FootnoteLineDistance;
411 /** contains the writing direction, as represented by the
412 com::sun::star::text::WritingMode2 constants */
413 [optional,property] short WritingMode;
415 /** contains the mode of the text grid (none, lines, ...), as
416 represented by com::sun::star::text::TextGridMode
417 constants */
418 [optional, property] short GridMode;
420 /** contains the display color of the text grid */
421 [optional, property] com::sun::star::util::Color GridColor;
423 /** contains the number of lines in the text grid */
424 [optional, property] short GridLines;
426 /** contains the height of the base text line inside the text grid */
427 [optional, property] long GridBaseHeight;
429 /** contains the height of the ruby text line inside the text grid */
430 [optional, property] long GridRubyHeight;
432 /** determines whether the text grid's ruby line is located below or
433 above the base line */
434 [optional, property] boolean GridRubyBelow;
436 /** determines whether the text grid lines are printed */
437 [optional, property] boolean GridPrint;
439 /** determines whether the text grid lines are visible or not */
440 [optional, property] boolean GridDisplay;
442 /** determines whether to use dynamic spacing in header or not. */
443 [optional, property, maybevoid] boolean HeaderDynamicSpacing;
445 /** determines whether to use dynamic spacing in footer or not. */
446 [optional, property, maybevoid] boolean FooterDynamicSpacing;
448 /** determines the distance of all borders of the page. */
449 [property] long BorderDistance;
451 /** contains the distance of all borders of the footer. */
452 [property, maybevoid] long FooterBorderDistance;
454 /** determines the distance of all borders of the header. */
455 [property, maybevoid] long HeaderBorderDistance;
457 /** contains the graphic of the background.
459 @since LibreOffice 6.1
461 [optional, property] com::sun::star::graphic::XGraphic BackGraphic;
463 /** contains the graphic of the background of the header.
465 @since LibreOffice 6.1
467 [optional, property, maybevoid] com::sun::star::graphic::XGraphic HeaderBackGraphic;
469 /** contains the graphic of the background of the footer.
471 @since LibreOffice 6.1
473 [optional, property, maybevoid] com::sun::star::graphic::XGraphic FooterBackGraphic;
475 /** determines the gutter margin of the page.
477 @since LibreOffice 7.2
479 [optional, property] long GutterMargin;
481 /** does the background cover the full page or only inside the
482 margins?
484 @since LibreOffice 7.2
486 [optional, property] boolean BackgroundFullSize;
488 /** specifies that the page gutter shall be placed on the right side of the page.
490 @since LibreOffice 7.2
492 [optional, property] boolean RtlGutter;
496 }; }; }; };
498 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */