LibreOffice
LibreOffice 7.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#ifndef __com_sun_star_text_LineNumberingProperties_idl__
20#define __com_sun_star_text_LineNumberingProperties_idl__
21
23
24
25 module com { module sun { module star { module text {
26
29published service LineNumberingProperties
30{
31
34 [property] boolean IsOn;
35
36
39 [property] string CharStyleName;
40
41
44 [property] boolean CountEmptyLines;
45
48 [property] boolean CountLinesInFrames;
49
53 [property] long Distance;
54
57 [property] short Interval;
58
61 [property] string SeparatorText;
62
65 [property] short SeparatorInterval;
66
70 [property] short NumberPosition;
71
74 [property] short NumberingType;
75
83 [optional, property] boolean RestartAtEachPage;
84
85};
86
87
88}; }; }; };
89
90#endif
91
92/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Definition: Ambiguous.idl:22
provides access to the settings of the line numbering.
Definition: LineNumberingProperties.idl:30
short Interval
Line numbers are shown on every Intervalth line.
Definition: LineNumberingProperties.idl:57
boolean CountLinesInFrames
If TRUE, lines in frames are included in counting.
Definition: LineNumberingProperties.idl:48
boolean IsOn
If TRUE, line numbering is used.
Definition: LineNumberingProperties.idl:34
long Distance
specifies the distance between the line number and the start or end of the text area.
Definition: LineNumberingProperties.idl:53
short SeparatorInterval
The line separator is shown every SeparatorIntervalth line.
Definition: LineNumberingProperties.idl:65
string SeparatorText
specifies the string that is used for the line separator.
Definition: LineNumberingProperties.idl:61
short NumberPosition
specifies the position of the line number (constant LineNumberPositions left/right/inside/outside).
Definition: LineNumberingProperties.idl:70
boolean RestartAtEachPage
specifies if the line numbering should start from the beginning at each page.
Definition: LineNumberingProperties.idl:83
string CharStyleName
The name of the character style that is used for the line number.
Definition: LineNumberingProperties.idl:39
short NumberingType
specifies the type of the numbering.
Definition: LineNumberingProperties.idl:74
boolean CountEmptyLines
If TRUE, empty lines are counted.
Definition: LineNumberingProperties.idl:44