Lines Matching refs:rBuffer
419 void SvXMLUnitConverter::convertMeasure( OUStringBuffer& rBuffer, in convertMeasure() argument
429 rBuffer.append( nMeasure ); in convertMeasure()
430 rBuffer.append( sal_Unicode('%' ) ); in convertMeasure()
435 rBuffer, eDstUnit ); in convertMeasure()
449 void SvXMLUnitConverter::convertBool( OUStringBuffer& rBuffer, in convertBool() argument
452 rBuffer.append( GetXMLToken( bValue ? XML_TRUE : XML_FALSE ) ); in convertBool()
463 void SvXMLUnitConverter::convertPercent( OUStringBuffer& rBuffer, in convertPercent() argument
466 rBuffer.append( nValue ); in convertPercent()
467 rBuffer.append( sal_Unicode('%' ) ); in convertPercent()
478 void SvXMLUnitConverter::convertMeasurePx( OUStringBuffer& rBuffer, in convertMeasurePx() argument
481 rBuffer.append( nValue ); in convertMeasurePx()
482 rBuffer.append( sal_Unicode('p' ) ); in convertMeasurePx()
483 rBuffer.append( sal_Unicode('x' ) ); in convertMeasurePx()
530 sal_Bool SvXMLUnitConverter::convertEnum( OUStringBuffer& rBuffer, in convertEnum() argument
551 rBuffer.appendAscii( pStr ); in convertEnum()
561 OUStringBuffer& rBuffer, in convertEnum() argument
583 rBuffer.append( GetXMLToken(eTok) ); in convertEnum()
625 void SvXMLUnitConverter::convertColor( OUStringBuffer& rBuffer, in convertColor() argument
628 rBuffer.append( sal_Unicode( '#' ) ); in convertColor()
631 rBuffer.append( sal_Unicode( aHexTab[ nCol >> 4 ] ) ); in convertColor()
632 rBuffer.append( sal_Unicode( aHexTab[ nCol & 0xf ] ) ); in convertColor()
635 rBuffer.append( sal_Unicode( aHexTab[ nCol >> 4 ] ) ); in convertColor()
636 rBuffer.append( sal_Unicode( aHexTab[ nCol & 0xf ] ) ); in convertColor()
639 rBuffer.append( sal_Unicode( aHexTab[ nCol >> 4 ] ) ); in convertColor()
640 rBuffer.append( sal_Unicode( aHexTab[ nCol & 0xf ] ) ); in convertColor()
644 void SvXMLUnitConverter::convertNumber( OUStringBuffer& rBuffer, in convertNumber() argument
647 rBuffer.append( sal_Int32( nNumber ) ); in convertNumber()
664 void SvXMLUnitConverter::convertNumber64( OUStringBuffer& rBuffer, in convertNumber64() argument
667 rBuffer.append( nNumber ); in convertNumber64()
709 void SvXMLUnitConverter::convertDouble(::rtl::OUStringBuffer& rBuffer, in convertDouble() argument
712 SvXMLUnitConverter::convertDouble(rBuffer, fNumber, in convertDouble()
717 void SvXMLUnitConverter::convertDouble( ::rtl::OUStringBuffer& rBuffer, in convertDouble() argument
723 …::rtl::math::doubleToUStringBuffer( rBuffer, fNumber, rtl_math_StringFormat_Automatic, rtl_math_De… in convertDouble()
725 rBuffer.append(sal_Unicode('%')); in convertDouble()
733 …::rtl::math::doubleToUStringBuffer( rBuffer, fNumber, rtl_math_StringFormat_Automatic, rtl_math_De… in convertDouble()
735 rBuffer.append(sUnit); in convertDouble()
740 void SvXMLUnitConverter::convertDouble( ::rtl::OUStringBuffer& rBuffer, double fNumber) in convertDouble() argument
742 …::rtl::math::doubleToUStringBuffer( rBuffer, fNumber, rtl_math_StringFormat_Automatic, rtl_math_De… in convertDouble()
801 void SvXMLUnitConverter::convertTime( ::rtl::OUStringBuffer& rBuffer, in convertTime() argument
811 rBuffer.append(sal_Unicode('-')); in convertTime()
815 rBuffer.appendAscii(RTL_CONSTASCII_STRINGPARAM( "PT" )); in convertTime()
848 rBuffer.append( sal_Unicode('0')); in convertTime()
849 rBuffer.append( sal_Int32( fHoursValue)); in convertTime()
850 rBuffer.append( sal_Unicode('H')); in convertTime()
852 rBuffer.append( sal_Unicode('0')); in convertTime()
853 rBuffer.append( sal_Int32( fMinsValue)); in convertTime()
854 rBuffer.append( sal_Unicode('M')); in convertTime()
856 rBuffer.append( sal_Unicode('0')); in convertTime()
857 rBuffer.append( sal_Int32( fSecsValue)); in convertTime()
865 rBuffer.append( sal_Unicode('.')); in convertTime()
866 rBuffer.append( a100th.copy( 2 ) ); // strip 0. in convertTime()
869 rBuffer.append( sal_Unicode('S')); in convertTime()
1012 void SvXMLUnitConverter::convertTime( ::rtl::OUStringBuffer& rBuffer, in convertTime() argument
1023 convertTime( rBuffer, fTempTime ); in convertTime()
1049 void SvXMLUnitConverter::convertDateTime( ::rtl::OUStringBuffer& rBuffer, in convertDateTime() argument
1110 rBuffer.append( sal_Int32( aDate.GetYear())); in convertDateTime()
1111 rBuffer.append( sal_Unicode('-')); in convertDateTime()
1114 rBuffer.append( sal_Unicode('0')); in convertDateTime()
1115 rBuffer.append( sal_Int32( nTemp)); in convertDateTime()
1116 rBuffer.append( sal_Unicode('-')); in convertDateTime()
1119 rBuffer.append( sal_Unicode('0')); in convertDateTime()
1120 rBuffer.append( sal_Int32( nTemp)); in convertDateTime()
1123 rBuffer.append( sal_Unicode('T')); in convertDateTime()
1125 rBuffer.append( sal_Unicode('0')); in convertDateTime()
1126 rBuffer.append( sal_Int32( fHoursValue)); in convertDateTime()
1127 rBuffer.append( sal_Unicode(':')); in convertDateTime()
1129 rBuffer.append( sal_Unicode('0')); in convertDateTime()
1130 rBuffer.append( sal_Int32( fMinsValue)); in convertDateTime()
1131 rBuffer.append( sal_Unicode(':')); in convertDateTime()
1133 rBuffer.append( sal_Unicode('0')); in convertDateTime()
1134 rBuffer.append( sal_Int32( fSecsValue)); in convertDateTime()
1142 rBuffer.append( sal_Unicode('.')); in convertDateTime()
1143 rBuffer.append( a100th.copy( 2 ) ); // strip 0. in convertDateTime()
1178 ::rtl::OUStringBuffer& rBuffer, in convertDateTime() argument
1218 rBuffer.append( aString ); in convertDateTime()
1449 void SvXMLUnitConverter::convertB3DVector( OUStringBuffer &rBuffer, const ::basegfx::B3DVector& rVe… in convertB3DVector() argument
1451 rBuffer.append(sal_Unicode('(')); in convertB3DVector()
1452 convertDouble(rBuffer, rVector.getX()); in convertB3DVector()
1453 rBuffer.append(sal_Unicode(' ')); in convertB3DVector()
1454 convertDouble(rBuffer, rVector.getY()); in convertB3DVector()
1455 rBuffer.append(sal_Unicode(' ')); in convertB3DVector()
1456 convertDouble(rBuffer, rVector.getZ()); in convertB3DVector()
1457 rBuffer.append(sal_Unicode(')')); in convertB3DVector()
1476 void SvXMLUnitConverter::convertPosition3D( OUStringBuffer &rBuffer, in convertPosition3D() argument
1479 rBuffer.append( sal_Unicode('(') ); in convertPosition3D()
1480 convertDouble( rBuffer, rPosition.PositionX, sal_True ); in convertPosition3D()
1481 rBuffer.append( sal_Unicode(' ') ); in convertPosition3D()
1482 convertDouble( rBuffer, rPosition.PositionY, sal_True ); in convertPosition3D()
1483 rBuffer.append( sal_Unicode(' ') ); in convertPosition3D()
1484 convertDouble( rBuffer, rPosition.PositionZ, sal_True ); in convertPosition3D()
1485 rBuffer.append( sal_Unicode(')') ); in convertPosition3D()
1724 void SvXMLUnitConverter::convertNumFormat( OUStringBuffer& rBuffer, in convertNumFormat() argument
1752 rBuffer.append( GetXMLToken(eFormat) ); in convertNumFormat()
1758 rBuffer.append( xInfo->getNumberingIdentifier( nType ) ); in convertNumFormat()
1762 void SvXMLUnitConverter::convertNumLetterSync( OUStringBuffer& rBuffer, in convertNumLetterSync() argument
1790 rBuffer.append( GetXMLToken(eSync) ); in convertNumLetterSync()