summaryrefslogtreecommitdiff
path: root/xmloff/source/style/xmlbahdl.hxx
diff options
context:
space:
mode:
authorMichael Brauer <mib@openoffice.org>2001-03-21 09:01:02 +0000
committerMichael Brauer <mib@openoffice.org>2001-03-21 09:01:02 +0000
commit8af76adf860c3a93906cd8db499b96027c46464f (patch)
tree526ea22109aaef27687ec0de2cf8f3677070901a /xmloff/source/style/xmlbahdl.hxx
parentdbb5c4302ed94ee357a4b337a2d375560de02254 (diff)
additional floating frame properties
Diffstat (limited to 'xmloff/source/style/xmlbahdl.hxx')
-rw-r--r--xmloff/source/style/xmlbahdl.hxx18
1 files changed, 16 insertions, 2 deletions
diff --git a/xmloff/source/style/xmlbahdl.hxx b/xmloff/source/style/xmlbahdl.hxx
index 0c5ffca6343c..0683a5796cb4 100644
--- a/xmloff/source/style/xmlbahdl.hxx
+++ b/xmloff/source/style/xmlbahdl.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: xmlbahdl.hxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: mib $ $Date: 2000-11-23 11:51:54 $
+ * last change: $Author: mib $ $Date: 2001-03-21 09:57:29 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -130,6 +130,20 @@ public:
};
/**
+ PropertyHandler for the XML-data-type: XML_TYPE_PERCENT
+*/
+class XMLMeasurePxPropHdl : public XMLPropertyHandler
+{
+ sal_Int8 nBytes;
+public:
+ XMLMeasurePxPropHdl( sal_Int8 nB=4 ) : nBytes( nB ) {}
+ virtual ~XMLMeasurePxPropHdl();
+
+ virtual sal_Bool importXML( const ::rtl::OUString& rStrImpValue, ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
+ virtual sal_Bool exportXML( ::rtl::OUString& rStrExpValue, const ::com::sun::star::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const;
+};
+
+/**
PropertyHandler for the XML-data-type: XML_TYPE_BOOL
*/
class XMLBoolPropHdl : public XMLPropertyHandler