xref: /aoo42x/main/sw/inc/unosett.hxx (revision cdf0e10c)
1 /*************************************************************************
2  *
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  *
5  * Copyright 2000, 2010 Oracle and/or its affiliates.
6  *
7  * OpenOffice.org - a multi-platform office productivity suite
8  *
9  * This file is part of OpenOffice.org.
10  *
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.
14  *
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).
20  *
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.
25  *
26  ************************************************************************/
27 #ifndef _UNOSETT_HXX
28 #define _UNOSETT_HXX
29 
30 #include <swtypes.hxx>
31 #include <calbck.hxx>
32 #include <com/sun/star/text/XTextColumns.hpp>
33 #include <com/sun/star/lang/XServiceInfo.hpp>
34 #include <com/sun/star/lang/XUnoTunnel.hpp>
35 #include <com/sun/star/container/XIndexReplace.hpp>
36 #include <com/sun/star/beans/XPropertySet.hpp>
37 #include <com/sun/star/beans/PropertyValue.hpp>
38 #include <com/sun/star/container/XNamed.hpp>
39 #include <com/sun/star/lang/XUnoTunnel.hpp>
40 #include <cppuhelper/implbase2.hxx>
41 #include <cppuhelper/implbase4.hxx>
42 #include <cppuhelper/implbase5.hxx>
43 #include <tools/string.hxx>
44 #include <svl/itemprop.hxx>
45 
46 class SwDoc;
47 class SwFmtCol;
48 class SwDocShell;
49 class SwNumRule;
50 /******************************************************************************
51  *
52  ******************************************************************************/
53 /* -----------------04.05.98 12:28-------------------
54  *
55  * --------------------------------------------------*/
56 class SwXFootnoteProperties : public cppu::WeakAggImplHelper2
57 <
58 	::com::sun::star::beans::XPropertySet,
59 	::com::sun::star::lang::XServiceInfo
60 >
61 {
62 	SwDoc* 						pDoc;
63     const SfxItemPropertySet*   m_pPropertySet;
64 protected:
65 	virtual ~SwXFootnoteProperties();
66 public:
67 	SwXFootnoteProperties(SwDoc* pDoc);
68 
69 
70 	//XPropertySet
71     virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo(  ) throw(::com::sun::star::uno::RuntimeException);
72     virtual void SAL_CALL setPropertyValue( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Any& aValue ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
73     virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( const ::rtl::OUString& PropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
74     virtual void SAL_CALL addPropertyChangeListener( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& xListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
75     virtual void SAL_CALL removePropertyChangeListener( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& aListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
76     virtual void SAL_CALL addVetoableChangeListener( const ::rtl::OUString& PropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
77     virtual void SAL_CALL removeVetoableChangeListener( const ::rtl::OUString& PropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
78 
79 	//XServiceInfo
80 	virtual rtl::OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException );
81 	virtual sal_Bool SAL_CALL supportsService(const rtl::OUString& ServiceName) throw( ::com::sun::star::uno::RuntimeException );
82 	virtual ::com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException );
83 
84 	void			Invalidate() {pDoc = 0;}
85 };
86 
87 /* -----------------04.05.98 12:28-------------------
88  *
89  * --------------------------------------------------*/
90 class SwXEndnoteProperties : public cppu::WeakAggImplHelper2
91 <
92 	::com::sun::star::beans::XPropertySet,
93 	::com::sun::star::lang::XServiceInfo
94 >
95 {
96 	SwDoc* 						pDoc;
97     const SfxItemPropertySet*   m_pPropertySet;
98 protected:
99 	virtual ~SwXEndnoteProperties();
100 public:
101 	SwXEndnoteProperties(SwDoc* pDoc);
102 
103 
104 	//XPropertySet
105     virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo(  ) throw(::com::sun::star::uno::RuntimeException);
106     virtual void SAL_CALL setPropertyValue( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Any& aValue ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
107     virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( const ::rtl::OUString& PropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
108     virtual void SAL_CALL addPropertyChangeListener( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& xListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
109     virtual void SAL_CALL removePropertyChangeListener( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& aListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
110     virtual void SAL_CALL addVetoableChangeListener( const ::rtl::OUString& PropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
111     virtual void SAL_CALL removeVetoableChangeListener( const ::rtl::OUString& PropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
112 
113 	//XServiceInfo
114 	virtual rtl::OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException );
115 	virtual sal_Bool SAL_CALL supportsService(const rtl::OUString& ServiceName) throw( ::com::sun::star::uno::RuntimeException );
116 	virtual ::com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException );
117 
118 	void			Invalidate() {pDoc = 0;}
119 };
120 
121 /* -----------------04.05.98 12:28-------------------
122  *
123  * --------------------------------------------------*/
124 class SwXLineNumberingProperties : public cppu::WeakAggImplHelper2
125 <
126 	::com::sun::star::beans::XPropertySet,
127 	::com::sun::star::lang::XServiceInfo
128 >
129 {
130 	SwDoc* 						pDoc;
131     const SfxItemPropertySet*   m_pPropertySet;
132 protected:
133 	virtual ~SwXLineNumberingProperties();
134 public:
135 	SwXLineNumberingProperties(SwDoc* pDoc);
136 
137 
138 	//XPropertySet
139     virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo(  ) throw(::com::sun::star::uno::RuntimeException);
140     virtual void SAL_CALL setPropertyValue( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Any& aValue ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
141     virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( const ::rtl::OUString& PropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
142     virtual void SAL_CALL addPropertyChangeListener( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& xListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
143     virtual void SAL_CALL removePropertyChangeListener( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& aListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
144     virtual void SAL_CALL addVetoableChangeListener( const ::rtl::OUString& PropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
145     virtual void SAL_CALL removeVetoableChangeListener( const ::rtl::OUString& PropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
146 
147 	//XServiceInfo
148 	virtual rtl::OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException );
149 	virtual sal_Bool SAL_CALL supportsService(const rtl::OUString& ServiceName) throw( ::com::sun::star::uno::RuntimeException );
150 	virtual ::com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException );
151 
152 	void			Invalidate() {pDoc = 0;}
153 };
154 
155 /* -----------------25.05.98 08:21-------------------
156  *
157  * --------------------------------------------------*/
158 class SwXNumberingRules : public cppu::WeakAggImplHelper5
159 <
160 	::com::sun::star::container::XIndexReplace,
161 	::com::sun::star::lang::XUnoTunnel,
162 	::com::sun::star::beans::XPropertySet,
163 	::com::sun::star::container::XNamed,
164 	::com::sun::star::lang::XServiceInfo
165 >,
166 	public SwClient
167 {
168 	String 						sNewCharStyleNames[MAXLEVEL];
169 	String 						sNewBulletFontNames[MAXLEVEL];
170 	String 						sCreatedNumRuleName; //connects to a numbering in SwDoc
171 	SwDoc*						pDoc; // wird nur fuers anmelden gebraucht
172 	SwDocShell*					pDocShell; //nur, wenn als ChapterNumbering verwendet
173 	SwNumRule*					pNumRule;
174     const SfxItemPropertySet*   m_pPropertySet;
175 	sal_Bool					bOwnNumRuleCreated;
176 	static String				sInvalidStyle;
177 protected:
178 	virtual ~SwXNumberingRules();
179 
180 	//SwClient
181    virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew);
182 
183 public:
184 	SwXNumberingRules(SwDocShell& rDocSh);	// chapter numbering
185 	SwXNumberingRules(const SwNumRule& rRule); // NumRule for paragraphs, numbering styles
186 	SwXNumberingRules(SwDoc& rDoc); //create a new instance
187 
188 
189 	static const ::com::sun::star::uno::Sequence< sal_Int8 > & getUnoTunnelId();
190 
191 	virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException);
192 
193 
194 	//XIndexReplace
195     virtual void SAL_CALL replaceByIndex( sal_Int32 Index, const ::com::sun::star::uno::Any& Element ) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
196 
197 	//XIndexAccess
198     virtual sal_Int32 SAL_CALL getCount(  ) throw(::com::sun::star::uno::RuntimeException);
199 	virtual ::com::sun::star::uno::Any SAL_CALL getByIndex(sal_Int32 nIndex) throw( ::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException );
200 
201 	//XElementAccess
202     virtual ::com::sun::star::uno::Type SAL_CALL getElementType(  ) throw(::com::sun::star::uno::RuntimeException);
203     virtual sal_Bool SAL_CALL hasElements(  ) throw(::com::sun::star::uno::RuntimeException);
204 
205 	//XPropertySet
206     virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo(  ) throw(::com::sun::star::uno::RuntimeException);
207     virtual void SAL_CALL setPropertyValue( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Any& aValue ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
208     virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( const ::rtl::OUString& PropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
209     virtual void SAL_CALL addPropertyChangeListener( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& xListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
210     virtual void SAL_CALL removePropertyChangeListener( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& aListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
211     virtual void SAL_CALL addVetoableChangeListener( const ::rtl::OUString& PropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
212     virtual void SAL_CALL removeVetoableChangeListener( const ::rtl::OUString& PropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
213 
214 	//XNamed
215 	virtual rtl::OUString SAL_CALL getName(void) throw( ::com::sun::star::uno::RuntimeException );
216 	virtual void SAL_CALL setName(const rtl::OUString& Name_) throw( ::com::sun::star::uno::RuntimeException );
217 
218 	//XServiceInfo
219 	virtual rtl::OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException );
220 	virtual sal_Bool SAL_CALL supportsService(const rtl::OUString& ServiceName) throw( ::com::sun::star::uno::RuntimeException );
221 	virtual ::com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException );
222 
223     ::com::sun::star::uno::Sequence<
224 		::com::sun::star::beans::PropertyValue>
225 			GetNumberingRuleByIndex(const SwNumRule& rNumRule, sal_Int32 nIndex)const;
226     void	SetNumberingRuleByIndex(SwNumRule& rNumRule,
227 				const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue>& rProperties, sal_Int32 nIndex)
228 				throw( ::com::sun::star::uno::RuntimeException, ::com::sun::star::lang::IllegalArgumentException );
229 
230 	const String*			GetNewCharStyleNames() const {return sNewCharStyleNames;}
231 	const String*			GetBulletFontNames() const {return sNewBulletFontNames;}
232 	const SwNumRule*		GetNumRule() {return pNumRule;}
233 
234 	static const String&	GetInvalidStyle();
235 	void	Invalidate() 	{pDocShell = 0;}
236 	const String& 			GetCreatedNumRuleName() const{return sCreatedNumRuleName; }
237 };
238 /*-----------------12.02.98 08:27-------------------
239 
240 --------------------------------------------------*/
241 class SwXChapterNumbering : public SwXNumberingRules
242 {
243 protected:
244 	virtual ~SwXChapterNumbering();
245 public:
246 	SwXChapterNumbering(SwDocShell& rDocSh);
247 
248 
249 	void	Invalidate() {SwXNumberingRules::Invalidate();}
250 
251 	//XServiceInfo
252 	virtual rtl::OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException );
253 	virtual sal_Bool SAL_CALL supportsService(const rtl::OUString& ServiceName) throw( ::com::sun::star::uno::RuntimeException );
254 	virtual ::com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException );
255 
256 };
257 
258 /* -----------------27.05.98 15:44-------------------
259  *
260  * --------------------------------------------------*/
261 class SwXTextColumns : public cppu::WeakAggImplHelper4
262 <
263 
264 	::com::sun::star::lang::XUnoTunnel,
265 	::com::sun::star::beans::XPropertySet,
266 	::com::sun::star::text::XTextColumns,
267 	::com::sun::star::lang::XServiceInfo
268 >
269 {
270 	sal_Int32					nReference;
271 	::com::sun::star::uno::Sequence< ::com::sun::star::text::TextColumn>	aTextColumns;
272     sal_Bool                    bIsAutomaticWidth;
273     sal_Int32                   nAutoDistance;
274 
275     const SfxItemPropertySet*   m_pPropSet;
276 
277 	//separator line
278 	sal_Int32 					nSepLineWidth;
279 	sal_Int32 					nSepLineColor;
280 	sal_Int8  					nSepLineHeightRelative;
281 	sal_Int8					nSepLineVertAlign;//style::VerticalAlignment
282 	sal_Bool					bSepLineIsOn;
283 protected:
284 	virtual ~SwXTextColumns();
285 public:
286 	SwXTextColumns(sal_uInt16 nColCount);
287 	SwXTextColumns(const SwFmtCol& rFmtCol);
288 
289 
290 
291 	static const ::com::sun::star::uno::Sequence< sal_Int8 > & getUnoTunnelId();
292 
293 	//XUnoTunnel
294 	virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException);
295 
296 	//XTextColumns
297     virtual sal_Int32 SAL_CALL getReferenceValue(  ) throw(::com::sun::star::uno::RuntimeException);
298     virtual sal_Int16 SAL_CALL getColumnCount(  ) throw(::com::sun::star::uno::RuntimeException);
299     virtual void SAL_CALL setColumnCount( sal_Int16 nColumns ) throw(::com::sun::star::uno::RuntimeException);
300     virtual ::com::sun::star::uno::Sequence< ::com::sun::star::text::TextColumn > SAL_CALL getColumns(  ) throw(::com::sun::star::uno::RuntimeException);
301     virtual void SAL_CALL setColumns( const ::com::sun::star::uno::Sequence< ::com::sun::star::text::TextColumn >& Columns ) throw(::com::sun::star::uno::RuntimeException);
302 
303 	//XPropertySet
304     virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo(  ) throw(::com::sun::star::uno::RuntimeException);
305     virtual void SAL_CALL setPropertyValue( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Any& aValue ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
306     virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( const ::rtl::OUString& PropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
307     virtual void SAL_CALL addPropertyChangeListener( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& xListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
308     virtual void SAL_CALL removePropertyChangeListener( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& aListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
309     virtual void SAL_CALL addVetoableChangeListener( const ::rtl::OUString& PropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
310     virtual void SAL_CALL removeVetoableChangeListener( const ::rtl::OUString& PropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
311 
312 	//XServiceInfo
313 	virtual rtl::OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException );
314 	virtual sal_Bool SAL_CALL supportsService(const rtl::OUString& ServiceName) throw( ::com::sun::star::uno::RuntimeException );
315 	virtual ::com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException );
316 
317 	sal_Int32 	GetSepLineWidth() const {return nSepLineWidth;}
318 	sal_Int32 	GetSepLineColor() const {return 	nSepLineColor;}
319 	sal_Int8  	GetSepLineHeightRelative() const {return 	nSepLineHeightRelative;}
320 	sal_Int8	GetSepLineVertAlign() const {return 	nSepLineVertAlign;}
321 	sal_Bool	GetSepLineIsOn() const {return 	bSepLineIsOn;}
322 
323     sal_Bool    IsAutomaticWidth() const {return bIsAutomaticWidth;}
324 };
325 #endif
326 
327 
328