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<SvxLanguageBox> 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 {
54 private:
55  OUString m_sInput;
56  OUString m_sDoubleCaps;
57  OUString m_sStartCap;
58  OUString m_sBoldUnderline;
59  OUString m_sURL;
60  OUString m_sNoDblSpaces;
61  OUString m_sDash;
63 
64  std::unique_ptr<weld::TreeView> m_xCheckLB;
65 
66  void InsertEntry(const OUString& rTxt);
67 
68 public:
70  virtual ~OfaAutocorrOptionsPage() override;
71 
72  static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController,
73  const SfxItemSet* rAttrSet);
74 
75  virtual bool FillItemSet( SfxItemSet* rSet ) override;
76  virtual void Reset( const SfxItemSet* rSet ) override;
77  virtual void ActivatePage( const SfxItemSet& ) override;
78 
79 };
80 
81 // class OfaSwAutoFmtOptionsPage ----------------------------------------------------
82 
84 {
85  OUString sDeleteEmptyPara;
86  OUString sUseReplaceTbl;
89  OUString sUserStyle;
90  OUString sBullet;
91  OUString sBoldUnder;
92  OUString sNoDblSpaces;
93  OUString sCorrectCapsLock;
94  OUString sDetectURL;
95  OUString sDash;
96  OUString sRightMargin;
97  OUString sNum;
98  OUString sBorder;
99  OUString sTable;
103 
104  OUString sMargin;
105  OUString sBulletChar;
107 
110  sal_uInt16 nPercent;
111 
112  std::unique_ptr<weld::TreeView> m_xCheckLB;
113  std::unique_ptr<weld::Button> m_xEditPB;
114 
115  DECL_LINK(SelectHdl, weld::TreeView&, void);
116  DECL_LINK(EditHdl, weld::Button&, void);
117  DECL_LINK(DoubleClickEditHdl, weld::TreeView&, bool);
118 
119  void CreateEntry(const OUString& rTxt, sal_uInt16 nCol);
120 
121 public:
123  static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController,
124  const SfxItemSet* rAttrSet);
125  virtual ~OfaSwAutoFmtOptionsPage() override;
126 
127  virtual bool FillItemSet( SfxItemSet* rSet ) override;
128  virtual void Reset( const SfxItemSet* rSet ) override;
129  virtual void ActivatePage( const SfxItemSet& ) override;
130 };
131 
132 // class OfaAutocorrReplacePage ------------------------------------------
133 
135 {
136  OUString sShort;
137  OUString sLong;
138  void* pUserData;
139 };
140 
141 typedef std::vector<DoubleString> DoubleStringArray;
142 
144 {
147 };
148 
149 typedef std::map<LanguageType, StringChangeList> StringChangeTable;
150 
152 {
153 private:
154 
156 
157  OUString sModify;
158  OUString sNew;
159 
160  std::set<OUString> aFormatText;
161  std::map<LanguageType, DoubleStringArray>
163  std::unique_ptr<CollatorWrapper> pCompareClass;
164  std::unique_ptr<CharClass> pCharClass;
166 
168  bool bFirstSelect:1;
170  bool bSWriter:1;
171 
172  std::vector<int> m_aReplaceFixedWidths;
173  std::unique_ptr<weld::CheckButton> m_xTextOnlyCB;
174  std::unique_ptr<weld::Entry> m_xShortED;
175  std::unique_ptr<weld::Entry> m_xReplaceED;
176  std::unique_ptr<weld::TreeView> m_xReplaceTLB;
177  std::unique_ptr<weld::Button> m_xNewReplacePB;
178  std::unique_ptr<weld::Button> m_xReplacePB;
179  std::unique_ptr<weld::Button> m_xDeleteReplacePB;
180  std::unique_ptr<weld::Container> m_xButtonBox;
181 
182  DECL_LINK(SelectHdl, weld::TreeView&, void);
183  DECL_LINK(NewDelButtonHdl, weld::Button&, void);
184  DECL_LINK(NewDelActionHdl, weld::Entry&, bool);
185  DECL_LINK(EntrySizeAllocHdl, const Size&, void);
186  DECL_LINK(ModifyHdl, weld::Entry&, void);
187  bool NewDelHdl(const weld::Widget*);
188 
189  void RefillReplaceBox( bool bFromReset,
190  LanguageType eOldLanguage,
191  LanguageType eNewLanguage);
192 
193 public:
194  OfaAutocorrReplacePage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
195  virtual ~OfaAutocorrReplacePage() override;
196 
197  static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet);
198 
199  virtual bool FillItemSet( SfxItemSet* rSet ) override;
200  virtual void Reset( const SfxItemSet* rSet ) override;
201  virtual void ActivatePage( const SfxItemSet& ) override;
202  virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
203 
204  void SetLanguage(LanguageType eSet);
205  void DeleteEntry(const OUString& sShort, const OUString& sLong);
206  void NewEntry(const OUString& sShort, const OUString& sLong, bool bKeepSourceFormatting);
207 };
208 
209 // class OfaAutocorrExceptPage ---------------------------------------------
210 
212 {
213  std::vector<OUString> aAbbrevStrings;
214  std::vector<OUString> aDoubleCapsStrings;
215 
217 };
218 typedef std::map<LanguageType, StringsArrays> StringsTable;
219 
221 {
222 private:
224  std::unique_ptr<CollatorWrapper> pCompareClass;
226 
227  std::unique_ptr<weld::Entry> m_xAbbrevED;
228  std::unique_ptr<weld::TreeView> m_xAbbrevLB;
229  std::unique_ptr<weld::Button> m_xNewAbbrevPB;
230  std::unique_ptr<weld::Button> m_xDelAbbrevPB;
231  std::unique_ptr<weld::CheckButton> m_xAutoAbbrevCB;
232 
233  std::unique_ptr<weld::Entry> m_xDoubleCapsED;
234  std::unique_ptr<weld::TreeView> m_xDoubleCapsLB;
235  std::unique_ptr<weld::Button> m_xNewDoublePB;
236  std::unique_ptr<weld::Button> m_xDelDoublePB;
237  std::unique_ptr<weld::CheckButton> m_xAutoCapsCB;
238 
239  DECL_LINK(NewDelButtonHdl, weld::Button&, void);
240  DECL_LINK(NewDelActionHdl, weld::Entry&, bool);
241  DECL_LINK(SelectHdl, weld::TreeView&, void);
242  DECL_LINK(ModifyHdl, weld::Entry&, void);
243  void NewDelHdl(const weld::Widget*);
245  void RefillReplaceBoxes(bool bFromReset,
246  LanguageType eOldLanguage,
247  LanguageType eNewLanguage);
248 public:
249  OfaAutocorrExceptPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
250  virtual ~OfaAutocorrExceptPage() override;
251 
252  static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController,
253  const SfxItemSet* rAttrSet);
254 
255  virtual bool FillItemSet( SfxItemSet* rSet ) override;
256  virtual void Reset( const SfxItemSet* rSet ) override;
257  virtual void ActivatePage( const SfxItemSet& ) override;
258  virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
259  void SetLanguage(LanguageType eSet);
260 
261 };
262 
263 // class OfaQuoteTabPage -------------------------------------------------
264 
266 {
267 private:
268  OUString sNonBrkSpace;
269  OUString sOrdinal;
270 
273 
276 
277  std::unique_ptr<weld::CheckButton> m_xSingleTypoCB;
278  std::unique_ptr<weld::Button> m_xSglStartQuotePB;
279  std::unique_ptr<weld::Label> m_xSglStartExFT;
280  std::unique_ptr<weld::Button> m_xSglEndQuotePB;
281  std::unique_ptr<weld::Label> m_xSglEndExFT;
282  std::unique_ptr<weld::Button> m_xSglStandardPB;
283  std::unique_ptr<weld::CheckButton> m_xDoubleTypoCB;
284  std::unique_ptr<weld::Button> m_xDblStartQuotePB;
285  std::unique_ptr<weld::Label> m_xDblStartExFT;
286  std::unique_ptr<weld::Button> m_xDblEndQuotePB;
287  std::unique_ptr<weld::Label> m_xDblEndExFT;
288  std::unique_ptr<weld::Button> m_xDblStandardPB;
289  std::unique_ptr<weld::Label> m_xStandard;
291  std::unique_ptr<weld::TreeView> m_xCheckLB;
293  std::unique_ptr<weld::TreeView> m_xSwCheckLB;
294 
295 
296  DECL_LINK(QuoteHdl, weld::Button&, void);
297  DECL_LINK(StdQuoteHdl, weld::Button&, void);
298 
299  OUString ChangeStringExt_Impl( sal_UCS4 );
300 
301  static void CreateEntry(weld::TreeView& rLstBox, const OUString& rTxt,
302  sal_uInt16 nCol, sal_uInt16 nTextCol);
303 
304 public:
305  OfaQuoteTabPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
306  static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController,
307  const SfxItemSet* rAttrSet);
308  virtual ~OfaQuoteTabPage() override;
309 
310  virtual bool FillItemSet( SfxItemSet* rSet ) override;
311  virtual void Reset( const SfxItemSet* rSet ) override;
312  virtual void ActivatePage( const SfxItemSet& ) override;
313 };
314 
315 // class OfaAutoCompleteTabPage ---------------------------------------------
316 
318 {
319 private:
322 
323  std::unique_ptr<weld::CheckButton> m_xCBActiv;
324  std::unique_ptr<weld::CheckButton> m_xCBAppendSpace;
325  std::unique_ptr<weld::CheckButton> m_xCBAsTip;
326 
327  std::unique_ptr<weld::CheckButton> m_xCBCollect;
328  std::unique_ptr<weld::CheckButton> m_xCBRemoveList;
329 
330  std::unique_ptr<weld::ComboBox> m_xDCBExpandKey;
331  std::unique_ptr<weld::SpinButton> m_xNFMinWordlen;
332  std::unique_ptr<weld::SpinButton> m_xNFMaxEntries;
333  std::unique_ptr<weld::TreeView> m_xLBEntries;
334  std::unique_ptr<weld::Button> m_xPBEntries;
335 
336  DECL_LINK(CheckHdl, weld::ToggleButton&, void);
337  DECL_LINK(KeyReleaseHdl, const KeyEvent&, bool);
338 
339 public:
340  OfaAutoCompleteTabPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
341  static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController,
342  const SfxItemSet* rAttrSet);
343  virtual ~OfaAutoCompleteTabPage() override;
344 
345  virtual bool FillItemSet( SfxItemSet* rSet ) override;
346  virtual void Reset( const SfxItemSet* rSet ) override;
347  virtual void ActivatePage( const SfxItemSet& ) override;
348 
349  void CopyToClipboard() const;
350  DECL_LINK(DeleteHdl, weld::Button&, void);
351 };
352 
353 // class OfaSmartTagOptionsTabPage ---------------------------------------------
354 
360 {
361 private:
362 
363  // controls
364  std::unique_ptr<weld::CheckButton> m_xMainCB;
365  std::unique_ptr<weld::TreeView> m_xSmartTagTypesLB;
366  std::unique_ptr<weld::Button> m_xPropertiesPB;
367 
373  void FillListBox( const SmartTagMgr& rSmartTagMgr );
374 
377  void ClearListBox();
378 
384  DECL_LINK(CheckHdl, weld::ToggleButton&, void);
385 
391  DECL_LINK(ClickHdl, weld::Button&, void);
392 
398  DECL_LINK(SelectHdl, weld::TreeView&, void);
399 
400 public:
403  virtual ~OfaSmartTagOptionsTabPage() override;
404 
405  static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet);
406 
407  virtual bool FillItemSet( SfxItemSet* rSet ) override;
408  virtual void Reset( const SfxItemSet* rSet ) override;
409  virtual void ActivatePage( const SfxItemSet& ) override;
410 };
411 
412 #endif
413 
414 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual void Reset(const SfxItemSet *rSet) override
Definition: autocdlg.cxx:1438
std::unique_ptr< weld::TreeView > m_xDoubleCapsLB
Definition: autocdlg.hxx:234
bool NewDelHdl(const weld::Widget *)
Definition: autocdlg.cxx:1022
std::unique_ptr< weld::CheckButton > m_xCBAppendSpace
Append space.
Definition: autocdlg.hxx:324
std::unique_ptr< weld::CheckButton > m_xAutoCapsCB
Definition: autocdlg.hxx:237
virtual ~OfaSwAutoFmtOptionsPage() override
Definition: autocdlg.cxx:397
std::unique_ptr< weld::Button > m_xDeleteReplacePB
Definition: autocdlg.hxx:179
LanguageType eLang
Definition: autocdlg.hxx:165
virtual bool FillItemSet(SfxItemSet *rSet) override
Propagates the current settings to the smart tag manager.
Definition: autocdlg.cxx:2260
std::unique_ptr< weld::CheckButton > m_xMainCB
Definition: autocdlg.hxx:364
std::unique_ptr< weld::Entry > m_xShortED
Definition: autocdlg.hxx:174
std::unique_ptr< weld::CheckButton > m_xSingleTypoCB
Definition: autocdlg.hxx:277
void ClearListBox()
Clears the m_aSmartTagTypesLB.
Definition: autocdlg.cxx:2160
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:1241
void CreateEntry(const OUString &rTxt, sal_uInt16 nCol)
Definition: autocdlg.cxx:386
std::unique_ptr< weld::SpinButton > m_xNFMaxEntries
Definition: autocdlg.hxx:332
std::unique_ptr< weld::Button > m_xNewAbbrevPB
Definition: autocdlg.hxx:229
virtual void Reset(const SfxItemSet *rSet) override
Definition: autocdlg.cxx:1980
virtual ~OfaAutoCompleteTabPage() override
Definition: autocdlg.cxx:1917
std::unique_ptr< weld::Label > m_xDblStartExFT
Definition: autocdlg.hxx:285
std::unique_ptr< weld::ComboBox > m_xDCBExpandKey
Definition: autocdlg.hxx:330
virtual ~OfaAutocorrReplacePage() override
Definition: autocdlg.cxx:715
std::vector< OUString > aAbbrevStrings
Definition: autocdlg.hxx:213
OUString sCapitalStartSentence
Definition: autocdlg.hxx:88
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: autocdlg.cxx:724
std::unique_ptr< CollatorWrapper > pCompareClass
Definition: autocdlg.hxx:163
virtual void ActivatePage(const SfxItemSet &) override
Definition: autocdlg.cxx:2318
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: autocdlg.cxx:1235
std::unique_ptr< weld::Button > m_xReplacePB
Definition: autocdlg.hxx:178
std::unique_ptr< weld::CheckButton > m_xDoubleTypoCB
Definition: autocdlg.hxx:283
void InsertEntry(const OUString &rTxt)
Definition: autocdlg.cxx:242
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:282
std::unique_ptr< weld::TreeView > m_xLBEntries
Definition: autocdlg.hxx:333
OUString sShort
Definition: autocdlg.hxx:136
std::unique_ptr< weld::Label > m_xDblEndExFT
Definition: autocdlg.hxx:287
static void CreateEntry(weld::TreeView &rLstBox, const OUString &rTxt, sal_uInt16 nCol, sal_uInt16 nTextCol)
Definition: autocdlg.cxx:1533
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: autocdlg.cxx:741
OfaAutocorrOptionsPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: autocdlg.cxx:180
DECL_LINK(SelectLanguageHdl, weld::ComboBox &, void)
DECL_LINK(SelectHdl, weld::TreeView &, void)
OfaSwAutoFmtOptionsPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: autocdlg.cxx:350
std::unique_ptr< SvxLanguageBox > m_xLanguageLB
Definition: autocdlg.hxx:39
std::unique_ptr< weld::Entry > m_xReplaceED
Definition: autocdlg.hxx:175
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: autocdlg.cxx:212
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:321
void NewDelHdl(const weld::Widget *)
Definition: autocdlg.cxx:1459
std::unique_ptr< weld::Label > m_xSglEndExFT
Definition: autocdlg.hxx:281
std::unique_ptr< weld::TreeView > m_xCheckLB
Definition: autocdlg.hxx:64
OUString m_sAccidentalCaps
Definition: autocdlg.hxx:62
std::unique_ptr< weld::TreeView > m_xCheckLB
For anything but writer.
Definition: autocdlg.hxx:291
std::unique_ptr< weld::Button > m_xNewReplacePB
Definition: autocdlg.hxx:177
virtual void ActivatePage(const SfxItemSet &) override
Definition: autocdlg.cxx:2031
virtual ~OfaSmartTagOptionsTabPage() override
Definition: autocdlg.cxx:2133
StringChangeTable aChangesTable
Definition: autocdlg.hxx:155
OfaAutocorrReplacePage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: autocdlg.cxx:662
std::unique_ptr< weld::Entry > m_xAbbrevED
Definition: autocdlg.hxx:227
virtual void Reset(const SfxItemSet *rSet) override
Definition: autocdlg.cxx:887
OfaQuoteTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: autocdlg.cxx:1544
DoubleStringArray aNewEntries
Definition: autocdlg.hxx:145
std::unique_ptr< weld::CheckButton > m_xCBActiv
Enable word completion.
Definition: autocdlg.hxx:323
std::unique_ptr< weld::Button > m_xPropertiesPB
Definition: autocdlg.hxx:366
OUString sOrdinal
Definition: autocdlg.hxx:269
virtual ~OfaQuoteTabPage() override
Definition: autocdlg.cxx:1601
std::vector< OUString > aDoubleCapsStrings
Definition: autocdlg.hxx:214
std::unique_ptr< weld::Button > m_xDelDoublePB
Definition: autocdlg.hxx:236
editeng::SortedAutoCompleteStrings * m_pAutoCompleteList
Definition: autocdlg.hxx:320
OfaAutoCorrDlg(weld::Window *pParent, const SfxItemSet *pSet)
Definition: autocdlg.cxx:55
OUString m_sBoldUnderline
Definition: autocdlg.hxx:58
LanguageType eLang
Definition: autocdlg.hxx:225
void DeleteEntry(const OUString &sShort, const OUString &sLong)
Definition: autocdlg.cxx:972
std::unique_ptr< weld::Button > m_xSglStartQuotePB
Definition: autocdlg.hxx:278
sal_UCS4 cEndQuote
Definition: autocdlg.hxx:275
virtual void ActivatePage(const SfxItemSet &) override
Definition: autocdlg.cxx:1679
std::unique_ptr< weld::TreeView > m_xSwCheckLB
Just for writer.
Definition: autocdlg.hxx:293
std::vector< int > m_aReplaceFixedWidths
Definition: autocdlg.hxx:172
void * pUserData
CheckBox -> form. Text Bool -> selection text.
Definition: autocdlg.hxx:138
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: autocdlg.cxx:404
OfaSmartTagOptionsTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
construction via Create()
Definition: autocdlg.cxx:2113
DECL_LINK(CheckHdl, weld::ToggleButton &, void)
OfaAutocorrExceptPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: autocdlg.cxx:1191
sal_UCS4 cSglEndQuote
Definition: autocdlg.hxx:272
DECL_LINK(NewDelButtonHdl, weld::Button &, void)
std::unique_ptr< weld::Label > m_xSglStartExFT
Definition: autocdlg.hxx:279
std::map< LanguageType, StringsArrays > StringsTable
Definition: autocdlg.hxx:218
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: autocdlg.cxx:736
virtual void Reset(const SfxItemSet *rSet) override
Sets the controls based on the current settings at SmartTagMgr.
Definition: autocdlg.cxx:2302
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: autocdlg.cxx:1921
OUString sNonBrkSpace
Definition: autocdlg.hxx:268
void CopyToClipboard() const
Definition: autocdlg.cxx:2065
std::unique_ptr< weld::Button > m_xDelAbbrevPB
Definition: autocdlg.hxx:230
std::unique_ptr< weld::Button > m_xEditPB
Definition: autocdlg.hxx:113
virtual void Reset(const SfxItemSet *rSet) override
Definition: autocdlg.cxx:531
std::unique_ptr< weld::CheckButton > m_xCBAsTip
Show as tip.
Definition: autocdlg.hxx:325
std::unique_ptr< weld::Button > m_xDblStartQuotePB
Definition: autocdlg.hxx:284
std::unique_ptr< weld::CheckButton > m_xCBCollect
Collect words.
Definition: autocdlg.hxx:327
DECL_LINK(SelectHdl, weld::TreeView &, void)
OUString sLong
Definition: autocdlg.hxx:137
virtual ~OfaAutoCorrDlg() override
Definition: autocdlg.cxx:131
std::unique_ptr< weld::TreeView > m_xAbbrevLB
Definition: autocdlg.hxx:228
void RefillReplaceBoxes(bool bFromReset, LanguageType eOldLanguage, LanguageType eNewLanguage)
Box filled with new language.
Definition: autocdlg.cxx:1374
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: autocdlg.cxx:2137
void EnableLanguage(bool bEnable)
Definition: autocdlg.cxx:135
virtual void Reset(const SfxItemSet *rSet) override
Definition: autocdlg.cxx:250
std::vector< DoubleString > DoubleStringArray
Definition: autocdlg.hxx:141
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: autocdlg.cxx:1605
std::unique_ptr< CharClass > pCharClass
Definition: autocdlg.hxx:164
virtual ~OfaAutocorrOptionsPage() override
Definition: autocdlg.cxx:198
void FillListBox(const SmartTagMgr &rSmartTagMgr)
Inserts items into m_aSmartTagTypesLB.
Definition: autocdlg.cxx:2174
virtual ~OfaAutocorrExceptPage() override
Definition: autocdlg.cxx:1229
DECL_LINK(QuoteHdl, weld::Button &, void)
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: autocdlg.cxx:202
std::unique_ptr< weld::SpinButton > m_xNFMinWordlen
Definition: autocdlg.hxx:331
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: autocdlg.cxx:1253
DoubleStringArray aDeletedEntries
Definition: autocdlg.hxx:146
virtual void Reset(const SfxItemSet *rSet) override
Definition: autocdlg.cxx:1684
virtual void ActivatePage(const SfxItemSet &) override
Definition: autocdlg.cxx:729
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: autocdlg.cxx:1611
std::unique_ptr< CollatorWrapper > pCompareClass
Definition: autocdlg.hxx:224
std::unique_ptr< weld::TreeView > m_xSmartTagTypesLB
Definition: autocdlg.hxx:365
void SetLanguage(LanguageType eSet)
Definition: autocdlg.cxx:1360
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: autocdlg.cxx:410
OUString sCapitalStartWord
Definition: autocdlg.hxx:87
std::unique_ptr< weld::Button > m_xNewDoublePB
Definition: autocdlg.hxx:235
std::unique_ptr< weld::TreeView > m_xReplaceTLB
Definition: autocdlg.hxx:176
std::unique_ptr< weld::Button > m_xDblEndQuotePB
Definition: autocdlg.hxx:286
DeactivateRC
OfaAutoCompleteTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: autocdlg.cxx:1863
StringsTable aStringsTable
Definition: autocdlg.hxx:223
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: autocdlg.cxx:1248
virtual void ActivatePage(const SfxItemSet &) override
Definition: autocdlg.cxx:526
sal_uInt32 sal_UCS4
std::unique_ptr< weld::Button > m_xSglEndQuotePB
Definition: autocdlg.hxx:280
vcl::Font aByInputBulletFont
Definition: autocdlg.hxx:109
sal_UCS4 cSglStartQuote
Definition: autocdlg.hxx:271
std::unique_ptr< weld::Button > m_xDblStandardPB
Definition: autocdlg.hxx:288
std::unique_ptr< weld::Label > m_xStandard
Definition: autocdlg.hxx:289
Smart tag options tab page.
Definition: autocdlg.hxx:359
std::unique_ptr< weld::Entry > m_xDoubleCapsED
Definition: autocdlg.hxx:233
std::map< LanguageType, DoubleStringArray > aDoubleStringTable
Definition: autocdlg.hxx:162
sal_UCS4 cStartQuote
Definition: autocdlg.hxx:274
std::set< OUString > aFormatText
Definition: autocdlg.hxx:160
OUString sDelSpaceBetweenLines
Definition: autocdlg.hxx:102
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: autocdlg.cxx:1927
virtual void ActivatePage(const SfxItemSet &) override
Definition: autocdlg.cxx:237
std::unique_ptr< weld::CheckButton > m_xCBRemoveList
...save the list for later use...
Definition: autocdlg.hxx:328
std::unique_ptr< weld::CheckButton > m_xAutoAbbrevCB
Definition: autocdlg.hxx:231
std::unique_ptr< weld::Button > m_xPBEntries
Definition: autocdlg.hxx:334
std::unique_ptr< weld::Container > m_xButtonBox
Definition: autocdlg.hxx:180
std::unique_ptr< weld::TreeView > m_xCheckLB
Definition: autocdlg.hxx:112
OUString ChangeStringExt_Impl(sal_UCS4)
Definition: autocdlg.cxx:1838
std::map< LanguageType, StringChangeList > StringChangeTable
Definition: autocdlg.hxx:149
std::unique_ptr< weld::CheckButton > m_xTextOnlyCB
Definition: autocdlg.hxx:173