LCOV - code coverage report
Current view: top level - writerfilter/source/dmapper - TablePositionHandler.cxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 1 16 6.2 %
Date: 2012-08-25 Functions: 2 8 25.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 2 16 12.5 %

           Branch data     Line data    Source code
       1                 :            : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2                 :            : /*
       3                 :            :  * This file is part of the LibreOffice project.
       4                 :            :  *
       5                 :            :  * This Source Code Form is subject to the terms of the Mozilla Public
       6                 :            :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       7                 :            :  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
       8                 :            :  */
       9                 :            : #include <TablePositionHandler.hxx>
      10                 :            : #include <PropertyMap.hxx>
      11                 :            : #include <doctok/resourceids.hxx>
      12                 :            : #include <ConversionHelper.hxx>
      13                 :            : #include <ooxml/resourceids.hxx>
      14                 :            : #include <com/sun/star/text/SizeType.hpp>
      15                 :            : #include "dmapperLoggers.hxx"
      16                 :            : 
      17                 :            : namespace writerfilter {
      18                 :            : namespace dmapper {
      19                 :            : 
      20                 :            : using namespace ::com::sun::star;
      21                 :            : 
      22                 :          0 : TablePositionHandler::TablePositionHandler() :
      23 [ #  # ][ #  # ]:          0 : LoggedProperties(dmapper_logger, "TablePositionHandler")
         [ #  # ][ #  # ]
      24                 :            : {
      25                 :          0 : }
      26                 :            : 
      27                 :          0 : TablePositionHandler::~TablePositionHandler()
      28                 :            : {
      29         [ #  # ]:          0 : }
      30                 :            : 
      31                 :            : 
      32                 :          0 : void TablePositionHandler::lcl_attribute(Id rName, Value& rVal)
      33                 :            : {
      34         [ #  # ]:          0 :     switch (rName)
      35                 :            :     {
      36                 :            :         case NS_ooxml::LN_CT_TblPPr_vertAnchor:
      37                 :          0 :             m_aVertAnchor = rVal.getString();
      38                 :          0 :         break;
      39                 :            :         default:
      40                 :            : #ifdef DEBUG_DOMAINMAPPER
      41                 :            :             dmapper_logger->element("unhandled");
      42                 :            : #endif
      43                 :          0 :             break;
      44                 :            :     }
      45                 :          0 : }
      46                 :            : 
      47                 :            : 
      48                 :          0 : void TablePositionHandler::lcl_sprm(Sprm& /*rSprm*/)
      49                 :            : {
      50                 :          0 : }
      51                 :            : 
      52                 :            : 
      53                 :          0 : OUString TablePositionHandler::getVertAnchor() const
      54                 :            : {
      55                 :          0 :     return m_aVertAnchor;
      56                 :            : }
      57                 :            : 
      58                 :            : } // namespace dmapper
      59 [ +  - ][ +  - ]:         60 : } // namespace writerfilter
      60                 :            : 
      61                 :            : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10