Kaydet (Commit) 7650ca4c authored tarafından Caolán McNamara's avatar Caolán McNamara

weld SvxLinguTabPage

Change-Id: I4bee58ab65a45d140fcb44a1def71ff505b78539
Reviewed-on: https://gerrit.libreoffice.org/69097
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 4c4ef728
...@@ -94,18 +94,6 @@ class SvxLinguTabPage : public SfxTabPage ...@@ -94,18 +94,6 @@ class SvxLinguTabPage : public SfxTabPage
{ {
friend class VclPtr<SvxLinguTabPage>; friend class VclPtr<SvxLinguTabPage>;
private: private:
VclPtr<FixedText> m_pLinguModulesFT;
VclPtr<SvxCheckListBox> m_pLinguModulesCLB;
VclPtr<PushButton> m_pLinguModulesEditPB;
VclPtr<FixedText> m_pLinguDicsFT;
VclPtr<SvxCheckListBox> m_pLinguDicsCLB;
VclPtr<PushButton> m_pLinguDicsNewPB;
VclPtr<PushButton> m_pLinguDicsEditPB;
VclPtr<PushButton> m_pLinguDicsDelPB;
VclPtr<SvxCheckListBox> m_pLinguOptionsCLB;
VclPtr<PushButton> m_pLinguOptionsEditPB;
VclPtr<FixedHyperlink> m_pMoreDictsLink;
OUString sCapitalWords; OUString sCapitalWords;
OUString sWordsWithDigits; OUString sWordsWithDigits;
OUString sSpellSpecial; OUString sSpellSpecial;
...@@ -117,6 +105,10 @@ private: ...@@ -117,6 +105,10 @@ private:
OUString sHyphAuto; OUString sHyphAuto;
OUString sHyphSpecial; OUString sHyphSpecial;
int nUPN_HYPH_MIN_WORD_LENGTH;
int nUPN_HYPH_MIN_LEADING;
int nUPN_HYPH_MIN_TRAILING;
css::uno::Reference< css::uno::Reference<
css::linguistic2::XLinguProperties > xProp; css::linguistic2::XLinguProperties > xProp;
...@@ -126,20 +118,31 @@ private: ...@@ -126,20 +118,31 @@ private:
css::uno::Reference< css::uno::Reference<
css::linguistic2::XDictionary > > aDics; css::linguistic2::XDictionary > > aDics;
std::unique_ptr<SvLBoxButtonData> m_xCheckButtonData;
std::unique_ptr<SvxLinguData_Impl> pLinguData; std::unique_ptr<SvxLinguData_Impl> pLinguData;
SvxLinguTabPage( vcl::Window* pParent, const SfxItemSet& rCoreSet ); std::unique_ptr<weld::Label> m_xLinguModulesFT;
SvTreeListEntry* CreateEntry(OUString& rTxt, sal_uInt16 nCol); std::unique_ptr<weld::TreeView> m_xLinguModulesCLB;
std::unique_ptr<weld::Button> m_xLinguModulesEditPB;
std::unique_ptr<weld::Label> m_xLinguDicsFT;
std::unique_ptr<weld::TreeView> m_xLinguDicsCLB;
std::unique_ptr<weld::Button> m_xLinguDicsNewPB;
std::unique_ptr<weld::Button> m_xLinguDicsEditPB;
std::unique_ptr<weld::Button> m_xLinguDicsDelPB;
std::unique_ptr<weld::TreeView> m_xLinguOptionsCLB;
std::unique_ptr<weld::Button> m_xLinguOptionsEditPB;
std::unique_ptr<weld::LinkButton> m_xMoreDictsLink;
void AddDicBoxEntry( const css::uno::Reference< css::linguistic2::XDictionary > &rxDic, sal_uInt16 nIdx ); SvxLinguTabPage(TabPageParent pParent, const SfxItemSet& rCoreSet);
static sal_uLong GetDicUserData( const css::uno::Reference< css::linguistic2::XDictionary > &rxDic, sal_uInt16 nIdx );
DECL_LINK( SelectHdl_Impl, SvTreeListBox*, void ); void AddDicBoxEntry( const css::uno::Reference< css::linguistic2::XDictionary > &rxDic, sal_uInt16 nIdx );
DECL_LINK( ClickHdl_Impl, Button *, void ); static sal_uInt32 GetDicUserData( const css::uno::Reference< css::linguistic2::XDictionary > &rxDic, sal_uInt16 nIdx );
DECL_LINK( BoxDoubleClickHdl_Impl, SvTreeListBox*, bool );
DECL_LINK( BoxCheckButtonHdl_Impl, SvTreeListBox*, void ); DECL_LINK( SelectHdl_Impl, weld::TreeView&, void );
DECL_LINK( ClickHdl_Impl, weld::Button&, void );
DECL_LINK( BoxDoubleClickHdl_Impl, weld::TreeView&, void );
typedef std::pair<int, int> row_col;
DECL_LINK( ModulesBoxCheckButtonHdl_Impl, const row_col&, void );
DECL_LINK( DicsBoxCheckButtonHdl_Impl, const row_col&, void );
DECL_LINK( PostDblClickHdl_Impl, void *, void); DECL_LINK( PostDblClickHdl_Impl, void *, void);
void UpdateModulesBox_Impl(); void UpdateModulesBox_Impl();
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment