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 : 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 : 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 : 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 const m_bIsWeb;
132 
133  const css::uno::Sequence<OUString>& GetPropertyNames();
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 : 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 : 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_bAskForMailMergeInPrint; // Ask if documents containing fields should be 'mailmerged'
186  MailTextFormats m_nMailingFormats; // FormLetter/MailingOutput/Formats
187  OUString m_sNameFromColumn; // FormLetter/FileOutput/FileName/FromDatabaseField (string!)
188  OUString m_sMailingPath; // FormLetter/FileOutput/Path
189  OUString m_sMailName; // FormLetter/FileOutput/FileName/FromManualSetting (string!)
190 
191  static const css::uno::Sequence<OUString>& GetPropertyNames();
192 
193  virtual void ImplCommit() override;
194 
195 public:
196  SwMiscConfig();
197  virtual ~SwMiscConfig() override;
198 
199  virtual void Notify( const css::uno::Sequence< OUString >& aPropertyNames ) override;
200  void Load();
202 };
203 
205 {
209 
212 
214 
216 
217  //fiscus: don't show tips of text fields - it's not part of the configuration!
218  bool m_bHideFieldTips : 1;
219 
220 public:
221  SwModuleOptions();
222 
223  TableChgMode GetTableMode() const { return m_aTableConfig.m_eTableChgMode;}
224  void SetTableMode( TableChgMode eSet ) { m_aTableConfig.m_eTableChgMode = eSet;
225  m_aTableConfig.SetModified();}
226 
227  sal_uInt16 GetTableHMove() const { return m_aTableConfig.m_nTableHMove;}
228  void SetTableHMove( sal_uInt16 nSet ) { m_aTableConfig.m_nTableHMove = nSet;
229  m_aTableConfig.SetModified();}
230 
231  sal_uInt16 GetTableVMove() const { return m_aTableConfig.m_nTableVMove;}
232  void SetTableVMove( sal_uInt16 nSet ) { m_aTableConfig.m_nTableVMove = nSet;
233  m_aTableConfig.SetModified();}
234 
235  sal_uInt16 GetTableHInsert() const {return m_aTableConfig.m_nTableHInsert;}
236  void SetTableHInsert( sal_uInt16 nSet ) { m_aTableConfig.m_nTableHInsert = nSet;
237  m_aTableConfig.SetModified();}
238 
239  sal_uInt16 GetTableVInsert() const {return m_aTableConfig.m_nTableVInsert;}
240  void SetTableVInsert( sal_uInt16 nSet ) { m_aTableConfig.m_nTableVInsert = nSet;
241  m_aTableConfig.SetModified();}
242 
243  const AuthorCharAttr &GetInsertAuthorAttr() const { return m_aRevisionConfig.m_aInsertAttr; }
244  void SetInsertAuthorAttr( AuthorCharAttr const &rAttr ) { m_aRevisionConfig.m_aInsertAttr = rAttr;
245  m_aRevisionConfig.SetModified();}
246 
247  const AuthorCharAttr &GetDeletedAuthorAttr() const { return m_aRevisionConfig.m_aDeletedAttr; }
248  void SetDeletedAuthorAttr( AuthorCharAttr const &rAttr ) { m_aRevisionConfig.m_aDeletedAttr = rAttr;
249  m_aRevisionConfig.SetModified();}
250 
251  const AuthorCharAttr &GetFormatAuthorAttr() const { return m_aRevisionConfig.m_aFormatAttr; }
252  void SetFormatAuthorAttr( AuthorCharAttr const &rAttr ) { m_aRevisionConfig.m_aFormatAttr = rAttr;
253  m_aRevisionConfig.SetModified();}
254 
255  sal_uInt16 GetMarkAlignMode() const { return m_aRevisionConfig.m_nMarkAlign; }
256  void SetMarkAlignMode(sal_uInt16 nMode) { m_aRevisionConfig.m_nMarkAlign = nMode;
257  m_aRevisionConfig.SetModified();}
258 
259  const Color& GetMarkAlignColor() const { return m_aRevisionConfig.m_aMarkColor; }
260  void SetMarkAlignColor(const Color &rColor) { m_aRevisionConfig.m_aMarkColor = rColor;
261  m_aRevisionConfig.SetModified();}
262 
263  bool IsInsWithCaption(bool bHTML) const
264  { return !bHTML && m_aInsertConfig.m_bInsWithCaption; }
265  void SetInsWithCaption( bool bHTML, bool b )
266  { if(!bHTML)
267  m_aInsertConfig.m_bInsWithCaption = b;
268  m_aInsertConfig.SetModified();}
269 
270  bool IsCaptionOrderNumberingFirst() const { return m_aInsertConfig.m_bCaptionOrderNumberingFirst; }
272  {
273  if(m_aInsertConfig.m_bCaptionOrderNumberingFirst != bSet)
274  {
275  m_aInsertConfig.m_bCaptionOrderNumberingFirst = bSet;
276  m_aInsertConfig.SetModified();
277  }
278  }
279 
280  bool IsInsTableFormatNum(bool bHTML) const
281  { return bHTML ? m_aWebTableConfig.m_bInsTableFormatNum : m_aTableConfig.m_bInsTableFormatNum; }
282  void SetInsTableFormatNum( bool bHTML, bool b )
283  { auto & config = bHTML ? m_aWebTableConfig : m_aTableConfig;
284  config.m_bInsTableFormatNum = b;
285  config.SetModified();}
286 
287  bool IsInsTableChangeNumFormat(bool bHTML) const
288  { return bHTML ? m_aWebTableConfig.m_bInsTableChangeNumFormat : m_aTableConfig.m_bInsTableChangeNumFormat; }
289  void SetInsTableChangeNumFormat( bool bHTML, bool b )
290  { auto & config = bHTML ? m_aWebTableConfig : m_aTableConfig;
291  config.m_bInsTableChangeNumFormat = b;
292  config.SetModified();}
293 
294  bool IsInsTableAlignNum(bool bHTML) const
295  { return bHTML ? m_aWebTableConfig.m_bInsTableAlignNum : m_aTableConfig.m_bInsTableAlignNum; }
296  void SetInsTableAlignNum( bool bHTML, bool b )
297  { auto & config = bHTML ? m_aWebTableConfig : m_aTableConfig;
298  config.m_bInsTableAlignNum = b;
299  config.SetModified();}
300 
301  const SwInsertTableOptions& GetInsTableFlags(bool bHTML) const
302  { return bHTML ? m_aWebInsertConfig.m_aInsTableOpts : m_aInsertConfig.m_aInsTableOpts;}
303  void SetInsTableFlags( bool bHTML, const SwInsertTableOptions& rOpts ) {
304  auto & config = bHTML ? m_aWebInsertConfig : m_aInsertConfig;
305  config.m_aInsTableOpts = rOpts;
306  config.SetModified();}
307 
308  bool IsSplitVerticalByDefault(bool bHTML) const
309  { return bHTML ? m_aWebTableConfig.m_bSplitVerticalByDefault : m_aTableConfig.m_bSplitVerticalByDefault; }
310  void SetSplitVerticalByDefault(bool bHTML, bool b)
311  { auto & config = bHTML ? m_aWebTableConfig : m_aTableConfig;
312  config.m_bSplitVerticalByDefault = b;
313  config.SetModified();}
314 
315  const InsCaptionOpt* GetCapOption(bool bHTML, const SwCapObjType eType, const SvGlobalName *pOleId);
316  bool SetCapOption(bool bHTML, const InsCaptionOpt* pOpt);
317 
318  bool IsGrfToGalleryAsLnk() const { return m_aMiscConfig.m_bGrfToGalleryAsLnk; }
319  void SetGrfToGalleryAsLnk( bool b ) { m_aMiscConfig.m_bGrfToGalleryAsLnk = b;
320  m_aMiscConfig.SetModified();}
321 
322  MailTextFormats GetMailingFormats() const { return m_aMiscConfig.m_nMailingFormats;}
323  void SetMailingFormats( MailTextFormats nSet ) { m_aMiscConfig.m_nMailingFormats = nSet;
324  m_aMiscConfig.SetModified();}
325 
326  void SetSinglePrintJob( bool b ) { m_aMiscConfig.m_bSinglePrintJob = b;
327  m_aMiscConfig.SetModified();}
328 
329  bool IsNameFromColumn() const { return m_aMiscConfig.m_bIsNameFromColumn; }
330  void SetIsNameFromColumn( bool bSet )
331  {
332  m_aMiscConfig.SetModified();
333  m_aMiscConfig.m_bIsNameFromColumn = bSet;
334  }
335 
336  bool IsAskForMailMerge() const { return m_aMiscConfig.m_bAskForMailMergeInPrint;}
337 
338  const OUString& GetNameFromColumn() const { return m_aMiscConfig.m_sNameFromColumn; }
339  void SetNameFromColumn( const OUString& rSet ) { m_aMiscConfig.m_sNameFromColumn = rSet;
340  m_aMiscConfig.SetModified();}
341 
342  const OUString& GetMailingPath() const { return m_aMiscConfig.m_sMailingPath; }
343  void SetMailingPath(const OUString& sPath) { m_aMiscConfig.m_sMailingPath = sPath;
344  m_aMiscConfig.SetModified();}
345 
346  const OUString& GetWordDelimiter() const { return m_aMiscConfig.m_sWordDelimiter; }
347  void SetWordDelimiter(const OUString& sDelim) { m_aMiscConfig.m_sWordDelimiter = sDelim;
348  m_aMiscConfig.SetModified();}
349 
350  //convert word delimiter from or to user interface
351  static OUString ConvertWordDelimiter(const OUString& rDelim, bool bFromUI);
352 
353  bool IsShowIndexPreview() const {return m_aMiscConfig.m_bShowIndexPreview;}
354  void SetShowIndexPreview(bool bSet)
355  {m_aMiscConfig.m_bShowIndexPreview = bSet;
356  m_aMiscConfig.SetModified();}
357 
359  {
360  m_aMiscConfig.m_bDefaultFontsInCurrDocOnly = bSet;
361  m_aMiscConfig.SetModified();
362  }
363 
364  bool IsHideFieldTips() const {return m_bHideFieldTips;}
365  void SetHideFieldTips(bool bSet) {m_bHideFieldTips = bSet;}
366 
367  SwCompareMode GetCompareMode() const { return m_aCompareConfig.m_eCmpMode; }
368  void SetCompareMode( SwCompareMode eMode ) { m_aCompareConfig.m_eCmpMode = eMode;
369  m_aCompareConfig.SetModified(); }
370 
371  bool IsUseRsid() const { return m_aCompareConfig.m_bUseRsid; }
372  void SetUseRsid( bool b ) { m_aCompareConfig.m_bUseRsid = b;
373  m_aCompareConfig.SetModified(); }
374 
375  bool IsIgnorePieces() const { return m_aCompareConfig.m_bIgnorePieces; }
376  void SetIgnorePieces( bool b ) { m_aCompareConfig.m_bIgnorePieces = b;
377  m_aCompareConfig.SetModified(); }
378 
379  sal_uInt16 GetPieceLen() const { return m_aCompareConfig.m_nPieceLen; }
380  void SetPieceLen( sal_uInt16 nLen ) { m_aCompareConfig.m_nPieceLen = nLen;
381  m_aCompareConfig.SetModified(); }
382 
383  bool IsStoreRsid() const
384  {
385  return m_aCompareConfig.m_bStoreRsid;
386  }
387  void SetStoreRsid(bool bStoreRsid)
388  {
389  m_aCompareConfig.m_bStoreRsid = bStoreRsid;
390  m_aCompareConfig.SetModified();
391  }
392 
393 };
394 #endif
395 
396 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
bool m_bNumAlignSize
Definition: modcfg.hxx:182
bool IsUseRsid() const
Definition: modcfg.hxx:371
bool m_bInsTableChangeNumFormat
Definition: modcfg.hxx:157
std::unique_ptr< InsCaptionOptArr > m_pCapOptions
Definition: modcfg.hxx:122
sal_uInt16 GetTableVMove() const
Definition: modcfg.hxx:231
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:319
bool IsSplitVerticalByDefault(bool bHTML) const
Definition: modcfg.hxx:308
TableChgMode m_eTableChgMode
Definition: modcfg.hxx:154
void SetInsWithCaption(bool bHTML, bool b)
Definition: modcfg.hxx:265
bool m_bDefaultFontsInCurrDocOnly
Definition: modcfg.hxx:179
bool IsHideFieldTips() const
Definition: modcfg.hxx:364
SwMiscConfig m_aMiscConfig
Definition: modcfg.hxx:213
bool IsIgnorePieces() const
Definition: modcfg.hxx:375
SwCompareConfig m_aCompareConfig
Definition: modcfg.hxx:215
virtual void Notify(const css::uno::Sequence< OUString > &aPropertyNames)=0
bool IsGrfToGalleryAsLnk() const
Definition: modcfg.hxx:318
std::vector< std::unique_ptr< InsCaptionOpt > > InsCapOptArr
Definition: modcfg.hxx:54
sal_uInt16 GetTableHMove() const
Definition: modcfg.hxx:227
void SetCaptionOrderNumberingFirst(bool bSet)
Definition: modcfg.hxx:271
sal_uInt16 m_nTableHMove
Definition: modcfg.hxx:150
const OUString & GetWordDelimiter() const
Definition: modcfg.hxx:346
void SetInsTableFormatNum(bool bHTML, bool b)
Definition: modcfg.hxx:282
const AuthorCharAttr & GetInsertAuthorAttr() const
Definition: modcfg.hxx:243
bool m_bSinglePrintJob
Definition: modcfg.hxx:183
bool IsShowIndexPreview() const
Definition: modcfg.hxx:353
void SetTableHInsert(sal_uInt16 nSet)
Definition: modcfg.hxx:236
bool IsInsTableAlignNum(bool bHTML) const
Definition: modcfg.hxx:294
const Color & GetMarkAlignColor() const
Definition: modcfg.hxx:259
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:287
void SetDeletedAuthorAttr(AuthorCharAttr const &rAttr)
Definition: modcfg.hxx:248
void SetPieceLen(sal_uInt16 nLen)
Definition: modcfg.hxx:380
bool IsInsWithCaption(bool bHTML) const
Definition: modcfg.hxx:263
const OUString & GetMailingPath() const
Definition: modcfg.hxx:342
SwInsertTableOptions m_aInsTableOpts
Definition: modcfg.hxx:130
void SetInsTableAlignNum(bool bHTML, bool b)
Definition: modcfg.hxx:296
void SetFormatAuthorAttr(AuthorCharAttr const &rAttr)
Definition: modcfg.hxx:252
const AuthorCharAttr & GetFormatAuthorAttr() const
Definition: modcfg.hxx:251
void SetCompareMode(SwCompareMode eMode)
Definition: modcfg.hxx:368
bool IsCaptionOrderNumberingFirst() const
Definition: modcfg.hxx:270
OUString m_sWordDelimiter
Definition: modcfg.hxx:178
bool m_bAskForMailMergeInPrint
Definition: modcfg.hxx:185
OUString m_sMailName
Definition: modcfg.hxx:189
SwCompareMode
Definition: modcfg.hxx:87
void SetNameFromColumn(const OUString &rSet)
Definition: modcfg.hxx:339
bool m_bShowIndexPreview
Definition: modcfg.hxx:180
void SetMailingPath(const OUString &sPath)
Definition: modcfg.hxx:343
void SetHideFieldTips(bool bSet)
Definition: modcfg.hxx:365
OUString m_sMailingPath
Definition: modcfg.hxx:188
void SetDefaultFontInCurrDocOnly(bool bSet)
Definition: modcfg.hxx:358
SwInsertConfig m_aInsertConfig
Definition: modcfg.hxx:207
MailTextFormats GetMailingFormats() const
Definition: modcfg.hxx:322
void SetIgnorePieces(bool b)
Definition: modcfg.hxx:376
bool IsInsTableFormatNum(bool bHTML) const
Definition: modcfg.hxx:280
AuthorCharAttr m_aInsertAttr
Definition: modcfg.hxx:65
SwInsertConfig m_aWebInsertConfig
Definition: modcfg.hxx:208
bool m_bSplitVerticalByDefault
Definition: modcfg.hxx:159
bool IsStoreRsid() const
Definition: modcfg.hxx:383
void SetMailingFormats(MailTextFormats nSet)
Definition: modcfg.hxx:323
void SetSplitVerticalByDefault(bool bHTML, bool b)
Definition: modcfg.hxx:310
void SetInsTableFlags(bool bHTML, const SwInsertTableOptions &rOpts)
Definition: modcfg.hxx:303
sal_uInt16 m_nTableVMove
Definition: modcfg.hxx:151
void SetWordDelimiter(const OUString &sDelim)
Definition: modcfg.hxx:347
SwTableConfig m_aTableConfig
Definition: modcfg.hxx:210
sal_uInt16 GetTableVInsert() const
Definition: modcfg.hxx:239
void SetStoreRsid(bool bStoreRsid)
Definition: modcfg.hxx:387
bool m_bInsTableAlignNum
Definition: modcfg.hxx:158
void SetMarkAlignColor(const Color &rColor)
Definition: modcfg.hxx:260
#define SW_DLLPUBLIC
Definition: swdllapi.h:28
bool IsAskForMailMerge() const
Definition: modcfg.hxx:336
bool const m_bIsWeb
Definition: modcfg.hxx:131
void SetMarkAlignMode(sal_uInt16 nMode)
Definition: modcfg.hxx:256
TableChgMode GetTableMode() const
Definition: modcfg.hxx:223
sal_uInt16 m_nTableHInsert
Definition: modcfg.hxx:152
void SetShowIndexPreview(bool bSet)
Definition: modcfg.hxx:354
void SetTableVInsert(sal_uInt16 nSet)
Definition: modcfg.hxx:240
void SetSinglePrintJob(bool b)
Definition: modcfg.hxx:326
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:224
void SetTableVMove(sal_uInt16 nSet)
Definition: modcfg.hxx:232
void SetInsertAuthorAttr(AuthorCharAttr const &rAttr)
Definition: modcfg.hxx:244
SwCompareMode GetCompareMode() const
Definition: modcfg.hxx:367
sal_uInt16 GetPieceLen() const
Definition: modcfg.hxx:379
tuple config
void SetUseRsid(bool b)
Definition: modcfg.hxx:372
void SetTableHMove(sal_uInt16 nSet)
Definition: modcfg.hxx:228
InsCaptionOpt * Find(const SwCapObjType eType, const SvGlobalName *pOleId=nullptr)
Definition: modcfg.cxx:49
sal_uInt16 m_nMarkAlign
Definition: modcfg.hxx:71
sal_uInt16 GetTableHInsert() const
Definition: modcfg.hxx:235
const OUString & GetNameFromColumn() const
Definition: modcfg.hxx:338
void Insert(InsCaptionOpt *pObj)
Definition: modcfg.cxx:61
void SetIsNameFromColumn(bool bSet)
Definition: modcfg.hxx:330
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:211
AuthorCharAttr m_aDeletedAttr
Definition: modcfg.hxx:67
SwCapObjType
const SwInsertTableOptions & GetInsTableFlags(bool bHTML) const
Definition: modcfg.hxx:301
sal_uInt16 GetMarkAlignMode() const
Definition: modcfg.hxx:255
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:247
SwRevisionConfig m_aRevisionConfig
Definition: modcfg.hxx:206
MailTextFormats m_nMailingFormats
Definition: modcfg.hxx:186
bool IsNameFromColumn() const
Definition: modcfg.hxx:329
void SetInsTableChangeNumFormat(bool bHTML, bool b)
Definition: modcfg.hxx:289
OUString m_sNameFromColumn
Definition: modcfg.hxx:187