xref: /aoo42x/main/offapi/com/sun/star/text/BaseIndex.idl (revision cdf0e10c)
1*cdf0e10cSrcweir/*************************************************************************
2*cdf0e10cSrcweir *
3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir *
5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir *
7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir *
9*cdf0e10cSrcweir * This file is part of OpenOffice.org.
10*cdf0e10cSrcweir *
11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir * only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir *
15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir *
21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir * version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir * for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir *
26*cdf0e10cSrcweir ************************************************************************/
27*cdf0e10cSrcweir
28*cdf0e10cSrcweir
29*cdf0e10cSrcweir#ifndef __com_sun_star_text_BaseIndex_idl__
30*cdf0e10cSrcweir#define __com_sun_star_text_BaseIndex_idl__
31*cdf0e10cSrcweir
32*cdf0e10cSrcweir#ifndef __com_sun_star_util_Color_idl__
33*cdf0e10cSrcweir#include <com/sun/star/util/Color.idl>
34*cdf0e10cSrcweir#endif
35*cdf0e10cSrcweir
36*cdf0e10cSrcweir#ifndef __com_sun_star_text_XDocumentIndex_idl__
37*cdf0e10cSrcweir#include <com/sun/star/text/XDocumentIndex.idl>
38*cdf0e10cSrcweir#endif
39*cdf0e10cSrcweir#ifndef _com_sun_star_container_XIndexReplace_idl__
40*cdf0e10cSrcweir#include <com/sun/star/container/XIndexReplace.idl>
41*cdf0e10cSrcweir#endif
42*cdf0e10cSrcweir#ifndef _com_sun_star_text_XTextColumns_idl__
43*cdf0e10cSrcweir#include <com/sun/star/text/XTextColumns.idl>
44*cdf0e10cSrcweir#endif
45*cdf0e10cSrcweir#ifndef __com_sun_star_style_GraphicLocation_idl__
46*cdf0e10cSrcweir#include <com/sun/star/style/GraphicLocation.idl>
47*cdf0e10cSrcweir#endif
48*cdf0e10cSrcweir#ifndef __com_sun_star_lang_Locale_idl__
49*cdf0e10cSrcweir#include <com/sun/star/lang/Locale.idl>
50*cdf0e10cSrcweir#endif
51*cdf0e10cSrcweir#ifndef _com_sun_star_text_XTextSection_idl__
52*cdf0e10cSrcweir#include <com/sun/star/text/XTextSection.idl>
53*cdf0e10cSrcweir#endif
54*cdf0e10cSrcweir
55*cdf0e10cSrcweir
56*cdf0e10cSrcweir//=============================================================================
57*cdf0e10cSrcweir
58*cdf0e10cSrcweir module com {  module sun {  module star {  module text {
59*cdf0e10cSrcweir
60*cdf0e10cSrcweir//=============================================================================
61*cdf0e10cSrcweir
62*cdf0e10cSrcweir// DocMerge from xml: service com::sun::star::text::BaseIndex
63*cdf0e10cSrcweir/** specifies the basic service of different indexes within a document.@see com::sun::star::text::DocumentIndex
64*cdf0e10cSrcweir		@see com::sun::star::text::ContentIndex
65*cdf0e10cSrcweir		@see com::sun::star::text::UserDefinedIndex
66*cdf0e10cSrcweir		@see com::sun::star::text::IllustrationIndex
67*cdf0e10cSrcweir		@see com::sun::star::text::TableIndex
68*cdf0e10cSrcweir		@see com::sun::star::text::ObjectIndex
69*cdf0e10cSrcweir */
70*cdf0e10cSrcweirpublished service BaseIndex
71*cdf0e10cSrcweir{
72*cdf0e10cSrcweir	// DocMerge: empty anyway
73*cdf0e10cSrcweir	interface com::sun::star::text::XDocumentIndex;
74*cdf0e10cSrcweir
75*cdf0e10cSrcweir	//-------------------------------------------------------------------------
76*cdf0e10cSrcweir	/** contains the title of the index.*/
77*cdf0e10cSrcweir
78*cdf0e10cSrcweir	// DocMerge: empty anyway
79*cdf0e10cSrcweir	[property] string Title;
80*cdf0e10cSrcweir	/** determins if the index is protected.*/
81*cdf0e10cSrcweir
82*cdf0e10cSrcweir	// DocMerge: empty anyway
83*cdf0e10cSrcweir	[property] boolean IsProtected;
84*cdf0e10cSrcweir	/** contains the name of the paragraph style that is applied to the heading.*/
85*cdf0e10cSrcweir
86*cdf0e10cSrcweir	// DocMerge: empty anyway
87*cdf0e10cSrcweir	[property] string ParaStyleHeading;
88*cdf0e10cSrcweir	/** contains the name of the paragraph style that is applied to the 1st level.*/
89*cdf0e10cSrcweir
90*cdf0e10cSrcweir	// DocMerge: empty anyway
91*cdf0e10cSrcweir	[property] string ParaStyleLevel1;
92*cdf0e10cSrcweir	/** contains the name of the paragraph style that is applied to the 2nd level.*/
93*cdf0e10cSrcweir
94*cdf0e10cSrcweir	// DocMerge: empty anyway
95*cdf0e10cSrcweir	[optional, property] string ParaStyleLevel2;
96*cdf0e10cSrcweir	/** contains the name of the paragraph style that is applied to the 3rd level.*/
97*cdf0e10cSrcweir
98*cdf0e10cSrcweir	// DocMerge: empty anyway
99*cdf0e10cSrcweir	[optional, property] string ParaStyleLevel3;
100*cdf0e10cSrcweir	/** contains the name of the paragraph style that is applied to the 4th level.*/
101*cdf0e10cSrcweir
102*cdf0e10cSrcweir	// DocMerge: empty anyway
103*cdf0e10cSrcweir	[optional, property] string ParaStyleLevel4;
104*cdf0e10cSrcweir	/** contains the name of the paragraph style that is applied to the 5th level.*/
105*cdf0e10cSrcweir
106*cdf0e10cSrcweir	// DocMerge: empty anyway
107*cdf0e10cSrcweir	[optional, property] string ParaStyleLevel5;
108*cdf0e10cSrcweir	/** contains the name of the paragraph style that is applied to the 6th level.*/
109*cdf0e10cSrcweir
110*cdf0e10cSrcweir	// DocMerge: empty anyway
111*cdf0e10cSrcweir	[optional, property] string ParaStyleLevel6;
112*cdf0e10cSrcweir	/** contains the name of the paragraph style that is applied to the 7th level.*/
113*cdf0e10cSrcweir
114*cdf0e10cSrcweir	// DocMerge: empty anyway
115*cdf0e10cSrcweir	[optional, property] string ParaStyleLevel7;
116*cdf0e10cSrcweir	/** contains the name of the paragraph style that is applied to the 8th level.*/
117*cdf0e10cSrcweir
118*cdf0e10cSrcweir	// DocMerge: empty anyway
119*cdf0e10cSrcweir	[optional, property] string ParaStyleLevel8;
120*cdf0e10cSrcweir	/** contains the name of the paragraph style that is applied to the 9th level.*/
121*cdf0e10cSrcweir
122*cdf0e10cSrcweir	// DocMerge: empty anyway
123*cdf0e10cSrcweir	[optional, property] string ParaStyleLevel9;
124*cdf0e10cSrcweir	/** contains the name of the paragraph style that is applied to the 10th level.*/
125*cdf0e10cSrcweir
126*cdf0e10cSrcweir	// DocMerge: empty anyway
127*cdf0e10cSrcweir	[optional, property] string ParaStyleLevel10;
128*cdf0e10cSrcweir	/** contains the name of the paragraph style that is applied to the separator level.*/
129*cdf0e10cSrcweir
130*cdf0e10cSrcweir	// DocMerge: empty anyway
131*cdf0e10cSrcweir	[optional, property] string ParaStyleSeparator;
132*cdf0e10cSrcweir	/** contains the column interface.*/
133*cdf0e10cSrcweir
134*cdf0e10cSrcweir	// DocMerge: empty anyway
135*cdf0e10cSrcweir	[property] XTextColumns TextColumns;
136*cdf0e10cSrcweir	/** contains the URL of a graphic file that is displayed as background graphic*/
137*cdf0e10cSrcweir
138*cdf0e10cSrcweir	// DocMerge: empty anyway
139*cdf0e10cSrcweir	[property] string BackGraphicURL;
140*cdf0e10cSrcweir	/** contains the name of the filter of the graphic file that is
141*cdf0e10cSrcweir	 	displayed as background graphic*/
142*cdf0e10cSrcweir
143*cdf0e10cSrcweir	// DocMerge: empty anyway
144*cdf0e10cSrcweir	[property] string BackGraphicFilter;
145*cdf0e10cSrcweir
146*cdf0e10cSrcweir	// DocMerge from xml: property com::sun::star::text::BaseIndex::BackGraphicLocation
147*cdf0e10cSrcweir	/** determines the position of the background graphic.@see GraphicLocation
148*cdf0e10cSrcweir	 */
149*cdf0e10cSrcweir	[property] com::sun::star::style::GraphicLocation BackGraphicLocation;
150*cdf0e10cSrcweir
151*cdf0e10cSrcweir	// DocMerge from xml: property com::sun::star::text::BaseIndex::BackTransparent
152*cdf0e10cSrcweir	/** specifies the color of the background.
153*cdf0e10cSrcweir	 */
154*cdf0e10cSrcweir	[property] com::sun::star::util::Color BackColor;
155*cdf0e10cSrcweir
156*cdf0e10cSrcweir	/** If <TRUE/>, the background color value in "BackColor" is not visible.
157*cdf0e10cSrcweir	 */
158*cdf0e10cSrcweir	[property] boolean BackTransparent;
159*cdf0e10cSrcweir
160*cdf0e10cSrcweir	/** returns the interface of the level format of the index.
161*cdf0e10cSrcweir	 <p>
162*cdf0e10cSrcweir		The description of the format of the levels depends on the type of the document index.
163*cdf0e10cSrcweir	 </p>
164*cdf0e10cSrcweir	 @see DocumentIndexLevelFormat
165*cdf0e10cSrcweir	 */
166*cdf0e10cSrcweir	// DocMerge: empty anyway
167*cdf0e10cSrcweir	[optional, property] com::sun::star::container::XIndexReplace LevelFormat;
168*cdf0e10cSrcweir	/** determins if the content of the document index is created from the
169*cdf0e10cSrcweir	 	complete document content or from the current chapter only.
170*cdf0e10cSrcweir	 <p> It is not available in the bibliography</p>*/
171*cdf0e10cSrcweir	[optional, property] boolean CreateFromChapter;
172*cdf0e10cSrcweir    //------------------------------------------------------------------------
173*cdf0e10cSrcweir	/** the text section containing the content of the index */
174*cdf0e10cSrcweir	[property] com::sun::star::text::XTextSection ContentSection;
175*cdf0e10cSrcweir    //------------------------------------------------------------------------
176*cdf0e10cSrcweir    //------------------------------------------------------------------------
177*cdf0e10cSrcweir	/** the text section containing the header of the index */
178*cdf0e10cSrcweir	[property] com::sun::star::text::XTextSection HeaderSection;
179*cdf0e10cSrcweir    //------------------------------------------------------------------------
180*cdf0e10cSrcweir};
181*cdf0e10cSrcweir
182*cdf0e10cSrcweir//=============================================================================
183*cdf0e10cSrcweir
184*cdf0e10cSrcweir}; }; }; };
185*cdf0e10cSrcweir
186*cdf0e10cSrcweir#endif
187*cdf0e10cSrcweir
188*cdf0e10cSrcweir
189