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#include <utility>
27
28class CharClass;
29class CollatorWrapper;
30class SmartTagMgr;
31
32namespace 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);
42public:
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{
54private:
55 OUString m_sInput;
56 OUString m_sDoubleCaps;
57 OUString m_sStartCap;
59 OUString m_sURL;
61 OUString m_sDash;
63
64 std::unique_ptr<weld::TreeView> m_xCheckLB;
65
66 void InsertEntry(const OUString& rTxt);
67
68public:
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{
89 OUString sUserStyle;
90 OUString sBullet;
91 OUString sBoldUnder;
92 OUString sNoDblSpaces;
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
121public:
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 DoubleString(OUString aShort, OUString aLong)
140 : sShort(std::move(aShort))
141 , sLong(std::move(aLong))
142 , pUserData(nullptr)
143 {
144 }
145};
146
147typedef std::vector<DoubleString> DoubleStringArray;
148
150{
153};
154
155typedef std::map<LanguageType, StringChangeList> StringChangeTable;
156
158{
159private:
160
162
163 OUString sModify;
164 OUString sNew;
165
166 std::set<OUString> aFormatText;
167 std::map<LanguageType, DoubleStringArray>
169 std::unique_ptr<CollatorWrapper> pCompareClass;
170 std::unique_ptr<CharClass> pCharClass;
172
176 bool bSWriter:1;
177
178 std::vector<int> m_aReplaceFixedWidths;
179 std::unique_ptr<weld::CheckButton> m_xTextOnlyCB;
180 std::unique_ptr<weld::Entry> m_xShortED;
181 std::unique_ptr<weld::Entry> m_xReplaceED;
182 std::unique_ptr<weld::TreeView> m_xReplaceTLB;
183 std::unique_ptr<weld::Button> m_xNewReplacePB;
184 std::unique_ptr<weld::Button> m_xReplacePB;
185 std::unique_ptr<weld::Button> m_xDeleteReplacePB;
186 std::unique_ptr<weld::Container> m_xButtonBox;
187
188 DECL_LINK(SelectHdl, weld::TreeView&, void);
189 DECL_LINK(NewDelButtonHdl, weld::Button&, void);
190 DECL_LINK(NewDelActionHdl, weld::Entry&, bool);
191 DECL_LINK(EntrySizeAllocHdl, const Size&, void);
192 DECL_LINK(ModifyHdl, weld::Entry&, void);
193 bool NewDelHdl(const weld::Widget*);
194
195 void RefillReplaceBox( bool bFromReset,
196 LanguageType eOldLanguage,
197 LanguageType eNewLanguage);
198
199public:
201 virtual ~OfaAutocorrReplacePage() override;
202
203 static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet);
204
205 virtual bool FillItemSet( SfxItemSet* rSet ) override;
206 virtual void Reset( const SfxItemSet* rSet ) override;
207 virtual void ActivatePage( const SfxItemSet& ) override;
208 virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
209
210 void SetLanguage(LanguageType eSet);
211 void DeleteEntry(const OUString& sShort, const OUString& sLong);
212 void NewEntry(const OUString& sShort, const OUString& sLong, bool bKeepSourceFormatting);
213};
214
215// class OfaAutocorrExceptPage ---------------------------------------------
216
218{
219 std::vector<OUString> aAbbrevStrings;
220 std::vector<OUString> aDoubleCapsStrings;
221
223};
224typedef std::map<LanguageType, StringsArrays> StringsTable;
225
227{
228private:
230 std::unique_ptr<CollatorWrapper> pCompareClass;
232
233 std::unique_ptr<weld::Entry> m_xAbbrevED;
234 std::unique_ptr<weld::TreeView> m_xAbbrevLB;
235 std::unique_ptr<weld::Button> m_xNewAbbrevPB;
236 std::unique_ptr<weld::Button> m_xDelAbbrevPB;
237 std::unique_ptr<weld::CheckButton> m_xAutoAbbrevCB;
238
239 std::unique_ptr<weld::Entry> m_xDoubleCapsED;
240 std::unique_ptr<weld::TreeView> m_xDoubleCapsLB;
241 std::unique_ptr<weld::Button> m_xNewDoublePB;
242 std::unique_ptr<weld::Button> m_xDelDoublePB;
243 std::unique_ptr<weld::CheckButton> m_xAutoCapsCB;
244
245 DECL_LINK(NewDelButtonHdl, weld::Button&, void);
246 DECL_LINK(NewDelActionHdl, weld::Entry&, bool);
247 DECL_LINK(SelectHdl, weld::TreeView&, void);
248 DECL_LINK(ModifyHdl, weld::Entry&, void);
249 bool NewDelHdl(const weld::Widget*);
251 void RefillReplaceBoxes(bool bFromReset,
252 LanguageType eOldLanguage,
253 LanguageType eNewLanguage);
254public:
256 virtual ~OfaAutocorrExceptPage() override;
257
258 static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController,
259 const SfxItemSet* rAttrSet);
260
261 virtual bool FillItemSet( SfxItemSet* rSet ) override;
262 virtual void Reset( const SfxItemSet* rSet ) override;
263 virtual void ActivatePage( const SfxItemSet& ) override;
264 virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
265 void SetLanguage(LanguageType eSet);
266
267};
268
269// class OfaQuoteTabPage -------------------------------------------------
270
272{
273private:
274 OUString sNonBrkSpace;
275 OUString sOrdinal;
277 OUString sAngleQuotes;
278
281
284
285 std::unique_ptr<weld::CheckButton> m_xSingleTypoCB;
286 std::unique_ptr<weld::Button> m_xSglStartQuotePB;
287 std::unique_ptr<weld::Label> m_xSglStartExFT;
288 std::unique_ptr<weld::Button> m_xSglEndQuotePB;
289 std::unique_ptr<weld::Label> m_xSglEndExFT;
290 std::unique_ptr<weld::Button> m_xSglStandardPB;
291 std::unique_ptr<weld::CheckButton> m_xDoubleTypoCB;
292 std::unique_ptr<weld::Button> m_xDblStartQuotePB;
293 std::unique_ptr<weld::Label> m_xDblStartExFT;
294 std::unique_ptr<weld::Button> m_xDblEndQuotePB;
295 std::unique_ptr<weld::Label> m_xDblEndExFT;
296 std::unique_ptr<weld::Button> m_xDblStandardPB;
297 OUString m_sStandard;
299 std::unique_ptr<weld::TreeView> m_xCheckLB;
301 std::unique_ptr<weld::TreeView> m_xSwCheckLB;
302
303
304 DECL_LINK(QuoteHdl, weld::Button&, void);
305 DECL_LINK(StdQuoteHdl, weld::Button&, void);
306
307 OUString ChangeStringExt_Impl( sal_UCS4 );
308
309 static void CreateEntry(weld::TreeView& rLstBox, const OUString& rTxt,
310 sal_uInt16 nCol, sal_uInt16 nTextCol);
311
312public:
313 OfaQuoteTabPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
314 static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController,
315 const SfxItemSet* rAttrSet);
316 virtual ~OfaQuoteTabPage() override;
317
318 virtual bool FillItemSet( SfxItemSet* rSet ) override;
319 virtual void Reset( const SfxItemSet* rSet ) override;
320 virtual void ActivatePage( const SfxItemSet& ) override;
321};
322
323// class OfaAutoCompleteTabPage ---------------------------------------------
324
326{
327private:
330
331 std::unique_ptr<weld::CheckButton> m_xCBActiv;
332 std::unique_ptr<weld::CheckButton> m_xCBAppendSpace;
333 std::unique_ptr<weld::CheckButton> m_xCBAsTip;
334
335 std::unique_ptr<weld::CheckButton> m_xCBCollect;
336 std::unique_ptr<weld::CheckButton> m_xCBRemoveList;
337
338 std::unique_ptr<weld::ComboBox> m_xDCBExpandKey;
339 std::unique_ptr<weld::SpinButton> m_xNFMinWordlen;
340 std::unique_ptr<weld::SpinButton> m_xNFMaxEntries;
341 std::unique_ptr<weld::TreeView> m_xLBEntries;
342 std::unique_ptr<weld::Button> m_xPBEntries;
343
344 DECL_LINK(CheckHdl, weld::Toggleable&, void);
345 DECL_LINK(KeyReleaseHdl, const KeyEvent&, bool);
346
347public:
349 static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController,
350 const SfxItemSet* rAttrSet);
351 virtual ~OfaAutoCompleteTabPage() override;
352
353 virtual bool FillItemSet( SfxItemSet* rSet ) override;
354 virtual void Reset( const SfxItemSet* rSet ) override;
355 virtual void ActivatePage( const SfxItemSet& ) override;
356
357 void CopyToClipboard() const;
358 DECL_LINK(DeleteHdl, weld::Button&, void);
359};
360
361// class OfaSmartTagOptionsTabPage ---------------------------------------------
362
368{
369private:
370
371 // controls
372 std::unique_ptr<weld::CheckButton> m_xMainCB;
373 std::unique_ptr<weld::TreeView> m_xSmartTagTypesLB;
374 std::unique_ptr<weld::Button> m_xPropertiesPB;
375
381 void FillListBox( const SmartTagMgr& rSmartTagMgr );
382
385 void ClearListBox();
386
392 DECL_LINK(CheckHdl, weld::Toggleable&, void);
393
399 DECL_LINK(ClickHdl, weld::Button&, void);
400
406 DECL_LINK(SelectHdl, weld::TreeView&, void);
407
408public:
411 virtual ~OfaSmartTagOptionsTabPage() override;
412
413 static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet);
414
415 virtual bool FillItemSet( SfxItemSet* rSet ) override;
416 virtual void Reset( const SfxItemSet* rSet ) override;
417 virtual void ActivatePage( const SfxItemSet& ) override;
418};
419
420/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
std::vector< DoubleString > DoubleStringArray
Definition: autocdlg.hxx:147
std::map< LanguageType, StringsArrays > StringsTable
Definition: autocdlg.hxx:224
std::map< LanguageType, StringChangeList > StringChangeTable
Definition: autocdlg.hxx:155
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: autocdlg.cxx:1966
std::unique_ptr< weld::SpinButton > m_xNFMinWordlen
Definition: autocdlg.hxx:339
DECL_LINK(KeyReleaseHdl, const KeyEvent &, bool)
std::unique_ptr< weld::CheckButton > m_xCBAsTip
Show as tip.
Definition: autocdlg.hxx:333
DECL_LINK(CheckHdl, weld::Toggleable &, void)
void CopyToClipboard() const
Definition: autocdlg.cxx:2104
virtual ~OfaAutoCompleteTabPage() override
Definition: autocdlg.cxx:1956
std::unique_ptr< weld::ComboBox > m_xDCBExpandKey
Definition: autocdlg.hxx:338
std::unique_ptr< weld::Button > m_xPBEntries
Definition: autocdlg.hxx:342
virtual void Reset(const SfxItemSet *rSet) override
Definition: autocdlg.cxx:2019
sal_uInt16 m_nAutoCmpltListCnt
Definition: autocdlg.hxx:329
std::unique_ptr< weld::CheckButton > m_xCBAppendSpace
Append space.
Definition: autocdlg.hxx:332
std::unique_ptr< weld::CheckButton > m_xCBRemoveList
...save the list for later use...
Definition: autocdlg.hxx:336
std::unique_ptr< weld::SpinButton > m_xNFMaxEntries
Definition: autocdlg.hxx:340
DECL_LINK(DeleteHdl, weld::Button &, void)
virtual void ActivatePage(const SfxItemSet &) override
Definition: autocdlg.cxx:2070
std::unique_ptr< weld::CheckButton > m_xCBActiv
Enable word completion.
Definition: autocdlg.hxx:331
std::unique_ptr< weld::CheckButton > m_xCBCollect
Collect words.
Definition: autocdlg.hxx:335
std::unique_ptr< weld::TreeView > m_xLBEntries
Definition: autocdlg.hxx:341
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: autocdlg.cxx:1960
OfaAutoCompleteTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: autocdlg.cxx:1901
editeng::SortedAutoCompleteStrings * m_pAutoCompleteList
Definition: autocdlg.hxx:328
std::unique_ptr< weld::Widget > m_xLanguageBox
Definition: autocdlg.hxx:38
void EnableLanguage(bool bEnable)
Definition: autocdlg.cxx:138
OfaAutoCorrDlg(weld::Window *pParent, const SfxItemSet *pSet)
Definition: autocdlg.cxx:58
DECL_LINK(SelectLanguageHdl, weld::ComboBox &, void)
std::unique_ptr< SvxLanguageBox > m_xLanguageLB
Definition: autocdlg.hxx:39
virtual ~OfaAutoCorrDlg() override
Definition: autocdlg.cxx:134
virtual void Reset(const SfxItemSet *rSet) override
Definition: autocdlg.cxx:1437
std::unique_ptr< weld::Button > m_xNewDoublePB
Definition: autocdlg.hxx:241
LanguageType eLang
Definition: autocdlg.hxx:231
std::unique_ptr< weld::TreeView > m_xAbbrevLB
Definition: autocdlg.hxx:234
void SetLanguage(LanguageType eSet)
Definition: autocdlg.cxx:1360
StringsTable aStringsTable
Definition: autocdlg.hxx:229
std::unique_ptr< weld::TreeView > m_xDoubleCapsLB
Definition: autocdlg.hxx:240
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: autocdlg.cxx:1253
DECL_LINK(NewDelActionHdl, weld::Entry &, bool)
OfaAutocorrExceptPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: autocdlg.cxx:1191
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: autocdlg.cxx:1235
DECL_LINK(SelectHdl, weld::TreeView &, void)
bool NewDelHdl(const weld::Widget *)
Definition: autocdlg.cxx:1457
std::unique_ptr< weld::Entry > m_xDoubleCapsED
Definition: autocdlg.hxx:239
std::unique_ptr< weld::Button > m_xDelDoublePB
Definition: autocdlg.hxx:242
std::unique_ptr< weld::Button > m_xNewAbbrevPB
Definition: autocdlg.hxx:235
std::unique_ptr< weld::CheckButton > m_xAutoCapsCB
Definition: autocdlg.hxx:243
virtual void ActivatePage(const SfxItemSet &) override
Definition: autocdlg.cxx:1241
std::unique_ptr< weld::Entry > m_xAbbrevED
Definition: autocdlg.hxx:233
virtual ~OfaAutocorrExceptPage() override
Definition: autocdlg.cxx:1229
std::unique_ptr< CollatorWrapper > pCompareClass
Definition: autocdlg.hxx:230
std::unique_ptr< weld::Button > m_xDelAbbrevPB
Definition: autocdlg.hxx:236
std::unique_ptr< weld::CheckButton > m_xAutoAbbrevCB
Definition: autocdlg.hxx:237
void RefillReplaceBoxes(bool bFromReset, LanguageType eOldLanguage, LanguageType eNewLanguage)
Box filled with new language.
Definition: autocdlg.cxx:1374
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: autocdlg.cxx:1248
DECL_LINK(ModifyHdl, weld::Entry &, void)
DECL_LINK(NewDelButtonHdl, weld::Button &, void)
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: autocdlg.cxx:213
OfaAutocorrOptionsPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: autocdlg.cxx:183
virtual void Reset(const SfxItemSet *rSet) override
Definition: autocdlg.cxx:251
OUString m_sBoldUnderline
Definition: autocdlg.hxx:58
std::unique_ptr< weld::TreeView > m_xCheckLB
Definition: autocdlg.hxx:64
void InsertEntry(const OUString &rTxt)
Definition: autocdlg.cxx:243
virtual void ActivatePage(const SfxItemSet &) override
Definition: autocdlg.cxx:238
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: autocdlg.cxx:203
OUString m_sAccidentalCaps
Definition: autocdlg.hxx:62
virtual ~OfaAutocorrOptionsPage() override
Definition: autocdlg.cxx:199
DECL_LINK(NewDelActionHdl, weld::Entry &, bool)
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: autocdlg.cxx:740
std::unique_ptr< weld::CheckButton > m_xTextOnlyCB
Definition: autocdlg.hxx:179
std::unique_ptr< weld::TreeView > m_xReplaceTLB
Definition: autocdlg.hxx:182
std::vector< int > m_aReplaceFixedWidths
Definition: autocdlg.hxx:178
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: autocdlg.cxx:728
void SetLanguage(LanguageType eSet)
Definition: autocdlg.cxx:897
StringChangeTable aChangesTable
Definition: autocdlg.hxx:161
std::set< OUString > aFormatText
Definition: autocdlg.hxx:166
void RefillReplaceBox(bool bFromReset, LanguageType eOldLanguage, LanguageType eNewLanguage)
Definition: autocdlg.cxx:786
bool NewDelHdl(const weld::Widget *)
Definition: autocdlg.cxx:1022
std::unique_ptr< weld::Entry > m_xReplaceED
Definition: autocdlg.hxx:181
virtual ~OfaAutocorrReplacePage() override
Definition: autocdlg.cxx:719
std::unique_ptr< weld::Button > m_xNewReplacePB
Definition: autocdlg.hxx:183
DECL_LINK(ModifyHdl, weld::Entry &, void)
DECL_LINK(SelectHdl, weld::TreeView &, void)
std::unique_ptr< weld::Container > m_xButtonBox
Definition: autocdlg.hxx:186
DECL_LINK(NewDelButtonHdl, weld::Button &, void)
void DeleteEntry(const OUString &sShort, const OUString &sLong)
Definition: autocdlg.cxx:974
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: autocdlg.cxx:745
std::unique_ptr< CollatorWrapper > pCompareClass
Definition: autocdlg.hxx:169
std::unique_ptr< weld::Button > m_xReplacePB
Definition: autocdlg.hxx:184
DECL_LINK(EntrySizeAllocHdl, const Size &, void)
virtual void ActivatePage(const SfxItemSet &) override
Definition: autocdlg.cxx:733
std::unique_ptr< weld::Button > m_xDeleteReplacePB
Definition: autocdlg.hxx:185
std::unique_ptr< weld::Entry > m_xShortED
Definition: autocdlg.hxx:180
LanguageType eLang
Definition: autocdlg.hxx:171
virtual void Reset(const SfxItemSet *rSet) override
Definition: autocdlg.cxx:891
void NewEntry(const OUString &sShort, const OUString &sLong, bool bKeepSourceFormatting)
Definition: autocdlg.cxx:946
std::unique_ptr< CharClass > pCharClass
Definition: autocdlg.hxx:170
OfaAutocorrReplacePage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: autocdlg.cxx:666
std::map< LanguageType, DoubleStringArray > aDoubleStringTable
Definition: autocdlg.hxx:168
OfaQuoteTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: autocdlg.cxx:1552
virtual void Reset(const SfxItemSet *rSet) override
Definition: autocdlg.cxx:1709
virtual ~OfaQuoteTabPage() override
Definition: autocdlg.cxx:1612
sal_UCS4 cEndQuote
Definition: autocdlg.hxx:283
std::unique_ptr< weld::Label > m_xDblStartExFT
Definition: autocdlg.hxx:293
OUString m_sStandard
Definition: autocdlg.hxx:297
DECL_LINK(StdQuoteHdl, weld::Button &, void)
static void CreateEntry(weld::TreeView &rLstBox, const OUString &rTxt, sal_uInt16 nCol, sal_uInt16 nTextCol)
Definition: autocdlg.cxx:1541
std::unique_ptr< weld::Label > m_xDblEndExFT
Definition: autocdlg.hxx:295
std::unique_ptr< weld::TreeView > m_xSwCheckLB
Just for writer.
Definition: autocdlg.hxx:301
sal_UCS4 cSglStartQuote
Definition: autocdlg.hxx:279
std::unique_ptr< weld::TreeView > m_xCheckLB
For anything but writer.
Definition: autocdlg.hxx:299
std::unique_ptr< weld::Label > m_xSglStartExFT
Definition: autocdlg.hxx:287
OUString sOrdinal
Definition: autocdlg.hxx:275
OUString sAngleQuotes
Definition: autocdlg.hxx:277
std::unique_ptr< weld::CheckButton > m_xDoubleTypoCB
Definition: autocdlg.hxx:291
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: autocdlg.cxx:1616
OUString sNonBrkSpace
Definition: autocdlg.hxx:274
OUString ChangeStringExt_Impl(sal_UCS4)
Definition: autocdlg.cxx:1876
OUString sTransliterateRTL
Definition: autocdlg.hxx:276
std::unique_ptr< weld::Label > m_xSglEndExFT
Definition: autocdlg.hxx:289
sal_UCS4 cSglEndQuote
Definition: autocdlg.hxx:280
std::unique_ptr< weld::Button > m_xDblStandardPB
Definition: autocdlg.hxx:296
std::unique_ptr< weld::Button > m_xSglEndQuotePB
Definition: autocdlg.hxx:288
std::unique_ptr< weld::Button > m_xSglStartQuotePB
Definition: autocdlg.hxx:286
std::unique_ptr< weld::CheckButton > m_xSingleTypoCB
Definition: autocdlg.hxx:285
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: autocdlg.cxx:1622
DECL_LINK(QuoteHdl, weld::Button &, void)
std::unique_ptr< weld::Button > m_xDblEndQuotePB
Definition: autocdlg.hxx:294
std::unique_ptr< weld::Button > m_xDblStartQuotePB
Definition: autocdlg.hxx:292
std::unique_ptr< weld::Button > m_xSglStandardPB
Definition: autocdlg.hxx:290
virtual void ActivatePage(const SfxItemSet &) override
Definition: autocdlg.cxx:1704
sal_UCS4 cStartQuote
Definition: autocdlg.hxx:282
Smart tag options tab page.
Definition: autocdlg.hxx:368
DECL_LINK(CheckHdl, weld::Toggleable &, void)
Handler for the check box.
std::unique_ptr< weld::TreeView > m_xSmartTagTypesLB
Definition: autocdlg.hxx:373
DECL_LINK(SelectHdl, weld::TreeView &, void)
Handler for the list box.
virtual bool FillItemSet(SfxItemSet *rSet) override
Propagates the current settings to the smart tag manager.
Definition: autocdlg.cxx:2301
virtual void ActivatePage(const SfxItemSet &) override
Definition: autocdlg.cxx:2359
void ClearListBox()
Clears the m_aSmartTagTypesLB.
Definition: autocdlg.cxx:2201
DECL_LINK(ClickHdl, weld::Button &, void)
Handler for the push button.
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: autocdlg.cxx:2174
void FillListBox(const SmartTagMgr &rSmartTagMgr)
Inserts items into m_aSmartTagTypesLB.
Definition: autocdlg.cxx:2215
virtual void Reset(const SfxItemSet *rSet) override
Sets the controls based on the current settings at SmartTagMgr.
Definition: autocdlg.cxx:2343
virtual ~OfaSmartTagOptionsTabPage() override
Definition: autocdlg.cxx:2170
std::unique_ptr< weld::CheckButton > m_xMainCB
Definition: autocdlg.hxx:372
OfaSmartTagOptionsTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
construction via Create()
Definition: autocdlg.cxx:2152
std::unique_ptr< weld::Button > m_xPropertiesPB
Definition: autocdlg.hxx:374
vcl::Font aByInputBulletFont
Definition: autocdlg.hxx:109
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: autocdlg.cxx:408
OfaSwAutoFmtOptionsPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: autocdlg.cxx:351
virtual ~OfaSwAutoFmtOptionsPage() override
Definition: autocdlg.cxx:401
void CreateEntry(const OUString &rTxt, sal_uInt16 nCol)
Definition: autocdlg.cxx:390
OUString sCapitalStartWord
Definition: autocdlg.hxx:87
DECL_LINK(SelectHdl, weld::TreeView &, void)
DECL_LINK(EditHdl, weld::Button &, void)
std::unique_ptr< weld::Button > m_xEditPB
Definition: autocdlg.hxx:113
DECL_LINK(DoubleClickEditHdl, weld::TreeView &, bool)
virtual void ActivatePage(const SfxItemSet &) override
Definition: autocdlg.cxx:530
OUString sDelSpaceBetweenLines
Definition: autocdlg.hxx:102
std::unique_ptr< weld::TreeView > m_xCheckLB
Definition: autocdlg.hxx:112
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: autocdlg.cxx:414
OUString sCapitalStartSentence
Definition: autocdlg.hxx:88
virtual void Reset(const SfxItemSet *rSet) override
Definition: autocdlg.cxx:535
const SfxItemSet * pSet
DoubleString(OUString aShort, OUString aLong)
Definition: autocdlg.hxx:139
OUString sShort
Definition: autocdlg.hxx:136
void * pUserData
CheckBox -> form. Text Bool -> selection text.
Definition: autocdlg.hxx:138
OUString sLong
Definition: autocdlg.hxx:137
DoubleStringArray aNewEntries
Definition: autocdlg.hxx:151
DoubleStringArray aDeletedEntries
Definition: autocdlg.hxx:152
std::vector< OUString > aAbbrevStrings
Definition: autocdlg.hxx:219
std::vector< OUString > aDoubleCapsStrings
Definition: autocdlg.hxx:220
DeactivateRC
sal_uInt32 sal_UCS4