LCOV - code coverage report
Current view: top level - libreoffice/l10ntools/inc - treemerge.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 1 1 100.0 %
Date: 2012-12-27 Functions: 1 1 100.0 %
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             : 
      10             : #ifndef _TREEMERGE_INCLUDED
      11             : #define _TREEMERGE_INCLUDED
      12             : 
      13             : #include <libxml/tree.h>
      14             : #include <rtl/string.hxx>
      15             : #include <vector>
      16             : 
      17             : /** Class for tree localization
      18             : 
      19             :     Parse *.tree files, extract translatable strings,
      20             :     merge translated strings and update reference and title
      21             :     of referred help files.
      22             : */
      23             : class TreeParser
      24             : {
      25             : private:
      26             :     xmlDocPtr m_pSource;
      27             :     OString m_sLang;
      28             :     bool m_bIsInitialized;
      29             : 
      30             : public:
      31             :     TreeParser(
      32             :         const OString& rInputFile, const OString& rLang );
      33             :     ~TreeParser();
      34             : 
      35           7 :     bool isInitialized() const { return m_bIsInitialized; }
      36             :     void Extract(
      37             :         const OString& rSDFFile, const OString& rPrj, const OString& rRoot );
      38             :     void Merge(
      39             :         const OString &rMergeSrc, const OString &rDestinationFile,
      40             :         const OString &rXhpRoot );
      41             : };
      42             : 
      43             : #endif //_TREEMERGE_INCLUDED
      44             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10