LibreOffice Module l10ntools (master) 1
Functions | Variables
xrmmerge.cxx File Reference
#include <sal/config.h>
#include <stdio.h>
#include <common.hxx>
#include <export.hxx>
#include <po.hxx>
#include <utility>
#include <xrmlex.hxx>
#include <xrmmerge.hxx>
#include <tokens.h>
#include <helper.hxx>
#include <iostream>
#include <vector>
#include <memory>
Include dependency graph for xrmmerge.cxx:

Go to the source code of this file.

Functions

bool GetOutputFile (int argc, char *argv[])
 
int InitXrmExport (const char *pFilename)
 
int EndXrmExport ()
 
const char * getFilename ()
 
FILE * GetXrmFile ()
 
int WorkOnTokenSet (int nTyp, char *pTokenText)
 
int SetError ()
 
int GetError ()
 

Variables

static bool bMergeMode
 
static bool bDisplayName
 
static bool bExtensionDescription
 
static OString sLanguage
 
static OString sInputFileName
 
static OString sOutputFile
 
static OString sMergeSrc
 
static OString sLangAttribute
 
static OString sResourceType
 
static XRMResParserpParser = nullptr
 

Function Documentation

◆ EndXrmExport()

int EndXrmExport ( )

Definition at line 87 of file xrmmerge.cxx.

References pParser.

Referenced by SAL_IMPLEMENT_MAIN_WITH_ARGS().

◆ GetError()

int GetError ( )

Definition at line 132 of file xrmmerge.cxx.

References XRMResParser::GetError(), and pParser.

Referenced by SAL_IMPLEMENT_MAIN_WITH_ARGS().

◆ getFilename()

const char * getFilename ( )

Definition at line 92 of file xrmmerge.cxx.

References sInputFileName.

Referenced by SAL_IMPLEMENT_MAIN_WITH_ARGS().

◆ GetOutputFile()

bool GetOutputFile ( int  argc,
char *  argv[] 
)

◆ GetXrmFile()

FILE * GetXrmFile ( )

Definition at line 97 of file xrmmerge.cxx.

References FILE, and sInputFileName.

Referenced by SAL_IMPLEMENT_MAIN_WITH_ARGS().

◆ InitXrmExport()

int InitXrmExport ( const char *  pFilename)

Definition at line 74 of file xrmmerge.cxx.

References bMergeMode, pParser, sInputFileName, sMergeSrc, and sOutputFile.

Referenced by SAL_IMPLEMENT_MAIN_WITH_ARGS().

◆ SetError()

int SetError ( )

Definition at line 123 of file xrmmerge.cxx.

References pParser, and XRMResParser::SetError().

Referenced by yyerror().

◆ WorkOnTokenSet()

int WorkOnTokenSet ( int  nTyp,
char *  pTokenText 
)

Definition at line 115 of file xrmmerge.cxx.

References XRMResParser::Execute(), and pParser.

Variable Documentation

◆ bDisplayName

bool bDisplayName
static

Definition at line 38 of file xrmmerge.cxx.

Referenced by XRMResParser::Execute(), and GetOutputFile().

◆ bExtensionDescription

bool bExtensionDescription
static

Definition at line 39 of file xrmmerge.cxx.

Referenced by XRMResParser::Execute(), and GetOutputFile().

◆ bMergeMode

bool bMergeMode
static

Definition at line 37 of file xrmmerge.cxx.

Referenced by GetOutputFile(), InitXrmExport(), and PropParser::PropParser().

◆ pParser

XRMResParser* pParser = nullptr
static

Definition at line 46 of file xrmmerge.cxx.

Referenced by EndXrmExport(), GetError(), InitXrmExport(), SetError(), and WorkOnTokenSet().

◆ sInputFileName

OString sInputFileName
static

◆ sLangAttribute

OString sLangAttribute
static

◆ sLanguage

OString sLanguage
static

◆ sMergeSrc

OString sMergeSrc
static

Definition at line 43 of file xrmmerge.cxx.

Referenced by GetOutputFile(), and InitXrmExport().

◆ sOutputFile

OString sOutputFile
static

Definition at line 42 of file xrmmerge.cxx.

Referenced by GetOutputFile(), InitXrmExport(), and XRMResMerge::WorkOnDesc().

◆ sResourceType

OString sResourceType
static