From f6ec66727379fef56f0972e2a6181e39ab6d4ec1 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Thu, 3 Oct 2013 12:16:22 -0400 Subject: Add methods to extract string IDs from edit text object. Note that a single edit text object may have multiple string ID's in case it consists of multiple paragraphs. Change-Id: Ie90541de38a639c30a010817dada389e9445d08c --- include/editeng/editobj.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/editeng/editobj.hxx') diff --git a/include/editeng/editobj.hxx b/include/editeng/editobj.hxx index 36392e213e6c..4751469c68ec 100644 --- a/include/editeng/editobj.hxx +++ b/include/editeng/editobj.hxx @@ -85,6 +85,9 @@ public: */ void NormalizeString( svl::StringPool& rPool ); + bool GetStringIDs( const svl::StringPool& rPool, std::vector& rIDs ) const; + bool GetStringIDsIgnoreCase( const svl::StringPool& rPool, std::vector& rIDs ) const; + const SfxItemPool* GetPool() const; sal_uInt16 GetUserType() const; // For OutlinerMode, it can however not save in compatible format void SetUserType( sal_uInt16 n ); -- cgit