LibreOffice Module cui (master)  1
autocdlg.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_CUI_SOURCE_INC_AUTOCDLG_HXX
20 #define INCLUDED_CUI_SOURCE_INC_AUTOCDLG_HXX
21 
22 #include <sfx2/tabdlg.hxx>
23 #include <svx/langbox.hxx>
24 #include <vcl/metric.hxx>
25 
26 #include <set>
27 
28 class CharClass;
29 class CollatorWrapper;
30 class SmartTagMgr;
31 
32 namespace editeng { class SortedAutoCompleteStrings; }
33 
34 // class OfaAutoCorrDlg --------------------------------------------------
35 
37 {
38  std::unique_ptr<weld::Widget> m_xLanguageBox;
39  std::unique_ptr<LanguageBox> m_xLanguageLB;
40 
41  DECL_LINK(SelectLanguageHdl, weld::ComboBox&, void);
42 public:
43 
44  OfaAutoCorrDlg(weld::Window* pParent, const SfxItemSet *pSet);
45  virtual ~OfaAutoCorrDlg() override;
46 
47  void EnableLanguage(bool bEnable);
48 };
49 
50 // class OfaAutocorrOptionsPage ------------------------------------------
51 
53 {
55 
56 private:
57  OUString m_sInput;
58  OUString m_sDoubleCaps;
59  OUString m_sStartCap;
60  OUString m_sBoldUnderline;
61  OUString m_sURL;
62  OUString m_sNoDblSpaces;
63  OUString m_sDash;
65 
66  std::unique_ptr<weld::TreeView> m_xCheckLB;
67 
68  void InsertEntry(const OUString& rTxt);
69 
70 public:
71  OfaAutocorrOptionsPage(TabPageParent pParent, const SfxItemSet& rSet);
72  virtual ~OfaAutocorrOptionsPage() override;
73 
74  static VclPtr<SfxTabPage> Create( TabPageParent pParent,
75  const SfxItemSet* rAttrSet);
76 
77  virtual bool FillItemSet( SfxItemSet* rSet ) override;
78  virtual void Reset( const SfxItemSet* rSet ) override;
79  virtual void ActivatePage( const SfxItemSet& ) override;
80 
81 };
82 
83 // class OfaSwAutoFmtOptionsPage ----------------------------------------------------
84 
86 {
89 
90  OUString sDeleteEmptyPara;
91  OUString sUseReplaceTbl;
94  OUString sUserStyle;
95  OUString sBullet;
96  OUString sBoldUnder;
97  OUString sNoDblSpaces;
98  OUString sCorrectCapsLock;
99  OUString sDetectURL;
100  OUString sDash;
101  OUString sRightMargin;
102  OUString sNum;
103  OUString sBorder;
104  OUString sTable;
108 
109  OUString sMargin;
110  OUString sBulletChar;
112 
115  sal_uInt16 nPercent;
116 
117  std::unique_ptr<weld::TreeView> m_xCheckLB;
118  std::unique_ptr<weld::Button> m_xEditPB;
119 
120  DECL_LINK(SelectHdl, weld::TreeView&, void);
121  DECL_LINK(EditHdl, weld::Button&, void);
122  DECL_LINK(DoubleClickEditHdl, weld::TreeView&, void);
123 
124  void CreateEntry(const OUString& rTxt, sal_uInt16 nCol);
125 
126  OfaSwAutoFmtOptionsPage(TabPageParent pParent, const SfxItemSet& rSet);
127  virtual ~OfaSwAutoFmtOptionsPage() override;
128  virtual void dispose() override;
129 
130 public:
131  static VclPtr<SfxTabPage> Create( TabPageParent pParent,
132  const SfxItemSet* rAttrSet);
133  virtual bool FillItemSet( SfxItemSet* rSet ) override;
134  virtual void Reset( const SfxItemSet* rSet ) override;
135  virtual void ActivatePage( const SfxItemSet& ) override;
136 };
137 
138 // class OfaAutocorrReplacePage ------------------------------------------
139 
141 {
142  OUString sShort;
143  OUString sLong;
144  void* pUserData;
145 };
146 
147 typedef std::vector<DoubleString> DoubleStringArray;
148 
150 {
153 };
154 
155 typedef std::map<LanguageType, StringChangeList> StringChangeTable;
156 
158 {
159  using TabPage::ActivatePage;
161 
162 private:
163 
165 
166  OUString sModify;
167  OUString sNew;
168 
169  std::set<OUString> aFormatText;
170  std::map<LanguageType, DoubleStringArray>
172  std::unique_ptr<CollatorWrapper> pCompareClass;
173  std::unique_ptr<CharClass> pCharClass;
175 
177  bool bFirstSelect:1;
179  bool bSWriter:1;
180 
181  std::vector<int> m_aReplaceFixedWidths;
182  std::unique_ptr<weld::CheckButton> m_xTextOnlyCB;
183  std::unique_ptr<weld::Entry> m_xShortED;
184  std::unique_ptr<weld::Entry> m_xReplaceED;
185  std::unique_ptr<weld::TreeView> m_xReplaceTLB;
186  std::unique_ptr<weld::Button> m_xNewReplacePB;
187  std::unique_ptr<weld::Button> m_xReplacePB;
188  std::unique_ptr<weld::Button> m_xDeleteReplacePB;
189 
190  DECL_LINK(SelectHdl, weld::TreeView&, void);
191  DECL_LINK(NewDelButtonHdl, weld::Button&, void);
192  DECL_LINK(NewDelActionHdl, weld::Entry&, bool);
193  DECL_LINK(EntrySizeAllocHdl, const Size&, void);
194  DECL_LINK(ModifyHdl, weld::Entry&, void);
195  bool NewDelHdl(const weld::Widget*);
196 
197  void RefillReplaceBox( bool bFromReset,
198  LanguageType eOldLanguage,
199  LanguageType eNewLanguage);
200 
201 public:
202  OfaAutocorrReplacePage(TabPageParent pParent, const SfxItemSet& rSet);
203  virtual ~OfaAutocorrReplacePage() override;
204  virtual void dispose() override;
205 
206  static VclPtr<SfxTabPage> Create( TabPageParent pParent, const SfxItemSet* rAttrSet);
207 
208  virtual bool FillItemSet( SfxItemSet* rSet ) override;
209  virtual void Reset( const SfxItemSet* rSet ) override;
210  virtual void ActivatePage( const SfxItemSet& ) override;
211  virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
212 
213  void SetLanguage(LanguageType eSet);
214  void DeleteEntry(const OUString& sShort, const OUString& sLong);
215  void NewEntry(const OUString& sShort, const OUString& sLong, bool bKeepSourceFormatting);
216 };
217 
218 // class OfaAutocorrExceptPage ---------------------------------------------
219 
221 {
222  std::vector<OUString> aAbbrevStrings;
223  std::vector<OUString> aDoubleCapsStrings;
224 
226 };
227 typedef std::map<LanguageType, StringsArrays> StringsTable;
228 
230 {
231  using TabPage::ActivatePage;
233 
234 private:
236  std::unique_ptr<CollatorWrapper> pCompareClass;
238 
239  std::unique_ptr<weld::Entry> m_xAbbrevED;
240  std::unique_ptr<weld::TreeView> m_xAbbrevLB;
241  std::unique_ptr<weld::Button> m_xNewAbbrevPB;
242  std::unique_ptr<weld::Button> m_xDelAbbrevPB;
243  std::unique_ptr<weld::CheckButton> m_xAutoAbbrevCB;
244 
245  std::unique_ptr<weld::Entry> m_xDoubleCapsED;
246  std::unique_ptr<weld::TreeView> m_xDoubleCapsLB;
247  std::unique_ptr<weld::Button> m_xNewDoublePB;
248  std::unique_ptr<weld::Button> m_xDelDoublePB;
249  std::unique_ptr<weld::CheckButton> m_xAutoCapsCB;
250 
251  DECL_LINK(NewDelButtonHdl, weld::Button&, void);
252  DECL_LINK(NewDelActionHdl, weld::Entry&, bool);
253  DECL_LINK(SelectHdl, weld::TreeView&, void);
254  DECL_LINK(ModifyHdl, weld::Entry&, void);
255  void NewDelHdl(const weld::Widget*);
257  void RefillReplaceBoxes(bool bFromReset,
258  LanguageType eOldLanguage,
259  LanguageType eNewLanguage);
260 public:
261  OfaAutocorrExceptPage(TabPageParent pParent, const SfxItemSet& rSet);
262  virtual ~OfaAutocorrExceptPage() override;
263  virtual void dispose() override;
264 
265  static VclPtr<SfxTabPage> Create( TabPageParent pParent,
266  const SfxItemSet* rAttrSet);
267 
268  virtual bool FillItemSet( SfxItemSet* rSet ) override;
269  virtual void Reset( const SfxItemSet* rSet ) override;
270  virtual void ActivatePage( const SfxItemSet& ) override;
271  virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
272  void SetLanguage(LanguageType eSet);
273 
274 };
275 
276 // class OfaQuoteTabPage -------------------------------------------------
277 
279 {
280  friend class VclPtr<OfaQuoteTabPage>;
281  using TabPage::ActivatePage;
282 
283 private:
284  OUString sNonBrkSpace;
285  OUString sOrdinal;
286 
289 
292 
293  std::unique_ptr<weld::CheckButton> m_xSingleTypoCB;
294  std::unique_ptr<weld::Button> m_xSglStartQuotePB;
295  std::unique_ptr<weld::Label> m_xSglStartExFT;
296  std::unique_ptr<weld::Button> m_xSglEndQuotePB;
297  std::unique_ptr<weld::Label> m_xSglEndExFT;
298  std::unique_ptr<weld::Button> m_xSglStandardPB;
299  std::unique_ptr<weld::CheckButton> m_xDoubleTypoCB;
300  std::unique_ptr<weld::Button> m_xDblStartQuotePB;
301  std::unique_ptr<weld::Label> m_xDblStartExFT;
302  std::unique_ptr<weld::Button> m_xDblEndQuotePB;
303  std::unique_ptr<weld::Label> m_xDblEndExFT;
304  std::unique_ptr<weld::Button> m_xDblStandardPB;
305  std::unique_ptr<weld::Label> m_xStandard;
307  std::unique_ptr<weld::TreeView> m_xCheckLB;
309  std::unique_ptr<weld::TreeView> m_xSwCheckLB;
310 
311 
312  DECL_LINK(QuoteHdl, weld::Button&, void);
313  DECL_LINK(StdQuoteHdl, weld::Button&, void);
314 
315  OUString ChangeStringExt_Impl( sal_UCS4 );
316 
317  static void CreateEntry(weld::TreeView& rLstBox, const OUString& rTxt,
318  sal_uInt16 nCol, sal_uInt16 nTextCol);
319 
320  OfaQuoteTabPage(TabPageParent pParent, const SfxItemSet& rSet);
321 public:
322  virtual ~OfaQuoteTabPage() override;
323 
324  static VclPtr<SfxTabPage> Create(TabPageParent pParent,
325  const SfxItemSet* rAttrSet);
326 
327  virtual bool FillItemSet( SfxItemSet* rSet ) override;
328  virtual void Reset( const SfxItemSet* rSet ) override;
329  virtual void ActivatePage( const SfxItemSet& ) override;
330 };
331 
332 // class OfaAutoCompleteTabPage ---------------------------------------------
333 
335 {
337 private:
338  using TabPage::ActivatePage;
341 
342  std::unique_ptr<weld::CheckButton> m_xCBActiv;
343  std::unique_ptr<weld::CheckButton> m_xCBAppendSpace;
344  std::unique_ptr<weld::CheckButton> m_xCBAsTip;
345 
346  std::unique_ptr<weld::CheckButton> m_xCBCollect;
347  std::unique_ptr<weld::CheckButton> m_xCBRemoveList;
348 
349  std::unique_ptr<weld::ComboBox> m_xDCBExpandKey;
350  std::unique_ptr<weld::SpinButton> m_xNFMinWordlen;
351  std::unique_ptr<weld::SpinButton> m_xNFMaxEntries;
352  std::unique_ptr<weld::TreeView> m_xLBEntries;
353  std::unique_ptr<weld::Button> m_xPBEntries;
354 
355  DECL_LINK(CheckHdl, weld::ToggleButton&, void);
356  DECL_LINK(KeyReleaseHdl, const KeyEvent&, bool);
357 
358  OfaAutoCompleteTabPage(TabPageParent pParent, const SfxItemSet& rSet);
359 public:
360  virtual ~OfaAutoCompleteTabPage() override;
361  static VclPtr<SfxTabPage> Create(TabPageParent pParent,
362  const SfxItemSet* rAttrSet);
363 
364  virtual bool FillItemSet( SfxItemSet* rSet ) override;
365  virtual void Reset( const SfxItemSet* rSet ) override;
366  virtual void ActivatePage( const SfxItemSet& ) override;
367 
368  void CopyToClipboard() const;
369  DECL_LINK(DeleteHdl, weld::Button&, void);
370 };
371 
372 // class OfaSmartTagOptionsTabPage ---------------------------------------------
373 
379 {
380  using TabPage::ActivatePage;
381 
382 private:
383 
384  // controls
385  std::unique_ptr<weld::CheckButton> m_xMainCB;
386  std::unique_ptr<weld::TreeView> m_xSmartTagTypesLB;
387  std::unique_ptr<weld::Button> m_xPropertiesPB;
388 
394  void FillListBox( const SmartTagMgr& rSmartTagMgr );
395 
398  void ClearListBox();
399 
405  DECL_LINK(CheckHdl, weld::ToggleButton&, void);
406 
412  DECL_LINK(ClickHdl, weld::Button&, void);
413 
419  DECL_LINK(SelectHdl, weld::TreeView&, void);
420 
421 public:
423  OfaSmartTagOptionsTabPage(TabPageParent pParent, const SfxItemSet& rSet);
424  virtual ~OfaSmartTagOptionsTabPage() override;
425 
426  static VclPtr<SfxTabPage> Create( TabPageParent pParent, const SfxItemSet* rAttrSet);
427 
428  virtual bool FillItemSet( SfxItemSet* rSet ) override;
429  virtual void Reset( const SfxItemSet* rSet ) override;
430  virtual void ActivatePage( const SfxItemSet& ) override;
431 };
432 
433 #endif
434 
435 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual void Reset(const SfxItemSet *rSet) override
Definition: autocdlg.cxx:1444
std::unique_ptr< weld::TreeView > m_xDoubleCapsLB
Definition: autocdlg.hxx:246
bool NewDelHdl(const weld::Widget *)
Definition: autocdlg.cxx:1022
std::unique_ptr< weld::CheckButton > m_xCBAppendSpace
Append space.
Definition: autocdlg.hxx:343
std::unique_ptr< weld::CheckButton > m_xAutoCapsCB
Definition: autocdlg.hxx:249
virtual ~OfaSwAutoFmtOptionsPage() override
Definition: autocdlg.cxx:403
std::unique_ptr< weld::Button > m_xDeleteReplacePB
Definition: autocdlg.hxx:188
LanguageType eLang
Definition: autocdlg.hxx:174
virtual bool FillItemSet(SfxItemSet *rSet) override
Propagates the current settings to the smart tag manager.
Definition: autocdlg.cxx:2273
std::unique_ptr< weld::CheckButton > m_xMainCB
Definition: autocdlg.hxx:385
std::unique_ptr< weld::Entry > m_xShortED
Definition: autocdlg.hxx:183
std::unique_ptr< weld::CheckButton > m_xSingleTypoCB
Definition: autocdlg.hxx:293
std::unique_ptr< LanguageBox > m_xLanguageLB
Definition: autocdlg.hxx:39
void ClearListBox()
Clears the m_aSmartTagTypesLB.
Definition: autocdlg.cxx:2173
const SfxItemSet * pSet
void NewEntry(const OUString &sShort, const OUString &sLong, bool bKeepSourceFormatting)
Definition: autocdlg.cxx:942
virtual void ActivatePage(const SfxItemSet &) override
Definition: autocdlg.cxx:1247
void CreateEntry(const OUString &rTxt, sal_uInt16 nCol)
Definition: autocdlg.cxx:392
std::unique_ptr< weld::SpinButton > m_xNFMaxEntries
Definition: autocdlg.hxx:351
static VclPtr< SfxTabPage > Create(TabPageParent pParent, const SfxItemSet *rAttrSet)
Definition: autocdlg.cxx:1241
std::unique_ptr< weld::Button > m_xNewAbbrevPB
Definition: autocdlg.hxx:241
virtual void Reset(const SfxItemSet *rSet) override
Definition: autocdlg.cxx:1992
virtual ~OfaAutoCompleteTabPage() override
Definition: autocdlg.cxx:1920
OfaAutoCompleteTabPage(TabPageParent pParent, const SfxItemSet &rSet)
Definition: autocdlg.cxx:1866
std::unique_ptr< weld::Label > m_xDblStartExFT
Definition: autocdlg.hxx:301
std::unique_ptr< weld::ComboBox > m_xDCBExpandKey
Definition: autocdlg.hxx:349
virtual ~OfaAutocorrReplacePage() override
Definition: autocdlg.cxx:710
std::vector< OUString > aAbbrevStrings
Definition: autocdlg.hxx:222
OUString sCapitalStartSentence
Definition: autocdlg.hxx:93
std::unique_ptr< CollatorWrapper > pCompareClass
Definition: autocdlg.hxx:172
virtual void ActivatePage(const SfxItemSet &) override
Definition: autocdlg.cxx:2331
std::unique_ptr< weld::Button > m_xReplacePB
Definition: autocdlg.hxx:187
std::unique_ptr< weld::CheckButton > m_xDoubleTypoCB
Definition: autocdlg.hxx:299
void InsertEntry(const OUString &rTxt)
Definition: autocdlg.cxx:252
std::unique_ptr< weld::Widget > m_xLanguageBox
Definition: autocdlg.hxx:38
void RefillReplaceBox(bool bFromReset, LanguageType eOldLanguage, LanguageType eNewLanguage)
Definition: autocdlg.cxx:781
std::unique_ptr< weld::Button > m_xSglStandardPB
Definition: autocdlg.hxx:298
std::unique_ptr< weld::TreeView > m_xLBEntries
Definition: autocdlg.hxx:352
OUString sShort
Definition: autocdlg.hxx:142
std::unique_ptr< weld::Label > m_xDblEndExFT
Definition: autocdlg.hxx:303
static void CreateEntry(weld::TreeView &rLstBox, const OUString &rTxt, sal_uInt16 nCol, sal_uInt16 nTextCol)
Definition: autocdlg.cxx:1535
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: autocdlg.cxx:743
DECL_LINK(SelectLanguageHdl, weld::ComboBox &, void)
DECL_LINK(SelectHdl, weld::TreeView &, void)
std::unique_ptr< weld::Entry > m_xReplaceED
Definition: autocdlg.hxx:184
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: autocdlg.cxx:222
virtual void dispose() override
Definition: autocdlg.cxx:1234
void SetLanguage(LanguageType eSet)
Definition: autocdlg.cxx:893
DECL_LINK(CheckHdl, weld::ToggleButton &, void)
Handler for the check box.
sal_uInt16 m_nAutoCmpltListCnt
Definition: autocdlg.hxx:340
void NewDelHdl(const weld::Widget *)
Definition: autocdlg.cxx:1465
std::unique_ptr< weld::Label > m_xSglEndExFT
Definition: autocdlg.hxx:297
std::unique_ptr< weld::TreeView > m_xCheckLB
Definition: autocdlg.hxx:66
OUString m_sAccidentalCaps
Definition: autocdlg.hxx:64
std::unique_ptr< weld::TreeView > m_xCheckLB
For anything but writer.
Definition: autocdlg.hxx:307
std::unique_ptr< weld::Button > m_xNewReplacePB
Definition: autocdlg.hxx:186
virtual void ActivatePage()
virtual void ActivatePage(const SfxItemSet &) override
Definition: autocdlg.cxx:2043
virtual ~OfaSmartTagOptionsTabPage() override
Definition: autocdlg.cxx:2145
OfaAutocorrOptionsPage(TabPageParent pParent, const SfxItemSet &rSet)
Definition: autocdlg.cxx:189
StringChangeTable aChangesTable
Definition: autocdlg.hxx:164
static VclPtr< SfxTabPage > Create(TabPageParent pParent, const SfxItemSet *rAttrSet)
Definition: autocdlg.cxx:726
std::unique_ptr< weld::Entry > m_xAbbrevED
Definition: autocdlg.hxx:239
virtual void Reset(const SfxItemSet *rSet) override
Definition: autocdlg.cxx:887
static VclPtr< SfxTabPage > Create(TabPageParent pParent, const SfxItemSet *rAttrSet)
Definition: autocdlg.cxx:212
DoubleStringArray aNewEntries
Definition: autocdlg.hxx:151
std::unique_ptr< weld::CheckButton > m_xCBActiv
Enable word completion.
Definition: autocdlg.hxx:342
std::unique_ptr< weld::Button > m_xPropertiesPB
Definition: autocdlg.hxx:387
virtual void dispose() override
Definition: autocdlg.cxx:1925
OUString sOrdinal
Definition: autocdlg.hxx:285
virtual ~OfaQuoteTabPage() override
Definition: autocdlg.cxx:1603
std::vector< OUString > aDoubleCapsStrings
Definition: autocdlg.hxx:223
std::unique_ptr< weld::Button > m_xDelDoublePB
Definition: autocdlg.hxx:248
editeng::SortedAutoCompleteStrings * m_pAutoCompleteList
Definition: autocdlg.hxx:339
OfaAutoCorrDlg(weld::Window *pParent, const SfxItemSet *pSet)
Definition: autocdlg.cxx:64
OUString m_sBoldUnderline
Definition: autocdlg.hxx:60
LanguageType eLang
Definition: autocdlg.hxx:237
void DeleteEntry(const OUString &sShort, const OUString &sLong)
Definition: autocdlg.cxx:972
std::unique_ptr< weld::Button > m_xSglStartQuotePB
Definition: autocdlg.hxx:294
sal_UCS4 cEndQuote
Definition: autocdlg.hxx:291
virtual void ActivatePage(const SfxItemSet &) override
Definition: autocdlg.cxx:1682
std::unique_ptr< weld::TreeView > m_xSwCheckLB
Just for writer.
Definition: autocdlg.hxx:309
std::vector< int > m_aReplaceFixedWidths
Definition: autocdlg.hxx:181
void * pUserData
CheckBox -> form. Text Bool -> selection text.
Definition: autocdlg.hxx:144
static VclPtr< SfxTabPage > Create(TabPageParent pParent, const SfxItemSet *rAttrSet)
Definition: autocdlg.cxx:408
virtual void dispose() override
Definition: autocdlg.cxx:715
DECL_LINK(CheckHdl, weld::ToggleButton &, void)
sal_UCS4 cSglEndQuote
Definition: autocdlg.hxx:288
DECL_LINK(NewDelButtonHdl, weld::Button &, void)
std::unique_ptr< weld::Label > m_xSglStartExFT
Definition: autocdlg.hxx:295
std::map< LanguageType, StringsArrays > StringsTable
Definition: autocdlg.hxx:227
static VclPtr< SfxTabPage > Create(TabPageParent pParent, const SfxItemSet *rAttrSet)
Definition: autocdlg.cxx:2150
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: autocdlg.cxx:738
virtual void Reset(const SfxItemSet *rSet) override
Sets the controls based on the current settings at SmartTagMgr.
Definition: autocdlg.cxx:2315
OUString sNonBrkSpace
Definition: autocdlg.hxx:284
void CopyToClipboard() const
Definition: autocdlg.cxx:2077
std::unique_ptr< weld::Button > m_xDelAbbrevPB
Definition: autocdlg.hxx:242
std::unique_ptr< weld::Button > m_xEditPB
Definition: autocdlg.hxx:118
virtual void Reset(const SfxItemSet *rSet) override
Definition: autocdlg.cxx:535
std::unique_ptr< weld::CheckButton > m_xCBAsTip
Show as tip.
Definition: autocdlg.hxx:344
static VclPtr< SfxTabPage > Create(TabPageParent pParent, const SfxItemSet *rAttrSet)
Definition: autocdlg.cxx:1608
std::unique_ptr< weld::Button > m_xDblStartQuotePB
Definition: autocdlg.hxx:300
std::unique_ptr< weld::CheckButton > m_xCBCollect
Collect words.
Definition: autocdlg.hxx:346
DECL_LINK(SelectHdl, weld::TreeView &, void)
OUString sLong
Definition: autocdlg.hxx:143
virtual ~OfaAutoCorrDlg() override
Definition: autocdlg.cxx:140
std::unique_ptr< weld::TreeView > m_xAbbrevLB
Definition: autocdlg.hxx:240
void RefillReplaceBoxes(bool bFromReset, LanguageType eOldLanguage, LanguageType eNewLanguage)
Box filled with new language.
Definition: autocdlg.cxx:1380
void EnableLanguage(bool bEnable)
Definition: autocdlg.cxx:144
virtual void Reset(const SfxItemSet *rSet) override
Definition: autocdlg.cxx:260
std::vector< DoubleString > DoubleStringArray
Definition: autocdlg.hxx:147
std::unique_ptr< CharClass > pCharClass
Definition: autocdlg.hxx:173
virtual ~OfaAutocorrOptionsPage() override
Definition: autocdlg.cxx:207
void FillListBox(const SmartTagMgr &rSmartTagMgr)
Inserts items into m_aSmartTagTypesLB.
Definition: autocdlg.cxx:2187
virtual ~OfaAutocorrExceptPage() override
Definition: autocdlg.cxx:1229
DECL_LINK(QuoteHdl, weld::Button &, void)
std::unique_ptr< weld::SpinButton > m_xNFMinWordlen
Definition: autocdlg.hxx:350
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: autocdlg.cxx:1259
DoubleStringArray aDeletedEntries
Definition: autocdlg.hxx:152
virtual void Reset(const SfxItemSet *rSet) override
Definition: autocdlg.cxx:1687
virtual void ActivatePage(const SfxItemSet &) override
Definition: autocdlg.cxx:731
static VclPtr< SfxTabPage > Create(TabPageParent pParent, const SfxItemSet *rAttrSet)
Definition: autocdlg.cxx:1933
OfaSwAutoFmtOptionsPage(TabPageParent pParent, const SfxItemSet &rSet)
Definition: autocdlg.cxx:356
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: autocdlg.cxx:1614
std::unique_ptr< CollatorWrapper > pCompareClass
Definition: autocdlg.hxx:236
std::unique_ptr< weld::TreeView > m_xSmartTagTypesLB
Definition: autocdlg.hxx:386
void SetLanguage(LanguageType eSet)
Definition: autocdlg.cxx:1366
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: autocdlg.cxx:414
OUString sCapitalStartWord
Definition: autocdlg.hxx:92
std::unique_ptr< weld::Button > m_xNewDoublePB
Definition: autocdlg.hxx:247
std::unique_ptr< weld::TreeView > m_xReplaceTLB
Definition: autocdlg.hxx:185
std::unique_ptr< weld::Button > m_xDblEndQuotePB
Definition: autocdlg.hxx:302
DeactivateRC
StringsTable aStringsTable
Definition: autocdlg.hxx:235
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: autocdlg.cxx:1254
OfaQuoteTabPage(TabPageParent pParent, const SfxItemSet &rSet)
Definition: autocdlg.cxx:1546
OfaSmartTagOptionsTabPage(TabPageParent pParent, const SfxItemSet &rSet)
construction via Create()
Definition: autocdlg.cxx:2125
virtual void ActivatePage(const SfxItemSet &) override
Definition: autocdlg.cxx:530
sal_uInt32 sal_UCS4
virtual void DeactivatePage()
std::unique_ptr< weld::Button > m_xSglEndQuotePB
Definition: autocdlg.hxx:296
vcl::Font aByInputBulletFont
Definition: autocdlg.hxx:114
sal_UCS4 cSglStartQuote
Definition: autocdlg.hxx:287
std::unique_ptr< weld::Button > m_xDblStandardPB
Definition: autocdlg.hxx:304
std::unique_ptr< weld::Label > m_xStandard
Definition: autocdlg.hxx:305
Smart tag options tab page.
Definition: autocdlg.hxx:378
std::unique_ptr< weld::Entry > m_xDoubleCapsED
Definition: autocdlg.hxx:245
std::map< LanguageType, DoubleStringArray > aDoubleStringTable
Definition: autocdlg.hxx:171
sal_UCS4 cStartQuote
Definition: autocdlg.hxx:290
std::set< OUString > aFormatText
Definition: autocdlg.hxx:169
OUString sDelSpaceBetweenLines
Definition: autocdlg.hxx:107
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: autocdlg.cxx:1939
OfaAutocorrReplacePage(TabPageParent pParent, const SfxItemSet &rSet)
Definition: autocdlg.cxx:665
virtual void ActivatePage(const SfxItemSet &) override
Definition: autocdlg.cxx:247
std::unique_ptr< weld::CheckButton > m_xCBRemoveList
...save the list for later use...
Definition: autocdlg.hxx:347
std::unique_ptr< weld::CheckButton > m_xAutoAbbrevCB
Definition: autocdlg.hxx:243
std::unique_ptr< weld::Button > m_xPBEntries
Definition: autocdlg.hxx:353
std::unique_ptr< weld::TreeView > m_xCheckLB
Definition: autocdlg.hxx:117
OfaAutocorrExceptPage(TabPageParent pParent, const SfxItemSet &rSet)
Definition: autocdlg.cxx:1191
OUString ChangeStringExt_Impl(sal_UCS4)
Definition: autocdlg.cxx:1841
std::map< LanguageType, StringChangeList > StringChangeTable
Definition: autocdlg.hxx:155
std::unique_ptr< weld::CheckButton > m_xTextOnlyCB
Definition: autocdlg.hxx:182