LibreOffice LibreOffice 25.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
25published 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: */
com
Definition: Ambiguous.idl:20
com::sun::star::text::LineNumberingProperties
provides access to the settings of the line numbering.
Definition: LineNumberingProperties.idl:26
com::sun::star::text::LineNumberingProperties::Interval
short Interval
Line numbers are shown on every Intervalth line.
Definition: LineNumberingProperties.idl:53
com::sun::star::text::LineNumberingProperties::CountLinesInFrames
boolean CountLinesInFrames
If TRUE, lines in frames are included in counting.
Definition: LineNumberingProperties.idl:44
com::sun::star::text::LineNumberingProperties::IsOn
boolean IsOn
If TRUE, line numbering is used.
Definition: LineNumberingProperties.idl:30
com::sun::star::text::LineNumberingProperties::Distance
long Distance
specifies the distance between the line number and the start or end of the text area.
Definition: LineNumberingProperties.idl:49
com::sun::star::text::LineNumberingProperties::SeparatorInterval
short SeparatorInterval
The line separator is shown every SeparatorIntervalth line.
Definition: LineNumberingProperties.idl:61
com::sun::star::text::LineNumberingProperties::SeparatorText
string SeparatorText
specifies the string that is used for the line separator.
Definition: LineNumberingProperties.idl:57
com::sun::star::text::LineNumberingProperties::NumberPosition
short NumberPosition
specifies the position of the line number (constant LineNumberPositions left/right/inside/outside).
Definition: LineNumberingProperties.idl:66
com::sun::star::text::LineNumberingProperties::RestartAtEachPage
boolean RestartAtEachPage
specifies if the line numbering should start from the beginning at each page.
Definition: LineNumberingProperties.idl:79
com::sun::star::text::LineNumberingProperties::CharStyleName
string CharStyleName
The name of the character style that is used for the line number.
Definition: LineNumberingProperties.idl:35
com::sun::star::text::LineNumberingProperties::NumberingType
short NumberingType
specifies the type of the numbering.
Definition: LineNumberingProperties.idl:70
com::sun::star::text::LineNumberingProperties::CountEmptyLines
boolean CountEmptyLines
If TRUE, empty lines are counted.
Definition: LineNumberingProperties.idl:40