LibreOffice Module cui (master) 1
dlgfact.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 <svx/svxdlg.hxx>
22#include <svx/zoom_def.hxx>
23#include <com/sun/star/container/XNameReplace.hpp>
24
25#include <tools/link.hxx>
26#include <com/sun/star/frame/XFrame.hpp>
27
28#include <cfgutil.hxx>
29#include <cui/cuicharmap.hxx>
30#include <cui/dlgname.hxx>
31#include <cuifmsearch.hxx>
32#include <cuigaldlg.hxx>
33#include <cuigrfflt.hxx>
34#include <cuihyperdlg.hxx>
35#include <cuiimapwnd.hxx>
36#include <cuisrchdlg.hxx>
37#include <cuitabarea.hxx>
38#include <cuitbxform.hxx>
39#include <DiagramDialog.hxx>
40#include <hangulhanjadlg.hxx>
41#include <hyphen.hxx>
42#include <insdlg.hxx>
43#include <labdlg.hxx>
44#include <linkdlg.hxx>
45#include <multipat.hxx>
46#include <optdict.hxx>
47#include <passwdomdlg.hxx>
48#include <pastedlg.hxx>
49#include <postdlg.hxx>
50#include <QrCodeGenDialog.hxx>
52#include <showcols.hxx>
55#include <SpellDialog.hxx>
56#include <srchxtra.hxx>
57#include <thesdlg.hxx>
58#include <transfrm.hxx>
59#include <zoom.hxx>
60#include <AdditionsDialog.hxx>
61
62#define DECL_ABSTDLG_CLASS_(Class,Base,Dialog,StdPtr) \
63class Class##_Impl final : public Base \
64{ \
65 StdPtr<Dialog> m_xDlg; \
66public: \
67 explicit Class##_Impl(StdPtr<Dialog> p) : m_xDlg(std::move(p)) {} \
68 virtual short Execute() override;
69
70#define DECL_ABSTDLG_CLASS_UNIQUE(Class,Base,Dialog) \
71DECL_ABSTDLG_CLASS_(Class,Base,Dialog,std::unique_ptr)
72
73#define DECL_ABSTDLG_CLASS_SHARED(Class,Base,Dialog) \
74DECL_ABSTDLG_CLASS_(Class,Base,Dialog,std::shared_ptr)
75
76#define IMPL_ABSTDLG_CLASS(Class) \
77short Class##_Impl::Execute() \
78{ \
79 return m_xDlg->run(); \
80}
81
82#define DECL_ABSTDLG_CLASS(Class,Dialog) \
83DECL_ABSTDLG_CLASS_UNIQUE(Class,Class,Dialog)
84
85// Async AKA std::shared_ptr
86
87#define DECL_ABSTDLG_CLASS_SHARED_ASYNC(Class,Base,Dialog) \
88DECL_ABSTDLG_CLASS_SHARED(Class,Base,Dialog) \
89 virtual bool StartExecuteAsync(AsyncContext &rCtx) override;
90
91#define DECL_ABSTDLG_CLASS_ASYNC(Class,Dialog) \
92DECL_ABSTDLG_CLASS_SHARED_ASYNC(Class,Class,Dialog)
93
94#define IMPL_ABSTDLG_CLASS_ASYNC(Class,Dialog) \
95short Class##_Impl::Execute() \
96{ \
97 return m_xDlg->run(); \
98} \
99bool Class##_Impl::StartExecuteAsync(AsyncContext &rCtx) \
100{ \
101 return Dialog::runAsync(m_xDlg, rCtx.maEndDialogFn); \
102}
103
104// CuiAbstractController_Impl
106};
107
108// CuiAbstractControllerAsync_Impl
110};
111
112// CuiAbstractWidgetTestControllerAsync_Impl
114};
115
116// CuiAbstractSingleTabController_Impl
118 virtual const SfxItemSet* GetOutputItemSet() const override;
119 //From class Window.
120 virtual void SetText( const OUString& rStr ) override;
121};
122
123// CuiAbstractTabController_Impl
125 virtual void SetCurPageId( const OUString &rName ) override;
126 virtual const SfxItemSet* GetOutputItemSet() const override;
127 virtual WhichRangesContainer GetInputRanges( const SfxItemPool& pItem ) override;
128 virtual void SetInputSet( const SfxItemSet* pInSet ) override;
129 virtual void SetText( const OUString& rStr ) override;
130
131 // screenshotting
132 virtual std::vector<OUString> getAllPageUIXMLDescriptions() const override;
133 virtual bool selectPageByUIXMLDescription(const OUString& rUIXMLDescription) override;
134 virtual BitmapEx createScreenshot() const override;
135 virtual OUString GetScreenshotId() const override;
136};
137
138// AbstractHangulHanjaConversionDialog_Impl
140 virtual void EndDialog(sal_Int32 nResult) override;
141 virtual void EnableRubySupport( bool _bVal ) override;
142 virtual void SetByCharacter( bool _bByCharacter ) override ;
143 virtual void SetConversionDirectionState( bool _bTryBothDirections, editeng::HangulHanjaConversion::ConversionDirection _ePrimaryConversionDirection ) override;
144 virtual void SetConversionFormat( editeng::HangulHanjaConversion::ConversionFormat _eType ) override;
145 virtual void SetOptionsChangedHdl( const Link<LinkParamNone*,void>& _rHdl ) override;
146 virtual void SetIgnoreHdl( const Link<weld::Button&,void>& _rHdl ) override;
147 virtual void SetIgnoreAllHdl( const Link<weld::Button&,void>& _rHdl ) override ;
148 virtual void SetChangeHdl( const Link<weld::Button&,void>& _rHdl ) override ;
149 virtual void SetChangeAllHdl( const Link<weld::Button&,void>& rHdl ) override ;
150 virtual void SetClickByCharacterHdl( const Link<weld::Toggleable&,void>& rHdl ) override ;
151 virtual void SetConversionFormatChangedHdl( const Link<weld::Toggleable&,void>& _rHdl ) override ;
152 virtual void SetFindHdl( const Link<weld::Button&,void>& _rHdl ) override;
153 virtual bool GetUseBothDirections( ) const override;
154 virtual editeng::HangulHanjaConversion::ConversionDirection
155 GetDirection( editeng::HangulHanjaConversion::ConversionDirection _eDefaultDirection ) const override;
156 virtual void SetCurrentString(
157 const OUString& _rNewString,
158 const css::uno::Sequence< OUString >& _rSuggestions,
159 bool _bOriginatesFromDocument = true
160 ) override;
161 virtual OUString GetCurrentString( ) const override ;
162 virtual editeng::HangulHanjaConversion::ConversionFormat
163 GetConversionFormat( ) const override ;
164 virtual void FocusSuggestion( ) override;
165 virtual OUString GetCurrentSuggestion( ) const override;
166};
167
168// AbstractThesaurusDialog_Impl
170 virtual OUString GetWord() override;
171};
172
173// AbstractHyphenWordDialog_Impl
175};
176
177// AbstractFmShowColsDialog_Impl
179 virtual void SetColumns(const css::uno::Reference< css::container::XIndexContainer>& xCols) override;
180};
181
182// AbstractSvxZoomDialog_Impl
184 virtual void SetLimits( sal_uInt16 nMin, sal_uInt16 nMax ) override;
185 virtual void HideButton( ZoomButtonId nBtnId ) override;
186 virtual const SfxItemSet* GetOutputItemSet() const override ;
187};
188
189// AbstractSpellDialog_Impl
191 virtual void InvalidateDialog() override;
192 virtual std::shared_ptr<SfxDialogController> GetController() override;
193 virtual SfxBindings& GetBindings() override;
194};
195
196// AbstractTitleDialog_Impl
198 virtual OUString GetTitle() const override ;
199
200};
201
202// AbstractScriptSelectorDialog_Impl
204 virtual OUString GetScriptURL() const override;
205 virtual void SetRunLabel() override;
206};
207
208// AbstractGalleryIdDialog_Impl
210 virtual sal_uInt32 GetId() const override;
211};
212
213// AbstractURLDlg_Impl
215 virtual OUString GetURL() const override;
216 virtual OUString GetAltText() const override;
217 virtual OUString GetDesc() const override;
218 virtual OUString GetTarget() const override;
219 virtual OUString GetName() const override;
220};
221
222// AbstractSvxSearchSimilarityDialog_Impl
224 virtual sal_uInt16 GetOther() override;
225 virtual sal_uInt16 GetShorter() override;
226 virtual sal_uInt16 GetLonger() override;
227 virtual bool IsRelaxed() override;
228};
229
230// AbstractSvxJSearchOptionsDialog_Impl
233};
234
235// AbstractSvxTransformTabDialog_Impl
237 virtual void SetValidateFramePosLink( const Link<SvxSwFrameValidation&,void>& rLink ) override;
238 virtual void SetCurPageId( const OUString& rName ) override;
239 virtual const SfxItemSet* GetOutputItemSet() const override;
240 virtual WhichRangesContainer GetInputRanges( const SfxItemPool& pItem ) override;
241 virtual void SetInputSet( const SfxItemSet* pInSet ) override;
242 virtual void SetText( const OUString& rStr ) override;
243};
244
245// AbstractSvxCaptionDialog_Impl
247 virtual void SetValidateFramePosLink( const Link<SvxSwFrameValidation&,void>& rLink ) override;
248 virtual void SetCurPageId( const OUString& rName ) override;
249 virtual const SfxItemSet* GetOutputItemSet() const override;
250 virtual WhichRangesContainer GetInputRanges( const SfxItemPool& pItem ) override;
251 virtual void SetInputSet( const SfxItemSet* pInSet ) override;
252 virtual void SetText( const OUString& rStr ) override;
253};
254
255// AbstractFmInputRecordNoDialog_Impl
257 virtual void SetValue(tools::Long nNew) override ;
258 virtual tools::Long GetValue() const override ;
259};
260
261// AbstractSvxNewDictionaryDialog_Impl
263 virtual css::uno::Reference< css::linguistic2::XDictionary > GetNewDictionary() override;
264};
265
266// AbstractSvxNameDialog_Impl
268 virtual void GetName( OUString& rName ) override ;
269 virtual void SetCheckNameHdl( const Link<AbstractSvxNameDialog&,bool>& rLink, bool bCheckImmediately = false ) override ;
270 virtual void SetCheckNameTooltipHdl( const Link<AbstractSvxNameDialog&, OUString>& rLink ) override ;
271 virtual void SetEditHelpId(const OUString&) override ;
272 //from class Window
273 virtual void SetHelpId( const OUString& ) override ;
274 virtual void SetText( const OUString& rStr ) override ;
275
276private:
279 DECL_LINK(CheckNameHdl, SvxNameDialog&, bool);
280 DECL_LINK(CheckNameTooltipHdl, SvxNameDialog&, OUString);
281};
282
285
286// AbstractSvxObjectNameDialog_Impl
288 virtual void GetName(OUString& rName) override ;
289 virtual void SetCheckNameHdl(const Link<AbstractSvxObjectNameDialog&,bool>& rLink) override;
290
291private:
293 DECL_LINK(CheckNameHdl, SvxObjectNameDialog&, bool);
294};
295
296// AbstractSvxObjectTitleDescDialog_Impl
298 virtual void GetTitle(OUString& rName) override;
299 virtual void GetDescription(OUString& rName) override;
300 virtual void IsDecorative(bool & rIsDecorative) override;
301};
302
303// AbstractSvxMultiPathDialog_Impl
305 virtual OUString GetPath() const override;
306 virtual void SetPath( const OUString& rPath ) override;
307 virtual void SetTitle( const OUString& rNewTitle ) override;
308};
309
310// AbstractSvxPathSelectDialog_Impl
312 virtual OUString GetPath() const override;
313 virtual void SetPath( const OUString& rPath ) override;
314 virtual void SetTitle( const OUString& rNewTitle ) override;
315};
316
317// AbstractSvxHpLinkDlg_Impl
319 virtual std::shared_ptr<SfxDialogController> GetController() override;
320 virtual bool QueryClose() override;
321};
322
323// AbstractFmSearchDialog_Impl
326 virtual void SetFoundHandler(const Link<FmFoundRecordInformation&,void>& lnk) override ;
327 virtual void SetCanceledNotFoundHdl(const Link<FmFoundRecordInformation&,void>& lnk) override;
328 virtual void SetActiveField(const OUString& strField) override;
329};
330
331// AbstractGraphicFilterDialog_Impl
333 virtual Graphic GetFilteredGraphic( const Graphic& rGraphic, double fScaleX, double fScaleY ) override;
334};
335
336// AbstractSvxAreaTabDialog_Impl
338 virtual void SetCurPageId(const OUString& rName) override;
339 virtual const SfxItemSet* GetOutputItemSet() const override;
340 virtual WhichRangesContainer GetInputRanges( const SfxItemPool& pItem ) override;
341 virtual void SetInputSet(const SfxItemSet* pInSet) override;
342 virtual void SetText(const OUString& rStr) override;
343};
344
345// AbstractInsertObjectDialog_Impl
347 virtual css::uno::Reference < css::embed::XEmbeddedObject > GetObject() override;
348 virtual css::uno::Reference< css::io::XInputStream > GetIconIfIconified( OUString* pGraphicMediaType ) override;
349 virtual bool IsCreateNew() override;
350};
351
352// AbstractPasteDialog_Impl
354 virtual void Insert( SotClipboardFormatId nFormat, const OUString & rFormatName ) override;
355 virtual void InsertUno( const OUString & sCmd, const OUString& sLabel ) override;
356 virtual void SetObjName( const SvGlobalName & rClass, const OUString & rObjName ) override;
357 virtual void PreGetFormat( const TransferableDataHelper& aHelper ) override;
359 virtual SotClipboardFormatId GetFormat( const TransferableDataHelper& aHelper ) override;
360};
361
362// AbstractLinksDialog_Impl
364};
365
366// AbstractSvxPostItDialog_Impl
368 virtual void SetText( const OUString& rStr ) override; //From class Window
369 virtual const SfxItemSet* GetOutputItemSet() const override;
370 virtual void SetPrevHdl( const Link<AbstractSvxPostItDialog&,void>& rLink ) override;
371 virtual void SetNextHdl( const Link<AbstractSvxPostItDialog&,void>& rLink ) override;
372 virtual void EnableTravel(bool bNext, bool bPrev) override;
373 virtual OUString GetNote() override;
374 virtual void SetNote(const OUString& rTxt) override;
375 virtual void ShowLastAuthor(const OUString& rAuthor, const OUString& rDate) override;
376 virtual void DontChangeAuthor() override;
377 virtual void HideAuthor() override;
378 virtual std::shared_ptr<weld::Dialog> GetDialog() override;
379private:
382 DECL_LINK(NextHdl, SvxPostItDialog&, void);
383 DECL_LINK(PrevHdl, SvxPostItDialog&, void);
384};
385
386// AbstractPasswordToOpenModifyDialog_Impl
388 virtual OUString GetPasswordToOpen() const override;
389 virtual OUString GetPasswordToModify() const override;
390 virtual bool IsRecommendToOpenReadonly() const override;
391 virtual void Response(sal_Int32) override;
392 virtual void AllowEmpty() override;
393};
394
395// AbstractSvxCharacterMapDialog_Impl
397 virtual const SfxItemSet* GetOutputItemSet() const override;
398 virtual void SetText(const OUString& rStr) override;
399};
400
401// AbstractScreenshotAnnotationDlg_Impl
403};
404
405// AbstractSignatureLineDialog_Impl
407};
408
409// AbstractQrCodeGenDialog_Impl
411};
412
413// AbstractSignSignatureLineDialog_Impl
415};
416
417// AbstractAdditionsDialog_Impl
418DECL_ABSTDLG_CLASS(AbstractAdditionsDialog,weld::GenericDialogController)
419};
420
421// AbstractDiagramDialog_Impl
423};
424
425//AbstractDialogFactory_Impl implementations
427{
428public:
429 virtual VclPtr<VclAbstractDialog> CreateVclDialog(weld::Window* pParent, sal_uInt32 nResId) override;
430
431 virtual VclPtr<SfxAbstractDialog> CreateSfxDialog( weld::Window* pParent,
432 const SfxItemSet& rAttr,
433 const SdrView* pView,
434 sal_uInt32 nResId ) override;
435 virtual VclPtr<SfxAbstractDialog> CreateCharMapDialog(weld::Window* pParent,
436 const SfxItemSet& rAttr,
437 const css::uno::Reference< css::frame::XFrame >& rFrame) override;
438 virtual VclPtr<SfxAbstractDialog> CreateEventConfigDialog(weld::Widget* pParent,
439 const SfxItemSet& rAttr,
440 const css::uno::Reference< css::frame::XFrame >& rFrame) override;
441 virtual VclPtr<VclAbstractDialog> CreateFrameDialog(weld::Window* pParent, const css::uno::Reference< css::frame::XFrame >& rxFrame,
442 sal_uInt32 nResId,
443 const OUString& rParameter ) override;
444 virtual VclPtr<SfxAbstractTabDialog> CreateAutoCorrTabDialog(weld::Window* pParent, const SfxItemSet* pAttrSet) override;
445 virtual VclPtr<SfxAbstractTabDialog> CreateCustomizeTabDialog(weld::Window* pParent,
446 const SfxItemSet* pAttrSet,
447 const css::uno::Reference< css::frame::XFrame >& xViewFrame ) override;
448 virtual VclPtr<SfxAbstractTabDialog> CreateTextTabDialog( weld::Window* pParent,
449 const SfxItemSet* pAttrSet,
450 SdrView* pView ) override;
451 virtual VclPtr<SfxAbstractTabDialog> CreateTabItemDialog(weld::Window* pParent, const SfxItemSet& rSet) override;
453 CreateCaptionDialog(weld::Window* pParent,
454 const SdrView* pView,
455 SvxAnchorIds nAnchorTypes = SvxAnchorIds::NONE) override;
457 CreateInsertObjectDialog(weld::Window* pParent, const OUString& rCommand,
458 const css::uno::Reference < css::embed::XStorage >& xStor,
459 const SvObjectServerList* pList ) override;
460 virtual VclPtr<VclAbstractDialog> CreateEditObjectDialog(weld::Window* pParent, const OUString& rCommand,
461 const css::uno::Reference < css::embed::XEmbeddedObject >& xObj ) override;
462 virtual VclPtr<SfxAbstractPasteDialog> CreatePasteDialog(weld::Window* pParent) override;
463 virtual VclPtr<SfxAbstractLinksDialog> CreateLinksDialog(weld::Window* pParent, sfx2::LinkManager* pMgr, bool bHTML = false, sfx2::SvBaseLink* p=nullptr) override;
464
465 virtual VclPtr<AbstractHangulHanjaConversionDialog> CreateHangulHanjaConversionDialog(weld::Widget* pParent) override;
466 virtual VclPtr<AbstractThesaurusDialog> CreateThesaurusDialog(weld::Widget*,
467 css::uno::Reference<css::linguistic2::XThesaurus> xThesaurus,
468 const OUString &rWord, LanguageType nLanguage) override;
469
470 virtual VclPtr<AbstractHyphenWordDialog> CreateHyphenWordDialog(weld::Widget*,
471 const OUString &rWord, LanguageType nLang,
472 css::uno::Reference< css::linguistic2::XHyphenator > &xHyphen,
473 SvxSpellWrapper* pWrapper) override;
474
475 virtual VclPtr<AbstractFmShowColsDialog> CreateFmShowColsDialog(weld::Window* pParent) override;
476 virtual VclPtr<AbstractSvxZoomDialog> CreateSvxZoomDialog(weld::Window* pParent, const SfxItemSet& rCoreSet) override;
477 // add for SvxBorderBackgroundDlg
478 virtual VclPtr<SfxAbstractTabDialog> CreateSvxBorderBackgroundDlg(
479 weld::Window* pParent,
480 const SfxItemSet& rCoreSet,
481 bool bEnableDrawingLayerFillStyles) override;
482
483 virtual VclPtr<AbstractSvxTransformTabDialog> CreateSvxTransformTabDialog(weld::Window* pParent,
484 const SfxItemSet* pAttr,
485 const SdrView* pView,
486 SvxAnchorIds nAnchorTypes = SvxAnchorIds::NONE) override ;
487 virtual VclPtr<SfxAbstractTabDialog> CreateSchTransformTabDialog(weld::Window* pParent,
488 const SfxItemSet* pAttr,
489 const SdrView* pSdrView,
490 bool bSizeTabPage) override;
491 virtual VclPtr<AbstractSpellDialog> CreateSvxSpellDialog(
492 weld::Window* pParent,
493 SfxBindings* pBindings,
494 svx::SpellDialogChildWindow* pSpellChildWindow ) override;
495
496 virtual VclPtr<VclAbstractDialog> CreateActualizeProgressDialog(weld::Widget* pParent, GalleryTheme* pThm) override;
497 virtual VclPtr<AbstractTitleDialog> CreateTitleDialog(weld::Widget* pParent, const OUString& rOldText) override;
498 virtual VclPtr<AbstractGalleryIdDialog> CreateGalleryIdDialog(weld::Widget* pParent,
499 GalleryTheme* pThm) override;
500 virtual VclPtr<VclAbstractDialog> CreateGalleryThemePropertiesDialog(weld::Widget* pParent,
502 SfxItemSet* pItemSet) override;
503
504 virtual VclPtr<AbstractURLDlg> CreateURLDialog(weld::Widget* pParent,
505 const OUString& rURL, const OUString& rAltText, const OUString& rDescription,
506 const OUString& rTarget, const OUString& rName,
507 TargetList& rTargetList ) override;
508
509 virtual VclPtr<VclAbstractDialog> CreateSvxSearchAttributeDialog(weld::Window* pParent,
510 SearchAttrItemList& rLst,
511 const WhichRangesContainer& pWhRanges) override;
512 virtual VclPtr<AbstractSvxSearchSimilarityDialog> CreateSvxSearchSimilarityDialog( weld::Window* pParent,
513 bool bRelax,
514 sal_uInt16 nOther,
515 sal_uInt16 nShorter,
516 sal_uInt16 nLonger) override;
517 virtual VclPtr<AbstractSvxJSearchOptionsDialog> CreateSvxJSearchOptionsDialog(weld::Window* pParent,
518 const SfxItemSet& rOptionsSet,
519 TransliterationFlags nInitialFlags) override;
520 virtual VclPtr<AbstractFmInputRecordNoDialog> CreateFmInputRecordNoDialog(weld::Window* pParent) override;
521 virtual VclPtr<AbstractSvxNewDictionaryDialog> CreateSvxNewDictionaryDialog(weld::Window* pParent) override;
522 virtual VclPtr<VclAbstractDialog> CreateSvxEditDictionaryDialog(weld::Window* pParent, const OUString& rName) override;
523 virtual VclPtr<AbstractSvxNameDialog> CreateSvxNameDialog(weld::Window* pParent,
524 const OUString& rName, const OUString& rDesc) override;
525 // #i68101#
526 virtual VclPtr<AbstractSvxObjectNameDialog> CreateSvxObjectNameDialog(weld::Window* pParent, const OUString& rName) override;
527 virtual VclPtr<AbstractSvxObjectTitleDescDialog> CreateSvxObjectTitleDescDialog(weld::Window* pParent, const OUString& rTitle, const OUString& rDescription, bool isDecorative) override;
528 virtual VclPtr<AbstractSvxMultiPathDialog> CreateSvxMultiPathDialog(weld::Window* pParent) override;
529 virtual VclPtr<AbstractSvxMultiPathDialog> CreateSvxPathSelectDialog(weld::Window* pParent) override;
530 virtual VclPtr<AbstractSvxHpLinkDlg> CreateSvxHpLinkDlg(SfxChildWindow* pChild, SfxBindings* pBindings, weld::Window* pParent) override;
531 virtual VclPtr<AbstractFmSearchDialog> CreateFmSearchDialog(weld::Window* pParent,
532 const OUString& strInitialText,
533 const std::vector< OUString >& _rContexts,
534 sal_Int16 nInitialContext,
535 const Link<FmSearchContext&,sal_uInt32>& lnkContextSupplier) override;
536 virtual VclPtr<AbstractGraphicFilterDialog> CreateGraphicFilterEmboss(weld::Window* pParent,
537 const Graphic& rGraphic) override;
538 virtual VclPtr<AbstractGraphicFilterDialog> CreateGraphicFilterPoster(weld::Window* pParent,
539 const Graphic& rGraphic) override;
540 virtual VclPtr<AbstractGraphicFilterDialog> CreateGraphicFilterSepia(weld::Window* pParent,
541 const Graphic& rGraphic) override;
542 virtual VclPtr<AbstractGraphicFilterDialog> CreateGraphicFilterSmooth(weld::Window* pParent,
543 const Graphic& rGraphic, double nRadius) override;
544 virtual VclPtr<AbstractGraphicFilterDialog> CreateGraphicFilterSolarize(weld::Window* pParent,
545 const Graphic& rGraphic) override;
546 virtual VclPtr<AbstractGraphicFilterDialog> CreateGraphicFilterMosaic(weld::Window* pParent,
547 const Graphic& rGraphic) override;
548 virtual VclPtr<AbstractSvxAreaTabDialog> CreateSvxAreaTabDialog(weld::Window* pParent,
549 const SfxItemSet* pAttr,
550 SdrModel* pModel,
551 bool bShadow,
552 bool bSlideBackground) override;
553 virtual VclPtr<SfxAbstractTabDialog> CreateSvxLineTabDialog(weld::Window* pParent, const SfxItemSet* pAttr,
554 SdrModel* pModel,
555 const SdrObject* pObj,
556 bool bHasObj ) override;
557 virtual VclPtr<AbstractSvxPostItDialog> CreateSvxPostItDialog(weld::Widget* pParent,
558 const SfxItemSet& rCoreSet,
559 bool bPrevNext = false) override;
560
561 // For TabPage
562 virtual CreateTabPage GetTabPageCreatorFunc( sal_uInt16 nId ) override;
563
564 virtual GetTabPageRanges GetTabPageRangesFunc( sal_uInt16 nId ) override;
565 virtual DialogGetRanges GetDialogGetRangesFunc() override;
566 virtual VclPtr<VclAbstractDialog> CreateSvxScriptOrgDialog(weld::Window* pParent, const OUString& rLanguage) override;
567
568 virtual VclPtr<AbstractScriptSelectorDialog> CreateScriptSelectorDialog(weld::Window* pParent,
569 const css::uno::Reference< css::frame::XFrame >& rxFrame) override;
570
571 virtual void ShowAsyncScriptErrorDialog(weld::Window* pParent, const css::uno::Any& rException) override;
572
573 virtual VclPtr<VclAbstractDialog> CreateSvxMacroAssignDlg(
574 weld::Window* _pParent,
575 const css::uno::Reference< css::frame::XFrame >& _rxDocumentFrame,
576 const bool _bUnoDialogMode,
577 const css::uno::Reference< css::container::XNameReplace >& _rxEvents,
578 const sal_uInt16 _nInitiallySelectedEvent
579 ) override;
580
581 virtual VclPtr<SfxAbstractTabDialog> CreateSvxFormatCellsDialog(weld::Window* pParent, const SfxItemSet& rAttr, const SdrModel& rModel, bool bStyle) override;
582
583 virtual VclPtr<SvxAbstractSplitTableDialog> CreateSvxSplitTableDialog(weld::Window* pParent, bool bIsTableVertical, tools::Long nMaxVertical) override;
584
585 virtual std::shared_ptr<SvxAbstractNewTableDialog> CreateSvxNewTableDialog(weld::Window* pParent) override ;
586
587 virtual VclPtr<VclAbstractDialog> CreateOptionsDialog(
588 weld::Window* pParent, const OUString& rExtensionId ) override;
589
590 virtual VclPtr<SvxAbstractInsRowColDlg> CreateSvxInsRowColDlg(weld::Window* pParent, bool bCol, const OUString& rHelpId) override;
591
592 virtual VclPtr<AbstractPasswordToOpenModifyDialog> CreatePasswordToOpenModifyDialog(weld::Window* pParent, sal_uInt16 nMaxPasswdLen, bool bIsPasswordToModify) override;
593
594 virtual VclPtr<AbstractScreenshotAnnotationDlg> CreateScreenshotAnnotationDlg(weld::Dialog& rParentDialog) override;
595
597 CreateSignatureLineDialog(weld::Window* pParent,
598 const css::uno::Reference<css::frame::XModel> xModel, bool bEditExisting) override;
599
601 CreateSignSignatureLineDialog(weld::Window* pParent,
602 const css::uno::Reference<css::frame::XModel> xModel) override;
603
605 CreateQrCodeGenDialog(weld::Window* pParent,
606 const css::uno::Reference<css::frame::XModel> xModel, bool bEditExisting) override;
607
609 CreateAdditionsDialog(weld::Window* pParent, const OUString& sAdditionsTag) override;
610
611 virtual VclPtr<VclAbstractDialog> CreateAboutDialog(weld::Window* pParent) override;
612
613 virtual VclPtr<VclAbstractDialog> CreateTipOfTheDayDialog(weld::Window* pParent) override;
614
615 virtual VclPtr<VclAbstractDialog> CreateWidgetTestDialog(weld::Window* pParent) override;
616
617 virtual VclPtr<VclAbstractDialog> CreateToolbarmodeDialog(weld::Window* pParent) override;
618
619 virtual VclPtr<AbstractDiagramDialog> CreateDiagramDialog(
620 weld::Window* pParent,
621 SdrObjGroup& rDiagram) override;
622
623#ifdef _WIN32
624 virtual VclPtr<VclAbstractDialog> CreateFileExtCheckDialog(weld::Window* pParent,
625 const OUString& sTitle,
626 const OUString& sMsg) override;
627#endif
628};
629
630/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
SvxAnchorIds
Edit Diagram dialog.
Dialog for searching in Forms/Tables.
Definition: cuifmsearch.hxx:40
The main purpose of this dialog is to enable the use of characters that are not easily accessible fro...
Definition: cuicharmap.hxx:77
Dialog for editing a name.
Definition: dlgname.hxx:27
#i68101# Dialog for editing Object name plus uniqueness-callback-linkHandler
Definition: dlgname.hxx:78
#i68101# Dialog for editing Object Title and Description
Definition: dlgname.hxx:105
Link< AbstractSvxNameDialog &, bool > aCheckNameHdl
Definition: dlgfact.hxx:277
virtual void SetCanceledNotFoundHdl(const Link< FmFoundRecordInformation &, void > &lnk) override
#define DECL_ABSTDLG_CLASS_ASYNC(Class, Dialog)
Definition: dlgfact.hxx:91
virtual OUString GetDesc() const override
virtual sal_uInt16 GetShorter() override
virtual void SetRunLabel() override
virtual void IsDecorative(bool &rIsDecorative) override
virtual editeng::HangulHanjaConversion::ConversionDirection GetDirection(editeng::HangulHanjaConversion::ConversionDirection _eDefaultDirection) const override
DECL_LINK(CheckNameHdl, SvxNameDialog &, bool)
virtual OUString GetPasswordToModify() const override
virtual void SetCurrentString(const OUString &_rNewString, const css::uno::Sequence< OUString > &_rSuggestions, bool _bOriginatesFromDocument=true) override
virtual OUString GetScreenshotId() const override
virtual sal_uInt16 GetLonger() override
Link< AbstractSvxPostItDialog &, void > aPrevHdl
Definition: dlgfact.hxx:381
virtual void SetConversionDirectionState(bool _bTryBothDirections, editeng::HangulHanjaConversion::ConversionDirection _ePrimaryConversionDirection) override
virtual bool GetUseBothDirections() const override
virtual void SetTitle(const OUString &rNewTitle) override
virtual void SetNextHdl(const Link< AbstractSvxPostItDialog &, void > &rLink) override
virtual void SetFoundHandler(const Link< FmFoundRecordInformation &, void > &lnk) override
virtual void InsertUno(const OUString &sCmd, const OUString &sLabel) override
virtual css::uno::Reference< css::linguistic2::XDictionary > GetNewDictionary() override
virtual void ShowLastAuthor(const OUString &rAuthor, const OUString &rDate) override
virtual std::shared_ptr< weld::Dialog > GetDialog() override
virtual BitmapEx createScreenshot() const override
virtual bool IsRelaxed() override
virtual SotClipboardFormatId GetFormatOnly() override
virtual void PreGetFormat(const TransferableDataHelper &aHelper) override
virtual OUString GetName() const override
virtual void SetClickByCharacterHdl(const Link< weld::Toggleable &, void > &rHdl) override
virtual bool QueryClose() override
virtual void SetChangeAllHdl(const Link< weld::Button &, void > &rHdl) override
virtual const SfxItemSet * GetOutputItemSet() const override
virtual void SetCheckNameHdl(const Link< AbstractSvxNameDialog &, bool > &rLink, bool bCheckImmediately=false) override
virtual void SetIgnoreAllHdl(const Link< weld::Button &, void > &_rHdl) override
virtual OUString GetAltText() const override
virtual OUString GetWord() override
virtual void SetConversionFormatChangedHdl(const Link< weld::Toggleable &, void > &_rHdl) override
virtual void Insert(SotClipboardFormatId nFormat, const OUString &rFormatName) override
virtual void EnableTravel(bool bNext, bool bPrev) override
virtual void SetPrevHdl(const Link< AbstractSvxPostItDialog &, void > &rLink) override
virtual OUString GetPath() const override
virtual void InvalidateDialog() override
virtual void SetColumns(const css::uno::Reference< css::container::XIndexContainer > &xCols) override
Link< AbstractSvxNameDialog &, OUString > aCheckNameTooltipHdl
Definition: dlgfact.hxx:278
virtual OUString GetScriptURL() const override
virtual std::shared_ptr< SfxDialogController > GetController() override
virtual void SetLimits(sal_uInt16 nMin, sal_uInt16 nMax) override
virtual OUString GetNote() override
virtual void GetDescription(OUString &rName) override
virtual OUString GetURL() const override
virtual void FocusSuggestion() override
virtual void SetText(const OUString &rStr) override
virtual OUString GetTitle() const override
virtual bool IsCreateNew() override
virtual void SetIgnoreHdl(const Link< weld::Button &, void > &_rHdl) override
virtual void EndDialog(sal_Int32 nResult) override
virtual void AllowEmpty() override
virtual void SetInputSet(const SfxItemSet *pInSet) override
virtual void SetPath(const OUString &rPath) override
virtual void SetObjName(const SvGlobalName &rClass, const OUString &rObjName) override
Link< AbstractSvxPostItDialog &, void > aNextHdl
Definition: dlgfact.hxx:380
virtual void SetEditHelpId(const OUString &) override
virtual SotClipboardFormatId GetFormat(const TransferableDataHelper &aHelper) override
virtual void SetCheckNameTooltipHdl(const Link< AbstractSvxNameDialog &, OUString > &rLink) override
virtual WhichRangesContainer GetInputRanges(const SfxItemPool &pItem) override
virtual sal_uInt16 GetOther() override
virtual void DontChangeAuthor() override
virtual bool IsRecommendToOpenReadonly() const override
virtual css::uno::Reference< css::embed::XEmbeddedObject > GetObject() override
virtual editeng::HangulHanjaConversion::ConversionFormat GetConversionFormat() const override
virtual void SetOptionsChangedHdl(const Link< LinkParamNone *, void > &_rHdl) override
virtual void Response(sal_Int32) override
virtual css::uno::Reference< css::io::XInputStream > GetIconIfIconified(OUString *pGraphicMediaType) override
virtual OUString GetPasswordToOpen() const override
virtual Graphic GetFilteredGraphic(const Graphic &rGraphic, double fScaleX, double fScaleY) override
virtual SfxBindings & GetBindings() override
#define DECL_ABSTDLG_CLASS_UNIQUE(Class, Base, Dialog)
Definition: dlgfact.hxx:70
virtual void SetFindHdl(const Link< weld::Button &, void > &_rHdl) override
virtual void SetValue(tools::Long nNew) override
virtual sal_uInt32 GetId() const override
virtual void SetNote(const OUString &rTxt) override
virtual OUString GetTarget() const override
virtual void EnableRubySupport(bool _bVal) override
virtual OUString GetCurrentSuggestion() const override
#define DECL_ABSTDLG_CLASS_SHARED_ASYNC(Class, Base, Dialog)
Definition: dlgfact.hxx:87
virtual void SetChangeHdl(const Link< weld::Button &, void > &_rHdl) override
virtual void SetHelpId(const OUString &) override
virtual std::vector< OUString > getAllPageUIXMLDescriptions() const override
virtual TransliterationFlags GetTransliterationFlags() const override
virtual void SetCurPageId(const OUString &rName) override
virtual void SetByCharacter(bool _bByCharacter) override
virtual OUString GetCurrentString() const override
virtual void SetValidateFramePosLink(const Link< SvxSwFrameValidation &, void > &rLink) override
#define DECL_ABSTDLG_CLASS(Class, Dialog)
Definition: dlgfact.hxx:82
virtual void SetActiveField(const OUString &strField) override
#define DECL_ABSTDLG_CLASS_SHARED(Class, Base, Dialog)
Definition: dlgfact.hxx:73
virtual void HideAuthor() override
virtual tools::Long GetValue() const override
virtual void HideButton(ZoomButtonId nBtnId) override
virtual bool selectPageByUIXMLDescription(const OUString &rUIXMLDescription) override
virtual void SetConversionFormat(editeng::HangulHanjaConversion::ConversionFormat _eType) override
FilterGroup & rTarget
SotClipboardFormatId
::std::vector< OUString > TargetList
void * p
WhichRangesContainer(* GetTabPageRanges)()
Definition: macropg.hxx:109
std::unique_ptr< sal_Int32[]> pData
long Long
sal_Int16 nId
static SfxItemSet & rSet
Reference< XModel > xModel
WhichRangesContainer(* DialogGetRanges)()
std::unique_ptr< SfxTabPage >(* CreateTabPage)(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
TransliterationFlags
ZoomButtonId