1*d1766043SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*d1766043SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*d1766043SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*d1766043SAndrew Rist * distributed with this work for additional information
6*d1766043SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*d1766043SAndrew Rist * to you under the Apache License, Version 2.0 (the
8*d1766043SAndrew Rist * "License"); you may not use this file except in compliance
9*d1766043SAndrew Rist * with the License.  You may obtain a copy of the License at
10*d1766043SAndrew Rist *
11*d1766043SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*d1766043SAndrew Rist *
13*d1766043SAndrew Rist * Unless required by applicable law or agreed to in writing,
14*d1766043SAndrew Rist * software distributed under the License is distributed on an
15*d1766043SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*d1766043SAndrew Rist * KIND, either express or implied.  See the License for the
17*d1766043SAndrew Rist * specific language governing permissions and limitations
18*d1766043SAndrew Rist * under the License.
19*d1766043SAndrew Rist *
20*d1766043SAndrew Rist *************************************************************/
21*d1766043SAndrew Rist
22*d1766043SAndrew Rist
23cdf0e10cSrcweir#ifndef __com_sun_star_text_DocumentIndex_idl__
24cdf0e10cSrcweir#define __com_sun_star_text_DocumentIndex_idl__
25cdf0e10cSrcweir
26cdf0e10cSrcweir#ifndef _com_sun_star_container_XIndexReplace_idl__
27cdf0e10cSrcweir#include <com/sun/star/container/XIndexReplace.idl>
28cdf0e10cSrcweir#endif
29cdf0e10cSrcweir
30cdf0e10cSrcweir
31cdf0e10cSrcweir//=============================================================================
32cdf0e10cSrcweir
33cdf0e10cSrcweir module com {  module sun {  module star {  module text {
34cdf0e10cSrcweir
35cdf0e10cSrcweir//=============================================================================
36cdf0e10cSrcweir
37cdf0e10cSrcweir// DocMerge from xml: service com::sun::star::text::DocumentIndexLevelFormat
38cdf0e10cSrcweir/** This service provides access to the structure of the levels of document indexes.
39cdf0e10cSrcweir
40cdf0e10cSrcweir
41cdf0e10cSrcweir	<p>
42cdf0e10cSrcweir	The element type is Sequence&lt; PropertyValues &gt;. Each element in this sequence represents
43cdf0e10cSrcweir	a member of an index line. The following properties are part of such an element.
44cdf0e10cSrcweir	</p>
45cdf0e10cSrcweir	<ul>
46cdf0e10cSrcweir	<li>
47cdf0e10cSrcweir	<p>TokenType</p>
48cdf0e10cSrcweir	<p>Values:</p>
49cdf0e10cSrcweir	<ul>
50cdf0e10cSrcweir	<li>
51cdf0e10cSrcweir	<p>TokenEntryNumber - chapter number, used in content indexes
52cdf0e10cSrcweir	only</p>
53cdf0e10cSrcweir	</li>
54cdf0e10cSrcweir	<li>
55cdf0e10cSrcweir	<p>TokenEntryText  - text of the entry
56cdf0e10cSrcweir	</p>
57cdf0e10cSrcweir	</li>
58cdf0e10cSrcweir	<li>
59cdf0e10cSrcweir	<p>TokenTabStop - tab stop
60cdf0e10cSrcweir	</p>
61cdf0e10cSrcweir	</li>
62cdf0e10cSrcweir	<li>
63cdf0e10cSrcweir	<p>TokenText - user defined text
64cdf0e10cSrcweir	</p>
65cdf0e10cSrcweir	</li>
66cdf0e10cSrcweir	<li>
67cdf0e10cSrcweir	<p>TokenPageNumber - page number
68cdf0e10cSrcweir	</p>
69cdf0e10cSrcweir	</li>
70cdf0e10cSrcweir	<li>
71cdf0e10cSrcweir	<p>TokenChapterInfo - chapter info, in illustration indexes,
72cdf0e10cSrcweir	table indexes, user indexes, table of objects and alphabetical indexes
73cdf0e10cSrcweir	only</p>
74cdf0e10cSrcweir	</li>
75cdf0e10cSrcweir	<li>
76cdf0e10cSrcweir	<p>TokenHyperlinkStart - start of a hyperlink</p>
77cdf0e10cSrcweir	</li>
78cdf0e10cSrcweir	<li>
79cdf0e10cSrcweir	<p>TokenHyperlinkEnd - end of a hyperlink</p>
80cdf0e10cSrcweir	</li>
81cdf0e10cSrcweir	<li>
82cdf0e10cSrcweir	<p>TokenBibliographyDataField - bibliographic data field
83cdf0e10cSrcweir	</p>
84cdf0e10cSrcweir	</li>
85cdf0e10cSrcweir	</ul>
86cdf0e10cSrcweir	</li>
87cdf0e10cSrcweir	<li>
88cdf0e10cSrcweir	<p>CharacterStyleName</p>
89cdf0e10cSrcweir	<p>Name of the character style applied to the element. Invalid in tab stops.</p>
90cdf0e10cSrcweir	</li>
91cdf0e10cSrcweir	<li>
92cdf0e10cSrcweir	<p>TabStopRightAligned</p>
93cdf0e10cSrcweir	<p>Tab stop is right aligned. Only valid for tab stops.</p>
94cdf0e10cSrcweir	</li>
95cdf0e10cSrcweir	<li>
96cdf0e10cSrcweir	<p>TabStopPosition</p>
97cdf0e10cSrcweir	<p>Position of the tab stop. Only valid for tab stops.</p>
98cdf0e10cSrcweir	</li>
99cdf0e10cSrcweir	<li>
100cdf0e10cSrcweir	<p>TabStopFillCharacter</p>
101cdf0e10cSrcweir	<p>Fill character in tab stops. Only valid for tab stops.</p>
102cdf0e10cSrcweir	</li>
103cdf0e10cSrcweir	<li>
104cdf0e10cSrcweir	<p>WithTab</p>
105cdf0e10cSrcweir	<p>If true insert tab character.</p>
106cdf0e10cSrcweir	</li>
107cdf0e10cSrcweir	<li>
108cdf0e10cSrcweir	<p>Text</p>
109cdf0e10cSrcweir	<p>Text. Only valid in user defined text.</p>
110cdf0e10cSrcweir	</li>
111cdf0e10cSrcweir	<li>
112cdf0e10cSrcweir	<p>ChapterFormat</p>
113cdf0e10cSrcweir	<p>Valid in chapter info and entry number only. See <type>ChapterFormat</type>.</p>
114cdf0e10cSrcweir	<p>Other information.</p>
115cdf0e10cSrcweir	<ul>
116cdf0e10cSrcweir	<li>
117cdf0e10cSrcweir	<p>In chapter info only com.sun.star.text.ChapterFormat.NUMBER, com.sun.star.text.ChapterFormat.NAME, and
118cdf0e10cSrcweir	com.sun.star.text.ChapterFormat.NAME_NUMBER constants are allowed.</p>
119cdf0e10cSrcweir	</li>
120cdf0e10cSrcweir	<li>
121cdf0e10cSrcweir	<p>In entry number only com.sun.star.text.ChapterFormat.NUMBER and com.sun.star.text.ChapterFormat.DIGIT constants are allowed.</p>
122cdf0e10cSrcweir	</li>
123cdf0e10cSrcweir	</ul>
124cdf0e10cSrcweir	</li>
125cdf0e10cSrcweir	<li>
126cdf0e10cSrcweir	<p>ChapterLevel</p>
127cdf0e10cSrcweir	<p>Valid in chapter info and entry number only.  Denotes the level up to which
128cdf0e10cSrcweir    the chapter information is given. Values permitted 1 to 10 inclusive.</p>
129cdf0e10cSrcweir	</li>
130cdf0e10cSrcweir	</ul>
131cdf0e10cSrcweir */
132cdf0e10cSrcweirpublished service DocumentIndexLevelFormat
133cdf0e10cSrcweir{
134cdf0e10cSrcweir	// DocMerge: empty anyway
135cdf0e10cSrcweir	interface com::sun::star::container::XIndexReplace;
136cdf0e10cSrcweir
137cdf0e10cSrcweir	//-------------------------------------------------------------------------
138cdf0e10cSrcweir
139cdf0e10cSrcweir};
140cdf0e10cSrcweir
141cdf0e10cSrcweir//=============================================================================
142cdf0e10cSrcweir
143cdf0e10cSrcweir}; }; }; };
144cdf0e10cSrcweir
145cdf0e10cSrcweir#endif
146cdf0e10cSrcweir
147cdf0e10cSrcweir
148cdf0e10cSrcweir
149cdf0e10cSrcweir
150cdf0e10cSrcweir
151cdf0e10cSrcweir
152cdf0e10cSrcweir
153