Update ooo320-m1
[ooovba.git] / offapi / com / sun / star / text / DocumentIndex.idl
blobc426d8131bbb53647414fbaccdc9a9332a24caa9
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: DocumentIndex.idl,v $
10 * $Revision: 1.9 $
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 ************************************************************************/
32 #ifndef __com_sun_star_text_DocumentIndex_idl__
33 #define __com_sun_star_text_DocumentIndex_idl__
35 #include <com/sun/star/text/BaseIndex.idl>
36 #ifndef __com_sun_star_text_XDocumentIndexMark_idl__
37 #include <com/sun/star/text/XDocumentIndexMark.idl>
38 #endif
40 //=============================================================================
42 module com { module sun { module star { module text {
44 //=============================================================================
46 /** specifies service of content indexes within a document.@see com::sun::star::text::BaseIndex
48 published service DocumentIndex
50 service com::sun::star::text::BaseIndex;
52 /** determins if alphabetical separators are genererated.
54 [optional, property] boolean UseAlphabeticalSeparators;
56 /** determins if a index entry is generated for each primary/secondary key.
58 [optional, property] boolean UseKeyAsEntry;
60 /** determins if same entries on different pages are combined into one index entry.
62 [optional, property] boolean UseCombinedEntries;
64 /** determins if the similarity of index entries is checked case sensitively.
66 [optional, property] boolean IsCaseSensitive;
68 /** determins if following page numbers are displayed using a 'pp.'.
70 [optional, property] boolean UsePP;
72 /** determins if if following page numbers are displayed using a dash.
74 [optional, property] boolean UseDash;
76 /** determins if all entries start with a capital letter.
78 [optional, property] boolean UseUpperCase;
80 /** determins the name of the character style that is applied to the number
81 of a page where main index entry is located.
83 [optional, property] string MainEntryCharacterStyleName;
85 /**
86 contains all index marks that are related to this index.
88 [readonly, property] sequence <com::sun::star::text::XDocumentIndexMark> DocumentIndexMarks;
90 //------------------------------------------------------------------------
91 /** contains the locale of the index.
93 [property] com::sun::star::lang::Locale Locale;
95 //------------------------------------------------------------------------
96 /** contains the name of the sort algorithm that is used to sort the entries.
98 [property] string SortAlgorithm;
101 //=============================================================================
103 }; }; }; };
105 #endif