Lines Matching refs:ByteString
60 ByteString sPrj;
61 ByteString sPrjRoot;
62 ByteString sInputFileName;
63 ByteString sActFileName;
64 ByteString sOutputFile;
65 ByteString sMergeSrc;
90 if ( ByteString( argv[ i ] ).ToUpperAscii() == "-I" ) { in GetOutputFile()
93 else if ( ByteString( argv[ i ] ).ToUpperAscii() == "-O" ) { in GetOutputFile()
96 else if ( ByteString( argv[ i ] ).ToUpperAscii() == "-P" ) { in GetOutputFile()
99 else if ( ByteString( argv[ i ] ).ToUpperAscii() == "-R" ) { in GetOutputFile()
102 else if ( ByteString( argv[ i ] ).ToUpperAscii() == "-M" ) { in GetOutputFile()
105 else if ( ByteString( argv[ i ] ).ToUpperAscii() == "-E" ) { in GetOutputFile()
109 else if ( ByteString( argv[ i ] ).ToUpperAscii() == "-UTF8" ) { in GetOutputFile()
113 else if ( ByteString( argv[ i ] ).ToUpperAscii() == "-NOUTF8" ) { in GetOutputFile()
117 else if ( ByteString( argv[ i ] ).ToUpperAscii() == "-L" ) { in GetOutputFile()
120 else if ( ByteString( argv[ i ] ).ToUpperAscii() == "-ISO99" ) { in GetOutputFile()
138 sPrj = ByteString( argv[ i ]); in GetOutputFile()
142 sPrjRoot = ByteString( argv[ i ]); // path to project root in GetOutputFile()
146 sMergeSrc = ByteString( argv[ i ]); in GetOutputFile()
151 Export::sLanguages = ByteString( argv[ i ]); in GetOutputFile()
180 ByteString sOutput( pOutput ); in InitXrmExport()
181 ByteString sFilename( pFilename ); in InitXrmExport()
216 … Export::RemoveUTF8ByteOrderMarkerFromFile( ByteString( sTempFile , RTL_TEXTENCODING_ASCII_US ) ); in GetXrmFile()
217 pFile = fopen( ByteString( sTempFile , RTL_TEXTENCODING_ASCII_US ).GetBuffer(), "r" ); in GetXrmFile()
233 ByteString sFullEntry( aEntry.GetFull(), RTL_TEXTENCODING_ASCII_US ); in GetXrmFile()
236 ByteString sPrjEntry( aEntry.GetFull(), RTL_TEXTENCODING_ASCII_US ); in GetXrmFile()
304 ByteString rToken( pToken ); in Execute()
345 ByteString sTmp = sGID; in Execute()
358 ByteString sNewLID = GetAttribute( rToken, "id" ); in Execute()
374 ByteString sLang = GetAttribute( sCurrentOpenTag, "xml:lang" ); in Execute()
379 rToken = ByteString(""); in Execute()
380 sCurrentText = ByteString(""); in Execute()
409 ByteString XRMResParser::GetAttribute( const ByteString &rToken, const ByteString &rAttribute ) in GetAttribute()
412 ByteString sTmp( rToken ); in GetAttribute()
415 ByteString sSearch( " " ); in GetAttribute()
422 ByteString sId = sTmp.GetToken( 1, '\"' ); in GetAttribute()
430 void XRMResParser::Error( const ByteString &rError ) in Error()
437 void XRMResParser::ConvertStringToDBFormat( ByteString &rString ) in ConvertStringToDBFormat()
440 ByteString sResult; in ConvertStringToDBFormat()
454 void XRMResParser::ConvertStringToXMLFormat( ByteString &rString ) in ConvertStringToXMLFormat()
467 XRMResOutputParser::XRMResOutputParser ( const ByteString &rOutputFile ) in XRMResOutputParser()
478 ByteString sError( "Unable to open output file: " ); in XRMResOutputParser()
502 const ByteString &rOutputFile, const ByteString &rProject, in XRMResExport()
503 const ByteString &rFilePath ) in XRMResExport()
520 void XRMResExport::Output( const ByteString& rOutput ) in Output()
528 const ByteString &rOpenTag, in WorkOnText()
529 ByteString &rText in WorkOnText()
533 ByteString sLang( GetAttribute( rOpenTag, "xml:lang" )); in WorkOnText()
536 ByteString sPlatform( "" ); in WorkOnText()
547 const ByteString &rOpenTag, in EndOfText()
548 const ByteString &rCloseTag in EndOfText()
559 ByteString sSearch( cSearch ); in EndOfText()
566 ByteString sTimeStamp( Export::GetTimeStamp()); in EndOfText()
567 ByteString sCur; in EndOfText()
571 ByteString sAct = pResData->sText[ sCur ]; in EndOfText()
575 ByteString sOutput( sPrj ); sOutput += "\t"; in EndOfText()
607 const ByteString &rMergeSource, const ByteString &rOutputFile, in XRMResMerge()
608 ByteString &rFilename) in XRMResMerge()
635 const ByteString &rOpenTag, in WorkOnText()
636 ByteString &rText in WorkOnText()
640 ByteString sLang( GetAttribute( rOpenTag, "xml:lang" )); in WorkOnText()
644 ByteString sPlatform( "" ); in WorkOnText()
654 ByteString sContent; in WorkOnText()
670 void XRMResMerge::Output( const ByteString& rOutput ) in Output()
680 const ByteString &rOpenTag, in EndOfText()
681 const ByteString &rCloseTag in EndOfText()
690 ByteString sCur; in EndOfText()
693 ByteString sContent; in EndOfText()
699 ByteString sText( sContent ); in EndOfText()
702 ByteString sAdditionalLine( "\t" ); in EndOfText()
704 ByteString sSearch = "xml:lang=\""; in EndOfText()
705 ByteString sReplace( sSearch ); in EndOfText()