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

Generated by: LCOV version 1.10