LibreOffice Module l10ntools (master) 1
Classes | Functions
common Namespace Reference

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...
 

Function Documentation

◆ handleArguments()

bool common::handleArguments ( int  argc,
char *  argv[],
HandledArgs o_aHandledArgs 
)

◆ writePoEntry()

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 
)

◆ writeUsage()

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().