diff options
author | Henning Brinkmann[hbrinkm] <hbrinkm@openoffice.org> | 2009-12-11 14:55:36 +0100 |
---|---|---|
committer | Henning Brinkmann[hbrinkm] <hbrinkm@openoffice.org> | 2009-12-11 14:55:36 +0100 |
commit | f986d366be8e58c3f84792c955081c364f41b2b9 (patch) | |
tree | 52f54d8d54af50478f5d9f86ee7981674d5e448a /writerfilter/source/dmapper/BorderHandler.cxx | |
parent | writerfilter07: more finegrained sending of table/row/cell properties (diff) | |
download | core-f986d366be8e58c3f84792c955081c364f41b2b9.tar.gz core-f986d366be8e58c3f84792c955081c364f41b2b9.zip |
writerfilter07: more debug output
Diffstat (limited to 'writerfilter/source/dmapper/BorderHandler.cxx')
-rw-r--r-- | writerfilter/source/dmapper/BorderHandler.cxx | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/writerfilter/source/dmapper/BorderHandler.cxx b/writerfilter/source/dmapper/BorderHandler.cxx index 63140b486472..f8b5a7599b0b 100644 --- a/writerfilter/source/dmapper/BorderHandler.cxx +++ b/writerfilter/source/dmapper/BorderHandler.cxx @@ -29,12 +29,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; @@ -51,18 +54,30 @@ BorderHandler::BorderHandler( bool bOOXML ) : m_nLineDistance(0), m_bOOXML( bOOXML ) { +#ifdef DEBUG_DOMAINMAPPER + dmapper_logger->startElement("borderHandler"); +#endif } /*-- 24.04.2007 09:06:35--------------------------------------------------- -----------------------------------------------------------------------*/ BorderHandler::~BorderHandler() { +#ifdef DEBUG_DOMAINMAPPER + dmapper_logger->endElement("borderHandler"); +#endif } /*-- 24.04.2007 09:06:35--------------------------------------------------- -----------------------------------------------------------------------*/ void BorderHandler::attribute(Id rName, Value & rVal) { +#ifdef DEBUG_DOMAINMAPPER + dmapper_logger->startElement("attribute"); + dmapper_logger->attribute("id", (*QNameToString::Instance())(rName)); + dmapper_logger->endElement("attribute"); +#endif + sal_Int32 nIntValue = rVal.getInt(); /* WRITERFILTERSTATUS: table: BorderHandler_attributedata */ switch( rName ) @@ -116,6 +131,12 @@ void BorderHandler::attribute(Id rName, Value & rVal) -----------------------------------------------------------------------*/ void BorderHandler::sprm(Sprm & rSprm) { +#ifdef DEBUG_DOMAINMAPPER + dmapper_logger->startElement("sprm"); + dmapper_logger->attribute("id", (*QNameToString::Instance())(rSprm.getId())); + dmapper_logger->endElement("sprm"); +#endif + /* WRITERFILTERSTATUS: table: BorderHandler_sprm */ switch( rSprm.getId()) { |