summaryrefslogtreecommitdiffstats
path: root/include/xmloff/xmlexppr.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-07-25 10:58:15 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-07-25 11:50:02 -0400
commit8a690c88a92c7e92c702cedf96851ae1eb929379 (patch)
treeb72472b0e9188e5ab524886d3486457f3892b14e /include/xmloff/xmlexppr.hxx
parentfdo#48065 SVG: correctly clamp fill-opacity (diff)
downloadcore-8a690c88a92c7e92c702cedf96851ae1eb929379.tar.gz
core-8a690c88a92c7e92c702cedf96851ae1eb929379.zip
Apply pimpl to XMLPropertySetMapper.
Let's hide its implementation for real this time. Change-Id: I18c82f4969f2e3560536a68e9bbd86b9282e2ace
Diffstat (limited to 'include/xmloff/xmlexppr.hxx')
-rw-r--r--include/xmloff/xmlexppr.hxx32
1 files changed, 14 insertions, 18 deletions
diff --git a/include/xmloff/xmlexppr.hxx b/include/xmloff/xmlexppr.hxx
index 44fae061d040..97d050072f1a 100644
--- a/include/xmloff/xmlexppr.hxx
+++ b/include/xmloff/xmlexppr.hxx
@@ -26,12 +26,7 @@
#include <xmloff/xmlprmap.hxx>
#include <salhelper/simplereferenceobject.hxx>
-
-class SvXMLUnitConverter;
-class SvXMLAttributeList;
-class SvXMLNamespaceMap;
-class FilterPropertiesInfos_Impl;
-class SvXMLExport;
+#include <com/sun/star/beans/XPropertySet.hpp>
#define XML_EXPORT_FLAG_DEFAULTS 0x0001 // export also default items
#define XML_EXPORT_FLAG_DEEP 0x0002 // export also items from
@@ -40,6 +35,12 @@ class SvXMLExport;
// even if its empty
#define XML_EXPORT_FLAG_IGN_WS 0x0008
+class SvXMLUnitConverter;
+class SvXMLAttributeList;
+class SvXMLNamespaceMap;
+class FilterPropertiesInfos_Impl;
+class SvXMLExport;
+
class XMLOFF_DLLPUBLIC SvXMLExportPropertyMapper : public salhelper::SimpleReferenceObject
{
struct Impl;
@@ -53,10 +54,9 @@ protected:
default and isn't inherited, apart from bDefault is true)
After this process It'll called 'Contextfilter' for application-specific
filter-processes. */
- ::std::vector< XMLPropertyState > _Filter(
- const ::com::sun::star::uno::Reference<
- ::com::sun::star::beans::XPropertySet > rPropSet,
- bool bDefault, bool bDisableFoFontFamily) const;
+ std::vector<XMLPropertyState> _Filter(
+ const css::uno::Reference<css::beans::XPropertySet>& rPropSet,
+ bool bDefault, bool bDisableFoFontFamily ) const;
/** Application-specific filter. By default do nothing. */
virtual void ContextFilter(
@@ -107,20 +107,16 @@ public:
default and isn't inherited)
After this process It'll called 'Contextfilter' for application-specific
filter-processes. */
- ::std::vector< XMLPropertyState > Filter(
- const ::com::sun::star::uno::Reference<
- ::com::sun::star::beans::XPropertySet > rPropSet, bool bEnableFoFontFamily = false) const
- { return _Filter(rPropSet, false, bEnableFoFontFamily); }
+ std::vector<XMLPropertyState> Filter(
+ const css::uno::Reference<css::beans::XPropertySet>& rPropSet, bool bEnableFoFontFamily = false ) const;
/** Like Filter(), except that:
* - only properties that have the map flag MID_FLAG_DEFAULT_ITEM_EXPORT
* set are exported,
* - instead of the property's value, its default value is exported.
*/
- ::std::vector< XMLPropertyState > FilterDefaults(
- const ::com::sun::star::uno::Reference<
- ::com::sun::star::beans::XPropertySet > rPropSet, bool bEnableFoFontFamily = false) const
- { return _Filter(rPropSet, true, bEnableFoFontFamily); }
+ std::vector<XMLPropertyState> FilterDefaults(
+ const css::uno::Reference<css::beans::XPropertySet>& rPropSet, bool bEnableFoFontFamily = false ) const;
/** Compare to arrays of XMLPropertyState */
bool Equals( const ::std::vector< XMLPropertyState >& aProperties1,