Branch data Line data Source code
1 : : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : : /*************************************************************************
3 : : *
4 : : * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 : : *
6 : : * Copyright 2000, 2010 Oracle and/or its affiliates.
7 : : *
8 : : * OpenOffice.org - a multi-platform office productivity suite
9 : : *
10 : : * This file is part of OpenOffice.org.
11 : : *
12 : : * OpenOffice.org is free software: you can redistribute it and/or modify
13 : : * it under the terms of the GNU Lesser General Public License version 3
14 : : * only, as published by the Free Software Foundation.
15 : : *
16 : : * OpenOffice.org is distributed in the hope that it will be useful,
17 : : * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 : : * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 : : * GNU Lesser General Public License version 3 for more details
20 : : * (a copy is included in the LICENSE file that accompanied this code).
21 : : *
22 : : * You should have received a copy of the GNU Lesser General Public License
23 : : * version 3 along with OpenOffice.org. If not, see
24 : : * <http://www.openoffice.org/license.html>
25 : : * for a copy of the LGPLv3 License.
26 : : *
27 : : ************************************************************************/
28 : : #ifndef _UNOSETT_HXX
29 : : #define _UNOSETT_HXX
30 : :
31 : : #include <swtypes.hxx>
32 : : #include <calbck.hxx>
33 : : #include <com/sun/star/text/XTextColumns.hpp>
34 : : #include <com/sun/star/lang/XServiceInfo.hpp>
35 : : #include <com/sun/star/lang/XUnoTunnel.hpp>
36 : : #include <com/sun/star/container/XIndexReplace.hpp>
37 : : #include <com/sun/star/beans/XPropertySet.hpp>
38 : : #include <com/sun/star/beans/PropertyValue.hpp>
39 : : #include <com/sun/star/container/XNamed.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 : : class SwXFootnoteProperties : public cppu::WeakAggImplHelper2
52 : : <
53 : : ::com::sun::star::beans::XPropertySet,
54 : : ::com::sun::star::lang::XServiceInfo
55 : : >
56 : : {
57 : : SwDoc* pDoc;
58 : : const SfxItemPropertySet* m_pPropertySet;
59 : : protected:
60 : : virtual ~SwXFootnoteProperties();
61 : : public:
62 : : SwXFootnoteProperties(SwDoc* pDoc);
63 : :
64 : :
65 : : //XPropertySet
66 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(::com::sun::star::uno::RuntimeException);
67 : : 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);
68 : : 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);
69 : : 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);
70 : : 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);
71 : : 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);
72 : : 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);
73 : :
74 : : //XServiceInfo
75 : : virtual rtl::OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException );
76 : : virtual sal_Bool SAL_CALL supportsService(const rtl::OUString& ServiceName) throw( ::com::sun::star::uno::RuntimeException );
77 : : virtual ::com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException );
78 : :
79 : 145 : void Invalidate() {pDoc = 0;}
80 : : };
81 : :
82 : : class SwXEndnoteProperties : public cppu::WeakAggImplHelper2
83 : : <
84 : : ::com::sun::star::beans::XPropertySet,
85 : : ::com::sun::star::lang::XServiceInfo
86 : : >
87 : : {
88 : : SwDoc* pDoc;
89 : : const SfxItemPropertySet* m_pPropertySet;
90 : : protected:
91 : : virtual ~SwXEndnoteProperties();
92 : : public:
93 : : SwXEndnoteProperties(SwDoc* pDoc);
94 : :
95 : :
96 : : //XPropertySet
97 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(::com::sun::star::uno::RuntimeException);
98 : : 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);
99 : : 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);
100 : : 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);
101 : : 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);
102 : : 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);
103 : : 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);
104 : :
105 : : //XServiceInfo
106 : : virtual rtl::OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException );
107 : : virtual sal_Bool SAL_CALL supportsService(const rtl::OUString& ServiceName) throw( ::com::sun::star::uno::RuntimeException );
108 : : virtual ::com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException );
109 : :
110 : 141 : void Invalidate() {pDoc = 0;}
111 : : };
112 : :
113 : : class SwXLineNumberingProperties : public cppu::WeakAggImplHelper2
114 : : <
115 : : ::com::sun::star::beans::XPropertySet,
116 : : ::com::sun::star::lang::XServiceInfo
117 : : >
118 : : {
119 : : SwDoc* pDoc;
120 : : const SfxItemPropertySet* m_pPropertySet;
121 : : protected:
122 : : virtual ~SwXLineNumberingProperties();
123 : : public:
124 : : SwXLineNumberingProperties(SwDoc* pDoc);
125 : :
126 : :
127 : : //XPropertySet
128 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(::com::sun::star::uno::RuntimeException);
129 : : 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);
130 : : 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);
131 : : 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);
132 : : 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);
133 : : 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);
134 : : 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);
135 : :
136 : : //XServiceInfo
137 : : virtual rtl::OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException );
138 : : virtual sal_Bool SAL_CALL supportsService(const rtl::OUString& ServiceName) throw( ::com::sun::star::uno::RuntimeException );
139 : : virtual ::com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException );
140 : :
141 : 61 : void Invalidate() {pDoc = 0;}
142 : : };
143 : :
144 : : class SwXNumberingRules : public cppu::WeakAggImplHelper5
145 : : <
146 : : ::com::sun::star::container::XIndexReplace,
147 : : ::com::sun::star::lang::XUnoTunnel,
148 : : ::com::sun::star::beans::XPropertySet,
149 : : ::com::sun::star::container::XNamed,
150 : : ::com::sun::star::lang::XServiceInfo
151 : : >,
152 : : public SwClient
153 : : {
154 : : String sNewCharStyleNames[MAXLEVEL];
155 : : String sNewBulletFontNames[MAXLEVEL];
156 : : String sCreatedNumRuleName; //connects to a numbering in SwDoc
157 : : SwDoc* pDoc;
158 : : SwDocShell* pDocShell; // Only if used as chapter numbering.
159 : : SwNumRule* pNumRule;
160 : : const SfxItemPropertySet* m_pPropertySet;
161 : : sal_Bool bOwnNumRuleCreated;
162 : : protected:
163 : : virtual ~SwXNumberingRules();
164 : :
165 : : //SwClient
166 : : virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew);
167 : :
168 : : public:
169 : : SwXNumberingRules(SwDocShell& rDocSh); // chapter numbering
170 : : SwXNumberingRules(const SwNumRule& rRule, SwDoc* doc = NULL); // NumRule for paragraphs, numbering styles
171 : : SwXNumberingRules(SwDoc& rDoc); //create a new instance
172 : :
173 : :
174 : : static const ::com::sun::star::uno::Sequence< sal_Int8 > & getUnoTunnelId();
175 : :
176 : : virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException);
177 : :
178 : :
179 : : //XIndexReplace
180 : : 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);
181 : :
182 : : //XIndexAccess
183 : : virtual sal_Int32 SAL_CALL getCount( ) throw(::com::sun::star::uno::RuntimeException);
184 : : 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 );
185 : :
186 : : //XElementAccess
187 : : virtual ::com::sun::star::uno::Type SAL_CALL getElementType( ) throw(::com::sun::star::uno::RuntimeException);
188 : : virtual sal_Bool SAL_CALL hasElements( ) throw(::com::sun::star::uno::RuntimeException);
189 : :
190 : : //XPropertySet
191 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(::com::sun::star::uno::RuntimeException);
192 : : 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);
193 : : 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);
194 : : 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);
195 : : 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);
196 : : 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);
197 : : 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);
198 : :
199 : : //XNamed
200 : : virtual rtl::OUString SAL_CALL getName(void) throw( ::com::sun::star::uno::RuntimeException );
201 : : virtual void SAL_CALL setName(const rtl::OUString& Name_) throw( ::com::sun::star::uno::RuntimeException );
202 : :
203 : : //XServiceInfo
204 : : virtual rtl::OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException );
205 : : virtual sal_Bool SAL_CALL supportsService(const rtl::OUString& ServiceName) throw( ::com::sun::star::uno::RuntimeException );
206 : : virtual ::com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException );
207 : :
208 : : ::com::sun::star::uno::Sequence<
209 : : ::com::sun::star::beans::PropertyValue>
210 : : GetNumberingRuleByIndex(const SwNumRule& rNumRule, sal_Int32 nIndex)const;
211 : : void SetNumberingRuleByIndex(SwNumRule& rNumRule,
212 : : const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue>& rProperties, sal_Int32 nIndex)
213 : : throw( ::com::sun::star::uno::RuntimeException, ::com::sun::star::lang::IllegalArgumentException );
214 : :
215 : 225 : const String* GetNewCharStyleNames() const {return sNewCharStyleNames;}
216 : 225 : const String* GetBulletFontNames() const {return sNewBulletFontNames;}
217 : 354 : const SwNumRule* GetNumRule() {return pNumRule;}
218 : :
219 : : static bool isInvalidStyle(const rtl::OUString &rName);
220 : 68 : void Invalidate() {pDocShell = 0;}
221 : 40 : const String& GetCreatedNumRuleName() const{return sCreatedNumRuleName; }
222 : : };
223 : :
224 : : class SwXChapterNumbering : public SwXNumberingRules
225 : : {
226 : : protected:
227 : : virtual ~SwXChapterNumbering();
228 : : public:
229 : : SwXChapterNumbering(SwDocShell& rDocSh);
230 : :
231 : :
232 : 68 : void Invalidate() {SwXNumberingRules::Invalidate();}
233 : :
234 : : //XServiceInfo
235 : : virtual rtl::OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException );
236 : : virtual sal_Bool SAL_CALL supportsService(const rtl::OUString& ServiceName) throw( ::com::sun::star::uno::RuntimeException );
237 : : virtual ::com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException );
238 : :
239 : : };
240 : :
241 : : class SwXTextColumns : public cppu::WeakAggImplHelper4
242 : : <
243 : :
244 : : ::com::sun::star::lang::XUnoTunnel,
245 : : ::com::sun::star::beans::XPropertySet,
246 : : ::com::sun::star::text::XTextColumns,
247 : : ::com::sun::star::lang::XServiceInfo
248 : : >
249 : : {
250 : : sal_Int32 nReference;
251 : : ::com::sun::star::uno::Sequence< ::com::sun::star::text::TextColumn> aTextColumns;
252 : : sal_Bool bIsAutomaticWidth;
253 : : sal_Int32 nAutoDistance;
254 : :
255 : : const SfxItemPropertySet* m_pPropSet;
256 : :
257 : : //separator line
258 : : sal_Int32 nSepLineWidth;
259 : : sal_Int32 nSepLineColor;
260 : : sal_Int8 nSepLineHeightRelative;
261 : : sal_Int8 nSepLineVertAlign;//style::VerticalAlignment
262 : : sal_Bool bSepLineIsOn;
263 : : sal_Int8 nSepLineStyle;
264 : :
265 : : protected:
266 : : virtual ~SwXTextColumns();
267 : : public:
268 : : SwXTextColumns(sal_uInt16 nColCount);
269 : : SwXTextColumns(const SwFmtCol& rFmtCol);
270 : :
271 : :
272 : :
273 : : static const ::com::sun::star::uno::Sequence< sal_Int8 > & getUnoTunnelId();
274 : :
275 : : //XUnoTunnel
276 : : virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException);
277 : :
278 : : //XTextColumns
279 : : virtual sal_Int32 SAL_CALL getReferenceValue( ) throw(::com::sun::star::uno::RuntimeException);
280 : : virtual sal_Int16 SAL_CALL getColumnCount( ) throw(::com::sun::star::uno::RuntimeException);
281 : : virtual void SAL_CALL setColumnCount( sal_Int16 nColumns ) throw(::com::sun::star::uno::RuntimeException);
282 : : virtual ::com::sun::star::uno::Sequence< ::com::sun::star::text::TextColumn > SAL_CALL getColumns( ) throw(::com::sun::star::uno::RuntimeException);
283 : : virtual void SAL_CALL setColumns( const ::com::sun::star::uno::Sequence< ::com::sun::star::text::TextColumn >& Columns ) throw(::com::sun::star::uno::RuntimeException);
284 : :
285 : : //XPropertySet
286 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(::com::sun::star::uno::RuntimeException);
287 : : 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);
288 : : 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);
289 : : 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);
290 : : 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);
291 : : 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);
292 : : 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);
293 : :
294 : : //XServiceInfo
295 : : virtual rtl::OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException );
296 : : virtual sal_Bool SAL_CALL supportsService(const rtl::OUString& ServiceName) throw( ::com::sun::star::uno::RuntimeException );
297 : : virtual ::com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException );
298 : :
299 : 82 : sal_Int32 GetSepLineWidth() const {return nSepLineWidth;}
300 : 82 : sal_Int32 GetSepLineColor() const {return nSepLineColor;}
301 : 82 : sal_Int8 GetSepLineHeightRelative() const {return nSepLineHeightRelative;}
302 : 0 : sal_Int8 GetSepLineVertAlign() const {return nSepLineVertAlign;}
303 : 82 : sal_Bool GetSepLineIsOn() const {return bSepLineIsOn;}
304 : 82 : sal_Int8 GetSepLineStyle() const {return nSepLineStyle;}
305 : :
306 : 82 : sal_Bool IsAutomaticWidth() const {return bIsAutomaticWidth;}
307 : : };
308 : : #endif
309 : :
310 : :
311 : : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|