diff options
author | Akshay Deep <akshaydeepiitr@gmail.com> | 2016-03-08 19:54:57 +0530 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2016-04-04 08:51:17 +0000 |
commit | beeef93480fae65840646e4e36aa888efe92579a (patch) | |
tree | 7bd736c58b22f84429828e32870d669cd6ea91e1 /include/svx | |
parent | 0085eb42fdb7cceece11004841c50f3008c9e120 (diff) |
Added Find Previous Button.
Replaced backward checkbox with 'Replace Backward' from other options.
Modified Dialog Layout as per the attachment in bug report.
Removed vertical spacing in parent_container_box to reduce height of the dialog.
Removed InfoBox from ReplaceAll functionality in writer, shifted it to SearchLabel.
Attribute labels only show up when attribues are used in search, else they remain hidden.
Change-Id: I0e9ded854fc2601524d6fc2a0ba5e9cb602e11a4
Reviewed-on: https://gerrit.libreoffice.org/23057
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'include/svx')
-rwxr-xr-x[-rw-r--r--] | include/svx/srchdlg.hxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/svx/srchdlg.hxx b/include/svx/srchdlg.hxx index 400d370e8da9..570d795144e5 100644..100755 --- a/include/svx/srchdlg.hxx +++ b/include/svx/srchdlg.hxx @@ -98,6 +98,7 @@ public: virtual ~SvxSearchDialogWrapper (); SvxSearchDialog *getDialog () { return dialog;} static void SetSearchLabel(const SearchLabel& rSL); + static void SetSearchLabel(const OUString& sStr); SFX_DECL_CHILDWINDOW_WITHID(SvxSearchDialogWrapper); }; @@ -161,7 +162,8 @@ private: VclPtr<ListBox> m_pReplaceTmplLB; VclPtr<FixedText> m_pReplaceAttrText; - VclPtr<PushButton> m_pSearchBtn; + VclPtr<PushButton> m_pSearchBtn; + VclPtr<PushButton> m_pBackSearchBtn; VclPtr<PushButton> m_pSearchAllBtn; VclPtr<PushButton> m_pReplaceBtn; VclPtr<PushButton> m_pReplaceAllBtn; @@ -178,7 +180,6 @@ private: VclPtr<CheckBox> m_pIgnoreDiacritics; VclPtr<CheckBox> m_pIgnoreKashida; VclPtr<CheckBox> m_pSelectionBtn; - VclPtr<CheckBox> m_pBackwardsBtn; VclPtr<CheckBox> m_pRegExpBtn; VclPtr<CheckBox> m_pWildcardBtn; VclPtr<CheckBox> m_pSimilarityBox; @@ -187,6 +188,7 @@ private: VclPtr<CheckBox> m_pNotesBtn; VclPtr<CheckBox> m_pJapMatchFullHalfWidthCB; VclPtr<CheckBox> m_pJapOptionsCB; + VclPtr<CheckBox> m_pReplaceBackwardsCB; VclPtr<PushButton> m_pJapOptionsBtn; VclPtr<PushButton> m_pAttributeBtn; @@ -205,6 +207,7 @@ private: bool bWriter; bool bSearch; bool bFormat; + bool bReplaceBackwards; SearchOptionFlags nOptions; bool bSet; bool bConstruct; |