diff options
author | Eike Rathke <erack@redhat.com> | 2014-05-22 16:15:37 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2014-05-22 19:35:36 +0200 |
commit | 29c024afbe6a46459e37c5ceec510de1cd0ca7c8 (patch) | |
tree | 94ffdc525d4d7ef33a2be9e083e766387d61bb59 /include/svx/langbox.hxx | |
parent | 2a8eff589a53c8dd65e18d7a9d11cdb98a937e68 (diff) |
+ SvxLanguageComboBox EditModifyHdl(), SaveEditedAsEntry()
Change-Id: I6acc7538fcbf8aa7a5e50ba72b27409252cffa15
Diffstat (limited to 'include/svx/langbox.hxx')
-rw-r--r-- | include/svx/langbox.hxx | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/include/svx/langbox.hxx b/include/svx/langbox.hxx index 410b2405f30d..91b788cdf0c2 100644 --- a/include/svx/langbox.hxx +++ b/include/svx/langbox.hxx @@ -144,8 +144,20 @@ public: SvxLanguageComboBox( Window* pParent, WinBits nBits, bool bCheck = false ); virtual ~SvxLanguageComboBox(); + enum EditedAndValid + { + EDITED_NO, + EDITED_VALID, + EDITED_INVALID + }; + + EditedAndValid GetEditedAndValid() const; + sal_Int32 SaveEditedAsEntry(); + + private: - sal_Int32 mnSavedValuePos; + sal_Int32 mnSavedValuePos; + EditedAndValid meEditedAndValid; SVX_DLLPRIVATE virtual sal_Int32 ImplInsertImgEntry( const OUString& rEntry, sal_Int32 nPos, bool bChecked ) SAL_OVERRIDE; SVX_DLLPRIVATE virtual void ImplRemoveEntryAt( sal_Int32 nPos ) SAL_OVERRIDE; @@ -164,6 +176,8 @@ private: SVX_DLLPRIVATE virtual void ImplDisable() SAL_OVERRIDE; SVX_DLLPRIVATE virtual void ImplSaveValue() SAL_OVERRIDE; SVX_DLLPRIVATE virtual sal_Int32 ImplGetSavedValue() const SAL_OVERRIDE; + + DECL_LINK( EditModifyHdl, SvxLanguageComboBox* ); }; #endif |