1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
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/.
14 #include "stringmerge.hxx"
16 SAL_IMPLEMENT_MAIN_WITH_ARGS(argc
, argv
)
18 common::HandledArgs aArgs
;
19 if( !common::handleArguments(argc
, argv
, aArgs
) )
21 common::writeUsage("stringex","string.xml");
25 StringParser
aParser(aArgs
.m_sInputFile
, aArgs
.m_sLanguage
);
26 if( !aParser
.isInitialized() )
31 if( aArgs
.m_bMergeMode
)
33 aParser
.Merge( aArgs
.m_sMergeSrc
, aArgs
.m_sOutputFile
);
37 aParser
.Extract( aArgs
.m_sOutputFile
);
42 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */