Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / text / LineNumberingProperties.idl
blobfe15d0c7c4466bc22ada5c3c41250c24abec1539
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 .
19 #ifndef __com_sun_star_text_LineNumberingProperties_idl__
20 #define __com_sun_star_text_LineNumberingProperties_idl__
22 #include <com/sun/star/text/XLineNumberingProperties.idl>
25 module com { module sun { module star { module text {
27 /** provides access to the settings of the line numbering.
29 published service LineNumberingProperties
32 /** If `TRUE`, line numbering is used.
34 [property] boolean IsOn;
37 /** The name of the character style that is used for the line number.
39 [property] string CharStyleName;
42 /** If `TRUE`, empty lines are counted.
44 [property] boolean CountEmptyLines;
46 /** If `TRUE`, lines in frames are included in counting.
48 [property] boolean CountLinesInFrames;
50 /** specifies the distance between the line number and the start or
51 end of the text area.
53 [property] long Distance;
55 /** Line numbers are shown on every <var>Interval</var>th line.
57 [property] short Interval;
59 /** specifies the string that is used for the line separator.
61 [property] string SeparatorText;
63 /** The line separator is shown every <var>SeparatorInterval</var>th line.
65 [property] short SeparatorInterval;
67 /** specifies the position of the line number (constant LineNumberPositions
68 left/right/inside/outside).
70 [property] short NumberPosition;
72 /** specifies the type of the numbering.
74 [property] short NumberingType;
76 /** specifies if the line numbering should start from the
77 beginning at each page.
79 <p>If set to `FALSE` the line numbering will be continuous.</p>
81 @since OOo 2.0
83 [optional, property] boolean RestartAtEachPage;
88 }; }; }; };
90 #endif
92 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */