Lines Matching refs:nPropId
70 explicit SfxOleInt32Property( sal_Int32 nPropId, sal_Int32 nValue = 0 );
89 explicit SfxOleDoubleProperty( sal_Int32 nPropId, double fValue = 0.0 );
108 explicit SfxOleBoolProperty( sal_Int32 nPropId, bool bValue = false );
128 sal_Int32 nPropId, sal_Int32 nPropType,
131 sal_Int32 nPropId, sal_Int32 nPropType,
134 sal_Int32 nPropId, sal_Int32 nPropType,
137 sal_Int32 nPropId, sal_Int32 nPropType,
154 sal_Int32 nPropId, const SfxOleTextEncoding& rTextEnc );
156 sal_Int32 nPropId, const SfxOleTextEncoding& rTextEnc,
170 explicit SfxOleString16Property( sal_Int32 nPropId );
171 explicit SfxOleString16Property( sal_Int32 nPropId, const String& rValue );
184 explicit SfxOleFileTimeProperty( sal_Int32 nPropId );
186 … explicit SfxOleFileTimeProperty( sal_Int32 nPropId, const util::DateTime& rDateTime );
210 explicit SfxOleThumbnailProperty( sal_Int32 nPropId,
233 explicit SfxOleBlobProperty( sal_Int32 nPropId,
420 SfxOleInt32Property::SfxOleInt32Property( sal_Int32 nPropId, sal_Int32 nValue ) : in SfxOleInt32Property() argument
421 SfxOlePropertyBase( nPropId, PROPTYPE_INT32 ), in SfxOleInt32Property()
438 SfxOleDoubleProperty::SfxOleDoubleProperty( sal_Int32 nPropId, double fValue ) : in SfxOleDoubleProperty() argument
439 SfxOlePropertyBase( nPropId, PROPTYPE_DOUBLE ), in SfxOleDoubleProperty()
456 SfxOleBoolProperty::SfxOleBoolProperty( sal_Int32 nPropId, bool bValue ) : in SfxOleBoolProperty() argument
457 SfxOlePropertyBase( nPropId, PROPTYPE_BOOL ), in SfxOleBoolProperty()
477 sal_Int32 nPropId, sal_Int32 nPropType, const SfxOleTextEncoding& rTextEnc ) : in SfxOleStringPropertyBase() argument
478 SfxOlePropertyBase( nPropId, nPropType ), in SfxOleStringPropertyBase()
484 …sal_Int32 nPropId, sal_Int32 nPropType, const SfxOleTextEncoding& rTextEnc, const String& rValue )… in SfxOleStringPropertyBase() argument
485 SfxOlePropertyBase( nPropId, nPropType ), in SfxOleStringPropertyBase()
492 sal_Int32 nPropId, sal_Int32 nPropType, rtl_TextEncoding eTextEnc ) : in SfxOleStringPropertyBase() argument
493 SfxOlePropertyBase( nPropId, nPropType ), in SfxOleStringPropertyBase()
499 sal_Int32 nPropId, sal_Int32 nPropType, rtl_TextEncoding eTextEnc, const String& rValue ) : in SfxOleStringPropertyBase() argument
500 SfxOlePropertyBase( nPropId, nPropType ), in SfxOleStringPropertyBase()
509 sal_Int32 nPropId, const SfxOleTextEncoding& rTextEnc ) : in SfxOleString8Property() argument
510 SfxOleStringPropertyBase( nPropId, PROPTYPE_STRING8, rTextEnc ) in SfxOleString8Property()
515 sal_Int32 nPropId, const SfxOleTextEncoding& rTextEnc, const String& rValue ) : in SfxOleString8Property() argument
516 SfxOleStringPropertyBase( nPropId, PROPTYPE_STRING8, rTextEnc, rValue ) in SfxOleString8Property()
532 SfxOleString16Property::SfxOleString16Property( sal_Int32 nPropId ) : in SfxOleString16Property() argument
533 SfxOleStringPropertyBase( nPropId, PROPTYPE_STRING16, RTL_TEXTENCODING_UCS2 ) in SfxOleString16Property()
537 SfxOleString16Property::SfxOleString16Property( sal_Int32 nPropId, const String& rValue ) : in SfxOleString16Property() argument
538 SfxOleStringPropertyBase( nPropId, PROPTYPE_STRING16, RTL_TEXTENCODING_UCS2, rValue ) in SfxOleString16Property()
554 SfxOleFileTimeProperty::SfxOleFileTimeProperty( sal_Int32 nPropId ) : in SfxOleFileTimeProperty() argument
555 SfxOlePropertyBase( nPropId, PROPTYPE_FILETIME ) in SfxOleFileTimeProperty()
559 SfxOleFileTimeProperty::SfxOleFileTimeProperty( sal_Int32 nPropId, const util::DateTime& rDateTime … in SfxOleFileTimeProperty() argument
560 SfxOlePropertyBase( nPropId, PROPTYPE_FILETIME ), in SfxOleFileTimeProperty()
612 sal_Int32 nPropId, const uno::Sequence<sal_uInt8> & i_rData) : in SfxOleThumbnailProperty() argument
613 SfxOlePropertyBase( nPropId, PROPTYPE_CLIPFMT ), in SfxOleThumbnailProperty()
661 SfxOleBlobProperty::SfxOleBlobProperty( sal_Int32 nPropId, in SfxOleBlobProperty() argument
663 SfxOlePropertyBase( nPropId, PROPTYPE_BLOB ), in SfxOleBlobProperty()
692 const String& SfxOleDictionaryProperty::GetPropertyName( sal_Int32 nPropId ) const in GetPropertyName()
694 SfxOlePropNameMap::const_iterator aIt = maPropNameMap.find( nPropId ); in GetPropertyName()
698 void SfxOleDictionaryProperty::SetPropertyName( sal_Int32 nPropId, const String& rPropName ) in SetPropertyName() argument
700 maPropNameMap[ nPropId ] = rPropName; in SetPropertyName()
713 sal_Int32 nPropId; in ImplLoad() local
714 rStrm >> nPropId; in ImplLoad()
716 maPropNameMap[ nPropId ] = LoadString8( rStrm ); in ImplLoad()
740 SfxOlePropertyRef SfxOleSection::GetProperty( sal_Int32 nPropId ) const in GetProperty()
743 SfxOlePropMap::const_iterator aIt = maPropMap.find( nPropId ); in GetProperty()
749 bool SfxOleSection::GetInt32Value( sal_Int32& rnValue, sal_Int32 nPropId ) const in GetInt32Value()
751 SfxOlePropertyRef xProp = GetProperty( nPropId ); in GetInt32Value()
759 bool SfxOleSection::GetDoubleValue( double& rfValue, sal_Int32 nPropId ) const in GetDoubleValue()
761 SfxOlePropertyRef xProp = GetProperty( nPropId ); in GetDoubleValue()
769 bool SfxOleSection::GetBoolValue( bool& rbValue, sal_Int32 nPropId ) const in GetBoolValue()
771 SfxOlePropertyRef xProp = GetProperty( nPropId ); in GetBoolValue()
779 bool SfxOleSection::GetStringValue( String& rValue, sal_Int32 nPropId ) const in GetStringValue()
781 SfxOlePropertyRef xProp = GetProperty( nPropId ); in GetStringValue()
789 bool SfxOleSection::GetFileTimeValue( util::DateTime& rValue, sal_Int32 nPropId ) const in GetFileTimeValue()
791 SfxOlePropertyRef xProp = GetProperty( nPropId ); in GetFileTimeValue()
810 void SfxOleSection::SetInt32Value( sal_Int32 nPropId, sal_Int32 nValue ) in SetInt32Value() argument
812 SetProperty( SfxOlePropertyRef( new SfxOleInt32Property( nPropId, nValue ) ) ); in SetInt32Value()
815 void SfxOleSection::SetDoubleValue( sal_Int32 nPropId, double fValue ) in SetDoubleValue() argument
817 SetProperty( SfxOlePropertyRef( new SfxOleDoubleProperty( nPropId, fValue ) ) ); in SetDoubleValue()
820 void SfxOleSection::SetBoolValue( sal_Int32 nPropId, bool bValue ) in SetBoolValue() argument
822 SetProperty( SfxOlePropertyRef( new SfxOleBoolProperty( nPropId, bValue ) ) ); in SetBoolValue()
825 bool SfxOleSection::SetStringValue( sal_Int32 nPropId, const String& rValue, bool bSkipEmpty ) in SetStringValue() argument
829 … SetProperty( SfxOlePropertyRef( new SfxOleString8Property( nPropId, maCodePageProp, rValue ) ) ); in SetStringValue()
833 void SfxOleSection::SetFileTimeValue( sal_Int32 nPropId, const util::DateTime& rValue ) in SetFileTimeValue() argument
836 …SetProperty( SfxOlePropertyRef( new SfxOleFileTimeProperty( nPropId, TIMESTAMP_INVALID_UTILDATETIM… in SetFileTimeValue()
838 SetProperty( SfxOlePropertyRef( new SfxOleFileTimeProperty( nPropId, rValue ) ) ); in SetFileTimeValue()
841 void SfxOleSection::SetThumbnailValue( sal_Int32 nPropId, in SetThumbnailValue() argument
844 SfxOleThumbnailProperty* pThumbnail = new SfxOleThumbnailProperty( nPropId, i_rData ); in SetThumbnailValue()
850 void SfxOleSection::SetBlobValue( sal_Int32 nPropId, in SetBlobValue() argument
853 SfxOleBlobProperty* pBlob( new SfxOleBlobProperty( nPropId, i_rData ) ); in SetBlobValue()
860 Any SfxOleSection::GetAnyValue( sal_Int32 nPropId ) const in GetAnyValue()
869 if( GetInt32Value( nInt32, nPropId ) ) in GetAnyValue()
871 else if( GetDoubleValue( fDouble, nPropId ) ) in GetAnyValue()
873 else if( GetBoolValue( bBool, nPropId ) ) in GetAnyValue()
875 else if( GetStringValue( aString, nPropId ) ) in GetAnyValue()
877 else if( GetFileTimeValue( aApiDateTime, nPropId ) ) in GetAnyValue()
884 bool SfxOleSection::SetAnyValue( sal_Int32 nPropId, const Any& rValue ) in SetAnyValue() argument
893 SetBoolValue( nPropId, ::comphelper::getBOOL( rValue ) == sal_True ); in SetAnyValue()
895 SetInt32Value( nPropId, nInt32 ); in SetAnyValue()
897 SetDoubleValue( nPropId, fDouble ); in SetAnyValue()
899 bInserted = SetStringValue( nPropId, aString ); in SetAnyValue()
902 SetFileTimeValue( nPropId, aApiDateTime ); in SetAnyValue()
909 const String& SfxOleSection::GetPropertyName( sal_Int32 nPropId ) const in GetPropertyName()
911 return maDictProp.GetPropertyName( nPropId ); in GetPropertyName()
914 void SfxOleSection::SetPropertyName( sal_Int32 nPropId, const String& rPropName ) in SetPropertyName() argument
916 maDictProp.SetPropertyName( nPropId, rPropName ); in SetPropertyName()
944 sal_Int32 nPropId; in ImplLoad() local
946 rStrm >> nPropId >> nPropPos; in ImplLoad()
947 aPropPosMap[ nPropId ] = nPropPos; in ImplLoad()
1026 void SfxOleSection::LoadProperty( SvStream& rStrm, sal_Int32 nPropId ) in LoadProperty() argument
1036 xProp.reset( new SfxOleInt32Property( nPropId ) ); in LoadProperty()
1039 xProp.reset( new SfxOleDoubleProperty( nPropId ) ); in LoadProperty()
1042 xProp.reset( new SfxOleBoolProperty( nPropId ) ); in LoadProperty()
1045 xProp.reset( new SfxOleString8Property( nPropId, maCodePageProp ) ); in LoadProperty()
1048 xProp.reset( new SfxOleString16Property( nPropId ) ); in LoadProperty()
1051 xProp.reset( new SfxOleFileTimeProperty( nPropId ) ); in LoadProperty()
1058 maPropMap[ nPropId ] = xProp; in LoadProperty()