diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-08-28 14:41:12 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-08-28 14:48:11 -0400 |
commit | 6a4dd39379a8521a3c870d46b9702e0597a3333f (patch) | |
tree | f9df11fee5cc108ef70391eaf000af02b1bdf73c /include/editeng/editobj.hxx | |
parent | String to OUString. (diff) | |
download | core-6a4dd39379a8521a3c870d46b9702e0597a3333f.tar.gz core-6a4dd39379a8521a3c870d46b9702e0597a3333f.zip |
Rename SectionAttribute to Section.
It fits better this way.
Change-Id: I139de7858e999a6dd26633a548c47634dfad8a65
Diffstat (limited to 'include/editeng/editobj.hxx')
-rw-r--r-- | include/editeng/editobj.hxx | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/include/editeng/editobj.hxx b/include/editeng/editobj.hxx index 53b4cbfd0cb0..4dd026cf52cd 100644 --- a/include/editeng/editobj.hxx +++ b/include/editeng/editobj.hxx @@ -45,7 +45,7 @@ namespace editeng { class FieldUpdater; class FieldUpdaterImpl; -struct SectionAttribute; +struct Section; } @@ -101,14 +101,12 @@ public: bool RemoveCharAttribs( sal_uInt16 nWhich = 0 ); /** - * Get all attributes that are applied to this content, separated by - * sections. If multiple attributes are applied to the same section, the - * object representing that section will store multiple attributes. - * Sections never overlap each other; if an attribute was applied to [0-6] - * and another applied to [3-10], you would get 3 sections that are [0-3], - * [3-6] and [6-10]. + * Get all text sections in this content. Sections are non-overlapping + * segments of text split either by paragraph boundaries or format + * boundaries. Each section object contains all applied formats and/or a + * field item. */ - void GetAllSectionAttributes( std::vector<editeng::SectionAttribute>& rAttrs ) const; + void GetAllSections( std::vector<editeng::Section>& rAttrs ) const; bool IsFieldObject() const; const SvxFieldItem* GetField() const; |