93 virtual void dispose()
override;
130 virtual void dispose()
override;
141 virtual void Select()
override;
158 virtual void FillBox()
override;
232 virtual void dispose()
override;
243 virtual void Select()
override;
260 virtual void FillBox()
override;
Base class for all ComboBox elements.
virtual void onDocumentTitleChanged(const ScriptDocument &_rDoc) override
Not interested in. Do nothing.
virtual void onDocumentClosed(const ScriptDocument &_rDoc) override
Only calls FillBox(). Parameter is not used.
virtual void onDocumentModeChanged(const ScriptDocument &_rDoc) override
Not interested in. Do nothing.
virtual void dispose() override
void set_sensitive(bool bSensitive)
DocListenerBox(vcl::Window *pParent)
std::unique_ptr< weld::ComboBox > m_xWidget
virtual void onDocumentSaveAs(const ScriptDocument &_rDoc) override
Not interested in. Do nothing.
virtual void onDocumentCreated(const ScriptDocument &_rDoc) override
Only calls FillBox(). Parameter is not used.
virtual void onDocumentOpened(const ScriptDocument &_rDoc) override
Only calls FillBox(). Parameter is not used.
virtual void onDocumentSave(const ScriptDocument &_rDoc) override
Not interested in. Do nothing.
virtual void onDocumentSaveDone(const ScriptDocument &_rDoc) override
Not interested in. Do nothing.
DocumentEventNotifier maNotifier
DECL_LINK(SelectHdl, weld::ComboBox &, void)
DECL_LINK(KeyInputHdl, const KeyEvent &, bool)
virtual void onDocumentSaveAsDone(const ScriptDocument &_rDoc) override
Only calls FillBox(). Parameter is not used.
virtual ~DocListenerBox() override
virtual bool HandleKeyInput(const KeyEvent &rKEvt)
key strokes the ComboBox receives
allows registering at theGlobalEventBroadcaster for global document events
Manage stats of Language ComboBox.
virtual void StateChangedAtToolBoxControl(sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem *pState) override
LanguageBoxControl(sal_uInt16 nSlotId, ToolBoxItemId nId, ToolBox &rTbx)
SFX_DECL_TOOLBOX_CONTROL()
virtual VclPtr< InterimItemWindow > CreateItemWindow(vcl::Window *pParent) override
virtual void FillBox() override
Fill up the language combobox.
void ClearBox()
Delete all languages from ComboBox.
OUString msNotLocalizedStr
virtual void dispose() override
void Update(const SfxStringItem *pItem)
bool mbIgnoreSelect
do not use in this class
virtual bool HandleKeyInput(const KeyEvent &rKEvt) override
OUString msDefaultLanguageStr
void SetLanguage()
Switch interface of dialog to selected language.
virtual void Select() override
Called for setting language when user selects a language in ComboBox.
virtual ~LanguageBox() override
LanguageBox(vcl::Window *pParent)
Manage states of macro and dialog Library ComboBox.
SFX_DECL_TOOLBOX_CONTROL()
LibBoxControl(sal_uInt16 nSlotId, ToolBoxItemId nId, ToolBox &rTbx)
virtual void StateChangedAtToolBoxControl(sal_uInt16 nSlotID, SfxItemState eState, const SfxPoolItem *pState) override
virtual VclPtr< InterimItemWindow > CreateItemWindow(vcl::Window *pParent) override
Macros and Dialogs Library ComboBox.
virtual bool HandleKeyInput(const KeyEvent &rKEvt) override
virtual void dispose() override
virtual void Select() override
Called for setting language when user selects a language in ComboBox.
bool mbFillBox
If true, when FillBox() is called.
LibBox(vcl::Window *pParent)
virtual ~LibBox() override
virtual void FillBox() override
Fill up the combobox.
DECL_LINK(FocusOutHdl, weld::Widget &, void)
void InsertEntries(const ScriptDocument &rDocument, LibraryLocation eLocation)
void Update(const SfxStringItem *pItem)
DECL_LINK(FocusInHdl, weld::Widget &, void)
static void ReleaseFocus()
encapsulates a document which contains Basic scripts and dialogs