Home
last modified time | relevance | path

Searched refs:nPropId (Results 1 – 25 of 75) sorted by relevance

123

/AOO41X/main/sfx2/source/doc/
H A Doleprops.cxx70 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 );
[all …]
H A Doleprops.hxx213 inline explicit SfxOlePropertyBase( sal_Int32 nPropId, sal_Int32 nPropType ) : in SfxOlePropertyBase() argument
214 mnPropId( nPropId ), mnPropType( nPropType ) {} in SfxOlePropertyBase()
220 inline void SetPropId( sal_Int32 nPropId ) { mnPropId = nPropId; } in SetPropId() argument
257 const String& GetPropertyName( sal_Int32 nPropId ) const;
259 void SetPropertyName( sal_Int32 nPropId, const String& rPropName );
283 SfxOlePropertyRef GetProperty( sal_Int32 nPropId ) const;
286 bool GetInt32Value( sal_Int32& rnValue, sal_Int32 nPropId ) const;
289 bool GetDoubleValue( double& rfValue, sal_Int32 nPropId ) const;
292 bool GetBoolValue( bool& rbValue, sal_Int32 nPropId ) const;
295 bool GetStringValue( String& rValue, sal_Int32 nPropId ) const;
[all …]
H A Ddocinf.cxx233 const sal_Int32 nPropId = rCustomSect.GetFreePropertyId(); in SaveOlePropertySet() local
234 rCustomSect.SetBlobValue( nPropId, *i_pGuid ); in SaveOlePropertySet()
235 rCustomSect.SetPropertyName( nPropId, in SaveOlePropertySet()
241 const sal_Int32 nPropId = rCustomSect.GetFreePropertyId(); in SaveOlePropertySet() local
242 rCustomSect.SetBlobValue( nPropId, *i_pHyperlinks ); in SaveOlePropertySet()
243 rCustomSect.SetPropertyName( nPropId, in SaveOlePropertySet()
260 const sal_Int32 nPropId = rCustomSect.GetFreePropertyId(); in SaveOlePropertySet() local
261 if (rCustomSect.SetAnyValue( nPropId, in SaveOlePropertySet()
263 rCustomSect.SetPropertyName( nPropId, name ); in SaveOlePropertySet()
/AOO41X/main/oox/source/drawingml/
H A Dshapepropertymap.cxx93 sal_Int32 nPropId = maShapePropInfo[ ePropId ]; in setAnyProperty() local
94 if( nPropId < 0 ) return false; in setAnyProperty()
101 return setLineMarker( nPropId, rValue ); in setAnyProperty()
104 return setLineDash( nPropId, rValue ); in setAnyProperty()
107 return setFillGradient( nPropId, rValue ); in setAnyProperty()
110 return setFillBitmapUrl( nPropId, rValue ); in setAnyProperty()
116 operator[]( nPropId ) = rValue; in setAnyProperty()
122 bool ShapePropertyMap::setLineMarker( sal_Int32 nPropId, const Any& rValue ) in setLineMarker() argument
129 return setAnyProperty( nPropId, aNamedMarker.Value ); in setLineMarker()
134 return bInserted && setProperty( nPropId, aNamedMarker.Name ); in setLineMarker()
[all …]
/AOO41X/main/toolkit/source/controls/
H A Dunocontrolmodel.cxx100 static void lcl_ImplMergeFontProperty( FontDescriptor& rFD, sal_uInt16 nPropId, const Any& rValue ) in DECLARE_TABLE()
108 switch ( nPropId ) in DECLARE_TABLE()
217 sal_Bool UnoControlModel::ImplHasProperty( sal_uInt16 nPropId ) const in ImplHasProperty()
219 …if ( ( nPropId >= BASEPROPERTY_FONTDESCRIPTORPART_START ) && ( nPropId <= BASEPROPERTY_FONTDESCRIP… in ImplHasProperty()
220 nPropId = BASEPROPERTY_FONTDESCRIPTOR; in ImplHasProperty()
222 return mpData->Get( nPropId ) ? sal_True : sal_False; in ImplHasProperty()
225 ::com::sun::star::uno::Any UnoControlModel::ImplGetDefaultValue( sal_uInt16 nPropId ) const in ImplGetDefaultValue()
230 (nPropId == BASEPROPERTY_FONTDESCRIPTOR) || in ImplGetDefaultValue()
232 (nPropId >= BASEPROPERTY_FONTDESCRIPTORPART_START) && in ImplGetDefaultValue()
233 (nPropId <= BASEPROPERTY_FONTDESCRIPTORPART_END) in ImplGetDefaultValue()
[all …]
H A Dunocontrols.cxx104 uno::Any UnoControlEditModel::ImplGetDefaultValue( sal_uInt16 nPropId ) const in ImplGetDefaultValue()
108 switch ( nPropId ) in ImplGetDefaultValue()
117 aReturn = UnoControlModel::ImplGetDefaultValue( nPropId ); in ImplGetDefaultValue()
488 uno::Any UnoControlFileControlModel::ImplGetDefaultValue( sal_uInt16 nPropId ) const in ImplGetDefaultValue()
490 if ( nPropId == BASEPROPERTY_DEFAULTCONTROL ) in ImplGetDefaultValue()
496 return UnoControlModel::ImplGetDefaultValue( nPropId ); in ImplGetDefaultValue()
533 uno::Any GraphicControlModel::ImplGetDefaultValue( sal_uInt16 nPropId ) const in ImplGetDefaultValue()
535 if ( nPropId == BASEPROPERTY_GRAPHIC ) in ImplGetDefaultValue()
538 return UnoControlModel::ImplGetDefaultValue( nPropId ); in ImplGetDefaultValue()
657 uno::Any UnoControlButtonModel::ImplGetDefaultValue( sal_uInt16 nPropId ) const in ImplGetDefaultValue()
[all …]
H A Dformattedcontrol.cxx337 Any& rConvertedValue, Any& rOldValue, sal_Int32 nPropId, in convertFastPropertyValue() argument
340 if ( BASEPROPERTY_EFFECTIVE_DEFAULT == nPropId && rValue.hasValue() ) in convertFastPropertyValue()
369 getFastPropertyValue( rOldValue, nPropId ); in convertFastPropertyValue()
375 += GetPropertyName((sal_uInt16)nPropId) ) in convertFastPropertyValue()
381 … return UnoControlModel::convertFastPropertyValue( rConvertedValue, rOldValue, nPropId, rValue ); in convertFastPropertyValue()
385 Any UnoControlFormattedFieldModel::ImplGetDefaultValue( sal_uInt16 nPropId ) const in ImplGetDefaultValue()
388 switch (nPropId) in ImplGetDefaultValue()
403 default : aReturn = UnoControlModel::ImplGetDefaultValue( nPropId ); break; in ImplGetDefaultValue()
/AOO41X/main/extensions/source/propctrlr/
H A Deformspropertyhandler.cxx109 PropertyId nPropId( impl_getPropertyId_throw( _rPropertyName ) ); in getPropertyValue() local
117 switch ( nPropId ) in getPropertyValue()
172 PropertyId nPropId( impl_getPropertyId_throw( _rPropertyName ) ); in setPropertyValue() local
181 switch ( nPropId ) in setPropertyValue()
274 firePropertyChange( _rPropertyName, nPropId, aOldValue, aNewValue ); in setPropertyValue()
336 PropertyId nPropId( m_pInfoService->getPropertyId( _rPropertyName ) ); in convertToPropertyValue() local
339 switch ( nPropId ) in convertToPropertyValue()
369 PropertyId nPropId( m_pInfoService->getPropertyId( _rPropertyName ) ); in convertToControlValue() local
374 switch ( nPropId ) in convertToControlValue()
431 PropertyId nPropId( impl_getPropertyId_throw( _rPropertyName ) ); in describePropertyLine() local
[all …]
H A Dformcomponenthandler.cxx252 const PropertyId nPropId( impl_getPropertyId_throw( _rPropertyName ) ); in impl_getPropertyValue_throw() local
305 impl_normalizePropertyValue_nothrow( aPropertyValue, nPropId ); in impl_getPropertyValue_throw()
330 …PropertyId nPropId( impl_getPropertyId_throw( _rPropertyName ) ); // check if property is known by… in setPropertyValue() local
333 if ( PROPERTY_ID_IMAGE_URL == nPropId && ( _rValue >>= xGrfObj ) ) in setPropertyValue()
340 else if ( PROPERTY_ID_FONT == nPropId ) in setPropertyValue()
501 PropertyId nPropId( impl_getPropertyId_throw( _rPropertyName ) ); in convertToPropertyValue() local
502 Property aProperty( impl_getPropertyFromId_throw( nPropId ) ); in convertToPropertyValue()
527 switch ( nPropId ) in convertToPropertyValue()
570 …if ( nPropId == PROPERTY_ID_IMAGE_URL && sControlValue.equals( String( PcrRes( RID_EMBED_IMAGE_PLA… in convertToPropertyValue()
637 sal_Int32 nPropId = m_pInfoService->getPropertyId( _rPropertyName ); in convertToControlValue() local
[all …]
H A Dpropertyhandler.cxx155 PropertyId nPropId = m_pInfoService->getPropertyId( _rPropertyName ); in convertToPropertyValue() local
163 if ( ( m_pInfoService->getPropertyUIFlags( nPropId ) & PROP_FLAG_ENUM ) != 0 ) in convertToPropertyValue()
168 new DefaultEnumRepresentation( *m_pInfoService, aProperty.Type, nPropId ) ); in convertToPropertyValue()
182 PropertyId nPropId = m_pInfoService->getPropertyId( _rPropertyName ); in convertToControlValue() local
184 if ( ( m_pInfoService->getPropertyUIFlags( nPropId ) & PROP_FLAG_ENUM ) != 0 ) in convertToControlValue()
189 … new DefaultEnumRepresentation( *m_pInfoService, _rPropertyValue.getValueType(), nPropId ) ); in convertToControlValue()
213 PropertyId nPropId( impl_getPropertyId_throw( _rPropertyName ) ); in describePropertyLine() local
214 const Property& rProperty( impl_getPropertyFromId_throw( nPropId ) ); in describePropertyLine()
217 if ( ( m_pInfoService->getPropertyUIFlags( nPropId ) & PROP_FLAG_ENUM ) != 0 ) in describePropertyLine()
220 _rxControlFactory, m_pInfoService->getPropertyEnumRepresentations( nPropId ), in describePropertyLine()
[all …]
H A Dbuttonnavigationhandler.cxx101 PropertyId nPropId( impl_getPropertyId_throw( _rPropertyName ) ); in getPropertyState() local
103 switch ( nPropId ) in getPropertyState()
130 PropertyId nPropId( impl_getPropertyId_throw( _rPropertyName ) ); in getPropertyValue() local
133 switch ( nPropId ) in getPropertyValue()
161 PropertyId nPropId( impl_getPropertyId_throw( _rPropertyName ) ); in setPropertyValue() local
162 switch ( nPropId ) in setPropertyValue()
224 PropertyId nPropId( impl_getPropertyId_throw( _rPropertyName ) ); in onInteractivePropertySelection() local
228 switch ( nPropId ) in onInteractivePropertySelection()
245 PropertyId nPropId( impl_getPropertyId_throw( _rActuatingPropertyName ) ); in actuatingPropertyChanged() local
246 switch ( nPropId ) in actuatingPropertyChanged()
[all …]
H A Dsubmissionhandler.cxx132 PropertyId nPropId( impl_getPropertyId_throw( _rPropertyName ) ); in getPropertyValue() local
140 switch ( nPropId ) in getPropertyValue()
181 PropertyId nPropId( impl_getPropertyId_throw( _rPropertyName ) ); in setPropertyValue() local
188 switch ( nPropId ) in setPropertyValue()
299 PropertyId nPropId( impl_getPropertyId_throw( _rPropertyName ) ); in describePropertyLine() local
300 switch ( nPropId ) in describePropertyLine()
322 aDescriptor.DisplayName = m_pInfoService->getPropertyTranslation( nPropId ); in describePropertyLine()
324 aDescriptor.HelpURL = HelpIdUrl::getHelpURL( m_pInfoService->getPropertyHelpId( nPropId ) ); in describePropertyLine()
367 PropertyId nPropId( m_pInfoService->getPropertyId( _rPropertyName ) ); in convertToPropertyValue() local
368 switch ( nPropId ) in convertToPropertyValue()
[all …]
H A Dcellbindinghandler.cxx244 PropertyId nPropId( impl_getPropertyId_throw( _rPropertyName ) ); in getPropertyValue() local
250 switch ( nPropId ) in getPropertyValue()
290 PropertyId nPropId( impl_getPropertyId_throw( _rPropertyName ) ); in setPropertyValue() local
299 switch ( nPropId ) in setPropertyValue()
347 firePropertyChange( _rPropertyName, nPropId, aOldValue, aNewValue ); in setPropertyValue()
368 PropertyId nPropId( m_pInfoService->getPropertyId( _rPropertyName ) ); in convertToPropertyValue() local
372 switch( nPropId ) in convertToPropertyValue()
417 PropertyId nPropId( m_pInfoService->getPropertyId( _rPropertyName ) ); in convertToControlValue() local
419 switch ( nPropId ) in convertToControlValue()
H A Dxsdvalidationpropertyhandler.cxx113 PropertyId nPropId( impl_getPropertyId_throw( _rPropertyName ) ); in getPropertyValue() local
120 switch ( nPropId ) in getPropertyValue()
143 PropertyId nPropId( impl_getPropertyId_throw( _rPropertyName ) ); in setPropertyValue() local
148 if ( PROPERTY_ID_XSD_DATA_TYPE == nPropId ) in setPropertyValue()
311 PropertyId nPropId( impl_getPropertyId_throw( _rPropertyName ) ); in describePropertyLine() local
314 if ( nPropId != PROPERTY_ID_XSD_DATA_TYPE ) in describePropertyLine()
323 switch ( nPropId ) in describePropertyLine()
430 aDescriptor.DisplayName = m_pInfoService->getPropertyTranslation( nPropId ); in describePropertyLine()
431 aDescriptor.HelpURL = HelpIdUrl::getHelpURL( m_pInfoService->getPropertyHelpId( nPropId ) ); in describePropertyLine()
447 PropertyId nPropId( impl_getPropertyId_throw( _rPropertyName ) ); in onInteractivePropertySelection() local
[all …]
H A Dformgeometryhandler.cxx341 PropertyId nPropId( impl_getPropertyId_throw( _rPropertyName ) ); in getPropertyValue() local
349 switch ( nPropId ) in getPropertyValue()
390 PropertyId nPropId( impl_getPropertyId_throw( _rPropertyName ) ); in setPropertyValue() local
397 switch ( nPropId ) in setPropertyValue()
406 if ( nPropId == PROPERTY_ID_POSITIONX ) in setPropertyValue()
421 if ( nPropId == PROPERTY_ID_WIDTH ) in setPropertyValue()
458 PropertyId nPropId( impl_getPropertyId_throw( _rPropertyName ) ); in describePropertyLine() local
464 switch ( nPropId ) in describePropertyLine()
/AOO41X/main/oox/inc/oox/helper/
H A Dpropertymap.hxx60 static const ::rtl::OUString& getPropertyName( sal_Int32 nPropId );
63 inline bool hasProperty( sal_Int32 nPropId ) const in hasProperty()
64 { return find( nPropId ) != end(); } in hasProperty()
67 const ::com::sun::star::uno::Any* getProperty( sal_Int32 nPropId ) const;
71 … inline bool setAnyProperty( sal_Int32 nPropId, const ::com::sun::star::uno::Any& rValue ) in setAnyProperty() argument
72 … { if( nPropId < 0 ) return false; (*this)[ nPropId ] = rValue; return true; } in setAnyProperty()
77 inline bool setProperty( sal_Int32 nPropId, const Type& rValue ) in setProperty() argument
78 … { if( nPropId < 0 ) return false; (*this)[ nPropId ] <<= rValue; return true; } in setProperty()
H A Dpropertyset.hxx83 bool hasProperty( sal_Int32 nPropId ) const;
89 ::com::sun::star::uno::Any getAnyProperty( sal_Int32 nPropId ) const;
94 inline bool getProperty( Type& orValue, sal_Int32 nPropId ) const in getProperty()
95 { return getAnyProperty( nPropId ) >>= orValue; } in getProperty()
99 inline bool getBoolProperty( sal_Int32 nPropId ) const in getBoolProperty()
100 … { bool bValue = false; return getProperty( bValue, nPropId ) && bValue; } in getBoolProperty()
112 … bool setAnyProperty( sal_Int32 nPropId, const ::com::sun::star::uno::Any& rValue );
116 inline bool setProperty( sal_Int32 nPropId, const Type& rValue ) in setProperty() argument
117 … { return setAnyProperty( nPropId, ::com::sun::star::uno::Any( rValue ) ); } in setProperty()
/AOO41X/main/toolkit/source/helper/
H A Dunopropertyarrayhelper.cxx49 sal_Bool UnoPropertyArrayHelper::ImplHasProperty( sal_uInt16 nPropId ) const in ImplHasProperty()
51 …if ( ( nPropId >= BASEPROPERTY_FONTDESCRIPTORPART_START ) && ( nPropId <= BASEPROPERTY_FONTDESCRIP… in ImplHasProperty()
52 nPropId = BASEPROPERTY_FONTDESCRIPTOR; in ImplHasProperty()
54 return maIDs.Get( nPropId ) ? sal_True : sal_False; in ImplHasProperty()
58 …lPropertyMembersByHandle( ::rtl::OUString * pPropName, sal_Int16 * pAttributes, sal_Int32 nPropId ) in fillPropertyMembersByHandle() argument
60 sal_uInt16 id = sal::static_int_cast< sal_uInt16 >(nPropId); in fillPropertyMembersByHandle()
142 sal_uInt16 nPropId = GetPropertyId( pNames[n] ); in fillHandles() local
143 if ( nPropId && ImplHasProperty( nPropId ) ) in fillHandles()
145 pHandles[n] = nPropId; in fillHandles()
/AOO41X/main/oox/source/ole/
H A Daxcontrol.cxx273 void ControlConverter::convertColor( PropertyMap& rPropMap, sal_Int32 nPropId, sal_uInt32 nOleColor… in convertColor() argument
275 …rPropMap.setProperty( nPropId, OleHelper::decodeOleColor( mrGraphicHelper, nOleColor, mbDefaultCol… in convertColor()
482 sal_Int32 nPropId = bAwtModel ? PROP_State : PROP_DefaultState; in convertAxState() local
484 rPropMap.setProperty( nPropId, nState != API_STATE_UNCHECKED ); in convertAxState()
486 rPropMap.setProperty( nPropId, nState ); in convertAxState()
761 void AxControlModelBase::importProperty( sal_Int32 nPropId, const OUString& rValue ) in importProperty() argument
763 switch( nPropId ) in importProperty()
787 void AxFontDataModel::importProperty( sal_Int32 nPropId, const OUString& rValue ) in importProperty() argument
789 switch( nPropId ) in importProperty()
796 default: AxControlModelBase::importProperty( nPropId, rValue ); in importProperty()
[all …]
/AOO41X/main/oox/inc/oox/ole/
H A Daxcontrol.hxx214 sal_Int32 nPropId,
325 virtual void importProperty( sal_Int32 nPropId, const ::rtl::OUString& rValue );
327 virtual void importPictureData( sal_Int32 nPropId, BinaryInputStream& rInStrm );
444 virtual void importProperty( sal_Int32 nPropId, const ::rtl::OUString& rValue );
455 virtual void importProperty( sal_Int32 nPropId, const ::rtl::OUString& rValue );
477 virtual void importProperty( sal_Int32 nPropId, const ::rtl::OUString& rValue );
478 virtual void importPictureData( sal_Int32 nPropId, BinaryInputStream& rInStrm );
503 virtual void importProperty( sal_Int32 nPropId, const ::rtl::OUString& rValue );
528 virtual void importProperty( sal_Int32 nPropId, const ::rtl::OUString& rValue );
529 virtual void importPictureData( sal_Int32 nPropId, BinaryInputStream& rInStrm );
[all …]
/AOO41X/main/oox/source/helper/
H A Dpropertyset.cxx56 bool PropertySet::hasProperty( sal_Int32 nPropId ) const in hasProperty()
60 const OUString& rPropName = PropertyMap::getPropertyName( nPropId ); in hasProperty()
71 Any PropertySet::getAnyProperty( sal_Int32 nPropId ) const in getAnyProperty()
74 return implGetPropertyValue( aValue, PropertyMap::getPropertyName( nPropId ) ) ? aValue : Any(); in getAnyProperty()
103 bool PropertySet::setAnyProperty( sal_Int32 nPropId, const Any& rValue ) in setAnyProperty() argument
105 return implSetPropertyValue( PropertyMap::getPropertyName( nPropId ), rValue ); in setAnyProperty()
H A Dpropertymap.cxx160 /*static*/ const OUString& PropertyMap::getPropertyName( sal_Int32 nPropId ) in getPropertyName() argument
162 …OSL_ENSURE( (0 <= nPropId) && (nPropId < PROP_COUNT), "PropertyMap::getPropertyName - invalid prop… in getPropertyName()
163 return StaticPropertyNameVector::get()[ nPropId ]; in getPropertyName()
166 const Any* PropertyMap::getProperty( sal_Int32 nPropId ) const in getProperty()
168 const_iterator aIt = find( nPropId ); in getProperty()
/AOO41X/main/oox/source/dump/
H A Doledumper.cxx415 sal_Int32 nPropId = dumpDec< sal_Int32 >( "id", mxPropIds ); in dumpSection() local
417 aPropMap[ nPropId ] = nPropPos; in dumpSection()
449 void OlePropertyStreamObject::dumpProperty( sal_Int32 nPropId, sal_uInt32 nStartPos ) in dumpProperty() argument
451 writePropertyHeader( nPropId, nStartPos ); in dumpProperty()
454 dumpPropertyContents( nPropId ); in dumpProperty()
499 sal_uInt16 OlePropertyStreamObject::dumpPropertyContents( sal_Int32 nPropId ) in dumpPropertyContents() argument
506 case OLEPROP_TYPE_SIMPLE: dumpPropertyValue( nPropId, nBaseType ); break; in dumpPropertyContents()
507 case OLEPROP_TYPE_VECTOR: dumpPropertyVector( nPropId, nBaseType ); break; in dumpPropertyContents()
508 case OLEPROP_TYPE_ARRAY: dumpPropertyArray( nPropId, nBaseType ); break; in dumpPropertyContents()
513 void OlePropertyStreamObject::dumpPropertyValue( sal_Int32 nPropId, sal_uInt16 nBaseType ) in dumpPropertyValue() argument
[all …]
/AOO41X/main/oox/inc/oox/drawingml/
H A Dshapepropertymap.hxx122 … bool setLineMarker( sal_Int32 nPropId, const ::com::sun::star::uno::Any& rValue );
124 bool setLineDash( sal_Int32 nPropId, const ::com::sun::star::uno::Any& rValue );
126 …bool setFillGradient( sal_Int32 nPropId, const ::com::sun::star::uno::Any& rValue );
128 …bool setFillBitmapUrl( sal_Int32 nPropId, const ::com::sun::star::uno::Any& rValue …
/AOO41X/main/oox/inc/oox/dump/
H A Doledumper.hxx136 void dumpProperty( sal_Int32 nPropId, sal_uInt32 nStartPos );
140 sal_uInt16 dumpPropertyContents( sal_Int32 nPropId );
141 void dumpPropertyValue( sal_Int32 nPropId, sal_uInt16 nBaseType );
142 void dumpPropertyVector( sal_Int32 nPropId, sal_uInt16 nBaseType );
143 void dumpPropertyArray( sal_Int32 nPropId, sal_uInt16 nBaseType );
146 void dumpBlob( sal_Int32 nPropId, const String& rName );
156 void writePropertyHeader( sal_Int32 nPropId, sal_uInt32 nStartPos );

123