Lines Matching refs:OUString
59 using ::rtl::OUString;
85 OUString InputOutputHelper::convertFileNameToUrl( const OUString& rFileName ) in convertFileNameToUrl()
87 OUString aFileUrl; in convertFileNameToUrl()
90 return OUString(); in convertFileNameToUrl()
93 sal_Int32 InputOutputHelper::getFileNamePos( const OUString& rFileUrl ) in getFileNamePos()
99 OUString InputOutputHelper::getFileNameExtension( const OUString& rFileUrl ) in getFileNameExtension()
105 return OUString(); in getFileNameExtension()
111 const Reference< XComponentContext >& rxContext, const OUString& rFileName ) in openInputStream()
129 const Reference< XComponentContext >& rxContext, const OUString& rFileName ) in openOutputStream()
155 xTextOutStrm->setEncoding( OUString::createFromAscii( pcCharset ) ); in openTextOutputStream()
164 …const Reference< XComponentContext >& rxContext, const OUString& rFileName, rtl_TextEncoding eText… in openTextOutputStream()
178 void ItemFormat::set( DataType eDataType, FormatType eFmtType, const OUString& rItemName ) in set()
183 maListName = OUString(); in set()
186 …ormat::set( DataType eDataType, FormatType eFmtType, const OUString& rItemName, const OUString& rL… in set()
194 set( DATATYPE_VOID, FORMATTYPE_NONE, OUString() ); in parse()
197 OUString aDataType, aFmtType; in parse()
217 OUStringVector ItemFormat::parse( const OUString& rFormatStr ) in parse()
236 void StringHelper::appendString( OUStringBuffer& rStr, const OUString& rData, sal_Int32 nWidth, sal… in appendString()
246 appendString( rStr, OUString::valueOf( static_cast< sal_Int32 >( nData ) ), nWidth, cFill ); in appendDec()
251 appendString( rStr, OUString::valueOf( static_cast< sal_Int32 >( nData ) ), nWidth, cFill ); in appendDec()
256 appendString( rStr, OUString::valueOf( static_cast< sal_Int32 >( nData ) ), nWidth, cFill ); in appendDec()
261 appendString( rStr, OUString::valueOf( static_cast< sal_Int32 >( nData ) ), nWidth, cFill ); in appendDec()
266 appendString( rStr, OUString::valueOf( static_cast< sal_Int64 >( nData ) ), nWidth, cFill ); in appendDec()
271 appendString( rStr, OUString::valueOf( nData ), nWidth, cFill ); in appendDec()
281 aBuffer.append( OUString::valueOf( static_cast< sal_Int64 >( nData / 10 ) ) ); in appendDec()
288 appendString( rStr, OUString::valueOf( nData ), nWidth, cFill ); in appendDec()
582 void StringHelper::appendEncString( OUStringBuffer& rStr, const OUString& rData, bool bPrefix ) in appendEncString()
612 void StringHelper::appendToken( OUStringBuffer& rStr, const OUString& rToken, sal_Unicode cSep ) in appendToken()
626 void StringHelper::prependToken( OUStringBuffer& rStr, const OUString& rToken, sal_Unicode cSep ) in prependToken()
640 void StringHelper::appendIndex( OUStringBuffer& rStr, const OUString& rIdx ) in appendIndex()
652 void StringHelper::appendIndexedText( OUStringBuffer& rStr, const OUString& rData, const OUString& … in appendIndexedText()
658 void StringHelper::appendIndexedText( OUStringBuffer& rStr, const OUString& rData, sal_Int64 nIdx ) in appendIndexedText()
664 OUString StringHelper::getToken( const OUString& rData, sal_Int32& rnPos, sal_Unicode cSep ) in getToken()
678 sal_Int32 lclIndexOf( const OUString& rStr, sal_Unicode cChar, sal_Int32 nStartPos ) in lclIndexOf()
684 OUString lclTrimQuotedStringList( const OUString& rStr ) in lclTrimQuotedStringList()
737 OUString StringHelper::trimSpaces( const OUString& rStr ) in trimSpaces()
748 OUString StringHelper::trimTrailingNul( const OUString& rStr ) in trimTrailingNul()
756 OString StringHelper::convertToUtf8( const OUString& rStr ) in convertToUtf8()
761 DataType StringHelper::convertToDataType( const OUString& rStr ) in convertToDataType()
787 FormatType StringHelper::convertToFormatType( const OUString& rStr ) in convertToFormatType()
805 bool StringHelper::convertFromDec( sal_Int64& ornData, const OUString& rData ) in convertFromDec()
828 bool StringHelper::convertFromHex( sal_Int64& ornData, const OUString& rData ) in convertFromHex()
847 bool StringHelper::convertStringToInt( sal_Int64& ornData, const OUString& rData ) in convertStringToInt()
854 bool StringHelper::convertStringToDouble( double& orfData, const OUString& rData ) in convertStringToDouble()
862 bool StringHelper::convertStringToBool( const OUString& rData ) in convertStringToBool()
872 OUStringPair StringHelper::convertStringToPair( const OUString& rString, sal_Unicode cSep ) in convertStringToPair()
891 void StringHelper::convertStringToStringList( OUStringVector& orVec, const OUString& rData, bool bI… in convertStringToStringList()
894 OUString aUnquotedData = lclTrimQuotedStringList( rData ); in convertStringToStringList()
899 OUString aToken = getToken( aUnquotedData, nPos, OOX_DUMP_LF ); in convertStringToStringList()
905 void StringHelper::convertStringToIntList( Int64Vector& orVec, const OUString& rData, bool bIgnoreE… in convertStringToIntList()
908 OUString aUnquotedData = lclTrimQuotedStringList( rData ); in convertStringToIntList()
928 void FormulaStack::pushOperand( const String& rOp, const OUString& rTokClass ) in pushOperand()
936 pushOperand( rOp, OUString( OOX_DUMP_BASECLASS ) ); in pushOperand()
951 void FormulaStack::pushFuncOp( const String& rFunc, const OUString& rTokClass, sal_uInt8 nParamCoun… in pushFuncOp()
957 void FormulaStack::replaceOnTop( const OUString& rOld, const OUString& rNew ) in replaceOnTop()
967 const OUString& FormulaStack::getString( const StringStack& rStack ) const in getString()
969 static const OUString saStackError = OOX_DUMP_ERRSTRING( "stack" ); in getString()
973 void FormulaStack::pushUnaryOp( StringStack& rStack, const OUString& rLOp, const OUString& rROp ) in pushUnaryOp()
979 void FormulaStack::pushBinaryOp( StringStack& rStack, const OUString& rOp ) in pushBinaryOp()
981 OUString aSecond; in pushBinaryOp()
991 void FormulaStack::pushFuncOp( StringStack& rStack, const OUString& rOp, sal_uInt8 nParamCount ) in pushFuncOp()
1024 TextInputStream& /*rStrm*/, const OUString& /*rKey*/, const OUString& /*rData*/ ) in implProcessConfigItemStr() argument
1029 TextInputStream& /*rStrm*/, sal_Int64 /*nKey*/, const OUString& /*rData*/ ) in implProcessConfigItemInt() argument
1038 OUString aKey, aData; in readConfigBlockContents()
1052 TextInputStream& rStrm, OUString& orKey, OUString& orData ) const in readConfigLine()
1054 OUString aLine; in readConfigLine()
1066 aLine = OUString(); in readConfigLine()
1079 OUString aKey, aData; in readConfigLine()
1084 TextInputStream& rStrm, const OUString& rKey, const OUString& rData ) in processConfigItem()
1120 TextInputStream& rStrm, const OUString& rKey, const OUString& rData ) in implProcessConfigItemStr()
1131 TextInputStream& /*rStrm*/, sal_Int64 nKey, const OUString& rData ) in implProcessConfigItemInt()
1136 void NameListBase::insertRawName( sal_Int64 nKey, const OUString& rName ) in insertRawName()
1141 const OUString* NameListBase::findRawName( sal_Int64 nKey ) const in findRawName()
1147 void NameListBase::include( const OUString& rListKeys ) in include()
1155 void NameListBase::exclude( const OUString& rKeys ) in exclude()
1182 TextInputStream& rStrm, const OUString& rKey, const OUString& rData ) in implProcessConfigItemStr()
1192 void ConstList::implSetName( sal_Int64 nKey, const OUString& rName ) in implSetName()
1197 OUString ConstList::implGetName( const Config& /*rCfg*/, sal_Int64 nKey ) const in implGetName()
1199 const OUString* pName = findRawName( nKey ); in implGetName()
1200 OUString aName = pName ? *pName : maDefName; in implGetName()
1210 OUString ConstList::implGetNameDbl( const Config& /*rCfg*/, double /*fValue*/ ) const in implGetNameDbl()
1212 return OUString(); in implGetNameDbl()
1241 TextInputStream& rStrm, const OUString& rKey, const OUString& rData ) in implProcessConfigItemStr()
1249 void MultiList::implSetName( sal_Int64 nKey, const OUString& rName ) in implSetName()
1265 TextInputStream& rStrm, const OUString& rKey, const OUString& rData ) in implProcessConfigItemStr()
1279 void FlagsList::implSetName( sal_Int64 nKey, const OUString& rName ) in implSetName()
1285 OUString FlagsList::implGetName( const Config& /*rCfg*/, sal_Int64 nKey ) const in implGetName()
1296 const OUString& rFlagName = aIt->second; in implGetName()
1338 OUString FlagsList::implGetNameDbl( const Config& /*rCfg*/, double /*fValue*/ ) const in implGetNameDbl()
1340 return OUString(); in implGetNameDbl()
1361 void CombiList::implSetName( sal_Int64 nKey, const OUString& rName ) in implSetName()
1400 OUString CombiList::implGetName( const Config& rCfg, sal_Int64 nKey ) const in implGetName()
1442 … OUString aValueName = rCfg.getName( rItemFmt.maListName, static_cast< sal_Int64 >( nUValue ) ); in implGetName()
1470 void UnitConverter::implSetName( sal_Int64 /*nKey*/, const OUString& /*rName*/ ) in implSetName() argument
1475 OUString UnitConverter::implGetName( const Config& rCfg, sal_Int64 nKey ) const in implGetName()
1480 OUString UnitConverter::implGetNameDbl( const Config& /*rCfg*/, double fValue ) const in implGetNameDbl()
1502 SharedConfigData::SharedConfigData( const OUString& rFileName, in SharedConfigData()
1504 const OUString& rSysFileName, MediaDescriptor& rMediaDesc ) : in SharedConfigData()
1512 OUString aFileUrl = InputOutputHelper::convertFileNameToUrl( rFileName ); in SharedConfigData()
1525 void SharedConfigData::setOption( const OUString& rKey, const OUString& rData ) in setOption()
1530 const OUString* SharedConfigData::getOption( const OUString& rKey ) const in getOption()
1536 void SharedConfigData::setNameList( const OUString& rListName, const NameListRef& rxList ) in setNameList()
1542 void SharedConfigData::eraseNameList( const OUString& rListName ) in eraseNameList()
1547 NameListRef SharedConfigData::getNameList( const OUString& rListName ) const in getNameList()
1561 ::std::vector< OUString > aDefaultPasswords; in requestEncryptionData()
1576 TextInputStream& rStrm, const OUString& rKey, const OUString& rData ) in implProcessConfigItemStr()
1596 bool SharedConfigData::readConfigFile( const OUString& rFileUrl ) in readConfigFile()
1613 void SharedConfigData::createShortList( const OUString& rData ) in createShortList()
1632 void SharedConfigData::createUnitConverter( const OUString& rData ) in createUnitConverter()
1638 OUString aFactor = aDataVec[ 1 ]; in createUnitConverter()
1669 …ce< XComponentContext >& rxContext, const StorageRef& rxRootStrg, const OUString& rSysFileName, Me… in Config()
1689 …ce< XComponentContext >& rxContext, const StorageRef& rxRootStrg, const OUString& rSysFileName, Me… in construct()
1693 …mxCfgData.reset( new SharedConfigData( OUString::createFromAscii( pcFileName ), rxContext, rxRootS… in construct()
1701 const OUString& Config::getStringOption( const String& rKey, const OUString& rDefault ) const in getStringOption()
1703 const OUString* pData = implGetOption( rKey ); in getStringOption()
1709 const OUString* pData = implGetOption( rKey ); in getBoolOption()
1753 const OUString* Config::implGetOption( const OUString& rKey ) const in implGetOption()
1758 NameListRef Config::implGetNameList( const OUString& rListName ) const in implGetNameList()
1766 Output::Output( const Reference< XComponentContext >& rxContext, const OUString& rFileName ) : in Output()
1775 mxStrm->writeString( OUString( OOX_DUMP_BOM ) ); in Output()
1795 mxStrm->writeString( OUString( sal_Unicode( '\n' ) ) ); in emptyLine()
1813 maIndent = OUString(); in resetIndent()
1921 maLastItem = OUString( maLine.getStr() + mnLastItem ); in endItem()
1961 void Output::writeString( const OUString& rStr ) in writeString()
2099 OUString StorageIterator::getName() const in getName()
2101 OUString aName; in getName()
2166 …ectBase::construct( const ObjectBase& rParent, const StorageRef& rxStrg, const OUString& rSysPath ) in construct()
2194 xBaseStrm = mxStrg->openInputStream( OUString() ); in implDump()
2196 OUString aSysOutPath = maSysPath; in implDump()
2210 extractStorage( mxStrg, OUString(), aSysOutPath ); in implDump()
2220 …mplDumpStream( const Reference< XInputStream >&, const OUString&, const OUString&, const OUString&… in implDumpStream() argument
2224 …jectBase::implDumpStorage( const StorageRef& rxStrg, const OUString& rStrgPath, const OUString& rS… in implDumpStorage()
2229 void StorageObjectBase::implDumpBaseStream( const BinaryInputStreamRef&, const OUString& ) in implDumpBaseStream() argument
2245 OUString StorageObjectBase::getSysFileName( const OUString& rStrmName, const OUString& rSysOutPath ) in getSysFileName()
2252 OUString aFileName = aBuffer.makeStringAndClear(); in getSysFileName()
2258 return rSysOutPath + OUString( sal_Unicode( '/' ) ) + aFileName; in getSysFileName()
2261 …se::extractStream( StorageBase& rStrg, const OUString& rStrgPath, const OUString& rStrmName, const… in extractStream()
2275 …bjectBase::extractStorage( const StorageRef& rxStrg, const OUString& rStrgPath, const OUString& rS… in extractStorage()
2291 OUString aItemName = aIt.getName(); in extractStorage()
2301 …extractItem( const StorageRef& rxStrg, const OUString& rStrgPath, const OUString& rItemName, const… in extractItem()
2303 OUString aSysFileName = getSysFileName( rItemName, rSysPath ); in extractItem()
2323 void OutputObjectBase::construct( const ObjectBase& rParent, const OUString& rSysFileName ) in construct()
2362 void OutputObjectBase::writeStringItem( const String& rName, const OUString& rData ) in writeStringItem()
2409 void OutputObjectBase::writeGuidItem( const String& rName, const OUString& rGuid ) in writeGuidItem()
2414 mxOut->writeString( cfg().getStringOption( rGuid, OUString() ) ); in writeGuidItem()
2476 void OutputObjectBase::writeTokenAddress3dItem( const String& rName, const OUString& rRef, const To… in writeTokenAddress3dItem()
2489 void OutputObjectBase::writeTokenRange3dItem( const String& rName, const OUString& rRef, const Toke… in writeTokenRange3dItem()
2503 …ruct( const ObjectBase& rParent, const BinaryInputStreamRef& rxStrm, const OUString& rSysFileName ) in construct()
2647 OUString aChar = OStringToOUString( OString( static_cast< sal_Char >( nChar ) ), eTextEnc ); in dumpChar()
2662 OUString InputObjectBase::dumpCharArray( const String& rName, sal_Int32 nLen, rtl_TextEncoding eTex… in dumpCharArray()
2665 OUString aString; in dumpCharArray()
2679 OUString InputObjectBase::dumpUnicodeArray( const String& rName, sal_Int32 nLen, bool bHideTrailing… in dumpUnicodeArray()
2684 OUString aString = aBuffer.makeStringAndClear(); in dumpUnicodeArray()
2691 OUString InputObjectBase::dumpNullCharArray( const String& rName, rtl_TextEncoding eTextEnc ) in dumpNullCharArray()
2697 OUString aString = OStringToOUString( aBuffer.makeStringAndClear(), eTextEnc ); in dumpNullCharArray()
2702 OUString InputObjectBase::dumpNullUnicodeArray( const String& rName ) in dumpNullUnicodeArray()
2708 OUString aString = aBuffer.makeStringAndClear(); in dumpNullUnicodeArray()
2777 OUString InputObjectBase::dumpGuid( const String& rName ) in dumpGuid()
2804 OUString aGuid = aBuffer.makeStringAndClear(); in dumpGuid()
2831 …ject( const ObjectBase& rParent, const BinaryInputStreamRef& rxStrm, const OUString& rSysFileName ) in BinaryStreamObject()
2857 … const BinaryInputStreamRef& rxStrm, rtl_TextEncoding eTextEnc, const OUString& rSysFileName ) in construct()
2895 … const BinaryInputStreamRef& rxStrm, rtl_TextEncoding eTextEnc, const OUString& rSysFileName ) in TextLineStreamObject()
2911 OUString aLine = rTextStrm.readLine(); in implDumpText()
2917 void TextLineStreamObject::implDumpLine( const OUString& rLine, sal_uInt32 nLine ) in implDumpLine()
2929 const BinaryInputStreamRef& rxStrm, const OUString& rSysFileName ) in XmlStreamObject()
2950 OUString aElem = rTextStrm.readToChar( '>', true ).trim(); in implDumpText()
2951 OUString aText = rTextStrm.readToChar( '<', false ); in implDumpText()
3023 const BinaryInputStreamRef& rxBaseStrm, const OUString& rSysFileName, in construct()
3109 const BinaryInputStreamRef& rxBaseStrm, const ::rtl::OUString& rSysFileName, in construct()