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
{
23 /** provides access to the settings of the line numbering.
25 published service LineNumberingProperties
28 /** If `TRUE`, line numbering is used.
30 [property
] boolean IsOn
;
33 /** The name of the character style that is used for the line number.
35 [property
] string CharStyleName
;
38 /** If `TRUE`, empty lines are counted.
40 [property
] boolean CountEmptyLines
;
42 /** If `TRUE`, lines in frames are included in counting.
44 [property
] boolean CountLinesInFrames
;
46 /** specifies the distance between the line number and the start or
49 [property
] long Distance
;
51 /** Line numbers are shown on every <var>Interval</var>th line.
53 [property
] short Interval
;
55 /** specifies the string that is used for the line separator.
57 [property
] string SeparatorText
;
59 /** The line separator is shown every <var>SeparatorInterval</var>th line.
61 [property
] short SeparatorInterval
;
63 /** specifies the position of the line number (constant LineNumberPositions
64 left/right/inside/outside).
66 [property
] short NumberPosition
;
68 /** specifies the type of the numbering.
70 [property
] short NumberingType
;
72 /** specifies if the line numbering should start from the
73 beginning at each page.
75 <p>If set to `FALSE` the line numbering will be continuous.</p>
79 [optional, property
] boolean RestartAtEachPage
;
86 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */