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 <map>
27 #include <set>
28 
29 class CharClass;
30 class CollatorWrapper;
31 class SmartTagMgr;
32 
33 namespace editeng { class SortedAutoCompleteStrings; }
34 
35 // class OfaAutoCorrDlg --------------------------------------------------
36 
38 {
39  std::unique_ptr<weld::Widget> m_xLanguageBox;
40  std::unique_ptr<SvxLanguageBox> m_xLanguageLB;
41 
42  DECL_LINK(SelectLanguageHdl, weld::ComboBox&, void);
43 public:
44 
45  OfaAutoCorrDlg(weld::Window* pParent, const SfxItemSet *pSet);
46  virtual ~OfaAutoCorrDlg() override;
47 
48  void EnableLanguage(bool bEnable);
49 };
50 
51 // class OfaAutocorrOptionsPage ------------------------------------------
52 
54 {
55 private:
56  OUString m_sInput;
57  OUString m_sDoubleCaps;
58  OUString m_sStartCap;
59  OUString m_sBoldUnderline;
60  OUString m_sURL;
61  OUString m_sNoDblSpaces;
62  OUString m_sDash;
64 
65  std::unique_ptr<weld::TreeView> m_xCheckLB;
66 
67  void InsertEntry(const OUString& rTxt);
68 
69 public:
71  virtual ~OfaAutocorrOptionsPage() override;
72 
73  static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController,
74  const SfxItemSet* rAttrSet);
75 
76  virtual bool FillItemSet( SfxItemSet* rSet ) override;
77  virtual void Reset( const SfxItemSet* rSet ) override;
78  virtual void ActivatePage( const SfxItemSet& ) override;
79 
80 };
81 
82 // class OfaSwAutoFmtOptionsPage ----------------------------------------------------
83 
85 {
86  OUString sDeleteEmptyPara;
87  OUString sUseReplaceTbl;
90  OUString sUserStyle;
91  OUString sBullet;
92  OUString sBoldUnder;
93  OUString sNoDblSpaces;
94  OUString sCorrectCapsLock;
95  OUString sDetectURL;
96  OUString sDash;
97  OUString sRightMargin;
98  OUString sNum;
99  OUString sBorder;
100  OUString sTable;
104 
105  OUString sMargin;
106  OUString sBulletChar;
108 
111  sal_uInt16 nPercent;
112 
113  std::unique_ptr<weld::TreeView> m_xCheckLB;
114  std::unique_ptr<weld::Button> m_xEditPB;
115 
116  DECL_LINK(SelectHdl, weld::TreeView&, void);
117  DECL_LINK(EditHdl, weld::Button&, void);
118  DECL_LINK(DoubleClickEditHdl, weld::TreeView&, bool);
119 
120  void CreateEntry(const OUString& rTxt, sal_uInt16 nCol);
121 
122 public:
124  static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController,
125  const SfxItemSet* rAttrSet);
126  virtual ~OfaSwAutoFmtOptionsPage() override;
127 
128  virtual bool FillItemSet( SfxItemSet* rSet ) override;
129  virtual void Reset( const SfxItemSet* rSet ) override;
130  virtual void ActivatePage( const SfxItemSet& ) override;
131 };
132 
133 // class OfaAutocorrReplacePage ------------------------------------------
134 
136 {
137  OUString sShort;
138  OUString sLong;
139  void* pUserData;
140 };
141 
142 typedef std::vector<DoubleString> DoubleStringArray;
143 
145 {
148 };
149 
150 typedef std::map<LanguageType, StringChangeList> StringChangeTable;
151 
153 {
154 private:
155 
157 
158  OUString sModify;
159  OUString sNew;
160 
161  std::set<OUString> aFormatText;
162  std::map<LanguageType, DoubleStringArray>
164  std::unique_ptr<CollatorWrapper> pCompareClass;
165  std::unique_ptr<CharClass> pCharClass;
167 
169  bool bFirstSelect:1;
171  bool bSWriter:1;
172 
173  std::vector<int> m_aReplaceFixedWidths;
174  std::unique_ptr<weld::CheckButton> m_xTextOnlyCB;
175  std::unique_ptr<weld::Entry> m_xShortED;
176  std::unique_ptr<weld::Entry> m_xReplaceED;
177  std::unique_ptr<weld::TreeView> m_xReplaceTLB;
178  std::unique_ptr<weld::Button> m_xNewReplacePB;
179  std::unique_ptr<weld::Button> m_xReplacePB;
180  std::unique_ptr<weld::Button> m_xDeleteReplacePB;
181  std::unique_ptr<weld::Container> m_xButtonBox;
182 
183  DECL_LINK(SelectHdl, weld::TreeView&, void);
184  DECL_LINK(NewDelButtonHdl, weld::Button&, void);
185  DECL_LINK(NewDelActionHdl, weld::Entry&, bool);
186  DECL_LINK(EntrySizeAllocHdl, const Size&, void);
187  DECL_LINK(ModifyHdl, weld::Entry&, void);
188  bool NewDelHdl(const weld::Widget*);
189 
190  void RefillReplaceBox( bool bFromReset,
191  LanguageType eOldLanguage,
192  LanguageType eNewLanguage);
193 
194 public:
195  OfaAutocorrReplacePage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
196  virtual ~OfaAutocorrReplacePage() override;
197 
198  static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet);
199 
200  virtual bool FillItemSet( SfxItemSet* rSet ) override;
201  virtual void Reset( const SfxItemSet* rSet ) override;
202  virtual void ActivatePage( const SfxItemSet& ) override;
203  virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
204 
205  void SetLanguage(LanguageType eSet);
206  void DeleteEntry(const OUString& sShort, const OUString& sLong);
207  void NewEntry(const OUString& sShort, const OUString& sLong, bool bKeepSourceFormatting);
208 };
209 
210 // class OfaAutocorrExceptPage ---------------------------------------------
211 
213 {
214  std::vector<OUString> aAbbrevStrings;
215  std::vector<OUString> aDoubleCapsStrings;
216 
218 };
219 typedef std::map<LanguageType, StringsArrays> StringsTable;
220 
222 {
223 private:
225  std::unique_ptr<CollatorWrapper> pCompareClass;
227 
228  std::unique_ptr<weld::Entry> m_xAbbrevED;
229  std::unique_ptr<weld::TreeView> m_xAbbrevLB;
230  std::unique_ptr<weld::Button> m_xNewAbbrevPB;
231  std::unique_ptr<weld::Button> m_xDelAbbrevPB;
232  std::unique_ptr<weld::CheckButton> m_xAutoAbbrevCB;
233 
234  std::unique_ptr<weld::Entry> m_xDoubleCapsED;
235  std::unique_ptr<weld::TreeView> m_xDoubleCapsLB;
236  std::unique_ptr<weld::Button> m_xNewDoublePB;
237  std::unique_ptr<weld::Button> m_xDelDoublePB;
238  std::unique_ptr<weld::CheckButton> m_xAutoCapsCB;
239 
240  DECL_LINK(NewDelButtonHdl, weld::Button&, void);
241  DECL_LINK(NewDelActionHdl, weld::Entry&, bool);
242  DECL_LINK(SelectHdl, weld::TreeView&, void);
243  DECL_LINK(ModifyHdl, weld::Entry&, void);
244  void NewDelHdl(const weld::Widget*);
246  void RefillReplaceBoxes(bool bFromReset,
247  LanguageType eOldLanguage,
248  LanguageType eNewLanguage);
249 public:
250  OfaAutocorrExceptPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
251  virtual ~OfaAutocorrExceptPage() override;
252 
253  static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController,
254  const SfxItemSet* rAttrSet);
255 
256  virtual bool FillItemSet( SfxItemSet* rSet ) override;
257  virtual void Reset( const SfxItemSet* rSet ) override;
258  virtual void ActivatePage( const SfxItemSet& ) override;
259  virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
260  void SetLanguage(LanguageType eSet);
261 
262 };
263 
264 // class OfaQuoteTabPage -------------------------------------------------
265 
267 {
268 private:
269  OUString sNonBrkSpace;
270  OUString sOrdinal;
272  OUString sAngleQuotes;
273 
276 
279 
280  std::unique_ptr<weld::CheckButton> m_xSingleTypoCB;
281  std::unique_ptr<weld::Button> m_xSglStartQuotePB;
282  std::unique_ptr<weld::Label> m_xSglStartExFT;
283  std::unique_ptr<weld::Button> m_xSglEndQuotePB;
284  std::unique_ptr<weld::Label> m_xSglEndExFT;
285  std::unique_ptr<weld::Button> m_xSglStandardPB;
286  std::unique_ptr<weld::CheckButton> m_xDoubleTypoCB;
287  std::unique_ptr<weld::Button> m_xDblStartQuotePB;
288  std::unique_ptr<weld::Label> m_xDblStartExFT;
289  std::unique_ptr<weld::Button> m_xDblEndQuotePB;
290  std::unique_ptr<weld::Label> m_xDblEndExFT;
291  std::unique_ptr<weld::Button> m_xDblStandardPB;
292  OUString m_sStandard;
294  std::unique_ptr<weld::TreeView> m_xCheckLB;
296  std::unique_ptr<weld::TreeView> m_xSwCheckLB;
297 
298 
299  DECL_LINK(QuoteHdl, weld::Button&, void);
300  DECL_LINK(StdQuoteHdl, weld::Button&, void);
301 
302  OUString ChangeStringExt_Impl( sal_UCS4 );
303 
304  static void CreateEntry(weld::TreeView& rLstBox, const OUString& rTxt,
305  sal_uInt16 nCol, sal_uInt16 nTextCol);
306 
307 public:
308  OfaQuoteTabPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
309  static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController,
310  const SfxItemSet* rAttrSet);
311  virtual ~OfaQuoteTabPage() override;
312 
313  virtual bool FillItemSet( SfxItemSet* rSet ) override;
314  virtual void Reset( const SfxItemSet* rSet ) override;
315  virtual void ActivatePage( const SfxItemSet& ) override;
316 };
317 
318 // class OfaAutoCompleteTabPage ---------------------------------------------
319 
321 {
322 private:
325 
326  std::unique_ptr<weld::CheckButton> m_xCBActiv;
327  std::unique_ptr<weld::CheckButton> m_xCBAppendSpace;
328  std::unique_ptr<weld::CheckButton> m_xCBAsTip;
329 
330  std::unique_ptr<weld::CheckButton> m_xCBCollect;
331  std::unique_ptr<weld::CheckButton> m_xCBRemoveList;
332 
333  std::unique_ptr<weld::ComboBox> m_xDCBExpandKey;
334  std::unique_ptr<weld::SpinButton> m_xNFMinWordlen;
335  std::unique_ptr<weld::SpinButton> m_xNFMaxEntries;
336  std::unique_ptr<weld::TreeView> m_xLBEntries;
337  std::unique_ptr<weld::Button> m_xPBEntries;
338 
339  DECL_LINK(CheckHdl, weld::ToggleButton&, void);
340  DECL_LINK(KeyReleaseHdl, const KeyEvent&, bool);
341 
342 public:
343  OfaAutoCompleteTabPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
344  static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController,
345  const SfxItemSet* rAttrSet);
346  virtual ~OfaAutoCompleteTabPage() override;
347 
348  virtual bool FillItemSet( SfxItemSet* rSet ) override;
349  virtual void Reset( const SfxItemSet* rSet ) override;
350  virtual void ActivatePage( const SfxItemSet& ) override;
351 
352  void CopyToClipboard() const;
353  DECL_LINK(DeleteHdl, weld::Button&, void);
354 };
355 
356 // class OfaSmartTagOptionsTabPage ---------------------------------------------
357 
363 {
364 private:
365 
366  // controls
367  std::unique_ptr<weld::CheckButton> m_xMainCB;
368  std::unique_ptr<weld::TreeView> m_xSmartTagTypesLB;
369  std::unique_ptr<weld::Button> m_xPropertiesPB;
370 
376  void FillListBox( const SmartTagMgr& rSmartTagMgr );
377 
380  void ClearListBox();
381 
387  DECL_LINK(CheckHdl, weld::ToggleButton&, void);
388 
394  DECL_LINK(ClickHdl, weld::Button&, void);
395 
401  DECL_LINK(SelectHdl, weld::TreeView&, void);
402 
403 public:
406  virtual ~OfaSmartTagOptionsTabPage() override;
407 
408  static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet);
409 
410  virtual bool FillItemSet( SfxItemSet* rSet ) override;
411  virtual void Reset( const SfxItemSet* rSet ) override;
412  virtual void ActivatePage( const SfxItemSet& ) override;
413 };
414 
415 #endif
416 
417 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual void Reset(const SfxItemSet *rSet) override
Definition: autocdlg.cxx:1437
std::unique_ptr< weld::TreeView > m_xDoubleCapsLB
Definition: autocdlg.hxx:235
bool NewDelHdl(const weld::Widget *)
Definition: autocdlg.cxx:1021
std::unique_ptr< weld::CheckButton > m_xCBAppendSpace
Append space.
Definition: autocdlg.hxx:327
std::unique_ptr< weld::CheckButton > m_xAutoCapsCB
Definition: autocdlg.hxx:238
virtual ~OfaSwAutoFmtOptionsPage() override
Definition: autocdlg.cxx:396
std::unique_ptr< weld::Button > m_xDeleteReplacePB
Definition: autocdlg.hxx:180
LanguageType eLang
Definition: autocdlg.hxx:166
virtual bool FillItemSet(SfxItemSet *rSet) override
Propagates the current settings to the smart tag manager.
Definition: autocdlg.cxx:2291
std::unique_ptr< weld::CheckButton > m_xMainCB
Definition: autocdlg.hxx:367
std::unique_ptr< weld::Entry > m_xShortED
Definition: autocdlg.hxx:175
std::unique_ptr< weld::CheckButton > m_xSingleTypoCB
Definition: autocdlg.hxx:280
void ClearListBox()
Clears the m_aSmartTagTypesLB.
Definition: autocdlg.cxx:2191
const SfxItemSet * pSet
void NewEntry(const OUString &sShort, const OUString &sLong, bool bKeepSourceFormatting)
Definition: autocdlg.cxx:941
virtual void ActivatePage(const SfxItemSet &) override
Definition: autocdlg.cxx:1240
void CreateEntry(const OUString &rTxt, sal_uInt16 nCol)
Definition: autocdlg.cxx:385
std::unique_ptr< weld::SpinButton > m_xNFMaxEntries
Definition: autocdlg.hxx:335
std::unique_ptr< weld::Button > m_xNewAbbrevPB
Definition: autocdlg.hxx:230
virtual void Reset(const SfxItemSet *rSet) override
Definition: autocdlg.cxx:2009
virtual ~OfaAutoCompleteTabPage() override
Definition: autocdlg.cxx:1946
std::unique_ptr< weld::Label > m_xDblStartExFT
Definition: autocdlg.hxx:288
std::unique_ptr< weld::ComboBox > m_xDCBExpandKey
Definition: autocdlg.hxx:333
virtual ~OfaAutocorrReplacePage() override
Definition: autocdlg.cxx:714
std::vector< OUString > aAbbrevStrings
Definition: autocdlg.hxx:214
OUString sCapitalStartSentence
Definition: autocdlg.hxx:89
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: autocdlg.cxx:723
std::unique_ptr< CollatorWrapper > pCompareClass
Definition: autocdlg.hxx:164
virtual void ActivatePage(const SfxItemSet &) override
Definition: autocdlg.cxx:2349
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: autocdlg.cxx:1234
std::unique_ptr< weld::Button > m_xReplacePB
Definition: autocdlg.hxx:179
std::unique_ptr< weld::CheckButton > m_xDoubleTypoCB
Definition: autocdlg.hxx:286
void InsertEntry(const OUString &rTxt)
Definition: autocdlg.cxx:240
std::unique_ptr< weld::Widget > m_xLanguageBox
Definition: autocdlg.hxx:39
void RefillReplaceBox(bool bFromReset, LanguageType eOldLanguage, LanguageType eNewLanguage)
Definition: autocdlg.cxx:780
std::unique_ptr< weld::Button > m_xSglStandardPB
Definition: autocdlg.hxx:285
std::unique_ptr< weld::TreeView > m_xLBEntries
Definition: autocdlg.hxx:336
OUString sShort
Definition: autocdlg.hxx:137
std::unique_ptr< weld::Label > m_xDblEndExFT
Definition: autocdlg.hxx:290
static void CreateEntry(weld::TreeView &rLstBox, const OUString &rTxt, sal_uInt16 nCol, sal_uInt16 nTextCol)
Definition: autocdlg.cxx:1534
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: autocdlg.cxx:740
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:348
std::unique_ptr< SvxLanguageBox > m_xLanguageLB
Definition: autocdlg.hxx:40
std::unique_ptr< weld::Entry > m_xReplaceED
Definition: autocdlg.hxx:176
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: autocdlg.cxx:210
void SetLanguage(LanguageType eSet)
Definition: autocdlg.cxx:892
DECL_LINK(CheckHdl, weld::ToggleButton &, void)
Handler for the check box.
sal_uInt16 m_nAutoCmpltListCnt
Definition: autocdlg.hxx:324
void NewDelHdl(const weld::Widget *)
Definition: autocdlg.cxx:1458
std::unique_ptr< weld::Label > m_xSglEndExFT
Definition: autocdlg.hxx:284
std::unique_ptr< weld::TreeView > m_xCheckLB
Definition: autocdlg.hxx:65
OUString m_sAccidentalCaps
Definition: autocdlg.hxx:63
std::unique_ptr< weld::TreeView > m_xCheckLB
For anything but writer.
Definition: autocdlg.hxx:294
std::unique_ptr< weld::Button > m_xNewReplacePB
Definition: autocdlg.hxx:178
virtual void ActivatePage(const SfxItemSet &) override
Definition: autocdlg.cxx:2060
OUString sTransliterateRTL
Definition: autocdlg.hxx:271
virtual ~OfaSmartTagOptionsTabPage() override
Definition: autocdlg.cxx:2160
OUString sAngleQuotes
Definition: autocdlg.hxx:272
StringChangeTable aChangesTable
Definition: autocdlg.hxx:156
OfaAutocorrReplacePage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: autocdlg.cxx:661
std::unique_ptr< weld::Entry > m_xAbbrevED
Definition: autocdlg.hxx:228
virtual void Reset(const SfxItemSet *rSet) override
Definition: autocdlg.cxx:886
OfaQuoteTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: autocdlg.cxx:1545
DoubleStringArray aNewEntries
Definition: autocdlg.hxx:146
std::unique_ptr< weld::CheckButton > m_xCBActiv
Enable word completion.
Definition: autocdlg.hxx:326
std::unique_ptr< weld::Button > m_xPropertiesPB
Definition: autocdlg.hxx:369
OUString sOrdinal
Definition: autocdlg.hxx:270
virtual ~OfaQuoteTabPage() override
Definition: autocdlg.cxx:1603
std::vector< OUString > aDoubleCapsStrings
Definition: autocdlg.hxx:215
std::unique_ptr< weld::Button > m_xDelDoublePB
Definition: autocdlg.hxx:237
editeng::SortedAutoCompleteStrings * m_pAutoCompleteList
Definition: autocdlg.hxx:323
OfaAutoCorrDlg(weld::Window *pParent, const SfxItemSet *pSet)
Definition: autocdlg.cxx:55
OUString m_sStandard
Definition: autocdlg.hxx:292
OUString m_sBoldUnderline
Definition: autocdlg.hxx:59
LanguageType eLang
Definition: autocdlg.hxx:226
void DeleteEntry(const OUString &sShort, const OUString &sLong)
Definition: autocdlg.cxx:971
std::unique_ptr< weld::Button > m_xSglStartQuotePB
Definition: autocdlg.hxx:281
sal_UCS4 cEndQuote
Definition: autocdlg.hxx:278
virtual void ActivatePage(const SfxItemSet &) override
Definition: autocdlg.cxx:1695
std::unique_ptr< weld::TreeView > m_xSwCheckLB
Just for writer.
Definition: autocdlg.hxx:296
std::vector< int > m_aReplaceFixedWidths
Definition: autocdlg.hxx:173
void * pUserData
CheckBox -> form. Text Bool -> selection text.
Definition: autocdlg.hxx:139
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: autocdlg.cxx:403
OfaSmartTagOptionsTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
construction via Create()
Definition: autocdlg.cxx:2142
DECL_LINK(CheckHdl, weld::ToggleButton &, void)
OfaAutocorrExceptPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: autocdlg.cxx:1190
sal_UCS4 cSglEndQuote
Definition: autocdlg.hxx:275
DECL_LINK(NewDelButtonHdl, weld::Button &, void)
std::unique_ptr< weld::Label > m_xSglStartExFT
Definition: autocdlg.hxx:282
std::map< LanguageType, StringsArrays > StringsTable
Definition: autocdlg.hxx:219
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: autocdlg.cxx:735
virtual void Reset(const SfxItemSet *rSet) override
Sets the controls based on the current settings at SmartTagMgr.
Definition: autocdlg.cxx:2333
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: autocdlg.cxx:1950
OUString sNonBrkSpace
Definition: autocdlg.hxx:269
void CopyToClipboard() const
Definition: autocdlg.cxx:2094
std::unique_ptr< weld::Button > m_xDelAbbrevPB
Definition: autocdlg.hxx:231
std::unique_ptr< weld::Button > m_xEditPB
Definition: autocdlg.hxx:114
virtual void Reset(const SfxItemSet *rSet) override
Definition: autocdlg.cxx:530
std::unique_ptr< weld::CheckButton > m_xCBAsTip
Show as tip.
Definition: autocdlg.hxx:328
std::unique_ptr< weld::Button > m_xDblStartQuotePB
Definition: autocdlg.hxx:287
std::unique_ptr< weld::CheckButton > m_xCBCollect
Collect words.
Definition: autocdlg.hxx:330
DECL_LINK(SelectHdl, weld::TreeView &, void)
OUString sLong
Definition: autocdlg.hxx:138
virtual ~OfaAutoCorrDlg() override
Definition: autocdlg.cxx:131
std::unique_ptr< weld::TreeView > m_xAbbrevLB
Definition: autocdlg.hxx:229
void RefillReplaceBoxes(bool bFromReset, LanguageType eOldLanguage, LanguageType eNewLanguage)
Box filled with new language.
Definition: autocdlg.cxx:1373
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: autocdlg.cxx:2164
void EnableLanguage(bool bEnable)
Definition: autocdlg.cxx:135
virtual void Reset(const SfxItemSet *rSet) override
Definition: autocdlg.cxx:248
std::vector< DoubleString > DoubleStringArray
Definition: autocdlg.hxx:142
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: autocdlg.cxx:1607
std::unique_ptr< CharClass > pCharClass
Definition: autocdlg.hxx:165
virtual ~OfaAutocorrOptionsPage() override
Definition: autocdlg.cxx:196
void FillListBox(const SmartTagMgr &rSmartTagMgr)
Inserts items into m_aSmartTagTypesLB.
Definition: autocdlg.cxx:2205
virtual ~OfaAutocorrExceptPage() override
Definition: autocdlg.cxx:1228
DECL_LINK(QuoteHdl, weld::Button &, void)
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: autocdlg.cxx:200
std::unique_ptr< weld::SpinButton > m_xNFMinWordlen
Definition: autocdlg.hxx:334
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: autocdlg.cxx:1252
DoubleStringArray aDeletedEntries
Definition: autocdlg.hxx:147
virtual void Reset(const SfxItemSet *rSet) override
Definition: autocdlg.cxx:1700
virtual void ActivatePage(const SfxItemSet &) override
Definition: autocdlg.cxx:728
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: autocdlg.cxx:1613
std::unique_ptr< CollatorWrapper > pCompareClass
Definition: autocdlg.hxx:225
std::unique_ptr< weld::TreeView > m_xSmartTagTypesLB
Definition: autocdlg.hxx:368
void SetLanguage(LanguageType eSet)
Definition: autocdlg.cxx:1359
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: autocdlg.cxx:409
OUString sCapitalStartWord
Definition: autocdlg.hxx:88
std::unique_ptr< weld::Button > m_xNewDoublePB
Definition: autocdlg.hxx:236
std::unique_ptr< weld::TreeView > m_xReplaceTLB
Definition: autocdlg.hxx:177
std::unique_ptr< weld::Button > m_xDblEndQuotePB
Definition: autocdlg.hxx:289
DeactivateRC
OfaAutoCompleteTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: autocdlg.cxx:1892
StringsTable aStringsTable
Definition: autocdlg.hxx:224
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: autocdlg.cxx:1247
virtual void ActivatePage(const SfxItemSet &) override
Definition: autocdlg.cxx:525
sal_uInt32 sal_UCS4
std::unique_ptr< weld::Button > m_xSglEndQuotePB
Definition: autocdlg.hxx:283
vcl::Font aByInputBulletFont
Definition: autocdlg.hxx:110
sal_UCS4 cSglStartQuote
Definition: autocdlg.hxx:274
std::unique_ptr< weld::Button > m_xDblStandardPB
Definition: autocdlg.hxx:291
Smart tag options tab page.
Definition: autocdlg.hxx:362
std::unique_ptr< weld::Entry > m_xDoubleCapsED
Definition: autocdlg.hxx:234
std::map< LanguageType, DoubleStringArray > aDoubleStringTable
Definition: autocdlg.hxx:163
sal_UCS4 cStartQuote
Definition: autocdlg.hxx:277
std::set< OUString > aFormatText
Definition: autocdlg.hxx:161
OUString sDelSpaceBetweenLines
Definition: autocdlg.hxx:103
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: autocdlg.cxx:1956
virtual void ActivatePage(const SfxItemSet &) override
Definition: autocdlg.cxx:235
std::unique_ptr< weld::CheckButton > m_xCBRemoveList
...save the list for later use...
Definition: autocdlg.hxx:331
std::unique_ptr< weld::CheckButton > m_xAutoAbbrevCB
Definition: autocdlg.hxx:232
std::unique_ptr< weld::Button > m_xPBEntries
Definition: autocdlg.hxx:337
std::unique_ptr< weld::Container > m_xButtonBox
Definition: autocdlg.hxx:181
std::unique_ptr< weld::TreeView > m_xCheckLB
Definition: autocdlg.hxx:113
OUString ChangeStringExt_Impl(sal_UCS4)
Definition: autocdlg.cxx:1867
std::map< LanguageType, StringChangeList > StringChangeTable
Definition: autocdlg.hxx:150
std::unique_ptr< weld::CheckButton > m_xTextOnlyCB
Definition: autocdlg.hxx:174