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: DocumentIndexFormat.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_DocumentIndexFormat_idl__
31 #define __com_sun_star_text_DocumentIndexFormat_idl__
34 //=============================================================================
36 module com
{ module sun
{ module star
{ module text
{
38 //=============================================================================
39 /** specifies the formatting of document indexes.
42 the service was never implemented, none of it's properties do exist.
45 published service DocumentIndexFormat
47 //-------------------------------------------------------------------------
48 /** This property contains the name of the paragraph style that is
49 used for the index title.
52 [property
] string TitleStyle
;
54 //-------------------------------------------------------------------------
55 /** This property contains the name of the paragraph style that is
56 used for the separator. This entry is ignored for user indexes
60 [property
] string SeparatorStyle
;
62 //-------------------------------------------------------------------------
63 /** contains the number of levels in the document index.
65 [readonly, property
] short LevelCount
;
67 //-------------------------------------------------------------------------
68 /** This sequence contains the names of the paragraph styles that are
69 applied to the level corresponding to the position in the sequence.
71 [property
] sequence
<string> LevelStyles
;
73 //-------------------------------------------------------------------------
74 /** This method specifies whether the form supports hyperlinks.
76 [readonly, property
] boolean HasHyperlinks
;
78 //-------------------------------------------------------------------------
79 /** return an object that provides the service "com.sun.star.text.DocumentIndexLevelFormat"
80 @see com.sun.star.text.DocumentIndexLevelFormat
82 [property
] sequence
<string> LevelFormat
;
85 //=============================================================================