diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2013-11-06 14:41:04 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2013-11-06 16:53:54 +0100 |
commit | d66029491060db5f45532d0a7e3e3c52b4b11d1e (patch) | |
tree | ad92dbf570846cba787e6889e9295ac01c2442f1 /writerfilter | |
parent | a1f6a4667c985b6037e9041a938cb714bc03f5cd (diff) |
writerfilter: make GrabBag methods accessible for para styles
Change-Id: Ifbb5eaa85340e07d34fa2b9cb2ea4f83f74ffab8
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/source/dmapper/StyleSheetTable.cxx | 4 | ||||
-rw-r--r-- | writerfilter/source/dmapper/StyleSheetTable.hxx | 9 |
2 files changed, 6 insertions, 7 deletions
diff --git a/writerfilter/source/dmapper/StyleSheetTable.cxx b/writerfilter/source/dmapper/StyleSheetTable.cxx index b4c5d3e55c2e..28e151003a0d 100644 --- a/writerfilter/source/dmapper/StyleSheetTable.cxx +++ b/writerfilter/source/dmapper/StyleSheetTable.cxx @@ -173,7 +173,7 @@ PropertyMapPtr TableStyleSheetEntry::GetProperties( sal_Int32 nMask, StyleSheetE return pProps; } -beans::PropertyValue TableStyleSheetEntry::GetInteropGrabBag() +beans::PropertyValue StyleSheetEntry::GetInteropGrabBag() { beans::PropertyValue aRet; aRet.Name = sStyleIdentifierI; @@ -187,7 +187,7 @@ beans::PropertyValue TableStyleSheetEntry::GetInteropGrabBag() return aRet; } -void TableStyleSheetEntry::AppendInteropGrabBag(beans::PropertyValue aValue) +void StyleSheetEntry::AppendInteropGrabBag(beans::PropertyValue aValue) { m_aInteropGrabBag.push_back(aValue); } diff --git a/writerfilter/source/dmapper/StyleSheetTable.hxx b/writerfilter/source/dmapper/StyleSheetTable.hxx index cb6b9af396f3..db9be282cbb6 100644 --- a/writerfilter/source/dmapper/StyleSheetTable.hxx +++ b/writerfilter/source/dmapper/StyleSheetTable.hxx @@ -50,6 +50,7 @@ enum StyleType struct StyleSheetTable_Impl; class StyleSheetEntry { + std::vector<beans::PropertyValue> m_aInteropGrabBag; public: OUString sStyleIdentifierI; OUString sStyleIdentifierD; @@ -66,6 +67,9 @@ public: std::vector<beans::PropertyValue> aLatentStyles; ///< Attributes of latentStyles std::vector<beans::PropertyValue> aLsdExceptions; ///< List of lsdException attribute lists + void AppendInteropGrabBag(beans::PropertyValue aValue); + beans::PropertyValue GetInteropGrabBag(); + StyleSheetEntry(); virtual ~StyleSheetEntry(); }; @@ -124,8 +128,6 @@ private: StyleSheetTable* m_pStyleSheet; TblStylePrs m_aStyles; - std::vector<beans::PropertyValue> m_aInteropGrabBag; - public: short m_nColBandSize; @@ -143,9 +145,6 @@ public: // @param pStack already processed StyleSheetEntries PropertyMapPtr GetProperties( sal_Int32 nMask, StyleSheetEntryDequePtr pStack = StyleSheetEntryDequePtr()); - void AppendInteropGrabBag(beans::PropertyValue aValue); - beans::PropertyValue GetInteropGrabBag(); - TableStyleSheetEntry( StyleSheetEntry& aEntry, StyleSheetTable* pStyles ); virtual ~TableStyleSheetEntry( ); |