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 #pragma once
20 
21 #include <sfx2/tabdlg.hxx>
22 #include <svx/langbox.hxx>
23 
24 #include <map>
25 #include <set>
26 
27 class CharClass;
28 class CollatorWrapper;
29 class SmartTagMgr;
30 
31 namespace editeng { class SortedAutoCompleteStrings; }
32 
33 // class OfaAutoCorrDlg --------------------------------------------------
34 
36 {
37  std::unique_ptr<weld::Widget> m_xLanguageBox;
38  std::unique_ptr<SvxLanguageBox> m_xLanguageLB;
39 
40  DECL_LINK(SelectLanguageHdl, weld::ComboBox&, void);
41 public:
42 
43  OfaAutoCorrDlg(weld::Window* pParent, const SfxItemSet *pSet);
44  virtual ~OfaAutoCorrDlg() override;
45 
46  void EnableLanguage(bool bEnable);
47 };
48 
49 // class OfaAutocorrOptionsPage ------------------------------------------
50 
52 {
53 private:
54  OUString m_sInput;
55  OUString m_sDoubleCaps;
56  OUString m_sStartCap;
57  OUString m_sBoldUnderline;
58  OUString m_sURL;
59  OUString m_sNoDblSpaces;
60  OUString m_sDash;
62 
63  std::unique_ptr<weld::TreeView> m_xCheckLB;
64 
65  void InsertEntry(const OUString& rTxt);
66 
67 public:
69  virtual ~OfaAutocorrOptionsPage() override;
70 
71  static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController,
72  const SfxItemSet* rAttrSet);
73 
74  virtual bool FillItemSet( SfxItemSet* rSet ) override;
75  virtual void Reset( const SfxItemSet* rSet ) override;
76  virtual void ActivatePage( const SfxItemSet& ) override;
77 
78 };
79 
80 // class OfaSwAutoFmtOptionsPage ----------------------------------------------------
81 
83 {
84  OUString sDeleteEmptyPara;
85  OUString sUseReplaceTbl;
88  OUString sUserStyle;
89  OUString sBullet;
90  OUString sBoldUnder;
91  OUString sNoDblSpaces;
92  OUString sCorrectCapsLock;
93  OUString sDetectURL;
94  OUString sDash;
95  OUString sRightMargin;
96  OUString sNum;
97  OUString sBorder;
98  OUString sTable;
102 
103  OUString sMargin;
104  OUString sBulletChar;
106 
109  sal_uInt16 nPercent;
110 
111  std::unique_ptr<weld::TreeView> m_xCheckLB;
112  std::unique_ptr<weld::Button> m_xEditPB;
113 
114  DECL_LINK(SelectHdl, weld::TreeView&, void);
115  DECL_LINK(EditHdl, weld::Button&, void);
116  DECL_LINK(DoubleClickEditHdl, weld::TreeView&, bool);
117 
118  void CreateEntry(const OUString& rTxt, sal_uInt16 nCol);
119 
120 public:
122  static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController,
123  const SfxItemSet* rAttrSet);
124  virtual ~OfaSwAutoFmtOptionsPage() override;
125 
126  virtual bool FillItemSet( SfxItemSet* rSet ) override;
127  virtual void Reset( const SfxItemSet* rSet ) override;
128  virtual void ActivatePage( const SfxItemSet& ) override;
129 };
130 
131 // class OfaAutocorrReplacePage ------------------------------------------
132 
134 {
135  OUString sShort;
136  OUString sLong;
137  void* pUserData;
138 };
139 
140 typedef std::vector<DoubleString> DoubleStringArray;
141 
143 {
146 };
147 
148 typedef std::map<LanguageType, StringChangeList> StringChangeTable;
149 
151 {
152 private:
153 
155 
156  OUString sModify;
157  OUString sNew;
158 
159  std::set<OUString> aFormatText;
160  std::map<LanguageType, DoubleStringArray>
162  std::unique_ptr<CollatorWrapper> pCompareClass;
163  std::unique_ptr<CharClass> pCharClass;
165 
167  bool bFirstSelect:1;
169  bool bSWriter:1;
170 
171  std::vector<int> m_aReplaceFixedWidths;
172  std::unique_ptr<weld::CheckButton> m_xTextOnlyCB;
173  std::unique_ptr<weld::Entry> m_xShortED;
174  std::unique_ptr<weld::Entry> m_xReplaceED;
175  std::unique_ptr<weld::TreeView> m_xReplaceTLB;
176  std::unique_ptr<weld::Button> m_xNewReplacePB;
177  std::unique_ptr<weld::Button> m_xReplacePB;
178  std::unique_ptr<weld::Button> m_xDeleteReplacePB;
179  std::unique_ptr<weld::Container> m_xButtonBox;
180 
181  DECL_LINK(SelectHdl, weld::TreeView&, void);
182  DECL_LINK(NewDelButtonHdl, weld::Button&, void);
183  DECL_LINK(NewDelActionHdl, weld::Entry&, bool);
184  DECL_LINK(EntrySizeAllocHdl, const Size&, void);
185  DECL_LINK(ModifyHdl, weld::Entry&, void);
186  bool NewDelHdl(const weld::Widget*);
187 
188  void RefillReplaceBox( bool bFromReset,
189  LanguageType eOldLanguage,
190  LanguageType eNewLanguage);
191 
192 public:
193  OfaAutocorrReplacePage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
194  virtual ~OfaAutocorrReplacePage() override;
195 
196  static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet);
197 
198  virtual bool FillItemSet( SfxItemSet* rSet ) override;
199  virtual void Reset( const SfxItemSet* rSet ) override;
200  virtual void ActivatePage( const SfxItemSet& ) override;
201  virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
202 
203  void SetLanguage(LanguageType eSet);
204  void DeleteEntry(const OUString& sShort, const OUString& sLong);
205  void NewEntry(const OUString& sShort, const OUString& sLong, bool bKeepSourceFormatting);
206 };
207 
208 // class OfaAutocorrExceptPage ---------------------------------------------
209 
211 {
212  std::vector<OUString> aAbbrevStrings;
213  std::vector<OUString> aDoubleCapsStrings;
214 
216 };
217 typedef std::map<LanguageType, StringsArrays> StringsTable;
218 
220 {
221 private:
223  std::unique_ptr<CollatorWrapper> pCompareClass;
225 
226  std::unique_ptr<weld::Entry> m_xAbbrevED;
227  std::unique_ptr<weld::TreeView> m_xAbbrevLB;
228  std::unique_ptr<weld::Button> m_xNewAbbrevPB;
229  std::unique_ptr<weld::Button> m_xDelAbbrevPB;
230  std::unique_ptr<weld::CheckButton> m_xAutoAbbrevCB;
231 
232  std::unique_ptr<weld::Entry> m_xDoubleCapsED;
233  std::unique_ptr<weld::TreeView> m_xDoubleCapsLB;
234  std::unique_ptr<weld::Button> m_xNewDoublePB;
235  std::unique_ptr<weld::Button> m_xDelDoublePB;
236  std::unique_ptr<weld::CheckButton> m_xAutoCapsCB;
237 
238  DECL_LINK(NewDelButtonHdl, weld::Button&, void);
239  DECL_LINK(NewDelActionHdl, weld::Entry&, bool);
240  DECL_LINK(SelectHdl, weld::TreeView&, void);
241  DECL_LINK(ModifyHdl, weld::Entry&, void);
242  bool NewDelHdl(const weld::Widget*);
244  void RefillReplaceBoxes(bool bFromReset,
245  LanguageType eOldLanguage,
246  LanguageType eNewLanguage);
247 public:
248  OfaAutocorrExceptPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
249  virtual ~OfaAutocorrExceptPage() override;
250 
251  static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController,
252  const SfxItemSet* rAttrSet);
253 
254  virtual bool FillItemSet( SfxItemSet* rSet ) override;
255  virtual void Reset( const SfxItemSet* rSet ) override;
256  virtual void ActivatePage( const SfxItemSet& ) override;
257  virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
258  void SetLanguage(LanguageType eSet);
259 
260 };
261 
262 // class OfaQuoteTabPage -------------------------------------------------
263 
265 {
266 private:
267  OUString sNonBrkSpace;
268  OUString sOrdinal;
270  OUString sAngleQuotes;
271 
274 
277 
278  std::unique_ptr<weld::CheckButton> m_xSingleTypoCB;
279  std::unique_ptr<weld::Button> m_xSglStartQuotePB;
280  std::unique_ptr<weld::Label> m_xSglStartExFT;
281  std::unique_ptr<weld::Button> m_xSglEndQuotePB;
282  std::unique_ptr<weld::Label> m_xSglEndExFT;
283  std::unique_ptr<weld::Button> m_xSglStandardPB;
284  std::unique_ptr<weld::CheckButton> m_xDoubleTypoCB;
285  std::unique_ptr<weld::Button> m_xDblStartQuotePB;
286  std::unique_ptr<weld::Label> m_xDblStartExFT;
287  std::unique_ptr<weld::Button> m_xDblEndQuotePB;
288  std::unique_ptr<weld::Label> m_xDblEndExFT;
289  std::unique_ptr<weld::Button> m_xDblStandardPB;
290  OUString m_sStandard;
292  std::unique_ptr<weld::TreeView> m_xCheckLB;
294  std::unique_ptr<weld::TreeView> m_xSwCheckLB;
295 
296 
297  DECL_LINK(QuoteHdl, weld::Button&, void);
298  DECL_LINK(StdQuoteHdl, weld::Button&, void);
299 
300  OUString ChangeStringExt_Impl( sal_UCS4 );
301 
302  static void CreateEntry(weld::TreeView& rLstBox, const OUString& rTxt,
303  sal_uInt16 nCol, sal_uInt16 nTextCol);
304 
305 public:
306  OfaQuoteTabPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
307  static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController,
308  const SfxItemSet* rAttrSet);
309  virtual ~OfaQuoteTabPage() override;
310 
311  virtual bool FillItemSet( SfxItemSet* rSet ) override;
312  virtual void Reset( const SfxItemSet* rSet ) override;
313  virtual void ActivatePage( const SfxItemSet& ) override;
314 };
315 
316 // class OfaAutoCompleteTabPage ---------------------------------------------
317 
319 {
320 private:
323 
324  std::unique_ptr<weld::CheckButton> m_xCBActiv;
325  std::unique_ptr<weld::CheckButton> m_xCBAppendSpace;
326  std::unique_ptr<weld::CheckButton> m_xCBAsTip;
327 
328  std::unique_ptr<weld::CheckButton> m_xCBCollect;
329  std::unique_ptr<weld::CheckButton> m_xCBRemoveList;
330 
331  std::unique_ptr<weld::ComboBox> m_xDCBExpandKey;
332  std::unique_ptr<weld::SpinButton> m_xNFMinWordlen;
333  std::unique_ptr<weld::SpinButton> m_xNFMaxEntries;
334  std::unique_ptr<weld::TreeView> m_xLBEntries;
335  std::unique_ptr<weld::Button> m_xPBEntries;
336 
337  DECL_LINK(CheckHdl, weld::ToggleButton&, void);
338  DECL_LINK(KeyReleaseHdl, const KeyEvent&, bool);
339 
340 public:
341  OfaAutoCompleteTabPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
342  static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController,
343  const SfxItemSet* rAttrSet);
344  virtual ~OfaAutoCompleteTabPage() override;
345 
346  virtual bool FillItemSet( SfxItemSet* rSet ) override;
347  virtual void Reset( const SfxItemSet* rSet ) override;
348  virtual void ActivatePage( const SfxItemSet& ) override;
349 
350  void CopyToClipboard() const;
351  DECL_LINK(DeleteHdl, weld::Button&, void);
352 };
353 
354 // class OfaSmartTagOptionsTabPage ---------------------------------------------
355 
361 {
362 private:
363 
364  // controls
365  std::unique_ptr<weld::CheckButton> m_xMainCB;
366  std::unique_ptr<weld::TreeView> m_xSmartTagTypesLB;
367  std::unique_ptr<weld::Button> m_xPropertiesPB;
368 
374  void FillListBox( const SmartTagMgr& rSmartTagMgr );
375 
378  void ClearListBox();
379 
385  DECL_LINK(CheckHdl, weld::ToggleButton&, void);
386 
392  DECL_LINK(ClickHdl, weld::Button&, void);
393 
399  DECL_LINK(SelectHdl, weld::TreeView&, void);
400 
401 public:
404  virtual ~OfaSmartTagOptionsTabPage() override;
405 
406  static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet);
407 
408  virtual bool FillItemSet( SfxItemSet* rSet ) override;
409  virtual void Reset( const SfxItemSet* rSet ) override;
410  virtual void ActivatePage( const SfxItemSet& ) override;
411 };
412 
413 /* 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:233
OUString sReplaceTemplates
Definition: autocdlg.hxx:99
bool NewDelHdl(const weld::Widget *)
Definition: autocdlg.cxx:1022
std::unique_ptr< weld::CheckButton > m_xCBAppendSpace
Append space.
Definition: autocdlg.hxx:325
std::unique_ptr< weld::CheckButton > m_xAutoCapsCB
Definition: autocdlg.hxx:236
virtual ~OfaSwAutoFmtOptionsPage() override
Definition: autocdlg.cxx:397
std::unique_ptr< weld::Button > m_xDeleteReplacePB
Definition: autocdlg.hxx:178
LanguageType eLang
Definition: autocdlg.hxx:164
sal_uInt32 sal_UCS4
virtual bool FillItemSet(SfxItemSet *rSet) override
Propagates the current settings to the smart tag manager.
Definition: autocdlg.cxx:2298
std::unique_ptr< weld::CheckButton > m_xMainCB
Definition: autocdlg.hxx:365
std::unique_ptr< weld::Entry > m_xShortED
Definition: autocdlg.hxx:173
std::unique_ptr< weld::CheckButton > m_xSingleTypoCB
Definition: autocdlg.hxx:278
void ClearListBox()
Clears the m_aSmartTagTypesLB.
Definition: autocdlg.cxx:2198
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:333
std::unique_ptr< weld::Button > m_xNewAbbrevPB
Definition: autocdlg.hxx:228
virtual void Reset(const SfxItemSet *rSet) override
Definition: autocdlg.cxx:2016
virtual ~OfaAutoCompleteTabPage() override
Definition: autocdlg.cxx:1953
std::unique_ptr< weld::Label > m_xDblStartExFT
Definition: autocdlg.hxx:286
std::unique_ptr< weld::ComboBox > m_xDCBExpandKey
Definition: autocdlg.hxx:331
virtual ~OfaAutocorrReplacePage() override
Definition: autocdlg.cxx:715
std::vector< OUString > aAbbrevStrings
Definition: autocdlg.hxx:212
OUString sCapitalStartSentence
Definition: autocdlg.hxx:87
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:162
virtual void ActivatePage(const SfxItemSet &) override
Definition: autocdlg.cxx:2356
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:177
std::unique_ptr< weld::CheckButton > m_xDoubleTypoCB
Definition: autocdlg.hxx:284
void InsertEntry(const OUString &rTxt)
Definition: autocdlg.cxx:241
std::unique_ptr< weld::Widget > m_xLanguageBox
Definition: autocdlg.hxx:37
void RefillReplaceBox(bool bFromReset, LanguageType eOldLanguage, LanguageType eNewLanguage)
Definition: autocdlg.cxx:781
std::unique_ptr< weld::Button > m_xSglStandardPB
Definition: autocdlg.hxx:283
std::unique_ptr< weld::TreeView > m_xLBEntries
Definition: autocdlg.hxx:334
OUString sShort
Definition: autocdlg.hxx:135
std::unique_ptr< weld::Label > m_xDblEndExFT
Definition: autocdlg.hxx:288
static void CreateEntry(weld::TreeView &rLstBox, const OUString &rTxt, sal_uInt16 nCol, sal_uInt16 nTextCol)
Definition: autocdlg.cxx:1541
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: autocdlg.cxx:741
OfaAutocorrOptionsPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: autocdlg.cxx:181
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:349
std::unique_ptr< SvxLanguageBox > m_xLanguageLB
Definition: autocdlg.hxx:38
std::unique_ptr< weld::Entry > m_xReplaceED
Definition: autocdlg.hxx:174
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: autocdlg.cxx:211
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:322
std::unique_ptr< weld::Label > m_xSglEndExFT
Definition: autocdlg.hxx:282
bool NewDelHdl(const weld::Widget *)
Definition: autocdlg.cxx:1457
std::unique_ptr< weld::TreeView > m_xCheckLB
Definition: autocdlg.hxx:63
OUString m_sAccidentalCaps
Definition: autocdlg.hxx:61
std::unique_ptr< weld::TreeView > m_xCheckLB
For anything but writer.
Definition: autocdlg.hxx:292
std::unique_ptr< weld::Button > m_xNewReplacePB
Definition: autocdlg.hxx:176
virtual void ActivatePage(const SfxItemSet &) override
Definition: autocdlg.cxx:2067
OUString sTransliterateRTL
Definition: autocdlg.hxx:269
virtual ~OfaSmartTagOptionsTabPage() override
Definition: autocdlg.cxx:2167
OUString sAngleQuotes
Definition: autocdlg.hxx:270
StringChangeTable aChangesTable
Definition: autocdlg.hxx:154
OfaAutocorrReplacePage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: autocdlg.cxx:662
std::unique_ptr< weld::Entry > m_xAbbrevED
Definition: autocdlg.hxx:226
virtual void Reset(const SfxItemSet *rSet) override
Definition: autocdlg.cxx:887
OfaQuoteTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: autocdlg.cxx:1552
DoubleStringArray aNewEntries
Definition: autocdlg.hxx:144
std::unique_ptr< weld::CheckButton > m_xCBActiv
Enable word completion.
Definition: autocdlg.hxx:324
std::unique_ptr< weld::Button > m_xPropertiesPB
Definition: autocdlg.hxx:367
OUString sOrdinal
Definition: autocdlg.hxx:268
virtual ~OfaQuoteTabPage() override
Definition: autocdlg.cxx:1610
std::vector< OUString > aDoubleCapsStrings
Definition: autocdlg.hxx:213
std::unique_ptr< weld::Button > m_xDelDoublePB
Definition: autocdlg.hxx:235
editeng::SortedAutoCompleteStrings * m_pAutoCompleteList
Definition: autocdlg.hxx:321
OfaAutoCorrDlg(weld::Window *pParent, const SfxItemSet *pSet)
Definition: autocdlg.cxx:56
OUString m_sStandard
Definition: autocdlg.hxx:290
OUString m_sBoldUnderline
Definition: autocdlg.hxx:57
LanguageType eLang
Definition: autocdlg.hxx:224
void DeleteEntry(const OUString &sShort, const OUString &sLong)
Definition: autocdlg.cxx:972
std::unique_ptr< weld::Button > m_xSglStartQuotePB
Definition: autocdlg.hxx:279
sal_UCS4 cEndQuote
Definition: autocdlg.hxx:276
virtual void ActivatePage(const SfxItemSet &) override
Definition: autocdlg.cxx:1702
std::unique_ptr< weld::TreeView > m_xSwCheckLB
Just for writer.
Definition: autocdlg.hxx:294
std::vector< int > m_aReplaceFixedWidths
Definition: autocdlg.hxx:171
void * pUserData
CheckBox -> form. Text Bool -> selection text.
Definition: autocdlg.hxx:137
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:2149
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:273
DECL_LINK(NewDelButtonHdl, weld::Button &, void)
std::unique_ptr< weld::Label > m_xSglStartExFT
Definition: autocdlg.hxx:280
std::map< LanguageType, StringsArrays > StringsTable
Definition: autocdlg.hxx:217
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:2340
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: autocdlg.cxx:1957
OUString sNonBrkSpace
Definition: autocdlg.hxx:267
void CopyToClipboard() const
Definition: autocdlg.cxx:2101
std::unique_ptr< weld::Button > m_xDelAbbrevPB
Definition: autocdlg.hxx:229
std::unique_ptr< weld::Button > m_xEditPB
Definition: autocdlg.hxx:112
virtual void Reset(const SfxItemSet *rSet) override
Definition: autocdlg.cxx:531
std::unique_ptr< weld::CheckButton > m_xCBAsTip
Show as tip.
Definition: autocdlg.hxx:326
std::unique_ptr< weld::Button > m_xDblStartQuotePB
Definition: autocdlg.hxx:285
std::unique_ptr< weld::CheckButton > m_xCBCollect
Collect words.
Definition: autocdlg.hxx:328
DECL_LINK(SelectHdl, weld::TreeView &, void)
OUString sLong
Definition: autocdlg.hxx:136
virtual ~OfaAutoCorrDlg() override
Definition: autocdlg.cxx:132
std::unique_ptr< weld::TreeView > m_xAbbrevLB
Definition: autocdlg.hxx:227
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:2171
void EnableLanguage(bool bEnable)
Definition: autocdlg.cxx:136
virtual void Reset(const SfxItemSet *rSet) override
Definition: autocdlg.cxx:249
std::vector< DoubleString > DoubleStringArray
Definition: autocdlg.hxx:140
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: autocdlg.cxx:1614
std::unique_ptr< CharClass > pCharClass
Definition: autocdlg.hxx:163
virtual ~OfaAutocorrOptionsPage() override
Definition: autocdlg.cxx:197
void FillListBox(const SmartTagMgr &rSmartTagMgr)
Inserts items into m_aSmartTagTypesLB.
Definition: autocdlg.cxx:2212
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:201
std::unique_ptr< weld::SpinButton > m_xNFMinWordlen
Definition: autocdlg.hxx:332
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: autocdlg.cxx:1253
DoubleStringArray aDeletedEntries
Definition: autocdlg.hxx:145
virtual void Reset(const SfxItemSet *rSet) override
Definition: autocdlg.cxx:1707
virtual void ActivatePage(const SfxItemSet &) override
Definition: autocdlg.cxx:729
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: autocdlg.cxx:1620
std::unique_ptr< CollatorWrapper > pCompareClass
Definition: autocdlg.hxx:223
std::unique_ptr< weld::TreeView > m_xSmartTagTypesLB
Definition: autocdlg.hxx:366
void SetLanguage(LanguageType eSet)
Definition: autocdlg.cxx:1360
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: autocdlg.cxx:410
OUString sCapitalStartWord
Definition: autocdlg.hxx:86
std::unique_ptr< weld::Button > m_xNewDoublePB
Definition: autocdlg.hxx:234
std::unique_ptr< weld::TreeView > m_xReplaceTLB
Definition: autocdlg.hxx:175
std::unique_ptr< weld::Button > m_xDblEndQuotePB
Definition: autocdlg.hxx:287
DeactivateRC
OfaAutoCompleteTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: autocdlg.cxx:1899
StringsTable aStringsTable
Definition: autocdlg.hxx:222
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: autocdlg.cxx:1248
virtual void ActivatePage(const SfxItemSet &) override
Definition: autocdlg.cxx:526
std::unique_ptr< weld::Button > m_xSglEndQuotePB
Definition: autocdlg.hxx:281
vcl::Font aByInputBulletFont
Definition: autocdlg.hxx:108
sal_UCS4 cSglStartQuote
Definition: autocdlg.hxx:272
std::unique_ptr< weld::Button > m_xDblStandardPB
Definition: autocdlg.hxx:289
Smart tag options tab page.
Definition: autocdlg.hxx:360
std::unique_ptr< weld::Entry > m_xDoubleCapsED
Definition: autocdlg.hxx:232
std::map< LanguageType, DoubleStringArray > aDoubleStringTable
Definition: autocdlg.hxx:161
sal_UCS4 cStartQuote
Definition: autocdlg.hxx:275
std::set< OUString > aFormatText
Definition: autocdlg.hxx:159
OUString sDelSpaceBetweenLines
Definition: autocdlg.hxx:101
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: autocdlg.cxx:1963
virtual void ActivatePage(const SfxItemSet &) override
Definition: autocdlg.cxx:236
std::unique_ptr< weld::CheckButton > m_xCBRemoveList
...save the list for later use...
Definition: autocdlg.hxx:329
std::unique_ptr< weld::CheckButton > m_xAutoAbbrevCB
Definition: autocdlg.hxx:230
std::unique_ptr< weld::Button > m_xPBEntries
Definition: autocdlg.hxx:335
std::unique_ptr< weld::Container > m_xButtonBox
Definition: autocdlg.hxx:179
std::unique_ptr< weld::TreeView > m_xCheckLB
Definition: autocdlg.hxx:111
OUString ChangeStringExt_Impl(sal_UCS4)
Definition: autocdlg.cxx:1874
std::map< LanguageType, StringChangeList > StringChangeTable
Definition: autocdlg.hxx:148
std::unique_ptr< weld::CheckButton > m_xTextOnlyCB
Definition: autocdlg.hxx:172