summaryrefslogtreecommitdiff
path: root/writerfilter/source/ooxml/Handler.cxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2008-03-05 16:02:49 +0000
committerKurt Zenker <kz@openoffice.org>2008-03-05 16:02:49 +0000
commit63b3ab9863c55795af2b9b62cb0ea1a0208fb320 (patch)
treec549fdec6aa4720872091651abbf86097a9d77bf /writerfilter/source/ooxml/Handler.cxx
parent53137ebf49ea952ce64fa3423962d6f32832ee62 (diff)
INTEGRATION: CWS xmlfilter03_DEV300 (1.2.2); FILE MERGED
2008/02/13 17:20:49 hbrinkm 1.2.2.1: OOXMLOLEHandler
Diffstat (limited to 'writerfilter/source/ooxml/Handler.cxx')
-rw-r--r--writerfilter/source/ooxml/Handler.cxx32
1 files changed, 30 insertions, 2 deletions
diff --git a/writerfilter/source/ooxml/Handler.cxx b/writerfilter/source/ooxml/Handler.cxx
index 748f3fab9..5dae7af9f 100644
--- a/writerfilter/source/ooxml/Handler.cxx
+++ b/writerfilter/source/ooxml/Handler.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: Handler.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: obo $ $Date: 2008-01-10 11:55:43 $
+ * last change: $Author: kz $ $Date: 2008-03-05 17:02:27 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -125,6 +125,34 @@ void OOXMLCommentHandler::sprm(Sprm & /*sprm*/)
{
}
+/*
+ class OOXMLOLEHandler
+*/
+OOXMLOLEHandler::OOXMLOLEHandler(OOXMLFastContextHandler * pContext)
+: mpFastContext(pContext)
+{
+}
+
+OOXMLOLEHandler::~OOXMLOLEHandler()
+{
+}
+
+void OOXMLOLEHandler::attribute(Id name, Value & val)
+{
+ switch (name)
+ {
+ case NS_ooxml::LN_CT_OLEObject_r_id:
+ mpFastContext->resolveOLE(val.getString());
+ break;
+ default:
+ ;
+ }
+}
+
+void OOXMLOLEHandler::sprm(Sprm & /*sprm*/)
+{
+}
+
/*
class OOXMLFooterHandler
*/