23#include <osl/diagnose.h>
36 const sal_uInt16 nSlot = rReq.
GetSlot();
41 bool bUpdateList =
false;
64 if(pItem && pArgs->
Count() == 3 )
68 if(SfxItemState::SET == pArgs->
GetItemState(FN_PARAM_1,
false, &pItem ))
71 if(SfxItemState::SET == pArgs->
GetItemState(FN_PARAM_2,
false, &pItem ))
77 (*fnSetActGroup)( aGroup );
92 (*fnSetActGroup)( aGroup );
98 if(pItem && pArgs->
Count() > 1)
102 if(SfxItemState::SET == pArgs->
GetItemState(FN_PARAM_1,
false, &pItem ))
107 (*fnSetActGroup)( aGroup );
115 OSL_FAIL(
"wrong dispatcher");
const OUString & GetValue() const
SfxItemState GetItemState(sal_uInt16 nWhich, bool bSrchInParent=true, const SfxPoolItem **ppItem=nullptr) const
sal_uInt16 GetSlot() const
const SfxItemSet * GetArgs() const
void SetReturnValue(const SfxPoolItem &)
weld::Window * GetFrameWeld() const
void Done(bool bRemove=false)
virtual GlossarySetActGroup SetGlossaryActGroupFunc()=0
static SwAbstractDialogFactory * Create()
void UpdateGlosPath(bool bFull)
bool ExpandGlossary(weld::Window *pParent)
bool InsertGlossary(const OUString &rName)
void SetCurGroup(const OUString &aGrp, bool bApi=false, bool bAlwaysCreateNew=false)
bool NewGlossary(const OUString &rName, const OUString &rShortName, bool bApiCall=false, bool bNoAttr=false)
void ExecGlossary(SfxRequest &)
SwGlossaryHdl * GetGlosHdl()
#define FN_SET_ACT_GLOSSARY
#define FN_EXPAND_GLOSSARY
#define FN_INSERT_GLOSSARY
SwGlossaryList * GetGlossaryList()
SW_DLLPUBLIC SwGlossaries * GetGlossaries()
void(* GlossarySetActGroup)(const OUString &rNewGroup)