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: DocumentIndexLevelFormat.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_DocumentIndex_idl__
31 #define __com_sun_star_text_DocumentIndex_idl__
33 #ifndef _com_sun_star_container_XIndexReplace_idl__
34 #include
<com
/sun
/star
/container
/XIndexReplace.idl
>
38 //=============================================================================
40 module com
{ module sun
{ module star
{ module text
{
42 //=============================================================================
44 // DocMerge from xml: service com::sun::star::text::DocumentIndexLevelFormat
45 /** This service provides access to the structure of the levels of document indexes.
49 The element type is Sequence< PropertyValues >. Each element in this sequence represents
50 a member of an index line. The following properties are part of such an element.
58 <p>TokenEntryNumber - chapter number, used in content indexes
62 <p>TokenEntryText - text of the entry
66 <p>TokenTabStop - tab stop
70 <p>TokenText - user defined text
74 <p>TokenPageNumber - page number
78 <p>TokenChapterInfo - chapter info, in illustration indexes,
79 table indexes, user indexes, table of objects and alphabetical indexes
83 <p>TokenHyperlinkStart - start of a hyperlink</p>
86 <p>TokenHyperlinkEnd - end of a hyperlink</p>
89 <p>TokenBibliographyDataField - bibliographic data field
95 <p>CharacterStyleName</p>
96 <p>Name of the character style applied to the element. Invalid in tab stops.</p>
99 <p>TabStopRightAligned</p>
100 <p>Tab stop is right aligned. Only valid for tab stops.</p>
103 <p>TabStopPosition</p>
104 <p>Position of the tab stop. Only valid for tab stops.</p>
107 <p>TabStopFillCharacter</p>
108 <p>Fill character in tab stops. Only valid for tab stops.</p>
112 <p>If true insert tab character.</p>
116 <p>Text. Only valid in user defined text.</p>
120 <p>Valid in chapter info and entry number only. See <type>ChapterFormat</type>.</p>
121 <p>Other information.</p>
124 <p>In chapter info only com.sun.star.text.ChapterFormat.NUMBER, com.sun.star.text.ChapterFormat.NAME, and
125 com.sun.star.text.ChapterFormat.NAME_NUMBER constants are allowed.</p>
128 <p>In entry number only com.sun.star.text.ChapterFormat.NUMBER and com.sun.star.text.ChapterFormat.DIGIT constants are allowed.</p>
134 <p>Valid in chapter info and entry number only. Denotes the level up to which
135 the chapter information is given. Values permitted 1 to 10 inclusive.</p>
139 published service DocumentIndexLevelFormat
141 // DocMerge: empty anyway
142 interface com
::sun
::star
::container
::XIndexReplace
;
144 //-------------------------------------------------------------------------
148 //=============================================================================