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 .
20 module com
{ module sun
{ module star
{ module style
{
22 /** These properties describe the numbering of a paragraph.
24 <p>NumberType determines the type of the numbering symbol.
25 Depending on this setting, some of the following values will be
28 published service NumberingLevel
30 /** specifies the type of numbering.@see NumberingType
32 [property
] short NumberingType
;
34 /** specifies the number of higher numbering levels that
35 are included in the representation of the current number.
37 [property
] short ParentNumbering
;
39 /** This prefix is inserted in front of the numbering symbol(s).
41 @deprecated as of LibreOffice 7.2, use ListFormat instead
43 [property
] string Prefix
;
45 /** This suffix is inserted after the numbering symbol(s).
47 @deprecated as of LibreOffice 7.2, use ListFormat instead
49 [property
] string Suffix
;
51 /** This is the name of the character style that is used for the symbol(s).
53 [property
] string CharStyleName
;
55 /** The bullet symbol with this code in the assigned font is used.
57 [property
] short BulletId
;
59 /** This is the name of the font that is used for the bullet.
61 [property
] string BulletFontName
;
63 /** This is the URL of a graphic file to use as a symbol.
65 @deprecated as of LibreOffice 6.1, use Graphic instead
67 Note the new behaviour since it this was deprecated:
68 This property can only be set and only external URLs are
69 supported (no more vnd.sun.star.GraphicObject scheme). When an
70 URL is set, then it will load the graphic and set the
71 GraphicBitmap property.
73 [property
] string GraphicURL
;
75 /** This specifies the start value for the numbering.
77 [property
] short StartWith
;
79 /** This is the graphic bitmap to use as a symbol.
81 @since LibreOffice 6.1
83 [optional, property
] com
::sun
::star
::awt
::XBitmap GraphicBitmap
;
85 /** Format string used to generate actual numbering.
87 It contains placeholders (like %1%, %2%, etc) where corresponding
88 level numberings are inserted.
90 This is more flexible way to provide multilevel numbering with
91 complex format string. This property is a replacement for
92 Prefix and Suffix: if ListFormat is provided, they are not used
95 Example: ListFormat "(%1% %2%.%3%)" can be resolved to numbering
96 in actual multilevel list like "(4 1.3)".
98 @since LibreOffice 7.2
100 [optional, property
] string ListFormat
;
102 /** Specifies if this level should use Arabic numbers for all levels
104 @since LibreOffice 24.2
106 [optional, property
] boolean IsLegal
;
112 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */