LibreOffice Module sw (master)  1
modcfg.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_MODCFG_HXX
20 #define INCLUDED_SW_INC_MODCFG_HXX
21 
22 #include <unotools/configitem.hxx>
23 #include "swdllapi.h"
24 #include "authratr.hxx"
25 #include "SwCapObjType.hxx"
26 #include "tblenum.hxx"
27 #include "itabenum.hxx"
28 #include <tools/globname.hxx>
29 #include <o3tl/typed_flags_set.hxx>
30 
31 #include <vector>
32 #include <memory>
33 
34 class InsCaptionOpt;
35 
36 // text format for the sending of messages ------------------------------
37 enum class MailTextFormats
38 {
39  NONE = 0x00,
40  HTML = 0x01,
41  RTF = 0x02,
42  OFFICE = 0x04
43 };
44 namespace o3tl
45 {
46  template<> struct typed_flags<MailTextFormats> : is_typed_flags<MailTextFormats, 0x07> {};
47 }
48 
49 
51 {
52 private:
53  typedef std::vector<std::unique_ptr<InsCaptionOpt>> InsCapOptArr;
54  InsCapOptArr m_InsCapOptArr;
55 public:
56  InsCaptionOpt* Find(const SwCapObjType eType, const SvGlobalName *pOleId = nullptr);
57  void Insert(InsCaptionOpt* pObj);
58 };
59 
60 class SAL_DLLPUBLIC_RTTI SwRevisionConfig : public utl::ConfigItem
61 {
62  friend class SwModuleOptions;
63 
64  AuthorCharAttr m_aInsertAttr; //Revision/TextDisplay/Insert/Attribute // Redlining: author character attributes
65  //Revision/TextDisplay/Insert/Color
66  AuthorCharAttr m_aDeletedAttr; //Revision/TextDisplay/Delete/Attribute
67  //Revision/TextDisplay/Delete/Color
68  AuthorCharAttr m_aFormatAttr; //Revision/TextDisplay/ChangeAttribute/Attribute
69  //Revision/TextDisplay/ChangeAttribute/Color
70  sal_uInt16 m_nMarkAlign; //Revision/LinesChanged/Mark
71  Color m_aMarkColor; //Revision/LinesChanged/Color
72 
73  static const css::uno::Sequence<OUString>& GetPropertyNames();
74 
75  virtual void ImplCommit() override;
76 
77 public:
79  virtual ~SwRevisionConfig() override;
80 
81  virtual void Notify( const css::uno::Sequence< OUString >& aPropertyNames ) override;
82  void Load();
84 };
85 
86 enum class SwCompareMode
87 {
88  Auto = 0,
89  ByWord,
90  ByChar
91 };
92 
93 class SAL_DLLPUBLIC_RTTI SwCompareConfig : public utl::ConfigItem
94 {
95  friend class SwModuleOptions;
96 
97  SwCompareMode m_eCmpMode; //Compare/CompareDocuments;
98  bool m_bUseRsid; //Compare/Settings/Use RSID
101  bool m_bIgnorePieces; //Compare/Settings/Ignore pieces of length
102  sal_uInt16 m_nPieceLen; //Compare/Settings/Ignore pieces of length
103 
104  static const css::uno::Sequence<OUString>& GetPropertyNames();
105 
106  virtual void ImplCommit() override;
107 
108 public:
109  SwCompareConfig();
110  virtual ~SwCompareConfig() override;
111 
112  virtual void Notify( const css::uno::Sequence< OUString >& ) override { };
113  void Load();
115 };
116 
117 class SAL_DLLPUBLIC_RTTI SwInsertConfig : public utl::ConfigItem
118 {
119  friend class SwModuleOptions;
120 
121  std::unique_ptr<InsCaptionOptArr> m_pCapOptions;
122  std::unique_ptr<InsCaptionOpt> m_pOLEMiscOpt;
123 
124  SvGlobalName m_aGlobalNames[5];
125 
126  bool m_bInsWithCaption; //Insert/Caption/Automatic
127  bool m_bCaptionOrderNumberingFirst; //#i61007# caption order starting with numbering
128 
130  bool const m_bIsWeb;
131 
132  const css::uno::Sequence<OUString>& GetPropertyNames();
133 
134  virtual void ImplCommit() override;
135 
136 public:
137  SwInsertConfig(bool bWeb);
138  virtual ~SwInsertConfig() override;
139 
140  virtual void Notify( const css::uno::Sequence< OUString >& aPropertyNames ) override;
141  void Load();
143 };
144 
145 class SAL_DLLPUBLIC_RTTI SwTableConfig : public utl::ConfigItem
146 {
147  friend class SwModuleOptions;
148 
149  sal_uInt16 m_nTableHMove; //int Table/Shift/Row
150  sal_uInt16 m_nTableVMove; //int Table/Shift/Column
151  sal_uInt16 m_nTableHInsert; //int Table/Insert/Row
152  sal_uInt16 m_nTableVInsert; //int Table/Insert/Column
153  TableChgMode m_eTableChgMode; //int Table/Change/Effect
154 
155  bool m_bInsTableFormatNum; // Table/Input/NumberRecognition // Automatic recognition of numbers.
156  bool m_bInsTableChangeNumFormat; // Table/Input/NumberFormatRecognition // Automatic recognition of number formats.
157  bool m_bInsTableAlignNum; // Table/Input/Alignment // Align numbers.
158  bool m_bSplitVerticalByDefault; // Table/Input/SplitVerticalByDefault // Split vertical by default.
159 
160  static const css::uno::Sequence<OUString>& GetPropertyNames();
161 
162  virtual void ImplCommit() override;
163 
164 public:
165  SwTableConfig(bool bWeb);
166  virtual ~SwTableConfig() override;
167 
168  virtual void Notify( const css::uno::Sequence< OUString >& aPropertyNames ) override;
169  void Load();
171 };
172 
173 class SAL_DLLPUBLIC_RTTI SwMiscConfig : public utl::ConfigItem
174 {
175  friend class SwModuleOptions;
176 
177  OUString m_sWordDelimiter; // Statistics/WordNumber/Delimiter
178  bool m_bDefaultFontsInCurrDocOnly; // DefaultFont/Document
179  bool m_bShowIndexPreview; // Index/ShowPreview
180  bool m_bGrfToGalleryAsLnk; // Misc/GraphicToGalleryAsLink
181  bool m_bNumAlignSize; // Numbering/Graphic/KeepRatio
182  bool m_bSinglePrintJob; // FormLetter/PrintOutput/SinglePrintJobs
183  bool m_bIsNameFromColumn; // FormLetter/FileOutput/FileName/Generation
184  bool m_bAskForMailMergeInPrint; // Ask if documents containing fields should be 'mailmerged'
185  MailTextFormats m_nMailingFormats; // FormLetter/MailingOutput/Formats
186  OUString m_sNameFromColumn; // FormLetter/FileOutput/FileName/FromDatabaseField (string!)
187  OUString m_sMailingPath; // FormLetter/FileOutput/Path
188  OUString m_sMailName; // FormLetter/FileOutput/FileName/FromManualSetting (string!)
189 
190  static const css::uno::Sequence<OUString>& GetPropertyNames();
191 
192  virtual void ImplCommit() override;
193 
194 public:
195  SwMiscConfig();
196  virtual ~SwMiscConfig() override;
197 
198  virtual void Notify( const css::uno::Sequence< OUString >& aPropertyNames ) override;
199  void Load();
201 };
202 
204 {
208 
211 
213 
215 
216  //fiscus: don't show tips of text fields - it's not part of the configuration!
217  bool m_bHideFieldTips : 1;
218 
219 public:
220  SwModuleOptions();
221 
222  TableChgMode GetTableMode() const { return m_aTableConfig.m_eTableChgMode;}
223  void SetTableMode( TableChgMode eSet ) { m_aTableConfig.m_eTableChgMode = eSet;
224  m_aTableConfig.SetModified();}
225 
226  sal_uInt16 GetTableHMove() const { return m_aTableConfig.m_nTableHMove;}
227  void SetTableHMove( sal_uInt16 nSet ) { m_aTableConfig.m_nTableHMove = nSet;
228  m_aTableConfig.SetModified();}
229 
230  sal_uInt16 GetTableVMove() const { return m_aTableConfig.m_nTableVMove;}
231  void SetTableVMove( sal_uInt16 nSet ) { m_aTableConfig.m_nTableVMove = nSet;
232  m_aTableConfig.SetModified();}
233 
234  sal_uInt16 GetTableHInsert() const {return m_aTableConfig.m_nTableHInsert;}
235  void SetTableHInsert( sal_uInt16 nSet ) { m_aTableConfig.m_nTableHInsert = nSet;
236  m_aTableConfig.SetModified();}
237 
238  sal_uInt16 GetTableVInsert() const {return m_aTableConfig.m_nTableVInsert;}
239  void SetTableVInsert( sal_uInt16 nSet ) { m_aTableConfig.m_nTableVInsert = nSet;
240  m_aTableConfig.SetModified();}
241 
242  const AuthorCharAttr &GetInsertAuthorAttr() const { return m_aRevisionConfig.m_aInsertAttr; }
243  void SetInsertAuthorAttr( AuthorCharAttr const &rAttr ) { m_aRevisionConfig.m_aInsertAttr = rAttr;
244  m_aRevisionConfig.SetModified();}
245 
246  const AuthorCharAttr &GetDeletedAuthorAttr() const { return m_aRevisionConfig.m_aDeletedAttr; }
247  void SetDeletedAuthorAttr( AuthorCharAttr const &rAttr ) { m_aRevisionConfig.m_aDeletedAttr = rAttr;
248  m_aRevisionConfig.SetModified();}
249 
250  const AuthorCharAttr &GetFormatAuthorAttr() const { return m_aRevisionConfig.m_aFormatAttr; }
251  void SetFormatAuthorAttr( AuthorCharAttr const &rAttr ) { m_aRevisionConfig.m_aFormatAttr = rAttr;
252  m_aRevisionConfig.SetModified();}
253 
254  sal_uInt16 GetMarkAlignMode() const { return m_aRevisionConfig.m_nMarkAlign; }
255  void SetMarkAlignMode(sal_uInt16 nMode) { m_aRevisionConfig.m_nMarkAlign = nMode;
256  m_aRevisionConfig.SetModified();}
257 
258  const Color& GetMarkAlignColor() const { return m_aRevisionConfig.m_aMarkColor; }
259  void SetMarkAlignColor(const Color &rColor) { m_aRevisionConfig.m_aMarkColor = rColor;
260  m_aRevisionConfig.SetModified();}
261 
262  bool IsInsWithCaption(bool bHTML) const
263  { return !bHTML && m_aInsertConfig.m_bInsWithCaption; }
264  void SetInsWithCaption( bool bHTML, bool b )
265  { if(!bHTML)
266  m_aInsertConfig.m_bInsWithCaption = b;
267  m_aInsertConfig.SetModified();}
268 
269  bool IsCaptionOrderNumberingFirst() const { return m_aInsertConfig.m_bCaptionOrderNumberingFirst; }
271  {
272  if(m_aInsertConfig.m_bCaptionOrderNumberingFirst != bSet)
273  {
274  m_aInsertConfig.m_bCaptionOrderNumberingFirst = bSet;
275  m_aInsertConfig.SetModified();
276  }
277  }
278 
279  bool IsInsTableFormatNum(bool bHTML) const
280  { return bHTML ? m_aWebTableConfig.m_bInsTableFormatNum : m_aTableConfig.m_bInsTableFormatNum; }
281  void SetInsTableFormatNum( bool bHTML, bool b )
282  { auto & config = bHTML ? m_aWebTableConfig : m_aTableConfig;
283  config.m_bInsTableFormatNum = b;
284  config.SetModified();}
285 
286  bool IsInsTableChangeNumFormat(bool bHTML) const
287  { return bHTML ? m_aWebTableConfig.m_bInsTableChangeNumFormat : m_aTableConfig.m_bInsTableChangeNumFormat; }
288  void SetInsTableChangeNumFormat( bool bHTML, bool b )
289  { auto & config = bHTML ? m_aWebTableConfig : m_aTableConfig;
290  config.m_bInsTableChangeNumFormat = b;
291  config.SetModified();}
292 
293  bool IsInsTableAlignNum(bool bHTML) const
294  { return bHTML ? m_aWebTableConfig.m_bInsTableAlignNum : m_aTableConfig.m_bInsTableAlignNum; }
295  void SetInsTableAlignNum( bool bHTML, bool b )
296  { auto & config = bHTML ? m_aWebTableConfig : m_aTableConfig;
297  config.m_bInsTableAlignNum = b;
298  config.SetModified();}
299 
300  const SwInsertTableOptions& GetInsTableFlags(bool bHTML) const
301  { return bHTML ? m_aWebInsertConfig.m_aInsTableOpts : m_aInsertConfig.m_aInsTableOpts;}
302  void SetInsTableFlags( bool bHTML, const SwInsertTableOptions& rOpts ) {
303  auto & config = bHTML ? m_aWebInsertConfig : m_aInsertConfig;
304  config.m_aInsTableOpts = rOpts;
305  config.SetModified();}
306 
307  bool IsSplitVerticalByDefault(bool bHTML) const
308  { return bHTML ? m_aWebTableConfig.m_bSplitVerticalByDefault : m_aTableConfig.m_bSplitVerticalByDefault; }
309  void SetSplitVerticalByDefault(bool bHTML, bool b)
310  { auto & config = bHTML ? m_aWebTableConfig : m_aTableConfig;
311  config.m_bSplitVerticalByDefault = b;
312  config.SetModified();}
313 
314  const InsCaptionOpt* GetCapOption(bool bHTML, const SwCapObjType eType, const SvGlobalName *pOleId);
315  bool SetCapOption(bool bHTML, const InsCaptionOpt* pOpt);
316 
317  bool IsGrfToGalleryAsLnk() const { return m_aMiscConfig.m_bGrfToGalleryAsLnk; }
318  void SetGrfToGalleryAsLnk( bool b ) { m_aMiscConfig.m_bGrfToGalleryAsLnk = b;
319  m_aMiscConfig.SetModified();}
320 
321  MailTextFormats GetMailingFormats() const { return m_aMiscConfig.m_nMailingFormats;}
322  void SetMailingFormats( MailTextFormats nSet ) { m_aMiscConfig.m_nMailingFormats = nSet;
323  m_aMiscConfig.SetModified();}
324 
325  void SetSinglePrintJob( bool b ) { m_aMiscConfig.m_bSinglePrintJob = b;
326  m_aMiscConfig.SetModified();}
327 
328  bool IsNameFromColumn() const { return m_aMiscConfig.m_bIsNameFromColumn; }
329  void SetIsNameFromColumn( bool bSet )
330  {
331  m_aMiscConfig.SetModified();
332  m_aMiscConfig.m_bIsNameFromColumn = bSet;
333  }
334 
335  bool IsAskForMailMerge() const { return m_aMiscConfig.m_bAskForMailMergeInPrint;}
336 
337  const OUString& GetNameFromColumn() const { return m_aMiscConfig.m_sNameFromColumn; }
338  void SetNameFromColumn( const OUString& rSet ) { m_aMiscConfig.m_sNameFromColumn = rSet;
339  m_aMiscConfig.SetModified();}
340 
341  const OUString& GetMailingPath() const { return m_aMiscConfig.m_sMailingPath; }
342  void SetMailingPath(const OUString& sPath) { m_aMiscConfig.m_sMailingPath = sPath;
343  m_aMiscConfig.SetModified();}
344 
345  const OUString& GetWordDelimiter() const { return m_aMiscConfig.m_sWordDelimiter; }
346  void SetWordDelimiter(const OUString& sDelim) { m_aMiscConfig.m_sWordDelimiter = sDelim;
347  m_aMiscConfig.SetModified();}
348 
349  //convert word delimiter from or to user interface
350  static OUString ConvertWordDelimiter(const OUString& rDelim, bool bFromUI);
351 
352  bool IsShowIndexPreview() const {return m_aMiscConfig.m_bShowIndexPreview;}
353  void SetShowIndexPreview(bool bSet)
354  {m_aMiscConfig.m_bShowIndexPreview = bSet;
355  m_aMiscConfig.SetModified();}
356 
358  {
359  m_aMiscConfig.m_bDefaultFontsInCurrDocOnly = bSet;
360  m_aMiscConfig.SetModified();
361  }
362 
363  bool IsHideFieldTips() const {return m_bHideFieldTips;}
364  void SetHideFieldTips(bool bSet) {m_bHideFieldTips = bSet;}
365 
366  SwCompareMode GetCompareMode() const { return m_aCompareConfig.m_eCmpMode; }
367  void SetCompareMode( SwCompareMode eMode ) { m_aCompareConfig.m_eCmpMode = eMode;
368  m_aCompareConfig.SetModified(); }
369 
370  bool IsUseRsid() const { return m_aCompareConfig.m_bUseRsid; }
371  void SetUseRsid( bool b ) { m_aCompareConfig.m_bUseRsid = b;
372  m_aCompareConfig.SetModified(); }
373 
374  bool IsIgnorePieces() const { return m_aCompareConfig.m_bIgnorePieces; }
375  void SetIgnorePieces( bool b ) { m_aCompareConfig.m_bIgnorePieces = b;
376  m_aCompareConfig.SetModified(); }
377 
378  sal_uInt16 GetPieceLen() const { return m_aCompareConfig.m_nPieceLen; }
379  void SetPieceLen( sal_uInt16 nLen ) { m_aCompareConfig.m_nPieceLen = nLen;
380  m_aCompareConfig.SetModified(); }
381 
382  bool IsStoreRsid() const
383  {
384  return m_aCompareConfig.m_bStoreRsid;
385  }
386  void SetStoreRsid(bool bStoreRsid)
387  {
388  m_aCompareConfig.m_bStoreRsid = bStoreRsid;
389  m_aCompareConfig.SetModified();
390  }
391 
392 };
393 #endif
394 
395 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
bool m_bNumAlignSize
Definition: modcfg.hxx:181
bool IsUseRsid() const
Definition: modcfg.hxx:370
bool m_bInsTableChangeNumFormat
Definition: modcfg.hxx:156
std::unique_ptr< InsCaptionOptArr > m_pCapOptions
Definition: modcfg.hxx:121
sal_uInt16 GetTableVMove() const
Definition: modcfg.hxx:230
InsCapOptArr m_InsCapOptArr
Definition: modcfg.hxx:54
AuthorCharAttr m_aFormatAttr
Definition: modcfg.hxx:68
bool m_bUseRsid
Definition: modcfg.hxx:98
bool m_bGrfToGalleryAsLnk
Definition: modcfg.hxx:180
std::unique_ptr< InsCaptionOpt > m_pOLEMiscOpt
Definition: modcfg.hxx:122
void SetGrfToGalleryAsLnk(bool b)
Definition: modcfg.hxx:318
bool IsSplitVerticalByDefault(bool bHTML) const
Definition: modcfg.hxx:307
TableChgMode m_eTableChgMode
Definition: modcfg.hxx:153
void SetInsWithCaption(bool bHTML, bool b)
Definition: modcfg.hxx:264
bool m_bDefaultFontsInCurrDocOnly
Definition: modcfg.hxx:178
bool IsHideFieldTips() const
Definition: modcfg.hxx:363
SwMiscConfig m_aMiscConfig
Definition: modcfg.hxx:212
bool IsIgnorePieces() const
Definition: modcfg.hxx:374
SwCompareConfig m_aCompareConfig
Definition: modcfg.hxx:214
virtual void Notify(const css::uno::Sequence< OUString > &aPropertyNames)=0
bool IsGrfToGalleryAsLnk() const
Definition: modcfg.hxx:317
std::vector< std::unique_ptr< InsCaptionOpt > > InsCapOptArr
Definition: modcfg.hxx:53
sal_uInt16 GetTableHMove() const
Definition: modcfg.hxx:226
void SetCaptionOrderNumberingFirst(bool bSet)
Definition: modcfg.hxx:270
sal_uInt16 m_nTableHMove
Definition: modcfg.hxx:149
const OUString & GetWordDelimiter() const
Definition: modcfg.hxx:345
void SetInsTableFormatNum(bool bHTML, bool b)
Definition: modcfg.hxx:281
const AuthorCharAttr & GetInsertAuthorAttr() const
Definition: modcfg.hxx:242
bool m_bSinglePrintJob
Definition: modcfg.hxx:182
bool IsShowIndexPreview() const
Definition: modcfg.hxx:352
void SetTableHInsert(sal_uInt16 nSet)
Definition: modcfg.hxx:235
bool IsInsTableAlignNum(bool bHTML) const
Definition: modcfg.hxx:293
const Color & GetMarkAlignColor() const
Definition: modcfg.hxx:258
bool m_bInsWithCaption
Definition: modcfg.hxx:126
SwCompareMode m_eCmpMode
Definition: modcfg.hxx:97
bool m_bIgnorePieces
Definition: modcfg.hxx:101
bool IsInsTableChangeNumFormat(bool bHTML) const
Definition: modcfg.hxx:286
void SetDeletedAuthorAttr(AuthorCharAttr const &rAttr)
Definition: modcfg.hxx:247
void SetPieceLen(sal_uInt16 nLen)
Definition: modcfg.hxx:379
bool IsInsWithCaption(bool bHTML) const
Definition: modcfg.hxx:262
const OUString & GetMailingPath() const
Definition: modcfg.hxx:341
SwInsertTableOptions m_aInsTableOpts
Definition: modcfg.hxx:129
void SetInsTableAlignNum(bool bHTML, bool b)
Definition: modcfg.hxx:295
void SetFormatAuthorAttr(AuthorCharAttr const &rAttr)
Definition: modcfg.hxx:251
const AuthorCharAttr & GetFormatAuthorAttr() const
Definition: modcfg.hxx:250
void SetCompareMode(SwCompareMode eMode)
Definition: modcfg.hxx:367
bool IsCaptionOrderNumberingFirst() const
Definition: modcfg.hxx:269
OUString m_sWordDelimiter
Definition: modcfg.hxx:177
bool m_bAskForMailMergeInPrint
Definition: modcfg.hxx:184
OUString m_sMailName
Definition: modcfg.hxx:188
SwCompareMode
Definition: modcfg.hxx:86
void SetNameFromColumn(const OUString &rSet)
Definition: modcfg.hxx:338
bool m_bShowIndexPreview
Definition: modcfg.hxx:179
void SetMailingPath(const OUString &sPath)
Definition: modcfg.hxx:342
void SetHideFieldTips(bool bSet)
Definition: modcfg.hxx:364
OUString m_sMailingPath
Definition: modcfg.hxx:187
void SetDefaultFontInCurrDocOnly(bool bSet)
Definition: modcfg.hxx:357
SwInsertConfig m_aInsertConfig
Definition: modcfg.hxx:206
MailTextFormats GetMailingFormats() const
Definition: modcfg.hxx:321
void SetIgnorePieces(bool b)
Definition: modcfg.hxx:375
bool IsInsTableFormatNum(bool bHTML) const
Definition: modcfg.hxx:279
AuthorCharAttr m_aInsertAttr
Definition: modcfg.hxx:64
SwInsertConfig m_aWebInsertConfig
Definition: modcfg.hxx:207
bool m_bSplitVerticalByDefault
Definition: modcfg.hxx:158
bool IsStoreRsid() const
Definition: modcfg.hxx:382
void SetMailingFormats(MailTextFormats nSet)
Definition: modcfg.hxx:322
void SetSplitVerticalByDefault(bool bHTML, bool b)
Definition: modcfg.hxx:309
void SetInsTableFlags(bool bHTML, const SwInsertTableOptions &rOpts)
Definition: modcfg.hxx:302
sal_uInt16 m_nTableVMove
Definition: modcfg.hxx:150
void SetWordDelimiter(const OUString &sDelim)
Definition: modcfg.hxx:346
SwTableConfig m_aTableConfig
Definition: modcfg.hxx:209
sal_uInt16 GetTableVInsert() const
Definition: modcfg.hxx:238
void SetStoreRsid(bool bStoreRsid)
Definition: modcfg.hxx:386
bool m_bInsTableAlignNum
Definition: modcfg.hxx:157
void SetMarkAlignColor(const Color &rColor)
Definition: modcfg.hxx:259
#define SW_DLLPUBLIC
Definition: swdllapi.h:28
bool IsAskForMailMerge() const
Definition: modcfg.hxx:335
bool const m_bIsWeb
Definition: modcfg.hxx:130
void SetMarkAlignMode(sal_uInt16 nMode)
Definition: modcfg.hxx:255
TableChgMode GetTableMode() const
Definition: modcfg.hxx:222
sal_uInt16 m_nTableHInsert
Definition: modcfg.hxx:151
void SetShowIndexPreview(bool bSet)
Definition: modcfg.hxx:353
void SetTableVInsert(sal_uInt16 nSet)
Definition: modcfg.hxx:239
void SetSinglePrintJob(bool b)
Definition: modcfg.hxx:325
sal_uInt16 m_nTableVInsert
Definition: modcfg.hxx:152
bool m_bInsTableFormatNum
Definition: modcfg.hxx:155
MailTextFormats
Definition: modcfg.hxx:37
virtual void Notify(const css::uno::Sequence< OUString > &) override
Definition: modcfg.hxx:112
bool m_bIsNameFromColumn
Definition: modcfg.hxx:183
void SetTableMode(TableChgMode eSet)
Definition: modcfg.hxx:223
void SetTableVMove(sal_uInt16 nSet)
Definition: modcfg.hxx:231
void SetInsertAuthorAttr(AuthorCharAttr const &rAttr)
Definition: modcfg.hxx:243
SwCompareMode GetCompareMode() const
Definition: modcfg.hxx:366
sal_uInt16 GetPieceLen() const
Definition: modcfg.hxx:378
tuple config
void SetUseRsid(bool b)
Definition: modcfg.hxx:371
void SetTableHMove(sal_uInt16 nSet)
Definition: modcfg.hxx:227
InsCaptionOpt * Find(const SwCapObjType eType, const SvGlobalName *pOleId=nullptr)
Definition: modcfg.cxx:49
sal_uInt16 m_nMarkAlign
Definition: modcfg.hxx:70
sal_uInt16 GetTableHInsert() const
Definition: modcfg.hxx:234
const OUString & GetNameFromColumn() const
Definition: modcfg.hxx:337
void Insert(InsCaptionOpt *pObj)
Definition: modcfg.cxx:61
void SetIsNameFromColumn(bool bSet)
Definition: modcfg.hxx:329
bool m_bCaptionOrderNumberingFirst
Definition: modcfg.hxx:127
Color m_aMarkColor
Definition: modcfg.hxx:71
virtual void ImplCommit()=0
TableChgMode
Definition: tblenum.hxx:46
SwTableConfig m_aWebTableConfig
Definition: modcfg.hxx:210
AuthorCharAttr m_aDeletedAttr
Definition: modcfg.hxx:66
SwCapObjType
const SwInsertTableOptions & GetInsTableFlags(bool bHTML) const
Definition: modcfg.hxx:300
sal_uInt16 GetMarkAlignMode() const
Definition: modcfg.hxx:254
sal_uInt16 m_nPieceLen
Definition: modcfg.hxx:102
bool m_bStoreRsid
Compare/Settings/Store RSID.
Definition: modcfg.hxx:100
const AuthorCharAttr & GetDeletedAuthorAttr() const
Definition: modcfg.hxx:246
SwRevisionConfig m_aRevisionConfig
Definition: modcfg.hxx:205
MailTextFormats m_nMailingFormats
Definition: modcfg.hxx:185
bool IsNameFromColumn() const
Definition: modcfg.hxx:328
void SetInsTableChangeNumFormat(bool bHTML, bool b)
Definition: modcfg.hxx:288
OUString m_sNameFromColumn
Definition: modcfg.hxx:186