Lines Matching refs:rValue
132 const SfxOleTextEncoding& rTextEnc, const String& rValue );
138 rtl_TextEncoding eTextEnc, const String& rValue );
141 inline void SetValue( const String& rValue ) { maValue = rValue; } in SetValue() argument
157 const String& rValue );
171 explicit SfxOleString16Property( sal_Int32 nPropId, const String& rValue );
273 void SfxOleStringHelper::SaveString8( SvStream& rStrm, const String& rValue ) const in SaveString8()
276 ImplSaveString16( rStrm, rValue ); in SaveString8()
278 ImplSaveString8( rStrm, rValue ); in SaveString8()
286 void SfxOleStringHelper::SaveString16( SvStream& rStrm, const String& rValue ) const in SaveString16()
288 ImplSaveString16( rStrm, rValue ); in SaveString16()
339 void SfxOleStringHelper::ImplSaveString8( SvStream& rStrm, const String& rValue ) const in ImplSaveString8()
342 ByteString aEncoded( rValue, GetTextEncoding() ); in ImplSaveString8()
351 void SfxOleStringHelper::ImplSaveString16( SvStream& rStrm, const String& rValue ) const in ImplSaveString16()
354 sal_Int32 nSize = static_cast< sal_Int32 >( rValue.Len() + 1 ); in ImplSaveString16()
357 for( xub_StrLen nIdx = 0; nIdx < rValue.Len(); ++nIdx ) in ImplSaveString16()
358 rStrm << static_cast< sal_uInt16 >( rValue.GetChar( nIdx ) ); in ImplSaveString16()
484 …al_Int32 nPropId, sal_Int32 nPropType, const SfxOleTextEncoding& rTextEnc, const String& rValue ) : in SfxOleStringPropertyBase() argument
487 maValue( rValue ) in SfxOleStringPropertyBase()
499 sal_Int32 nPropId, sal_Int32 nPropType, rtl_TextEncoding eTextEnc, const String& rValue ) : in SfxOleStringPropertyBase() argument
502 maValue( rValue ) in SfxOleStringPropertyBase()
515 sal_Int32 nPropId, const SfxOleTextEncoding& rTextEnc, const String& rValue ) : in SfxOleString8Property() argument
516 SfxOleStringPropertyBase( nPropId, PROPTYPE_STRING8, rTextEnc, rValue ) in SfxOleString8Property()
537 SfxOleString16Property::SfxOleString16Property( sal_Int32 nPropId, const String& rValue ) : in SfxOleString16Property() argument
538 SfxOleStringPropertyBase( nPropId, PROPTYPE_STRING16, RTL_TEXTENCODING_UCS2, rValue ) in SfxOleString16Property()
779 bool SfxOleSection::GetStringValue( String& rValue, sal_Int32 nPropId ) const in GetStringValue() argument
785 rValue = pProp->GetValue(); in GetStringValue()
789 bool SfxOleSection::GetFileTimeValue( util::DateTime& rValue, sal_Int32 nPropId ) const in GetFileTimeValue() argument
797 rValue = util::DateTime(); in GetFileTimeValue()
799 rValue = pProp->GetValue(); in GetFileTimeValue()
825 bool SfxOleSection::SetStringValue( sal_Int32 nPropId, const String& rValue, bool bSkipEmpty ) in SetStringValue() argument
827 bool bInserted = !bSkipEmpty || (rValue.Len() > 0); in SetStringValue()
829 … SetProperty( SfxOlePropertyRef( new SfxOleString8Property( nPropId, maCodePageProp, rValue ) ) ); in SetStringValue()
833 void SfxOleSection::SetFileTimeValue( sal_Int32 nPropId, const util::DateTime& rValue ) in SetFileTimeValue() argument
835 if ( rValue.Year == 0 || rValue.Month == 0 || rValue.Day == 0 ) in SetFileTimeValue()
838 SetProperty( SfxOlePropertyRef( new SfxOleFileTimeProperty( nPropId, rValue ) ) ); in SetFileTimeValue()
884 bool SfxOleSection::SetAnyValue( sal_Int32 nPropId, const Any& rValue ) in SetAnyValue() argument
892 if( rValue.getValueType() == ::getBooleanCppuType() ) in SetAnyValue()
893 SetBoolValue( nPropId, ::comphelper::getBOOL( rValue ) == sal_True ); in SetAnyValue()
894 else if( rValue >>= nInt32 ) in SetAnyValue()
896 else if( rValue >>= fDouble ) in SetAnyValue()
898 else if( rValue >>= aString ) in SetAnyValue()
900 else if( rValue >>= aApiDateTime ) in SetAnyValue()