LibreOffice Module l10ntools (master) 1
propmerge.hxx
Go to the documentation of this file.
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_PROPMERGE_HXX
11#define INCLUDED_L10NTOOLS_INC_PROPMERGE_HXX
12
13#include <rtl/string.hxx>
14#include <vector>
15
24{
25private:
26 std::vector<OString> m_vLines;
27 OString m_sSource;
28 OString m_sLang;
30
31public:
33 OString sInputFile, OString sLang,
34 const bool bMergeMode );
36
37 bool isInitialized() const { return m_bIsInitialized; }
38 void Extract( const OString& rPOFile );
39 void Merge( const OString &rMergeSrc, const OString &rDestinationFile );
40};
41
42#endif // INCLUDED_L10NTOOLS_INC_PROPMERGE_HXX
43/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Class for localization of *.properties files.
Definition: propmerge.hxx:24
OString m_sSource
Definition: propmerge.hxx:27
void Merge(const OString &rMergeSrc, const OString &rDestinationFile)
Definition: propmerge.cxx:160
std::vector< OString > m_vLines
Definition: propmerge.hxx:26
bool isInitialized() const
Definition: propmerge.hxx:37
PropParser(OString sInputFile, OString sLang, const bool bMergeMode)
Definition: propmerge.cxx:91
OString m_sLang
Definition: propmerge.hxx:28
bool m_bIsInitialized
Definition: propmerge.hxx:29
void Extract(const OString &rPOFile)
Definition: propmerge.cxx:129
static bool bMergeMode
Definition: xrmmerge.cxx:37