23#include <com/sun/star/container/XNameReplace.hpp>
26#include <com/sun/star/frame/XFrame.hpp>
62#define DECL_ABSTDLG_CLASS_(Class,Base,Dialog,StdPtr) \
63class Class##_Impl final : public Base \
65 StdPtr<Dialog> m_xDlg; \
67 explicit Class##_Impl(StdPtr<Dialog> p) : m_xDlg(std::move(p)) {} \
68 virtual short Execute() override;
70#define DECL_ABSTDLG_CLASS_UNIQUE(Class,Base,Dialog) \
71DECL_ABSTDLG_CLASS_(Class,Base,Dialog,std::unique_ptr)
73#define DECL_ABSTDLG_CLASS_SHARED(Class,Base,Dialog) \
74DECL_ABSTDLG_CLASS_(Class,Base,Dialog,std::shared_ptr)
76#define IMPL_ABSTDLG_CLASS(Class) \
77short Class##_Impl::Execute() \
79 return m_xDlg->run(); \
82#define DECL_ABSTDLG_CLASS(Class,Dialog) \
83DECL_ABSTDLG_CLASS_UNIQUE(Class,Class,Dialog)
87#define DECL_ABSTDLG_CLASS_SHARED_ASYNC(Class,Base,Dialog) \
88DECL_ABSTDLG_CLASS_SHARED(Class,Base,Dialog) \
89 virtual bool StartExecuteAsync(AsyncContext &rCtx) override;
91#define DECL_ABSTDLG_CLASS_ASYNC(Class,Dialog) \
92DECL_ABSTDLG_CLASS_SHARED_ASYNC(Class,Class,Dialog)
94#define IMPL_ABSTDLG_CLASS_ASYNC(Class,Dialog) \
95short Class##_Impl::Execute() \
97 return m_xDlg->run(); \
99bool Class##_Impl::StartExecuteAsync(AsyncContext &rCtx) \
101 return Dialog::runAsync(m_xDlg, rCtx.maEndDialogFn); \
120 virtual
void SetText( const OUString& rStr ) override;
129 virtual
void SetText( const OUString& rStr ) override;
154 virtual
editeng::HangulHanjaConversion::ConversionDirection
157 const OUString& _rNewString,
158 const css::
uno::Sequence< OUString >& _rSuggestions,
159 bool _bOriginatesFromDocument = true
162 virtual
editeng::HangulHanjaConversion::ConversionFormat
184 virtual
void SetLimits( sal_uInt16 nMin, sal_uInt16 nMax ) override;
210 virtual sal_uInt32
GetId() const override;
215 virtual OUString
GetURL() const override;
238 virtual
void SetCurPageId( const OUString& rName ) override;
242 virtual
void SetText( const OUString& rStr ) override;
248 virtual
void SetCurPageId( const OUString& rName ) override;
252 virtual
void SetText( const OUString& rStr ) override;
268 virtual
void GetName( OUString& rName ) override ;
274 virtual
void SetText( const OUString& rStr ) override ;
288 virtual
void GetName(OUString& rName) override ;
306 virtual
void SetPath( const OUString& rPath ) override;
307 virtual
void SetTitle( const OUString& rNewTitle ) override;
312 virtual OUString
GetPath() const override;
313 virtual
void SetPath( const OUString& rPath ) override;
314 virtual
void SetTitle( const OUString& rNewTitle ) override;
338 virtual
void SetCurPageId(const OUString& rName) override;
342 virtual
void SetText(const OUString& rStr) override;
347 virtual css::
uno::Reference < css::embed::XEmbeddedObject >
GetObject() override;
355 virtual
void InsertUno( const OUString & sCmd, const OUString& sLabel ) override;
368 virtual
void SetText( const OUString& rStr ) override;
374 virtual
void SetNote(const OUString& rTxt) override;
375 virtual
void ShowLastAuthor(const OUString& rAuthor, const OUString& rDate) override;
398 virtual
void SetText(const OUString& rStr) override;
434 sal_uInt32 nResId )
override;
437 const css::uno::Reference< css::frame::XFrame >& rFrame)
override;
440 const css::uno::Reference< css::frame::XFrame >& rFrame)
override;
443 const OUString& rParameter )
override;
447 const css::uno::Reference< css::frame::XFrame >& xViewFrame )
override;
455 SvxAnchorIds nAnchorTypes = SvxAnchorIds::NONE)
override;
457 CreateInsertObjectDialog(
weld::Window* pParent,
const OUString& rCommand,
458 const css::uno::Reference < css::embed::XStorage >& xStor,
461 const css::uno::Reference < css::embed::XEmbeddedObject >& xObj )
override;
467 css::uno::Reference<css::linguistic2::XThesaurus> xThesaurus,
468 const OUString &rWord,
LanguageType nLanguage)
override;
472 css::uno::Reference< css::linguistic2::XHyphenator > &xHyphen,
481 bool bEnableDrawingLayerFillStyles)
override;
486 SvxAnchorIds nAnchorTypes = SvxAnchorIds::NONE)
override ;
490 bool bSizeTabPage)
override;
505 const OUString& rURL,
const OUString& rAltText,
const OUString& rDescription,
506 const OUString&
rTarget,
const OUString& rName,
516 sal_uInt16 nLonger)
override;
524 const OUString& rName,
const OUString& rDesc)
override;
532 const OUString& strInitialText,
533 const std::vector< OUString >& _rContexts,
534 sal_Int16 nInitialContext,
537 const Graphic& rGraphic)
override;
539 const Graphic& rGraphic)
override;
541 const Graphic& rGraphic)
override;
543 const Graphic& rGraphic,
double nRadius)
override;
545 const Graphic& rGraphic)
override;
547 const Graphic& rGraphic)
override;
552 bool bSlideBackground)
override;
556 bool bHasObj )
override;
559 bool bPrevNext =
false)
override;
569 const css::uno::Reference< css::frame::XFrame >& rxFrame)
override;
571 virtual void ShowAsyncScriptErrorDialog(
weld::Window* pParent,
const css::uno::Any& rException)
override;
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
585 virtual std::shared_ptr<SvxAbstractNewTableDialog> CreateSvxNewTableDialog(
weld::Window* pParent)
override ;
588 weld::Window* pParent,
const OUString& rExtensionId )
override;
598 const css::uno::Reference<css::frame::XModel>
xModel,
bool bEditExisting)
override;
602 const css::uno::Reference<css::frame::XModel>
xModel)
override;
606 const css::uno::Reference<css::frame::XModel>
xModel,
bool bEditExisting)
override;
609 CreateAdditionsDialog(
weld::Window* pParent,
const OUString& sAdditionsTag)
override;
625 const OUString& sTitle,
626 const OUString& sMsg)
override;
Dialog for searching in Forms/Tables.
The main purpose of this dialog is to enable the use of characters that are not easily accessible fro...
#i68101# Dialog for editing Object Title and Description
Link< AbstractSvxNameDialog &, bool > aCheckNameHdl
virtual void SetCanceledNotFoundHdl(const Link< FmFoundRecordInformation &, void > &lnk) override
#define DECL_ABSTDLG_CLASS_ASYNC(Class, Dialog)
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
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
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
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)
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)
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)
virtual void SetActiveField(const OUString &strField) override
#define DECL_ABSTDLG_CLASS_SHARED(Class, Base, Dialog)
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
::std::vector< OUString > TargetList
WhichRangesContainer(* GetTabPageRanges)()
std::unique_ptr< sal_Int32[]> pData
Reference< XModel > xModel
WhichRangesContainer(* DialogGetRanges)()
std::unique_ptr< SfxTabPage >(* CreateTabPage)(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)