Lines Matching refs:rData
236 void StringHelper::appendString( OUStringBuffer& rStr, const OUString& rData, sal_Int32 nWidth, sal… in appendString() argument
238 appendChar( rStr, cFill, nWidth - rData.getLength() ); in appendString()
239 rStr.append( rData ); in appendString()
582 void StringHelper::appendEncString( OUStringBuffer& rStr, const OUString& rData, bool bPrefix ) in appendEncString() argument
586 sal_Int32 nEnd = rData.getLength(); in appendEncString()
590 while( (nIdx < nEnd) && (rData[ nIdx ] >= 0x20) ) ++nIdx; in appendEncString()
595 rStr.append( rData ); in appendEncString()
597 rStr.append( rData.copy( nBeg, nIdx - nBeg ) ); in appendEncString()
600 while( (nIdx < nEnd) && (rData[ nIdx ] < 0x20) ) in appendEncString()
602 appendCChar( rStr, rData[ nIdx ], bPrefix ); in appendEncString()
652 void StringHelper::appendIndexedText( OUStringBuffer& rStr, const OUString& rData, const OUString& … in appendIndexedText() argument
654 rStr.append( rData ); in appendIndexedText()
658 void StringHelper::appendIndexedText( OUStringBuffer& rStr, const OUString& rData, sal_Int64 nIdx ) in appendIndexedText() argument
660 rStr.append( rData ); in appendIndexedText()
664 OUString StringHelper::getToken( const OUString& rData, sal_Int32& rnPos, sal_Unicode cSep ) in getToken() argument
666 return trimSpaces( rData.getToken( 0, cSep, rnPos ) ); in getToken()
805 bool StringHelper::convertFromDec( sal_Int64& ornData, const OUString& rData ) in convertFromDec() argument
808 sal_Int32 nLen = rData.getLength(); in convertFromDec()
810 if( (nLen > 0) && (rData[ 0 ] == '-') ) in convertFromDec()
818 sal_Unicode cChar = rData[ nPos ]; in convertFromDec()
828 bool StringHelper::convertFromHex( sal_Int64& ornData, const OUString& rData ) in convertFromHex() argument
831 for( sal_Int32 nPos = 0, nLen = rData.getLength(); nPos < nLen; ++nPos ) in convertFromHex()
833 sal_Unicode cChar = rData[ nPos ]; in convertFromHex()
847 bool StringHelper::convertStringToInt( sal_Int64& ornData, const OUString& rData ) in convertStringToInt() argument
849 …if( (rData.getLength() > 2) && (rData[ 0 ] == '0') && ((rData[ 1 ] == 'X') || (rData[ 1 ] == 'x'))… in convertStringToInt()
850 return convertFromHex( ornData, rData.copy( 2 ) ); in convertStringToInt()
851 return convertFromDec( ornData, rData ); in convertStringToInt()
854 bool StringHelper::convertStringToDouble( double& orfData, const OUString& rData ) in convertStringToDouble() argument
858 orfData = rtl::math::stringToDouble( rData, '.', '\0', &eStatus, &nSize ); in convertStringToDouble()
859 return (eStatus == rtl_math_ConversionStatus_Ok) && (nSize == rData.getLength()); in convertStringToDouble()
862 bool StringHelper::convertStringToBool( const OUString& rData ) in convertStringToBool() argument
864 if( rData.equalsAscii( "true" ) ) in convertStringToBool()
866 if( rData.equalsAscii( "false" ) ) in convertStringToBool()
869 return convertStringToInt( nData, rData ) && (nData != 0); in convertStringToBool()
891 void StringHelper::convertStringToStringList( OUStringVector& orVec, const OUString& rData, bool bI… in convertStringToStringList() argument
894 OUString aUnquotedData = lclTrimQuotedStringList( rData ); in convertStringToStringList()
905 void StringHelper::convertStringToIntList( Int64Vector& orVec, const OUString& rData, bool bIgnoreE… in convertStringToIntList() argument
908 OUString aUnquotedData = lclTrimQuotedStringList( rData ); in convertStringToIntList()
1084 TextInputStream& rStrm, const OUString& rKey, const OUString& rData ) in processConfigItem() argument
1088 implProcessConfigItemInt( rStrm, nKey, rData ); in processConfigItem()
1090 implProcessConfigItemStr( rStrm, rKey, rData ); in processConfigItem()
1120 TextInputStream& rStrm, const OUString& rKey, const OUString& rData ) in implProcessConfigItemStr() argument
1123 include( rData ); in implProcessConfigItemStr()
1125 exclude( rData ); in implProcessConfigItemStr()
1127 ConfigItemBase::implProcessConfigItemStr( rStrm, rKey, rData ); in implProcessConfigItemStr()
1131 TextInputStream& /*rStrm*/, sal_Int64 nKey, const OUString& rData ) in implProcessConfigItemInt() argument
1133 implSetName( nKey, rData ); in implProcessConfigItemInt()
1182 TextInputStream& rStrm, const OUString& rKey, const OUString& rData ) in implProcessConfigItemStr() argument
1185 setDefaultName( rData ); in implProcessConfigItemStr()
1187 setQuoteNames( StringHelper::convertStringToBool( rData ) ); in implProcessConfigItemStr()
1189 NameListBase::implProcessConfigItemStr( rStrm, rKey, rData ); in implProcessConfigItemStr()
1241 TextInputStream& rStrm, const OUString& rKey, const OUString& rData ) in implProcessConfigItemStr() argument
1244 mbIgnoreEmpty = StringHelper::convertStringToBool( rData ); in implProcessConfigItemStr()
1246 ConstList::implProcessConfigItemStr( rStrm, rKey, rData ); in implProcessConfigItemStr()
1265 TextInputStream& rStrm, const OUString& rKey, const OUString& rData ) in implProcessConfigItemStr() argument
1270 if( StringHelper::convertStringToInt( nIgnore, rData ) ) in implProcessConfigItemStr()
1275 NameListBase::implProcessConfigItemStr( rStrm, rKey, rData ); in implProcessConfigItemStr()
1525 void SharedConfigData::setOption( const OUString& rKey, const OUString& rData ) in setOption() argument
1527 maConfigData[ rKey ] = rData; in setOption()
1576 TextInputStream& rStrm, const OUString& rKey, const OUString& rData ) in implProcessConfigItemStr() argument
1579 readConfigFile( maConfigPath + rData ); in implProcessConfigItemStr()
1581 readNameList< ConstList >( rStrm, rData ); in implProcessConfigItemStr()
1583 readNameList< MultiList >( rStrm, rData ); in implProcessConfigItemStr()
1585 readNameList< FlagsList >( rStrm, rData ); in implProcessConfigItemStr()
1587 readNameList< CombiList >( rStrm, rData ); in implProcessConfigItemStr()
1589 createShortList( rData ); in implProcessConfigItemStr()
1591 createUnitConverter( rData ); in implProcessConfigItemStr()
1593 setOption( rKey, rData ); in implProcessConfigItemStr()
1613 void SharedConfigData::createShortList( const OUString& rData ) in createShortList() argument
1616 StringHelper::convertStringToStringList( aDataVec, rData, false ); in createShortList()
1632 void SharedConfigData::createUnitConverter( const OUString& rData ) in createUnitConverter() argument
1635 StringHelper::convertStringToStringList( aDataVec, rData, false ); in createUnitConverter()
1696 void Config::setStringOption( const String& rKey, const String& rData ) in setStringOption() argument
1698 mxCfgData->setOption( rKey, rData ); in setStringOption()
2348 void OutputObjectBase::writeInfoItem( const String& rName, const String& rData ) in writeInfoItem() argument
2351 mxOut->writeString( rData ); in writeInfoItem()
2362 void OutputObjectBase::writeStringItem( const String& rName, const OUString& rData ) in writeStringItem() argument
2366 mxOut->writeDec( rData.getLength() ); in writeStringItem()
2368 OUStringBuffer aValue( rData.copy( 0, ::std::min( rData.getLength(), OOX_DUMP_MAXSTRLEN ) ) ); in writeStringItem()
2371 if( rData.getLength() > OOX_DUMP_MAXSTRLEN ) in writeStringItem()