summaryrefslogtreecommitdiff
path: root/sfx2/inc/autoredactdialog.hxx
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@collabora.com>2019-06-08 16:37:04 +0300
committerMuhammet Kara <muhammet.kara@collabora.com>2019-06-08 19:34:49 +0200
commit670130039c5b100acabe08bc2077980c5c63f82f (patch)
treea81eac46151a18978d8ac3d8aad65334f8d65a61 /sfx2/inc/autoredactdialog.hxx
parent53312ca4ee722a6d5ba22d1f578c6de5fbc37207 (diff)
Auto redaction dialog 3rd iteration
* Add the Edit handler Change-Id: Id900d2aab6fa6795455012aaf2bcaf755ccca139 Reviewed-on: https://gerrit.libreoffice.org/73705 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'sfx2/inc/autoredactdialog.hxx')
-rw-r--r--sfx2/inc/autoredactdialog.hxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/sfx2/inc/autoredactdialog.hxx b/sfx2/inc/autoredactdialog.hxx
index 26b29bf10cf5..267427c90b21 100644
--- a/sfx2/inc/autoredactdialog.hxx
+++ b/sfx2/inc/autoredactdialog.hxx
@@ -82,6 +82,9 @@ public:
void select(int nRow) { m_xControl->select(nRow); }
OUString get_id(int nRow) const { return m_xControl->get_id(nRow); }
+ // Sync data on the targets box with the data on the target
+ void setRowData(const int& nRowIndex, const RedactionTarget* pTarget);
+
//void connect_changed(const Link<weld::TreeView&, void>& rLink) { m_xControl->connect_changed(rLink); }
//void connect_row_activated(const Link<weld::TreeView&, void>& rLink) { m_xControl->connect_row_activated(rLink); }
};
@@ -102,7 +105,7 @@ class SFX2_DLLPUBLIC SfxAutoRedactDialog : public SfxDialogController
/*DECL_LINK(LoadHdl, weld::Button&, void);
DECL_LINK(SaveHdl, weld::Button&, void);*/
DECL_LINK(AddHdl, weld::Button&, void);
- //DECL_LINK(EditHdl, weld::Button&, void);
+ DECL_LINK(EditHdl, weld::Button&, void);
DECL_LINK(DeleteHdl, weld::Button&, void);
public:
@@ -130,6 +133,9 @@ private:
public:
SfxAddTargetDialog(weld::Window* pWindow, const OUString& rName);
+ SfxAddTargetDialog(weld::Window* pWindow, const OUString& sName,
+ const RedactionTargetType& eTargetType, const OUString& sContent,
+ const bool& bCaseSensitive, const bool& bWholeWords);
OUString getName() const { return m_xName->get_text(); }
RedactionTargetType getType() const;