summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/msg.hxx2
-rw-r--r--include/svl/memberid.hrc1
-rw-r--r--include/svl/srchitem.hxx4
3 files changed, 6 insertions, 1 deletions
diff --git a/include/sfx2/msg.hxx b/include/sfx2/msg.hxx
index 6753181644a9..03972d5f27ca 100644
--- a/include/sfx2/msg.hxx
+++ b/include/sfx2/msg.hxx
@@ -146,7 +146,7 @@ SFX_DECL_TYPE(13); // for SwAddPrinterItem, Sd...
SFX_DECL_TYPE(14);
SFX_DECL_TYPE(16); // for SwDocDisplayItem
SFX_DECL_TYPE(17); // for SvxAddressItem
-SFX_DECL_TYPE(23); // for SvxSearchItem
+SFX_DECL_TYPE(24); // for SvxSearchItem
// all SfxTypes must be in this header
#undef SFX_DECL_TYPE
diff --git a/include/svl/memberid.hrc b/include/svl/memberid.hrc
index b5a2262958e5..fb467b3f22d1 100644
--- a/include/svl/memberid.hrc
+++ b/include/svl/memberid.hrc
@@ -61,6 +61,7 @@
#define MID_SEARCH_STARTPOINTY 21
#define MID_SEARCH_SEARCHFORMATTED 22
#define MID_SEARCH_ALGORITHMTYPE2 23
+#define MID_SEARCH_INSHAPES 24
#endif
diff --git a/include/svl/srchitem.hxx b/include/svl/srchitem.hxx
index 472f1ac3dd61..d67fff89819e 100644
--- a/include/svl/srchitem.hxx
+++ b/include/svl/srchitem.hxx
@@ -90,6 +90,9 @@ class SVL_DLLPUBLIC SvxSearchItem :
sal_Int32 m_nStartPointX;
sal_Int32 m_nStartPointY;
+ /// Writer-specific: search in shape text.
+ bool m_bSearchInShapes;
+
virtual void ImplCommit() override;
public:
@@ -198,6 +201,7 @@ public:
sal_Int32 GetStartPointY() const;
/// Either x or y start point is set.
bool HasStartPoint() const;
+ bool IsSearchInShapes() const;
};
const OUString& SvxSearchItem::GetSearchString() const