diff options
Diffstat (limited to 'writerfilter/source/dmapper/BorderHandler.cxx')
-rw-r--r-- | writerfilter/source/dmapper/BorderHandler.cxx | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/writerfilter/source/dmapper/BorderHandler.cxx b/writerfilter/source/dmapper/BorderHandler.cxx index 66ca373b6465..df2503793884 100644 --- a/writerfilter/source/dmapper/BorderHandler.cxx +++ b/writerfilter/source/dmapper/BorderHandler.cxx @@ -26,12 +26,15 @@ ************************************************************************/ #include <BorderHandler.hxx> #include <PropertyMap.hxx> +#include <resourcemodel/QNameToString.hxx> #include <doctok/resourceids.hxx> #include <ConversionHelper.hxx> #include <com/sun/star/table/BorderLine.hpp> #include <ooxml/resourceids.hxx> +#include <dmapperLoggers.hxx> namespace writerfilter { + namespace dmapper { using namespace ::com::sun::star; @@ -60,6 +63,12 @@ BorderHandler::~BorderHandler() -----------------------------------------------------------------------*/ void BorderHandler::attribute(Id rName, Value & rVal) { +#ifdef DEBUG_DOMAINMAPPER + dmapper_logger->startElement("BorderHandler.attribute"); + dmapper_logger->attribute("id", (*QNameToString::Instance())(rName)); + dmapper_logger->endElement("BorderHandler.attribute"); +#endif + sal_Int32 nIntValue = rVal.getInt(); /* WRITERFILTERSTATUS: table: BorderHandler_attributedata */ switch( rName ) @@ -113,6 +122,11 @@ void BorderHandler::attribute(Id rName, Value & rVal) -----------------------------------------------------------------------*/ void BorderHandler::sprm(Sprm & rSprm) { +#ifdef DEBUG_DOMAINMAPPER + dmapper_logger->startElement("BorderHandler.sprm"); + dmapper_logger->attribute("sprm", rSprm.toString()); +#endif + /* WRITERFILTERSTATUS: table: BorderHandler_sprm */ switch( rSprm.getId()) { @@ -140,6 +154,11 @@ void BorderHandler::sprm(Sprm & rSprm) break; default:; } + +#ifdef DEBUG_DOMAINMAPPER + dmapper_logger->endElement("BorderHandler.sprm"); +#endif + } /*-- 24.04.2007 09:09:01--------------------------------------------------- |