LibreOffice
LibreOffice 24.2 SDK API Reference
LineNumberingProperties.idl
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
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/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
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 .
18  */
19 
20 
21  module com { module sun { module star { module text {
22 
25 published service LineNumberingProperties
26 {
27 
30  [property] boolean IsOn;
31 
32 
35  [property] string CharStyleName;
36 
37 
40  [property] boolean CountEmptyLines;
41 
44  [property] boolean CountLinesInFrames;
45 
49  [property] long Distance;
50 
53  [property] short Interval;
54 
57  [property] string SeparatorText;
58 
61  [property] short SeparatorInterval;
62 
66  [property] short NumberPosition;
67 
70  [property] short NumberingType;
71 
79  [optional, property] boolean RestartAtEachPage;
80 
81 };
82 
83 
84 }; }; }; };
85 
86 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
short Interval
Line numbers are shown on every Intervalth line.
Definition: LineNumberingProperties.idl:53
boolean RestartAtEachPage
specifies if the line numbering should start from the beginning at each page.
Definition: LineNumberingProperties.idl:79
boolean IsOn
If TRUE, line numbering is used.
Definition: LineNumberingProperties.idl:30
Definition: Ambiguous.idl:20
boolean CountLinesInFrames
If TRUE, lines in frames are included in counting.
Definition: LineNumberingProperties.idl:44
provides access to the settings of the line numbering.
Definition: LineNumberingProperties.idl:25
boolean CountEmptyLines
If TRUE, empty lines are counted.
Definition: LineNumberingProperties.idl:40
string CharStyleName
The name of the character style that is used for the line number.
Definition: LineNumberingProperties.idl:35
short SeparatorInterval
The line separator is shown every SeparatorIntervalth line.
Definition: LineNumberingProperties.idl:61
short NumberPosition
specifies the position of the line number (constant LineNumberPositions left/right/inside/outside).
Definition: LineNumberingProperties.idl:66
short NumberingType
specifies the type of the numbering.
Definition: LineNumberingProperties.idl:70
long Distance
specifies the distance between the line number and the start or end of the text area.
Definition: LineNumberingProperties.idl:49
string SeparatorText
specifies the string that is used for the line separator.
Definition: LineNumberingProperties.idl:57