LibreOffice Module sw (master)  1
unosett.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 #ifndef INCLUDED_SW_INC_UNOSETT_HXX
20 #define INCLUDED_SW_INC_UNOSETT_HXX
21 
22 #include <sal/config.h>
23 
24 #include <string_view>
25 
26 #include "swtypes.hxx"
27 #include <com/sun/star/text/XTextColumns.hpp>
28 #include <com/sun/star/lang/XServiceInfo.hpp>
29 #include <com/sun/star/lang/XUnoTunnel.hpp>
30 #include <com/sun/star/container/XIndexReplace.hpp>
31 #include <com/sun/star/beans/XPropertySet.hpp>
32 #include <com/sun/star/container/XNamed.hpp>
33 #include <com/sun/star/style/VerticalAlignment.hpp>
34 #include <cppuhelper/implbase2.hxx>
35 #include <cppuhelper/implbase4.hxx>
36 #include <cppuhelper/implbase5.hxx>
37 #include <tools/color.hxx>
38 #include "unobaseclass.hxx"
39 
40 class SwDoc;
41 class SwFormatCol;
42 class SwDocShell;
43 class SwNumRule;
44 class SwNumFormat;
45 class SfxItemPropertySet;
46 namespace com::sun::star::beans { struct PropertyValue; }
47 
49 <
50  css::beans::XPropertySet,
51  css::lang::XServiceInfo
52 >
53 {
56 
57  virtual ~SwXFootnoteProperties() override;
58 public:
60 
61  //XPropertySet
62  virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
63  virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue ) override;
64  virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) override;
65  virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) override;
66  virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) override;
67  virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
68  virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
69 
70  //XServiceInfo
71  virtual OUString SAL_CALL getImplementationName() override;
72  virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
73  virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
74 
75  void Invalidate() {m_pDoc = nullptr;}
76 };
77 
79 <
80  css::beans::XPropertySet,
81  css::lang::XServiceInfo
82 >
83 {
86 
87  virtual ~SwXEndnoteProperties() override;
88 public:
90 
91  //XPropertySet
92  virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
93  virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue ) override;
94  virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) override;
95  virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) override;
96  virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) override;
97  virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
98  virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
99 
100  //XServiceInfo
101  virtual OUString SAL_CALL getImplementationName() override;
102  virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
103  virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
104 
105  void Invalidate() {m_pDoc = nullptr;}
106 };
107 
109 <
110  css::beans::XPropertySet,
111  css::lang::XServiceInfo
112 >
113 {
116 
117  virtual ~SwXLineNumberingProperties() override;
118 public:
120 
121  //XPropertySet
122  virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
123  virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue ) override;
124  virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) override;
125  virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) override;
126  virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) override;
127  virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
128  virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
129 
130  //XServiceInfo
131  virtual OUString SAL_CALL getImplementationName() override;
132  virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
133  virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
134 
135  void Invalidate() {m_pDoc = nullptr;}
136 };
137 
139 <
140  css::container::XIndexReplace,
141  css::lang::XUnoTunnel,
142  css::beans::XPropertySet,
143  css::container::XNamed,
144  css::lang::XServiceInfo
145 >
146 {
147 private:
148  class Impl;
150 
153  OUString m_sCreatedNumRuleName; //connects to a numbering in SwDoc
155  SwDocShell* m_pDocShell; // Only if used as chapter numbering.
159 protected:
160  virtual ~SwXNumberingRules() override;
161 
162 public:
163  SwXNumberingRules(SwDocShell& rDocSh); // chapter numbering
164  SwXNumberingRules(const SwNumRule& rRule, SwDoc* doc = nullptr); // NumRule for paragraphs, numbering styles
165  SwXNumberingRules(SwDoc& rDoc); //create a new instance
166 
167  static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId();
168 
169  virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) override;
170 
171  //XIndexReplace
172  virtual void SAL_CALL replaceByIndex( sal_Int32 Index, const css::uno::Any& Element ) override;
173 
174  //XIndexAccess
175  virtual sal_Int32 SAL_CALL getCount( ) override;
176  virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 nIndex) override;
177 
178  //XElementAccess
179  virtual css::uno::Type SAL_CALL getElementType( ) override;
180  virtual sal_Bool SAL_CALL hasElements( ) override;
181 
182  //XPropertySet
183  virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
184  virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue ) override;
185  virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) override;
186  virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) override;
187  virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) override;
188  virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
189  virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
190 
191  //XNamed
192  virtual OUString SAL_CALL getName() override;
193  virtual void SAL_CALL setName(const OUString& Name_) override;
194 
195  //XServiceInfo
196  virtual OUString SAL_CALL getImplementationName() override;
197  virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
198  virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
199 
200  css::uno::Sequence< css::beans::PropertyValue>
201  GetNumberingRuleByIndex(const SwNumRule& rNumRule, sal_Int32 nIndex)const;
204  void SetNumberingRuleByIndex(SwNumRule& rNumRule,
205  const css::uno::Sequence< css::beans::PropertyValue>& rProperties, sal_Int32 nIndex);
206 
207  const OUString* GetNewCharStyleNames() const {return m_sNewCharStyleNames;}
208  const OUString* GetBulletFontNames() const {return m_sNewBulletFontNames;}
209  const SwNumRule* GetNumRule() const {return m_pNumRule;}
210 
211  static bool isInvalidStyle(std::u16string_view rName);
212  void Invalidate() {m_pDocShell = nullptr;}
213  const OUString& GetCreatedNumRuleName() const {return m_sCreatedNumRuleName;}
214 
215  static css::uno::Sequence<css::beans::PropertyValue> GetPropertiesForNumFormat(
216  const SwNumFormat& rFormat, OUString const& rCharFormatName,
217  OUString const* pHeadingStyleName, OUString const & referer);
218  static void SetPropertiesToNumFormat(
219  SwNumFormat & aFormat,
220  OUString & rCharStyleName,
221  OUString *const pBulletFontName,
222  OUString *const pHeadingStyleName,
223  OUString *const pParagraphStyleName,
224  SwDoc *const pDoc,
225  css::uno::Sequence<css::beans::PropertyValue> const& rProperties);
226 
227 };
228 
230 {
231 
232  virtual ~SwXChapterNumbering() override;
233 public:
235 
237 
238  //XServiceInfo
239  virtual OUString SAL_CALL getImplementationName() override;
240  virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
241  virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
242 
243 };
244 
246 <
247 
248  css::lang::XUnoTunnel,
249  css::beans::XPropertySet,
250  css::text::XTextColumns,
251  css::lang::XServiceInfo
252 >
253 {
254  sal_Int32 m_nReference;
255  css::uno::Sequence< css::text::TextColumn> m_aTextColumns;
257  sal_Int32 m_nAutoDistance;
258 
260 
261  //separator line
262  sal_Int32 m_nSepLineWidth;
265  css::style::VerticalAlignment m_nSepLineVertAlign;
268 
269 
270  virtual ~SwXTextColumns() override;
271 public:
272  SwXTextColumns();
273  SwXTextColumns(const SwFormatCol& rFormatCol);
274 
275  static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId();
276 
277  //XUnoTunnel
278  virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) override;
279 
280  //XTextColumns
281  virtual sal_Int32 SAL_CALL getReferenceValue( ) override;
282  virtual sal_Int16 SAL_CALL getColumnCount( ) override;
283  virtual void SAL_CALL setColumnCount( sal_Int16 nColumns ) override;
284  virtual css::uno::Sequence< css::text::TextColumn > SAL_CALL getColumns( ) override;
285  virtual void SAL_CALL setColumns( const css::uno::Sequence< css::text::TextColumn >& Columns ) override;
286 
287  //XPropertySet
288  virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
289  virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue ) override;
290  virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) override;
291  virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) override;
292  virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) override;
293  virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
294  virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
295 
296  //XServiceInfo
297  virtual OUString SAL_CALL getImplementationName() override;
298  virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
299  virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
300 
301  sal_Int32 GetSepLineWidth() const {return m_nSepLineWidth;}
304  css::style::VerticalAlignment GetSepLineVertAlign() const {return m_nSepLineVertAlign;}
305  bool GetSepLineIsOn() const {return m_bSepLineIsOn;}
307 
308  bool IsAutomaticWidth() const {return m_bIsAutomaticWidth;}
309 };
310 #endif
311 
312 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
Definition: unosett.cxx:2415
Color m_nSepLineColor
Definition: unosett.hxx:263
SwXFootnoteProperties(SwDoc *pDoc)
Definition: unosett.cxx:288
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
Definition: unosett.cxx:780
sal_Int32 m_nReference
Definition: unosett.hxx:254
virtual OUString SAL_CALL getImplementationName() override
Definition: unosett.cxx:2163
virtual ~SwXTextColumns() override
Definition: unosett.cxx:2241
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
Definition: unosett.cxx:282
virtual OUString SAL_CALL getImplementationName() override
Definition: unosett.cxx:1042
Color GetSepLineColor() const
Definition: unosett.hxx:302
virtual void SAL_CALL setColumns(const css::uno::Sequence< css::text::TextColumn > &Columns) override
Definition: unosett.cxx:2284
virtual OUString SAL_CALL getImplementationName() override
Definition: unosett.cxx:272
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
Definition: unosett.cxx:425
signed char sal_Int8
css::style::VerticalAlignment GetSepLineVertAlign() const
Definition: unosett.hxx:304
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
Definition: unosett.cxx:900
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
Definition: unosett.cxx:2082
virtual ~SwXFootnoteProperties() override
Definition: unosett.cxx:294
Definition: doc.hxx:186
SwXEndnoteProperties(SwDoc *pDoc)
Definition: unosett.cxx:568
const SfxItemPropertySet * m_pPropertySet
Definition: unosett.hxx:115
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
Definition: unosett.cxx:1047
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
Definition: unosett.cxx:2149
sal_Int8 m_nSepLineStyle
Definition: unosett.hxx:267
sal_Int8 GetSepLineHeightRelative() const
Definition: unosett.hxx:303
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
Definition: unosett.cxx:2087
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
Definition: unosett.cxx:578
sal_Int32 m_nAutoDistance
Definition: unosett.hxx:257
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
Definition: unosett.cxx:2410
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: unosett.cxx:546
bool IsAutomaticWidth() const
Definition: unosett.hxx:308
virtual ~SwXNumberingRules() override
Definition: unosett.cxx:1113
virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 nIndex) override
Definition: unosett.cxx:1195
virtual sal_Int64 SAL_CALL getSomething(const css::uno::Sequence< sal_Int8 > &aIdentifier) override
Definition: unosett.cxx:1033
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
Definition: unosett.cxx:584
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: unosett.cxx:2092
bool m_bOwnNumRuleCreated
Definition: unosett.hxx:158
const SfxItemPropertySet * m_pPropertySet
Definition: unosett.hxx:85
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
Definition: unosett.cxx:986
const sal_uInt8 MAXLEVEL
Definition: swtypes.hxx:95
virtual void SAL_CALL replaceByIndex(sal_Int32 Index, const css::uno::Any &Element) override
Definition: unosett.cxx:1122
virtual void SAL_CALL setColumnCount(sal_Int16 nColumns) override
Definition: unosett.cxx:2257
void SetNumberingRuleByIndex(SwNumRule &rNumRule, const css::uno::Sequence< css::beans::PropertyValue > &rProperties, sal_Int32 nIndex)
Definition: unosett.cxx:1474
const OUString & GetCreatedNumRuleName() const
Definition: unosett.hxx:213
std::unique_ptr< T, UnoImplPtrDeleter< T > > UnoImplPtr
Smart pointer class ensuring that the pointed object is deleted with a locked SolarMutex.
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: unosett.cxx:1001
virtual ~SwXChapterNumbering() override
Definition: unosett.cxx:2159
css::style::VerticalAlignment m_nSepLineVertAlign
Definition: unosett.hxx:265
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
Definition: unosett.cxx:534
virtual sal_Int64 SAL_CALL getSomething(const css::uno::Sequence< sal_Int8 > &aIdentifier) override
Definition: unosett.cxx:2440
virtual void SAL_CALL setName(const OUString &Name_) override
Definition: unosett.cxx:2121
bool m_bIsAutomaticWidth
Definition: unosett.hxx:256
OUString m_sNewCharStyleNames[MAXLEVEL]
Definition: unosett.hxx:151
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
Definition: unosett.cxx:305
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
Definition: unosett.cxx:1974
OUString m_sNewBulletFontNames[MAXLEVEL]
Definition: unosett.hxx:152
const OUString * GetBulletFontNames() const
Definition: unosett.hxx:208
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: unosett.cxx:749
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: unosett.cxx:2425
const OUString * GetNewCharStyleNames() const
Definition: unosett.hxx:207
SwXChapterNumbering(SwDocShell &rDocSh)
Definition: unosett.cxx:2154
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
Definition: unosett.cxx:1052
virtual OUString SAL_CALL getName() override
Definition: unosett.cxx:2102
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
Definition: unosett.cxx:731
const SwNumRule * GetNumRule() const
Definition: unosett.hxx:209
unsigned char sal_Bool
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
Definition: unosett.cxx:528
virtual OUString SAL_CALL getImplementationName() override
Definition: unosett.cxx:754
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
Definition: unosett.cxx:562
virtual OUString SAL_CALL getImplementationName() override
Definition: unosett.cxx:552
static css::uno::Sequence< css::beans::PropertyValue > GetPropertiesForNumFormat(const SwNumFormat &rFormat, OUString const &rCharFormatName, OUString const *pHeadingStyleName, OUString const &referer)
Definition: unosett.cxx:1310
static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId()
Definition: unosett.cxx:1027
const SfxItemPropertySet * m_pPropSet
Definition: unosett.hxx:259
sal_Int32 GetSepLineWidth() const
Definition: unosett.hxx:301
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
Definition: unosett.cxx:2144
static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId()
Definition: unosett.cxx:2435
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: unosett.cxx:2097
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: unosett.cxx:743
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: unosett.cxx:996
virtual OUString SAL_CALL getImplementationName() override
Definition: unosett.cxx:2139
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
Definition: unosett.cxx:2300
const SfxItemPropertySet * m_pPropertySet
Definition: unosett.hxx:55
SwXLineNumberingProperties(SwDoc *pDoc)
Definition: unosett.cxx:770
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: unosett.cxx:2420
virtual sal_Int32 SAL_CALL getCount() override
Definition: unosett.cxx:1190
virtual sal_Int32 SAL_CALL getReferenceValue() override
Definition: unosett.cxx:2245
virtual css::uno::Sequence< css::text::TextColumn > SAL_CALL getColumns() override
Definition: unosett.cxx:2278
virtual css::uno::Type SAL_CALL getElementType() override
Definition: unosett.cxx:1223
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
Definition: unosett.cxx:1968
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
Definition: unosett.cxx:540
virtual sal_Bool SAL_CALL hasElements() override
Definition: unosett.cxx:1228
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
Definition: unosett.cxx:764
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
Definition: unosett.cxx:786
sal_Int8 GetSepLineStyle() const
Definition: unosett.hxx:306
const SfxItemPropertySet * m_pPropertySet
Definition: unosett.hxx:157
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
Definition: unosett.cxx:299
static void SetPropertiesToNumFormat(SwNumFormat &aFormat, OUString &rCharStyleName, OUString *const pBulletFontName, OUString *const pHeadingStyleName, OUString *const pParagraphStyleName, SwDoc *const pDoc, css::uno::Sequence< css::beans::PropertyValue > const &rProperties)
Definition: unosett.cxx:1530
css::uno::Sequence< css::text::TextColumn > m_aTextColumns
Definition: unosett.hxx:255
virtual ~SwXLineNumberingProperties() override
Definition: unosett.cxx:776
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
Definition: unosett.cxx:2173
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
Definition: unosett.cxx:658
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
Definition: unosett.cxx:2294
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
Definition: unosett.cxx:2168
virtual sal_Int16 SAL_CALL getColumnCount() override
Definition: unosett.cxx:2251
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
Definition: unosett.cxx:759
bool GetSepLineIsOn() const
Definition: unosett.hxx:305
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
Definition: unosett.cxx:2042
SwNumRule * m_pNumRule
Definition: unosett.hxx:156
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
Definition: unosett.cxx:277
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
Definition: unosett.cxx:2373
css::uno::Sequence< css::beans::PropertyValue > GetNumberingRuleByIndex(const SwNumRule &rNumRule, sal_Int32 nIndex) const
Definition: unosett.cxx:1247
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
Definition: unosett.cxx:991
bool m_bSepLineIsOn
Definition: unosett.hxx:266
static bool isInvalidStyle(std::u16string_view rName)
Definition: unosett.cxx:1017
::sw::UnoImplPtr< Impl > m_pImpl
Definition: unosett.hxx:148
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
Definition: unosett.cxx:737
SwXNumberingRules(SwDocShell &rDocSh)
Definition: unosett.cxx:1087
sal_Int8 m_nSepLineHeightRelative
Definition: unosett.hxx:264
struct _ADOIndex Index
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
Definition: unosett.cxx:557
sal_Int32 m_nSepLineWidth
Definition: unosett.hxx:262
SwDocShell * m_pDocShell
Definition: unosett.hxx:155
virtual ~SwXEndnoteProperties() override
Definition: unosett.cxx:574
OUString m_sCreatedNumRuleName
Definition: unosett.hxx:153