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 ************************************************************************/
27 #ifndef __com_sun_star_text_DocumentIndex_idl__
28 #define __com_sun_star_text_DocumentIndex_idl__
30 #ifndef _com_sun_star_container_XIndexReplace_idl__
31 #include
<com
/sun
/star
/container
/XIndexReplace.idl
>
35 //=============================================================================
37 module com
{ module sun
{ module star
{ module text
{
39 //=============================================================================
41 // DocMerge from xml: service com::sun::star::text::DocumentIndexLevelFormat
42 /** This service provides access to the structure of the levels of document indexes.
46 The element type is Sequence< PropertyValues >. Each element in this sequence represents
47 a member of an index line. The following properties are part of such an element.
55 <p>TokenEntryNumber - chapter number, used in content indexes
59 <p>TokenEntryText - text of the entry
63 <p>TokenTabStop - tab stop
67 <p>TokenText - user defined text
71 <p>TokenPageNumber - page number
75 <p>TokenChapterInfo - chapter info, in illustration indexes,
76 table indexes, user indexes, table of objects and alphabetical indexes
80 <p>TokenHyperlinkStart - start of a hyperlink</p>
83 <p>TokenHyperlinkEnd - end of a hyperlink</p>
86 <p>TokenBibliographyDataField - bibliographic data field
92 <p>CharacterStyleName</p>
93 <p>Name of the character style applied to the element. Invalid in tab stops.</p>
96 <p>TabStopRightAligned</p>
97 <p>Tab stop is right aligned. Only valid for tab stops.</p>
100 <p>TabStopPosition</p>
101 <p>Position of the tab stop. Only valid for tab stops.</p>
104 <p>TabStopFillCharacter</p>
105 <p>Fill character in tab stops. Only valid for tab stops.</p>
109 <p>If true insert tab character.</p>
113 <p>Text. Only valid in user defined text.</p>
117 <p>Valid in chapter info and entry number only. See <type>ChapterFormat</type>.</p>
118 <p>Other information.</p>
121 <p>In chapter info only com.sun.star.text.ChapterFormat.NUMBER, com.sun.star.text.ChapterFormat.NAME, and
122 com.sun.star.text.ChapterFormat.NAME_NUMBER constants are allowed.</p>
125 <p>In entry number only com.sun.star.text.ChapterFormat.NUMBER and com.sun.star.text.ChapterFormat.DIGIT constants are allowed.</p>
131 <p>Valid in chapter info and entry number only. Denotes the level up to which
132 the chapter information is given. Values permitted 1 to 10 inclusive.</p>
136 published service DocumentIndexLevelFormat
138 // DocMerge: empty anyway
139 interface com
::sun
::star
::container
::XIndexReplace
;
141 //-------------------------------------------------------------------------
145 //=============================================================================