LibreOffice Module l10ntools (master) 1
|
Export strings from *.xrm and description.xml files. More...
#include <xrmmerge.hxx>
Public Member Functions | |
XRMResExport (const OString &rOutputFile, OString sFilePath) | |
virtual | ~XRMResExport () override |
Public Member Functions inherited from XRMResParser | |
XRMResParser () | |
virtual | ~XRMResParser () |
void | Execute (int nToken, char *pToken) |
void | SetError () |
bool | GetError () const |
Private Member Functions | |
void | WorkOnDesc (const OString &rOpenTag, OString &rText) override |
void | WorkOnText (const OString &rOpenTag, OString &rText) override |
void | EndOfText (const OString &rOpenTag, const OString &rCloseTag) override |
void | Output (const OString &rOutput) override |
Private Attributes | |
std::unique_ptr< ResData > | pResData |
OString | sPath |
PoOfstream | pOutputStream |
Additional Inherited Members | |
Protected Member Functions inherited from XRMResParser | |
virtual void | Output (const OString &rOutput)=0 |
virtual void | WorkOnDesc (const OString &rOpenTag, OString &rText)=0 |
virtual void | WorkOnText (const OString &rOpenTag, OString &rText)=0 |
virtual void | EndOfText (const OString &rOpenTag, const OString &rCloseTag)=0 |
const OString & | GetGID () const |
Static Protected Member Functions inherited from XRMResParser | |
static OString | GetAttribute (const OString &rToken, std::string_view rAttribute) |
static void | Error (const OString &rError) |
Export strings from *.xrm and description.xml files.
Definition at line 78 of file xrmmerge.hxx.
XRMResExport::XRMResExport | ( | const OString & | rOutputFile, |
OString | sFilePath | ||
) |
Definition at line 278 of file xrmmerge.cxx.
References PoOfstream::APP, XRMResParser::Error(), PoOfstream::isOpen(), PoOfstream::open(), and pOutputStream.
|
overridevirtual |
Definition at line 289 of file xrmmerge.cxx.
References PoOfstream::close(), and pOutputStream.
|
overrideprivatevirtual |
Implements XRMResParser.
Definition at line 329 of file xrmmerge.cxx.
References pOutputStream, pResData, sPath, sResourceType, and common::writePoEntry().
Referenced by WorkOnDesc().
|
overrideprivatevirtual |
Implements XRMResParser.
Definition at line 294 of file xrmmerge.cxx.
|
overrideprivatevirtual |
Implements XRMResParser.
Definition at line 296 of file xrmmerge.cxx.
References EndOfText(), XRMResParser::GetAttribute(), sInputFileName, size, and WorkOnText().
|
overrideprivatevirtual |
Implements XRMResParser.
Definition at line 316 of file xrmmerge.cxx.
References XRMResParser::GetAttribute(), XRMResParser::GetGID(), pResData, and sLangAttribute.
Referenced by WorkOnDesc().
|
private |
Definition at line 83 of file xrmmerge.hxx.
Referenced by EndOfText(), XRMResExport(), and ~XRMResExport().
|
private |
Definition at line 81 of file xrmmerge.hxx.
Referenced by EndOfText(), and WorkOnText().
|
private |
Definition at line 82 of file xrmmerge.hxx.
Referenced by EndOfText().