Lines Matching refs:nWID
679 if(aSrcIt->nWID) in SvxItemPropertySet_ObtainSettingsFromPropertySet()
681 uno::Any* pUsrAny = rPropSet.GetUsrAnyForID(aSrcIt->nWID); in SvxItemPropertySet_ObtainSettingsFromPropertySet()
689 if(pEntry->nWID >= OWN_ATTR_VALUE_START && pEntry->nWID <= OWN_ATTR_VALUE_END) in SvxItemPropertySet_ObtainSettingsFromPropertySet()
697 if(rSet.GetPool()->IsWhich(pEntry->nWID)) in SvxItemPropertySet_ObtainSettingsFromPropertySet()
698 rSet.Put(rSet.GetPool()->GetDefaultItem(pEntry->nWID)); in SvxItemPropertySet_ObtainSettingsFromPropertySet()
1544 sal_Bool SAL_CALL SvxShape::SetFillAttribute( sal_Int32 nWID, const OUString& rName ) in SetFillAttribute() argument
1546 SfxItemSet aSet( mpModel->GetItemPool(), (sal_uInt16)nWID, (sal_uInt16)nWID ); in SetFillAttribute()
1548 if( SetFillAttribute( nWID, rName, aSet, mpModel ) ) in SetFillAttribute()
1563 sal_Bool SAL_CALL SvxShape::SetFillAttribute( sal_Int32 nWID, const ::rtl::OUString& rName, SfxItem… in SetFillAttribute() argument
1567 if( !SetFillAttribute( nWID, rName, rSet ) ) in SetFillAttribute()
1573 SvxUnogetInternalNameForItem( (sal_Int16)nWID, rName, aStrName ); in SetFillAttribute()
1575 switch( nWID ) in SetFillAttribute()
1647 if( XATTR_LINEEND == nWID ) in SetFillAttribute()
1695 sal_Bool SAL_CALL SvxShape::SetFillAttribute( sal_Int32 nWID, const OUString& rName, SfxItemSet& rS… in SetFillAttribute() argument
1698 SvxUnogetInternalNameForItem( (sal_Int16)nWID, rName, aName ); in SetFillAttribute()
1702 switch( nWID ) in SetFillAttribute()
1709 if( nWID == XATTR_LINEEND ) in SetFillAttribute()
1731 const sal_uInt32 nCount = pPool->GetItemCount2((sal_uInt16)nWID); in SetFillAttribute()
1736 pItem = (NameOrIndex*)pPool->GetItem2((sal_uInt16)nWID, nSurrogate); in SetFillAttribute()
1781 …DBG_ASSERT( pMap->nWID == SDRATTR_TEXTDIRECTION || pMap->nWID < SDRATTR_NOTPERSIST_FIRST || pMap->… in _setPropertyValue()
1782 …DBG_ASSERT( pMap->nWID < OWN_ATTR_VALUE_START || pMap->nWID > OWN_ATTR_VALUE_END, "Not item proper… in _setPropertyValue()
1784 …sal_Bool bIsNotPersist = pMap->nWID >= SDRATTR_NOTPERSIST_FIRST && pMap->nWID <= SDRATTR_NOTPERSIS… in _setPropertyValue()
1786 if( pMap->nWID == SDRATTR_ECKENRADIUS ) in _setPropertyValue()
1807 pSet = new SfxItemSet( mpModel->GetItemPool(), pMap->nWID, pMap->nWID); in _setPropertyValue()
1810 if( pSet->GetItemState( pMap->nWID ) != SFX_ITEM_SET ) in _setPropertyValue()
1811 pSet->Put(mpObj->GetMergedItem(pMap->nWID)); in _setPropertyValue()
1815 if( pSet->GetItemState( pMap->nWID ) != SFX_ITEM_SET ) in _setPropertyValue()
1824 if( pSet->GetItemState( pMap->nWID ) != SFX_ITEM_SET ) in _setPropertyValue()
1827 if(mpModel->GetItemPool().IsWhich(pMap->nWID)) in _setPropertyValue()
1828 pSet->Put(mpModel->GetItemPool().GetDefaultItem(pMap->nWID)); in _setPropertyValue()
1831 if( pSet->GetItemState( pMap->nWID ) == SFX_ITEM_SET ) in _setPropertyValue()
1864 if(pMap && pMap->nWID) in _setPropertyValue()
1902 …DBG_ASSERT( pMap->nWID == SDRATTR_TEXTDIRECTION || (pMap->nWID < SDRATTR_NOTPERSIST_FIRST || pMap-… in _getPropertyValue()
1903 …DBG_ASSERT( pMap->nWID < OWN_ATTR_VALUE_START || pMap->nWID > OWN_ATTR_VALUE_END, "Not item proper… in _getPropertyValue()
1905 SfxItemSet aSet( mpModel->GetItemPool(), pMap->nWID, pMap->nWID); in _getPropertyValue()
1906 aSet.Put(mpObj->GetMergedItem(pMap->nWID)); in _getPropertyValue()
1913 if(pMap->nWID >= SDRATTR_NOTPERSIST_FIRST && pMap->nWID <= SDRATTR_NOTPERSIST_LAST) in _getPropertyValue()
1923 if(mpModel->GetItemPool().IsWhich(pMap->nWID)) in _getPropertyValue()
1924 aSet.Put(mpModel->GetItemPool().GetDefaultItem(pMap->nWID)); in _getPropertyValue()
1936 if(pMap && pMap->nWID) in _getPropertyValue()
2082 switch(pMap->nWID) in GetAnyForItem()
2187 switch( rSet.GetItemState( pMap->nWID, sal_False ) ) in _getPropertyState()
2207 switch( pMap->nWID ) in _getPropertyState()
2217 NameOrIndex* pItem = (NameOrIndex*)rSet.GetItem((sal_uInt16)pMap->nWID); in _getPropertyState()
2232 NameOrIndex* pItem = (NameOrIndex*)rSet.GetItem((sal_uInt16)pMap->nWID); in _getPropertyState()
2247 switch( pProperty->nWID ) in setPropertyValueImpl()
2363 switch(pProperty->nWID) in setPropertyValueImpl()
2374 pEdgeObj->ConnectToNode( pProperty->nWID == OWN_ATTR_EDGE_START_OBJ, pNode ); in setPropertyValueImpl()
2375 pEdgeObj->setGluePointIndex( pProperty->nWID == OWN_ATTR_EDGE_START_OBJ, -1 ); in setPropertyValueImpl()
2398 pEdgeObj->SetTailPoint( pProperty->nWID == OWN_ATTR_EDGE_START_POS, aPoint ); in setPropertyValueImpl()
2410 pEdgeObj->setGluePointIndex( pProperty->nWID == OWN_ATTR_GLUEID_HEAD, nId ); in setPropertyValueImpl()
2466 pMeasureObj->NbcSetPoint( aPoint, pProperty->nWID == OWN_ATTR_MEASURE_START_POS ? 0L : 1L ); in setPropertyValueImpl()
2668 if( SetFillAttribute( pProperty->nWID, aApiName ) ) in setPropertyValueImpl()
2690 switch( pProperty->nWID ) in getPropertyValueImpl()
2846 switch(pProperty->nWID) in getPropertyValueImpl()
2851 SdrObject* pNode = pEdgeObj->GetConnectedNode(pProperty->nWID == OWN_ATTR_EDGE_START_OBJ); in getPropertyValueImpl()
2865 Point aPoint( pEdgeObj->GetTailPoint( pProperty->nWID == OWN_ATTR_EDGE_START_POS ) ); in getPropertyValueImpl()
2878 rValue <<= pEdgeObj->getGluePointIndex( pProperty->nWID == OWN_ATTR_GLUEID_HEAD ); in getPropertyValueImpl()
2908 Point aPoint( pMeasureObj->GetPoint( pProperty->nWID == OWN_ATTR_MEASURE_START_POS ? 0 : 1 ) ); in getPropertyValueImpl()
3084 if( pProperty->nWID == OWN_ATTR_FILLBMP_MODE ) in getPropertyStateImpl()
3098 else if((( pProperty->nWID >= OWN_ATTR_VALUE_START && pProperty->nWID <= OWN_ATTR_VALUE_END ) || in getPropertyStateImpl()
3099 …( pProperty->nWID >= SDRATTR_NOTPERSIST_FIRST && pProperty->nWID <= SDRATTR_NOTPERSIST_LAST )) && … in getPropertyStateImpl()
3115 if( pProperty->nWID == OWN_ATTR_FILLBMP_MODE ) in setPropertyToDefaultImpl()
3121 else if((pProperty->nWID >= OWN_ATTR_VALUE_START && pProperty->nWID <= OWN_ATTR_VALUE_END ) || in setPropertyToDefaultImpl()
3122 ( pProperty->nWID >= SDRATTR_NOTPERSIST_FIRST && pProperty->nWID <= SDRATTR_NOTPERSIST_LAST )) in setPropertyToDefaultImpl()
3185 mpObj->ClearMergedItem( pProperty->nWID ); in _setPropertyToDefault()
3216 if(( pMap->nWID >= OWN_ATTR_VALUE_START && pMap->nWID <= OWN_ATTR_VALUE_END ) || in _getPropertyDefault()
3217 ( pMap->nWID >= SDRATTR_NOTPERSIST_FIRST && pMap->nWID <= SDRATTR_NOTPERSIST_LAST )) in _getPropertyDefault()
3223 if(!mpModel->GetItemPool().IsWhich(pMap->nWID)) in _getPropertyDefault()
3226 SfxItemSet aSet( mpModel->GetItemPool(), pMap->nWID, pMap->nWID); in _getPropertyDefault()
3227 aSet.Put(mpModel->GetItemPool().GetDefaultItem(pMap->nWID)); in _getPropertyDefault()
4374 if( pProperty->nWID == SDRATTR_TEXTDIRECTION ) in setPropertyValueImpl()
4392 if( pProperty->nWID == SDRATTR_TEXTDIRECTION ) in getPropertyValueImpl()
4481 if(!pMap || !pMap->nWID) in SvxItemPropertySet_getPropertyValue()
4485 …bool bDontConvertNegativeValues = ( pMap->nWID == XATTR_FILLBMP_SIZEX || pMap->nWID == XATTR_FILLB… in SvxItemPropertySet_getPropertyValue()
4486 …return rPropSet.getPropertyValue( pMap, rSet, (pMap->nWID != SDRATTR_XMLATTRIBUTES), bDontConvertN… in SvxItemPropertySet_getPropertyValue()
4491 if(!pMap || !pMap->nWID) in SvxItemPropertySet_setPropertyValue()
4494 …bool bDontConvertNegativeValues = ( pMap->nWID == XATTR_FILLBMP_SIZEX || pMap->nWID == XATTR_FILLB… in SvxItemPropertySet_setPropertyValue()