summaryrefslogtreecommitdiff
path: root/xmloff/inc/txtfldi.hxx
diff options
context:
space:
mode:
authorChristian Lippka <cl@openoffice.org>2001-02-01 18:12:31 +0000
committerChristian Lippka <cl@openoffice.org>2001-02-01 18:12:31 +0000
commit8b7f0d314b1db9c0f7f53cb5b31ef4014f963465 (patch)
tree5d8851ffcdc89585835e123f6941c6d0ce1ff8ae /xmloff/inc/txtfldi.hxx
parent58f7b4cf84965eea7da13bdd8b80fe3807a5e9aa (diff)
#80699# finished measure shapes
Diffstat (limited to 'xmloff/inc/txtfldi.hxx')
-rw-r--r--xmloff/inc/txtfldi.hxx31
1 files changed, 29 insertions, 2 deletions
diff --git a/xmloff/inc/txtfldi.hxx b/xmloff/inc/txtfldi.hxx
index 240e94b1f4ac..574274a10141 100644
--- a/xmloff/inc/txtfldi.hxx
+++ b/xmloff/inc/txtfldi.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: txtfldi.hxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: dvo $ $Date: 2001-01-25 14:05:34 $
+ * last change: $Author: cl $ $Date: 2001-02-01 19:10:54 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -172,6 +172,8 @@ enum XMLTextFieldAttrTokens
XML_TOK_TEXTFIELD_ANNOTATION,
XML_TOK_TEXTFIELD_LANGUAGE,
+ XML_TOK_TEXTFIELD_MEASURE_KIND,
+
XML_TOK_TEXTFIELD_UNKNOWN
};
@@ -1411,5 +1413,30 @@ protected:
::com::sun::star::beans::XPropertySet> & xPropertySet);
};
+/** import measure fields (<text:measure>) */
+class XMLMeasureFieldImportContext : public XMLTextFieldImportContext
+{
+ sal_Int16 mnKind;
+public:
+
+ TYPEINFO();
+
+ XMLMeasureFieldImportContext(SvXMLImport& rImport,
+ XMLTextImportHelper& rHlp,
+ sal_uInt16 nPrfx,
+ const ::rtl::OUString& sLocalName);
+
+protected:
+
+ /// process attribute values
+ virtual void ProcessAttribute( sal_uInt16 nAttrToken,
+ const ::rtl::OUString& sAttrValue );
+
+ /// prepare XTextField for insertion into document
+ virtual void PrepareField(
+ const ::com::sun::star::uno::Reference<
+ ::com::sun::star::beans::XPropertySet> & xPropertySet);
+};
+
#endif