1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: LineNumberingSettings.idl,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __com_sun_star_text_LineNumberingSettings_idl__
31 #define __com_sun_star_text_LineNumberingSettings_idl__
34 //=============================================================================
36 module com
{ module sun
{ module star
{ module text
{
38 //=============================================================================
40 /** provides access to the settings of the line numbering.
43 Actually there never was an implementation for this service.
45 published service LineNumberingSettings
47 //-------------------------------------------------------------------------
49 /** If <TRUE/>, line numbering is used.
51 [property
] boolean On
;
53 //-------------------------------------------------------------------------
55 /** The name of the character style that is used for the line number.
57 [property
] string CharStyle
;
59 //-------------------------------------------------------------------------
61 /** If <TRUE/>, empty lines are counted.
63 [property
] boolean CountEmptyLines
;
65 //-------------------------------------------------------------------------
67 /** If <TRUE/>, lines in frames are included in counting.
69 [property
] boolean CountLinesInFrames
;
71 //-------------------------------------------------------------------------
73 /** specifies the distance between the line number and the start or
76 [property
] long Distance
;
78 //-------------------------------------------------------------------------
80 /** Line numbers are shown on every <var>LineInterval</var>th line.
82 [property
] short LineInterval
;
84 //-------------------------------------------------------------------------
86 /** specifies the symbol that is shown between the line numbers.
88 [property
] string LineSeparator
;
90 //-------------------------------------------------------------------------
92 /** The line separator is shown every <var>SeparatorLineDistance</var>th line.
94 [property
] short SeparatorLineDistance
;
96 //-------------------------------------------------------------------------
98 /** specifies the position of the line number
99 (constant <type scope="com::sun::star::style::">LineNumberPosition</type> - left/right/inside/outside).
101 [property
] short NumberPosition
;
103 //-------------------------------------------------------------------------
105 /** specifies the type of the numbering.
107 [property
] short NumberingType
;
111 //=============================================================================