LCOV - code coverage report
Current view: top level - libreoffice/autodoc/source/display/toolkit - hf_docentry.cxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 22 22 100.0 %
Date: 2012-12-27 Functions: 7 8 87.5 %
Legend: Lines: hit not hit

          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             :  * This file incorporates work covered by the following license notice:
      10             :  *
      11             :  *   Licensed to the Apache Software Foundation (ASF) under one or more
      12             :  *   contributor license agreements. See the NOTICE file distributed
      13             :  *   with this work for additional information regarding copyright
      14             :  *   ownership. The ASF licenses this file to you under the Apache
      15             :  *   License, Version 2.0 (the "License"); you may not use this file
      16             :  *   except in compliance with the License. You may obtain a copy of
      17             :  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
      18             :  */
      19             : 
      20             : #include <precomp.h>
      21             : #include <toolkit/hf_docentry.hxx>
      22             : 
      23             : 
      24             : // NOT FULLY DEFINED SERVICES
      25             : 
      26             : 
      27       22801 : HF_DocEntryList::HF_DocEntryList( Xml::Element & o_out )
      28       22801 :     :   HtmlMaker( o_out >>* new Html::DefList )
      29             : {
      30       22801 : }
      31             : 
      32       22801 : HF_DocEntryList::~HF_DocEntryList()
      33             : {
      34       22801 : }
      35             : 
      36             : Xml::Element &
      37       27328 : HF_DocEntryList::Produce_Term(const char * i_sTerm )
      38             : {
      39             :     Xml::Element &
      40       27328 :         ret = CurOut()
      41       54656 :            >> *new Html::DefListTerm
      42       54656 :               >> *new Html::Bold;
      43       27328 :     if ( NOT csv::no_str(i_sTerm))
      44             :         ret
      45       18495 :             << i_sTerm;
      46       27328 :     return ret;
      47             : }
      48             : 
      49             : Xml::Element &
      50        2089 : HF_DocEntryList::Produce_NormalTerm(const char * i_sTerm)
      51             : {
      52             :     Xml::Element &
      53        2089 :         ret = CurOut()
      54        4178 :            >> *new Html::DefListTerm;
      55        2089 :     if ( NOT csv::no_str(i_sTerm))
      56             :         ret
      57        2089 :             << i_sTerm;
      58        2089 :     return ret;
      59             : }
      60             : 
      61             : Xml::Element &
      62       33652 : HF_DocEntryList::Produce_Definition()
      63             : {
      64       33652 :     return CurOut()
      65       67304 :            >> *new Html::DefListDefinition;
      66           3 : }
      67             : 
      68             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10