LibreOffice Module l10ntools (master) 1
|
Parser for *.xrm and description.xml files. More...
#include <xrmmerge.hxx>
Public Member Functions | |
XRMResParser () | |
virtual | ~XRMResParser () |
void | Execute (int nToken, char *pToken) |
void | SetError () |
bool | GetError () const |
Protected Member Functions | |
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 | |
static OString | GetAttribute (const OString &rToken, std::string_view rAttribute) |
static void | Error (const OString &rError) |
Private Attributes | |
OString | sGID |
bool | bError |
bool | bText |
OString | sCurrentOpenTag |
OString | sCurrentCloseTag |
OString | sCurrentText |
Parser for *.xrm and description.xml files.
Definition at line 35 of file xrmmerge.hxx.
XRMResParser::XRMResParser | ( | ) |
Definition at line 141 of file xrmmerge.cxx.
|
virtual |
Definition at line 147 of file xrmmerge.cxx.
|
protectedpure virtual |
Implemented in XRMResExport, and XRMResMerge.
Referenced by Execute().
|
staticprotected |
Definition at line 270 of file xrmmerge.cxx.
References yyerror().
Referenced by XRMResExport::XRMResExport(), and XRMResMerge::XRMResMerge().
void XRMResParser::Execute | ( | int | nToken, |
char * | pToken | ||
) |
Definition at line 151 of file xrmmerge.cxx.
References bDisplayName, bExtensionDescription, bText, DESC_DISPLAY_NAME_END, DESC_DISPLAY_NAME_START, DESC_EXTENSION_DESCRIPTION_END, DESC_EXTENSION_DESCRIPTION_SRC, DESC_EXTENSION_DESCRIPTION_START, DESC_TEXT_END, DESC_TEXT_START, EndOfText(), GetAttribute(), nToken, Output(), sCurrentCloseTag, sCurrentOpenTag, sCurrentText, sGID, sLangAttribute, sResourceType, WorkOnDesc(), WorkOnText(), XRM_TEXT_END, and XRM_TEXT_START.
Referenced by WorkOnTokenSet().
|
staticprotected |
Definition at line 257 of file xrmmerge.cxx.
References nPos.
Referenced by XRMResMerge::EndOfText(), Execute(), XRMResExport::WorkOnDesc(), XRMResMerge::WorkOnDesc(), and XRMResExport::WorkOnText().
|
inline |
|
inlineprotected |
Definition at line 64 of file xrmmerge.hxx.
References sGID.
Referenced by XRMResExport::WorkOnText(), and XRMResMerge::WorkOnText().
|
protectedpure virtual |
Implemented in XRMResExport, and XRMResMerge.
Referenced by Execute().
|
inline |
|
protectedpure virtual |
Implemented in XRMResExport, and XRMResMerge.
Referenced by Execute().
|
protectedpure virtual |
Implemented in XRMResExport, and XRMResMerge.
Referenced by Execute().
|
private |
Definition at line 40 of file xrmmerge.hxx.
Referenced by GetError(), and SetError().
|
private |
Definition at line 41 of file xrmmerge.hxx.
Referenced by Execute().
|
private |
Definition at line 44 of file xrmmerge.hxx.
Referenced by Execute().
|
private |
Definition at line 43 of file xrmmerge.hxx.
Referenced by Execute().
|
private |
Definition at line 45 of file xrmmerge.hxx.
Referenced by Execute().
|
private |
Definition at line 38 of file xrmmerge.hxx.