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 <cuifmsearch.hxx>
31#include <cuigaldlg.hxx>
32#include <cuigrfflt.hxx>
33#include <cuihyperdlg.hxx>
34#include <cuiimapwnd.hxx>
35#include <cuisrchdlg.hxx>
36#include <cuitabarea.hxx>
37#include <cuitbxform.hxx>
38#include <dlgname.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 OString &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<OString> getAllPageUIXMLDescriptions() const override;
133 virtual bool selectPageByUIXMLDescription(const OString& rUIXMLDescription) override;
134 virtual BitmapEx createScreenshot() const override;
135 virtual OString 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 OString& 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 OString& 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 OString&) override ;
272 //from class Window
273 virtual void SetHelpId( const OString& ) 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};
301
302// AbstractSvxMultiPathDialog_Impl
304 virtual OUString GetPath() const override;
305 virtual void SetPath( const OUString& rPath ) override;
306 virtual void SetTitle( const OUString& rNewTitle ) override;
307};
308
309// AbstractSvxPathSelectDialog_Impl
311 virtual OUString GetPath() const override;
312 virtual void SetPath( const OUString& rPath ) override;
313 virtual void SetTitle( const OUString& rNewTitle ) override;
314};
315
316// AbstractSvxHpLinkDlg_Impl
318 virtual std::shared_ptr<SfxDialogController> GetController() override;
319 virtual bool QueryClose() override;
320};
321
322// AbstractFmSearchDialog_Impl
325 virtual void SetFoundHandler(const Link<FmFoundRecordInformation&,void>& lnk) override ;
326 virtual void SetCanceledNotFoundHdl(const Link<FmFoundRecordInformation&,void>& lnk) override;
327 virtual void SetActiveField(const OUString& strField) override;
328};
329
330// AbstractGraphicFilterDialog_Impl
332 virtual Graphic GetFilteredGraphic( const Graphic& rGraphic, double fScaleX, double fScaleY ) override;
333};
334
335// AbstractSvxAreaTabDialog_Impl
337 virtual void SetCurPageId(const OString& rName) override;
338 virtual const SfxItemSet* GetOutputItemSet() const override;
339 virtual WhichRangesContainer GetInputRanges( const SfxItemPool& pItem ) override;
340 virtual void SetInputSet(const SfxItemSet* pInSet) override;
341 virtual void SetText(const OUString& rStr) override;
342};
343
344// AbstractInsertObjectDialog_Impl
346 virtual css::uno::Reference < css::embed::XEmbeddedObject > GetObject() override;
347 virtual css::uno::Reference< css::io::XInputStream > GetIconIfIconified( OUString* pGraphicMediaType ) override;
348 virtual bool IsCreateNew() override;
349};
350
351// AbstractPasteDialog_Impl
353 virtual void Insert( SotClipboardFormatId nFormat, const OUString & rFormatName ) override;
354 virtual void InsertUno( const OUString & sCmd, const OUString& sLabel ) override;
355 virtual void SetObjName( const SvGlobalName & rClass, const OUString & rObjName ) override;
356 virtual void PreGetFormat( const TransferableDataHelper& aHelper ) override;
358 virtual SotClipboardFormatId GetFormat( const TransferableDataHelper& aHelper ) override;
359};
360
361// AbstractLinksDialog_Impl
363};
364
365// AbstractSvxPostItDialog_Impl
367 virtual void SetText( const OUString& rStr ) override; //From class Window
368 virtual const SfxItemSet* GetOutputItemSet() const override;
369 virtual void SetPrevHdl( const Link<AbstractSvxPostItDialog&,void>& rLink ) override;
370 virtual void SetNextHdl( const Link<AbstractSvxPostItDialog&,void>& rLink ) override;
371 virtual void EnableTravel(bool bNext, bool bPrev) override;
372 virtual OUString GetNote() override;
373 virtual void SetNote(const OUString& rTxt) override;
374 virtual void ShowLastAuthor(const OUString& rAuthor, const OUString& rDate) override;
375 virtual void DontChangeAuthor() override;
376 virtual void HideAuthor() override;
377 virtual std::shared_ptr<weld::Dialog> GetDialog() override;
378private:
381 DECL_LINK(NextHdl, SvxPostItDialog&, void);
382 DECL_LINK(PrevHdl, SvxPostItDialog&, void);
383};
384
385// AbstractPasswordToOpenModifyDialog_Impl
387 virtual OUString GetPasswordToOpen() const override;
388 virtual OUString GetPasswordToModify() const override;
389 virtual bool IsRecommendToOpenReadonly() const override;
390 virtual void Response(sal_Int32) override;
391 virtual void AllowEmpty() override;
392};
393
394// AbstractSvxCharacterMapDialog_Impl
396 virtual const SfxItemSet* GetOutputItemSet() const override;
397 virtual void SetText(const OUString& rStr) override;
398};
399
400// AbstractScreenshotAnnotationDlg_Impl
402};
403
404// AbstractSignatureLineDialog_Impl
406};
407
408// AbstractQrCodeGenDialog_Impl
410};
411
412// AbstractSignSignatureLineDialog_Impl
414};
415
416// AbstractAdditionsDialog_Impl
417DECL_ABSTDLG_CLASS(AbstractAdditionsDialog,weld::GenericDialogController)
418};
419
420// AbstractDiagramDialog_Impl
422};
423
424//AbstractDialogFactory_Impl implementations
426{
427public:
428 virtual VclPtr<VclAbstractDialog> CreateVclDialog(weld::Window* pParent, sal_uInt32 nResId) override;
429
430 virtual VclPtr<SfxAbstractDialog> CreateSfxDialog( weld::Window* pParent,
431 const SfxItemSet& rAttr,
432 const SdrView* pView,
433 sal_uInt32 nResId ) override;
434 virtual VclPtr<SfxAbstractDialog> CreateCharMapDialog(weld::Window* pParent,
435 const SfxItemSet& rAttr,
436 const css::uno::Reference< css::frame::XFrame >& rFrame) override;
437 virtual VclPtr<SfxAbstractDialog> CreateEventConfigDialog(weld::Widget* pParent,
438 const SfxItemSet& rAttr,
439 const css::uno::Reference< css::frame::XFrame >& rFrame) override;
440 virtual VclPtr<VclAbstractDialog> CreateFrameDialog(weld::Window* pParent, const css::uno::Reference< css::frame::XFrame >& rxFrame,
441 sal_uInt32 nResId,
442 const OUString& rParameter ) override;
443 virtual VclPtr<SfxAbstractTabDialog> CreateAutoCorrTabDialog(weld::Window* pParent, const SfxItemSet* pAttrSet) override;
444 virtual VclPtr<SfxAbstractTabDialog> CreateCustomizeTabDialog(weld::Window* pParent,
445 const SfxItemSet* pAttrSet,
446 const css::uno::Reference< css::frame::XFrame >& xViewFrame ) override;
447 virtual VclPtr<SfxAbstractTabDialog> CreateTextTabDialog( weld::Window* pParent,
448 const SfxItemSet* pAttrSet,
449 SdrView* pView ) override;
450 virtual VclPtr<SfxAbstractTabDialog> CreateTabItemDialog(weld::Window* pParent, const SfxItemSet& rSet) override;
452 CreateCaptionDialog(weld::Window* pParent,
453 const SdrView* pView,
454 SvxAnchorIds nAnchorTypes = SvxAnchorIds::NONE) override;
456 CreateInsertObjectDialog(weld::Window* pParent, const OUString& rCommand,
457 const css::uno::Reference < css::embed::XStorage >& xStor,
458 const SvObjectServerList* pList ) override;
459 virtual VclPtr<VclAbstractDialog> CreateEditObjectDialog(weld::Window* pParent, const OUString& rCommand,
460 const css::uno::Reference < css::embed::XEmbeddedObject >& xObj ) override;
461 virtual VclPtr<SfxAbstractPasteDialog> CreatePasteDialog(weld::Window* pParent) override;
462 virtual VclPtr<SfxAbstractLinksDialog> CreateLinksDialog(weld::Window* pParent, sfx2::LinkManager* pMgr, bool bHTML = false, sfx2::SvBaseLink* p=nullptr) override;
463
464 virtual VclPtr<AbstractHangulHanjaConversionDialog> CreateHangulHanjaConversionDialog(weld::Widget* pParent) override;
465 virtual VclPtr<AbstractThesaurusDialog> CreateThesaurusDialog(weld::Widget*,
466 css::uno::Reference<css::linguistic2::XThesaurus> xThesaurus,
467 const OUString &rWord, LanguageType nLanguage) override;
468
469 virtual VclPtr<AbstractHyphenWordDialog> CreateHyphenWordDialog(weld::Widget*,
470 const OUString &rWord, LanguageType nLang,
471 css::uno::Reference< css::linguistic2::XHyphenator > &xHyphen,
472 SvxSpellWrapper* pWrapper) override;
473
474 virtual VclPtr<AbstractFmShowColsDialog> CreateFmShowColsDialog(weld::Window* pParent) override;
475 virtual VclPtr<AbstractSvxZoomDialog> CreateSvxZoomDialog(weld::Window* pParent, const SfxItemSet& rCoreSet) override;
476 // add for SvxBorderBackgroundDlg
477 virtual VclPtr<SfxAbstractTabDialog> CreateSvxBorderBackgroundDlg(
478 weld::Window* pParent,
479 const SfxItemSet& rCoreSet,
480 bool bEnableDrawingLayerFillStyles) override;
481
482 virtual VclPtr<AbstractSvxTransformTabDialog> CreateSvxTransformTabDialog(weld::Window* pParent,
483 const SfxItemSet* pAttr,
484 const SdrView* pView,
485 SvxAnchorIds nAnchorTypes = SvxAnchorIds::NONE) override ;
486 virtual VclPtr<SfxAbstractTabDialog> CreateSchTransformTabDialog(weld::Window* pParent,
487 const SfxItemSet* pAttr,
488 const SdrView* pSdrView,
489 bool bSizeTabPage) override;
490 virtual VclPtr<AbstractSpellDialog> CreateSvxSpellDialog(
491 weld::Window* pParent,
492 SfxBindings* pBindings,
493 svx::SpellDialogChildWindow* pSpellChildWindow ) override;
494
495 virtual VclPtr<VclAbstractDialog> CreateActualizeProgressDialog(weld::Widget* pParent, GalleryTheme* pThm) override;
496 virtual VclPtr<AbstractTitleDialog> CreateTitleDialog(weld::Widget* pParent, const OUString& rOldText) override;
497 virtual VclPtr<AbstractGalleryIdDialog> CreateGalleryIdDialog(weld::Widget* pParent,
498 GalleryTheme* pThm) override;
499 virtual VclPtr<VclAbstractDialog> CreateGalleryThemePropertiesDialog(weld::Widget* pParent,
501 SfxItemSet* pItemSet) override;
502
503 virtual VclPtr<AbstractURLDlg> CreateURLDialog(weld::Widget* pParent,
504 const OUString& rURL, const OUString& rAltText, const OUString& rDescription,
505 const OUString& rTarget, const OUString& rName,
506 TargetList& rTargetList ) override;
507
508 virtual VclPtr<VclAbstractDialog> CreateSvxSearchAttributeDialog(weld::Window* pParent,
509 SearchAttrItemList& rLst,
510 const WhichRangesContainer& pWhRanges) override;
511 virtual VclPtr<AbstractSvxSearchSimilarityDialog> CreateSvxSearchSimilarityDialog( weld::Window* pParent,
512 bool bRelax,
513 sal_uInt16 nOther,
514 sal_uInt16 nShorter,
515 sal_uInt16 nLonger) override;
516 virtual VclPtr<AbstractSvxJSearchOptionsDialog> CreateSvxJSearchOptionsDialog(weld::Window* pParent,
517 const SfxItemSet& rOptionsSet,
518 TransliterationFlags nInitialFlags) override;
519 virtual VclPtr<AbstractFmInputRecordNoDialog> CreateFmInputRecordNoDialog(weld::Window* pParent) override;
520 virtual VclPtr<AbstractSvxNewDictionaryDialog> CreateSvxNewDictionaryDialog(weld::Window* pParent) override;
521 virtual VclPtr<VclAbstractDialog> CreateSvxEditDictionaryDialog(weld::Window* pParent, const OUString& rName) override;
522 virtual VclPtr<AbstractSvxNameDialog> CreateSvxNameDialog(weld::Window* pParent,
523 const OUString& rName, const OUString& rDesc) override;
524 // #i68101#
525 virtual VclPtr<AbstractSvxObjectNameDialog> CreateSvxObjectNameDialog(weld::Window* pParent, const OUString& rName) override;
526 virtual VclPtr<AbstractSvxObjectTitleDescDialog> CreateSvxObjectTitleDescDialog(weld::Window* pParent, const OUString& rTitle, const OUString& rDescription) override;
527 virtual VclPtr<AbstractSvxMultiPathDialog> CreateSvxMultiPathDialog(weld::Window* pParent) override;
528 virtual VclPtr<AbstractSvxMultiPathDialog> CreateSvxPathSelectDialog(weld::Window* pParent) override;
529 virtual VclPtr<AbstractSvxHpLinkDlg> CreateSvxHpLinkDlg(SfxChildWindow* pChild, SfxBindings* pBindings, weld::Window* pParent) override;
530 virtual VclPtr<AbstractFmSearchDialog> CreateFmSearchDialog(weld::Window* pParent,
531 const OUString& strInitialText,
532 const std::vector< OUString >& _rContexts,
533 sal_Int16 nInitialContext,
534 const Link<FmSearchContext&,sal_uInt32>& lnkContextSupplier) override;
535 virtual VclPtr<AbstractGraphicFilterDialog> CreateGraphicFilterEmboss(weld::Window* pParent,
536 const Graphic& rGraphic) override;
537 virtual VclPtr<AbstractGraphicFilterDialog> CreateGraphicFilterPoster(weld::Window* pParent,
538 const Graphic& rGraphic) override;
539 virtual VclPtr<AbstractGraphicFilterDialog> CreateGraphicFilterSepia(weld::Window* pParent,
540 const Graphic& rGraphic) override;
541 virtual VclPtr<AbstractGraphicFilterDialog> CreateGraphicFilterSmooth(weld::Window* pParent,
542 const Graphic& rGraphic, double nRadius) override;
543 virtual VclPtr<AbstractGraphicFilterDialog> CreateGraphicFilterSolarize(weld::Window* pParent,
544 const Graphic& rGraphic) override;
545 virtual VclPtr<AbstractGraphicFilterDialog> CreateGraphicFilterMosaic(weld::Window* pParent,
546 const Graphic& rGraphic) override;
547 virtual VclPtr<AbstractSvxAreaTabDialog> CreateSvxAreaTabDialog(weld::Window* pParent,
548 const SfxItemSet* pAttr,
549 SdrModel* pModel,
550 bool bShadow,
551 bool bSlideBackground) override;
552 virtual VclPtr<SfxAbstractTabDialog> CreateSvxLineTabDialog(weld::Window* pParent, const SfxItemSet* pAttr,
553 SdrModel* pModel,
554 const SdrObject* pObj,
555 bool bHasObj ) override;
556 virtual VclPtr<AbstractSvxPostItDialog> CreateSvxPostItDialog(weld::Widget* pParent,
557 const SfxItemSet& rCoreSet,
558 bool bPrevNext = false) override;
559
560 // For TabPage
561 virtual CreateTabPage GetTabPageCreatorFunc( sal_uInt16 nId ) override;
562
563 virtual GetTabPageRanges GetTabPageRangesFunc( sal_uInt16 nId ) override;
564 virtual DialogGetRanges GetDialogGetRangesFunc() override;
565 virtual VclPtr<VclAbstractDialog> CreateSvxScriptOrgDialog(weld::Window* pParent, const OUString& rLanguage) override;
566
567 virtual VclPtr<AbstractScriptSelectorDialog> CreateScriptSelectorDialog(weld::Window* pParent,
568 const css::uno::Reference< css::frame::XFrame >& rxFrame) override;
569
570 virtual void ShowAsyncScriptErrorDialog(weld::Window* pParent, const css::uno::Any& rException) override;
571
572 virtual VclPtr<VclAbstractDialog> CreateSvxMacroAssignDlg(
573 weld::Window* _pParent,
574 const css::uno::Reference< css::frame::XFrame >& _rxDocumentFrame,
575 const bool _bUnoDialogMode,
576 const css::uno::Reference< css::container::XNameReplace >& _rxEvents,
577 const sal_uInt16 _nInitiallySelectedEvent
578 ) override;
579
580 virtual VclPtr<SfxAbstractTabDialog> CreateSvxFormatCellsDialog(weld::Window* pParent, const SfxItemSet* pAttr, const SdrModel& rModel, bool bStyle) override;
581
582 virtual VclPtr<SvxAbstractSplitTableDialog> CreateSvxSplitTableDialog(weld::Window* pParent, bool bIsTableVertical, tools::Long nMaxVertical) override;
583
584 virtual std::shared_ptr<SvxAbstractNewTableDialog> CreateSvxNewTableDialog(weld::Window* pParent) override ;
585
586 virtual VclPtr<VclAbstractDialog> CreateOptionsDialog(
587 weld::Window* pParent, const OUString& rExtensionId ) override;
588
589 virtual VclPtr<SvxAbstractInsRowColDlg> CreateSvxInsRowColDlg(weld::Window* pParent, bool bCol, const OString& rHelpId) override;
590
591 virtual VclPtr<AbstractPasswordToOpenModifyDialog> CreatePasswordToOpenModifyDialog(weld::Window* pParent, sal_uInt16 nMaxPasswdLen, bool bIsPasswordToModify) override;
592
593 virtual VclPtr<AbstractScreenshotAnnotationDlg> CreateScreenshotAnnotationDlg(weld::Dialog& rParentDialog) override;
594
596 CreateSignatureLineDialog(weld::Window* pParent,
597 const css::uno::Reference<css::frame::XModel> xModel, bool bEditExisting) override;
598
600 CreateSignSignatureLineDialog(weld::Window* pParent,
601 const css::uno::Reference<css::frame::XModel> xModel) override;
602
604 CreateQrCodeGenDialog(weld::Window* pParent,
605 const css::uno::Reference<css::frame::XModel> xModel, bool bEditExisting) override;
606
608 CreateAdditionsDialog(weld::Window* pParent, const OUString& sAdditionsTag) override;
609
610 virtual VclPtr<VclAbstractDialog> CreateAboutDialog(weld::Window* pParent) override;
611
612 virtual VclPtr<VclAbstractDialog> CreateTipOfTheDayDialog(weld::Window* pParent) override;
613
614 virtual VclPtr<VclAbstractDialog> CreateWidgetTestDialog(weld::Window* pParent) override;
615
616 virtual VclPtr<VclAbstractDialog> CreateToolbarmodeDialog(weld::Window* pParent) override;
617
618 virtual VclPtr<AbstractDiagramDialog> CreateDiagramDialog(
619 weld::Window* pParent,
620 SdrObjGroup& rDiagram) override;
621
622#ifdef _WIN32
623 virtual VclPtr<VclAbstractDialog> CreateFileExtCheckDialog(weld::Window* pParent,
624 const OUString& sTitle,
625 const OUString& sMsg) override;
626#endif
627};
628
629/* 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:25
#i68101# Dialog for editing Object name plus uniqueness-callback-linkHandler
Definition: dlgname.hxx:76
#i68101# Dialog for editing Object Title and Description
Definition: dlgname.hxx:103
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 SetCurPageId(const OString &rName) override
virtual void SetRunLabel() 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 sal_uInt16 GetLonger() override
Link< AbstractSvxPostItDialog &, void > aPrevHdl
Definition: dlgfact.hxx:380
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 OString GetScreenshotId() const override
virtual bool QueryClose() override
virtual void SetChangeAllHdl(const Link< weld::Button &, void > &rHdl) override
virtual void SetEditHelpId(const OString &) 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 std::vector< OString > getAllPageUIXMLDescriptions() 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 void SetHelpId(const OString &) 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:379
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 TransliterationFlags GetTransliterationFlags() const 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 void SetConversionFormat(editeng::HangulHanjaConversion::ConversionFormat _eType) override
virtual bool selectPageByUIXMLDescription(const OString &rUIXMLDescription) override
FilterGroup & rTarget
SotClipboardFormatId
::std::vector< OUString > TargetList
void * p
WhichRangesContainer(* GetTabPageRanges)()
Definition: macropg.hxx:105
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