LibreOffice Module l10ntools (master) 1
|
Classes | |
struct | HandledArgs |
Result type of handleArguments() More... | |
Functions | |
bool | handleArguments (int argc, char *argv[], HandledArgs &o_aHandledArgs) |
Handle command line parameters. More... | |
void | writeUsage (const OString &rName, const OString &rFileType) |
Write out a help about usage. More... | |
void | writePoEntry (const OString &rExecutable, PoOfstream &rPoStream, const OString &rSourceFile, std::string_view rResType, const OString &rGroupId, const OString &rLocalId, const OString &rHelpText, const OString &rText, const PoEntry::TYPE eType=PoEntry::TTEXT) |
Write out a PoEntry with attention to exceptions. More... | |
bool common::handleArguments | ( | int | argc, |
char * | argv[], | ||
HandledArgs & | o_aHandledArgs | ||
) |
Handle command line parameters.
Definition at line 25 of file common.cxx.
References i, common::HandledArgs::m_bMergeMode, common::HandledArgs::m_bUTF8BOM, common::HandledArgs::m_sInputFile, common::HandledArgs::m_sLanguage, common::HandledArgs::m_sMergeSrc, common::HandledArgs::m_sOutputFile, and nState.
Referenced by GetOutputFile(), init(), and SAL_IMPLEMENT_MAIN_WITH_ARGS().
void common::writePoEntry | ( | const OString & | rExecutable, |
PoOfstream & | rPoStream, | ||
const OString & | rSourceFile, | ||
std::string_view | rResType, | ||
const OString & | rGroupId, | ||
const OString & | rLocalId, | ||
const OString & | rHelpText, | ||
const OString & | rText, | ||
const PoEntry::TYPE | eType | ||
) |
Write out a PoEntry with attention to exceptions.
Definition at line 110 of file common.cxx.
References eType, PoEntry::NOGROUPID, PoEntry::NORESTYPE, PoEntry::NOSOURCFILE, PoEntry::NOSTRING, PoOfstream::writeEntry(), and PoEntry::WRONGHELPTEXT.
Referenced by HelpParser::CreatePO(), XRMResExport::EndOfText(), PropParser::Extract(), CfgExport::WorkOnResourceEnd(), and LngParser::WritePO().
void common::writeUsage | ( | const OString & | rName, |
const OString & | rFileType | ||
) |
Write out a help about usage.
Definition at line 97 of file common.cxx.
Referenced by GetOutputFile(), init(), and SAL_IMPLEMENT_MAIN_WITH_ARGS().