LibreOffice Module l10ntools (master) 1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
CfgExport Class Reference

Export strings from *.xcu files. More...

#include <cfgmerge.hxx>

Inheritance diagram for CfgExport:
[legend]
Collaboration diagram for CfgExport:
[legend]

Public Member Functions

 CfgExport (const OString &rOutputFile, OString sFilePath)
 
virtual ~CfgExport () override
 
- Public Member Functions inherited from CfgParser
 CfgParser ()
 
virtual ~CfgParser ()
 
void Execute (int nToken, char *pToken)
 

Protected Member Functions

virtual void WorkOnText (OString &rText, const OString &rIsoLang) override
 
void WorkOnResourceEnd () override
 
void Output (const OString &rOutput) override
 
virtual void WorkOnText (OString &rText, const OString &rLangIndex)=0
 
virtual void WorkOnResourceEnd ()=0
 
virtual void Output (const OString &rOutput)=0
 

Private Attributes

OString sPath
 
PoOfstream pOutputStream
 

Additional Inherited Members

- Protected Attributes inherited from CfgParser
OString sCurrentResTyp
 
OString sCurrentIsoLang
 
OString sCurrentText
 
OString sLastWhitespace
 
CfgStack aStack
 
CfgStackDatapStackData
 
bool bLocalize
 

Detailed Description

Export strings from *.xcu files.

Definition at line 132 of file cfgmerge.hxx.

Constructor & Destructor Documentation

◆ CfgExport()

CfgExport::CfgExport ( const OString &  rOutputFile,
OString  sFilePath 
)

Definition at line 344 of file cfgmerge.cxx.

References PoOfstream::APP, PoOfstream::isOpen(), PoOfstream::open(), and pOutputStream.

◆ ~CfgExport()

CfgExport::~CfgExport ( )
overridevirtual

Definition at line 357 of file cfgmerge.cxx.

References PoOfstream::close(), and pOutputStream.

Member Function Documentation

◆ Output()

void CfgExport::Output ( const OString &  rOutput)
overrideprotectedvirtual

Implements CfgParser.

Definition at line 307 of file cfgmerge.cxx.

◆ WorkOnResourceEnd()

void CfgExport::WorkOnResourceEnd ( )
overrideprotectedvirtual

◆ WorkOnText()

void CfgExport::WorkOnText ( OString &  rText,
const OString &  rIsoLang 
)
overrideprotectedvirtual

Implements CfgParser.

Definition at line 391 of file cfgmerge.cxx.

References helper::UnQuotHTML().

Member Data Documentation

◆ pOutputStream

PoOfstream CfgExport::pOutputStream
private

Definition at line 136 of file cfgmerge.hxx.

Referenced by CfgExport(), WorkOnResourceEnd(), and ~CfgExport().

◆ sPath

OString CfgExport::sPath
private

Definition at line 135 of file cfgmerge.hxx.

Referenced by WorkOnResourceEnd().


The documentation for this class was generated from the following files: