1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
29 #ifndef __com_sun_star_text_DocumentIndex_idl__
30 #define __com_sun_star_text_DocumentIndex_idl__
32 #include
<com
/sun
/star
/text
/BaseIndex.idl
>
33 #ifndef __com_sun_star_text_XDocumentIndexMark_idl__
34 #include
<com
/sun
/star
/text
/XDocumentIndexMark.idl
>
37 //=============================================================================
39 module com
{ module sun
{ module star
{ module text
{
41 //=============================================================================
43 /** specifies service of content indexes within a document.@see com::sun::star::text::BaseIndex
45 published service DocumentIndex
47 service com
::sun
::star
::text
::BaseIndex
;
49 /** determins if alphabetical separators are genererated.
51 [optional, property
] boolean UseAlphabeticalSeparators
;
53 /** determins if a index entry is generated for each primary/secondary key.
55 [optional, property
] boolean UseKeyAsEntry
;
57 /** determins if same entries on different pages are combined into one index entry.
59 [optional, property
] boolean UseCombinedEntries
;
61 /** determins if the similarity of index entries is checked case sensitively.
63 [optional, property
] boolean IsCaseSensitive
;
65 /** determins if following page numbers are displayed using a 'pp.'.
67 [optional, property
] boolean UsePP
;
69 /** determins if if following page numbers are displayed using a dash.
71 [optional, property
] boolean UseDash
;
73 /** determins if all entries start with a capital letter.
75 [optional, property
] boolean UseUpperCase
;
77 /** determins the name of the character style that is applied to the number
78 of a page where main index entry is located.
80 [optional, property
] string MainEntryCharacterStyleName
;
83 contains all index marks that are related to this index.
85 [readonly, property
] sequence
<com
::sun
::star
::text
::XDocumentIndexMark
> DocumentIndexMarks
;
87 //------------------------------------------------------------------------
88 /** contains the locale of the index.
90 [property
] com
::sun
::star
::lang
::Locale Locale
;
92 //------------------------------------------------------------------------
93 /** contains the name of the sort algorithm that is used to sort the entries.
95 [property
] string SortAlgorithm
;
98 //=============================================================================