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