summaryrefslogtreecommitdiffstats
path: root/include/editeng/editobj.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2013-10-01 21:51:50 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2013-10-04 19:15:21 -0400
commit279ae5116119b96b25fa56b53ecde4d61878cad7 (patch)
treeaeed199e8098e1831266b82215f20d6ba4650702 /include/editeng/editobj.hxx
parentMove this string pool code to svl. (diff)
downloadcore-279ae5116119b96b25fa56b53ecde4d61878cad7.tar.gz
core-279ae5116119b96b25fa56b53ecde4d61878cad7.zip
Add method to normalize strings in EditTextObject.
Change-Id: I1adb57279db0afeb8387599ec11984380e5a2e4a
Diffstat (limited to 'include/editeng/editobj.hxx')
-rw-r--r--include/editeng/editobj.hxx13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/editeng/editobj.hxx b/include/editeng/editobj.hxx
index cdb8fbb3a434..36392e213e6c 100644
--- a/include/editeng/editobj.hxx
+++ b/include/editeng/editobj.hxx
@@ -49,6 +49,12 @@ struct Section;
}
+namespace svl {
+
+class StringPool;
+
+}
+
class EditTextObjectImpl;
class EDITENG_DLLPUBLIC EditTextObject : public SfxItemPoolUser
@@ -72,6 +78,13 @@ public:
EditTextObject( const EditTextObject& r );
virtual ~EditTextObject();
+ /**
+ * Set paragraph strings to the shared string pool.
+ *
+ * @param rPool shared string pool.
+ */
+ void NormalizeString( svl::StringPool& rPool );
+
const SfxItemPool* GetPool() const;
sal_uInt16 GetUserType() const; // For OutlinerMode, it can however not save in compatible format
void SetUserType( sal_uInt16 n );