/* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ m_b m_s m_n m_ INCLUDED_ _HXX #ifndef #define #include <resourcemodel/WW8ResourceModel.hxx> #include <rtl/ustring.hxx> namespace writerfilter { namespace dmapper { }} #endif // #include " .hxx" #include <ooxml/resourceids.hxx> #ifdef DEBUG_DOMAINMAPPER #include <resourcemodel/QNameToString.hxx> #include "dmapperLoggers.hxx" #endif namespace writerfilter { namespace dmapper { }} class : public , { public: // constructor (); // destructor virtual ~ (); // sprm void sprm(Sprm & r_sprm); void resolveSprm(Sprm & r_sprm); // attribute void attribute(Id name, Value & val); private: }; OUString // typedefs typedef ::boost::shared_ptr< > ::std::vector< > ; set get PushBack true void :: ( ) true :: () const void :: ( true r_Element ) // member: ; ; ; ; OUString :: const & r_s r_ { = ; } { return ; } { .push_back(r_Element); } getString() getInt() { = ; } { .push_back( ); ; } { resolveSprm(r_Sprm); } void ::sprm(Sprm & r_Sprm) { #ifdef DEBUG_DOMAINMAPPER dmapper_logger->startElement(" .sprm"); dmapper_logger->chars(r_Sprm.toString()); #endif switch(r_Sprm.getId()) { case : r_Sprm.getValue()-> break; default: #ifdef DEBUG_DOMAINMAPPER dmapper_logger->element("unhandled"); #endif DEBUG_DOMAINMAPPER break; } #ifdef DEBUG_DOMAINMAPPER dmapper_logger->endElement(" .sprm"); #endif } void ::resolveSprm(Sprm & r_Sprm) { writerfilter::Reference<Properties>::Pointer_t pProperties = r_Sprm.getProps(); if( pProperties.get()) pProperties->resolve(*this); } void :: attribute(Id name, Value & val) { #ifdef DEBUG_DOMAINMAPPER dmapper_logger->startElement(" .attribute"); dmapper_logger->attribute("name", (*QNameToString::Instance())(name)); dmapper_logger->attribute("value", val.toString()); dmapper_logger->endElement(" .attribute"); #endif switch (name) { case : val. break; default: #ifdef DEBUG_DOMAINMAPPER dmapper_logger->element("unhandled"); #endif DEBUG_DOMAINMAPPER break; } } :: () , (0) (false) : { } ::~ () { } class: /*** * * * ** **/ // member: ::