Home
last modified time | relevance | path

Searched refs:pMap (Results 1 – 25 of 111) sorted by relevance

12345

/trunk/main/cppuhelper/source/
H A Dinterfacecontainer.cxx369 t_type2ptr * pMap = (t_type2ptr *)m_pMap; in ~OMultiTypeInterfaceContainerHelper() local
370 t_type2ptr::iterator iter = pMap->begin(); in ~OMultiTypeInterfaceContainerHelper()
371 t_type2ptr::iterator end = pMap->end(); in ~OMultiTypeInterfaceContainerHelper()
379 delete pMap; in ~OMultiTypeInterfaceContainerHelper()
384 t_type2ptr * pMap = (t_type2ptr *)m_pMap; in getContainedTypes() local
388 nSize = pMap->size(); in getContainedTypes()
394 t_type2ptr::iterator iter = pMap->begin(); in getContainedTypes()
395 t_type2ptr::iterator end = pMap->end(); in getContainedTypes()
415 static t_type2ptr::iterator findType(t_type2ptr *pMap, const Type & rKey ) in findType() argument
417 t_type2ptr::iterator iter = pMap->begin(); in findType()
[all …]
/trunk/main/editeng/source/uno/
H A Dunoipset.cxx45 size_t operator()(const SfxItemPropertyMapEntry* pMap) const { return (size_t)pMap; } in operator ()()
58 SvxItemPropertySet::SvxItemPropertySet( const SfxItemPropertyMapEntry* pMap, SfxItemPool& rItemPool… in DECLARE_LIST()
59 : m_aPropertyMap( pMap ), in DECLARE_LIST()
60 _pMap(pMap), mbConvertTwips(bConvertTwips), mrItemPool( rItemPool ) in DECLARE_LIST()
122 uno::Any SvxItemPropertySet::getPropertyValue( const SfxItemPropertySimpleEntry* pMap, const SfxIte… in getPropertyValue() argument
125 if(!pMap || !pMap->nWID) in getPropertyValue()
130 rSet.GetItemState( pMap->nWID, bSearchInParent, &pItem ); in getPropertyValue()
132 pItem = &(pPool->GetDefaultItem( pMap->nWID )); in getPropertyValue()
134 …const SfxMapUnit eMapUnit = pPool ? pPool->GetMetric((sal_uInt16)pMap->nWID) : SFX_MAPUNIT_100TH_M… in getPropertyValue()
135 sal_uInt8 nMemberId = pMap->nMemberId & (~SFX_METRIC_ITEM); in getPropertyValue()
[all …]
H A Dunotext.cxx483 const SfxItemPropertySimpleEntry* pMap = mpPropSet->getPropertyMapEntry(PropertyName ); in _setPropertyValue() local
484 if ( pMap ) in _setPropertyValue()
487 sal_Bool bParaAttrib = (pMap->nWID >= EE_PARA_START) && ( pMap->nWID <= EE_PARA_END ); in _setPropertyValue()
495 setPropertyValue( pMap, aValue, maSelection, aOldSet, aNewSet ); in _setPropertyValue()
519 setPropertyValue( pMap, aValue, maSelection, aSet, aSet ); in _setPropertyValue()
533 void SvxUnoTextRangeBase::setPropertyValue( const SfxItemPropertySimpleEntry* pMap, const uno::Any&… in setPropertyValue() argument
535 if(!SetPropertyValueHelper( rOldSet, pMap, rValue, rNewSet, &rSelection, GetEditSource() )) in setPropertyValue()
539 rNewSet.Put(rOldSet.Get(pMap->nWID)); // altes Item in neuen Set in setPropertyValue()
540 mpPropSet->setPropertyValue(pMap, rValue, rNewSet, false ); in setPropertyValue()
544 …PropertyValueHelper( const SfxItemSet&, const SfxItemPropertySimpleEntry* pMap, const uno::Any& aV… in SetPropertyValueHelper() argument
[all …]
/trunk/main/vcl/source/gdi/
H A Dimpvect.cxx789 ImplVectMap* pMap = ImplExpand( pRAcc, aFindColor ); in ImplVectorize() local
793 if( pMap ) in ImplVectorize()
796 ImplCalculate( pMap, aPolyPoly, cReduce, nFlags ); in ImplVectorize()
797 delete pMap; in ImplVectorize()
849 ImplVectMap* pMap; in ImplVectorize() local
860 pMap = ImplExpand( pRAcc, COL_BLACK ); in ImplVectorize()
866 if( pMap ) in ImplVectorize()
869 ImplCalculate( pMap, rPolyPoly, 0, nFlags ); in ImplVectorize()
870 delete pMap; in ImplVectorize()
976 ImplVectMap* pMap = NULL; in ImplExpand() local
[all …]
/trunk/main/sw/source/core/unocore/
H A DSwXTextDefaults.cxx83 … const SfxItemPropertySimpleEntry *pMap = m_pPropSet->getPropertyMap()->getByName( rPropertyName ); in setPropertyValue() local
84 if (!pMap) in setPropertyValue()
86 if ( pMap->nFlags & PropertyAttribute::READONLY) in setPropertyValue()
89 const SfxPoolItem& rItem = m_pDoc->GetDefault(pMap->nWID); in setPropertyValue()
90 if (RES_PAGEDESC == pMap->nWID && MID_PAGEDESC_PAGEDESCNAME == pMap->nMemberId) in setPropertyValue()
97 else if ((RES_PARATR_DROP == pMap->nWID && MID_DROPCAP_CHAR_STYLE_NAME == pMap->nMemberId) || in setPropertyValue()
98 (RES_TXTATR_CHARFMT == pMap->nWID)) in setPropertyValue()
112 if (RES_PARATR_DROP == pMap->nWID) in setPropertyValue()
136 pNewItem->PutValue( aValue, pMap->nMemberId); in setPropertyValue()
149 … const SfxItemPropertySimpleEntry *pMap = m_pPropSet->getPropertyMap()->getByName( rPropertyName ); in getPropertyValue() local
[all …]
/trunk/main/svx/source/table/
H A Dcell.cxx970 Any Cell::GetAnyForItem( SfxItemSet& aSet, const SfxItemPropertySimpleEntry* pMap ) in GetAnyForItem() argument
972 Any aAny( SvxItemPropertySet_getPropertyValue( *mpPropSet, pMap, aSet ) ); in GetAnyForItem()
974 if( *pMap->pType != aAny.getValueType() ) in GetAnyForItem()
977 …if( ( *pMap->pType == ::getCppuType((const sal_Int16*)0)) && aAny.getValueType() == ::getCppuType(… in GetAnyForItem()
1006 const SfxItemPropertySimpleEntry* pMap = mpPropSet->getPropertyMapEntry(rPropertyName); in setPropertyValue() local
1007 if( pMap ) in setPropertyValue()
1009 if( (pMap->nFlags & PropertyAttribute::READONLY ) != 0 ) in setPropertyValue()
1012 switch( pMap->nWID ) in setPropertyValue()
1086 SfxItemSet aSet( GetModel()->GetItemPool(), pMap->nWID, pMap->nWID); in setPropertyValue()
1087 aSet.Put(mpProperties->GetItem(pMap->nWID)); in setPropertyValue()
[all …]
/trunk/main/cui/source/tabpages/
H A Dswpossizetabpage.cxx366 std::size_t lcl_GetFrmMapCount(const FrmMap* pMap) in lcl_GetFrmMapCount() argument
368 if ( pMap ) in lcl_GetFrmMapCount()
371 if( pMap == aVParaHtmlMap) in lcl_GetFrmMapCount()
373 if( pMap == aVAsCharHtmlMap) in lcl_GetFrmMapCount()
375 if( pMap == aHParaHtmlMap) in lcl_GetFrmMapCount()
377 if( pMap == aHParaHtmlAbsMap) in lcl_GetFrmMapCount()
379 if ( pMap == aVPageMap ) in lcl_GetFrmMapCount()
381 if ( pMap == aVPageHtmlMap ) in lcl_GetFrmMapCount()
383 if ( pMap == aVAsCharMap ) in lcl_GetFrmMapCount()
385 if ( pMap == aVParaMap ) in lcl_GetFrmMapCount()
[all …]
/trunk/main/svx/source/unodraw/
H A Dunoshape.cxx670 SfxItemSet& rSet, uno::Reference< beans::XPropertySet > xSet, const SfxItemPropertyMap* pMap ) in SvxItemPropertySet_ObtainSettingsFromPropertySet() argument
685 const SfxItemPropertySimpleEntry* pEntry = pMap->getByName( aSrcIt->sName ); in SvxItemPropertySet_ObtainSettingsFromPropertySet()
1397 UHashMapEntry* pMap = pSdrShapeIdentifierMap; in getShapeType() local
1398 while ( ( pMap->nId != mpImpl->mnObjId ) && pMap->aIdentifier.getLength() ) in getShapeType()
1399 ++pMap; in getShapeType()
1401 if ( pMap->aIdentifier.getLength() ) in getShapeType()
1403 return pMap->aIdentifier; in getShapeType()
1767 const SfxItemPropertySimpleEntry* pMap = mpPropSet->getPropertyMapEntry(rPropertyName); in _setPropertyValue() local
1771 if( pMap == NULL ) in _setPropertyValue()
1774 if( (pMap->nFlags & beans::PropertyAttribute::READONLY ) != 0 ) in _setPropertyValue()
[all …]
/trunk/main/comphelper/source/property/
H A Dpropertysetinfo.cxx44 void add( PropertyMapEntry* pMap, sal_Int32 nCount = -1 ) throw();
68 void PropertyMapImpl::add( PropertyMapEntry* pMap, sal_Int32 nCount ) throw() in add() argument
74 while( pMap->mpName && ( ( nCount < 0) || ( nCount-- > 0 ) ) ) in add()
76 OUString aName( pMap->mpName, pMap->mnNameLen, RTL_TEXTENCODING_ASCII_US ); in add()
85 if( NULL == pMap->mpType ) in add()
88 pMap->mpType = &::getCppuType((const sal_Int32*)0); in add()
91 maPropertyMap[aName] = pMap; in add()
96 pMap = &pMap[1]; in add()
166 PropertySetInfo::PropertySetInfo( PropertyMapEntry* pMap ) throw() in PropertySetInfo() argument
169 mpMap->add( pMap ); in PropertySetInfo()
[all …]
H A DMasterPropertySetInfo.cxx50 MasterPropertySetInfo::MasterPropertySetInfo( PropertyInfo* pMap ) in MasterPropertySetInfo() argument
53 add ( pMap ); in MasterPropertySetInfo()
67 void MasterPropertySetInfo::add( PropertyInfo* pMap, sal_Int32 nCount, sal_uInt8 nMapId ) in add() argument
76 for ( ; pMap->mpName && ( ( nCount < 0 ) || ( nCount > 0 ) ); --nCount, ++pMap ) in add()
78 OUString aName( pMap->mpName, pMap->mnNameLen, RTL_TEXTENCODING_ASCII_US ); in add()
85 maMap[aName] = new PropertyData ( nMapId, pMap ); in add()
H A DChainablePropertySetInfo.cxx48 ChainablePropertySetInfo::ChainablePropertySetInfo( PropertyInfo* pMap ) in ChainablePropertySetInfo() argument
51 add ( pMap ); in ChainablePropertySetInfo()
59 void ChainablePropertySetInfo::add( PropertyInfo* pMap, sal_Int32 nCount ) in add() argument
68 while( pMap->mpName && ( ( nCount < 0) || ( nCount-- > 0 ) ) ) in add()
70 OUString aName( pMap->mpName, pMap->mnNameLen, RTL_TEXTENCODING_ASCII_US ); in add()
77 maMap[aName] = pMap++; in add()
/trunk/main/filter/source/graphicfilter/itiff/
H A Ditiff.cxx106 sal_uInt8* pMap[ 4 ]; // Temporaere Scanline member in TIFFReader
509 pTIFF->Read( pMap[ np ], nBytesPerRow ); in ReadMap()
567 …if ( aCCIDecom.DecompressScanline( pMap[ np ], nImageWidth * nBitsPerSample * nSamplesPerPixel / n… in ReadMap()
598 … if ( ( aLZWDecom.Decompress( pMap[ np ], nBytesPerRow ) != nBytesPerRow ) || pTIFF->GetError() ) in ReadMap()
626 pdst=pMap[ np ]; in ReadMap()
737 sal_uInt8* pt = pMap[ 0 ]; in ConvertScanline()
770 … nRed = GetBits( pMap[ 0 ], ( nx * nSamplesPerPixel + 0 ) * nBitsPerSample, nBitsPerSample ); in ConvertScanline()
771 … nGreen = GetBits( pMap[ 1 ], ( nx * nSamplesPerPixel + 1 ) * nBitsPerSample, nBitsPerSample ); in ConvertScanline()
772 … nBlue = GetBits( pMap[ 2 ], ( nx * nSamplesPerPixel + 2 ) * nBitsPerSample, nBitsPerSample ); in ConvertScanline()
776 nRed = GetBits( pMap[ 0 ], nx * nBitsPerSample, nBitsPerSample ); in ConvertScanline()
[all …]
/trunk/main/sw/source/core/access/
H A Daccnotexthyperlink.cxx58 ImageMap* pMap = aURL.GetMap(); in getAccessibleActionCount() local
59 if( pMap != NULL ) in getAccessibleActionCount()
61 return pMap->GetIMapObjectCount(); in getAccessibleActionCount()
80 ImageMap* pMap = aURL.GetMap(); in doAccessibleAction() local
81 if( pMap != NULL ) in doAccessibleAction()
83 IMapObject* pMapObj = pMap->GetIMapObject(nIndex); in doAccessibleAction()
119 ImageMap* pMap = aURL.GetMap(); in getAccessibleActionDescription() local
120 if( pMap != NULL ) in getAccessibleActionDescription()
122 IMapObject* pMapObj = pMap->GetIMapObject(nIndex); in getAccessibleActionDescription()
146 ImageMap* pMap = aURL.GetMap(); in getAccessibleActionKeyBinding() local
[all …]
/trunk/main/unotools/source/property/
H A Dpropertysetinfo.cxx45 void add( PropertyMapEntry* pMap ) throw();
69 void PropertyMapImpl::add( PropertyMapEntry* pMap ) throw() in add() argument
71 while( pMap->mpName ) in add()
73 OUString aName( pMap->mpName, pMap->mnNameLen, RTL_TEXTENCODING_ASCII_US ); in add()
82 if( NULL == pMap->mpType ) in add()
85 pMap->mpType = &::getCppuType((const sal_Int32*)0); in add()
88 maPropertyMap[aName] = pMap; in add()
93 pMap = &pMap[1]; in add()
167 void PropertySetInfo::add( PropertyMapEntry* pMap ) throw() in add() argument
169 mpMap->add( pMap ); in add()
/trunk/main/unoxml/source/events/
H A Deventdispatcher.cxx42 ListenerMap *pMap = 0; in addListener() local
46 pMap = new ListenerMap(); in addListener()
47 pTMap->insert(TypeListenerMap::value_type(aType, pMap)); in addListener()
49 pMap = tIter->second; in addListener()
51 if (pMap !=0) in addListener()
52 pMap->insert(ListenerMap::value_type(pNode, aListener)); in addListener()
63 ListenerMap *pMap = tIter->second; in removeListener() local
65 ListenerMap::iterator iter = pMap->find(pNode); in removeListener()
66 while (iter != pMap->end() && iter->first == pNode) in removeListener()
73 pMap->erase(tmp_iter); in removeListener()
[all …]
/trunk/main/xmloff/source/chart/
H A DXMLSymbolTypePropertyHdl.cxx74 const SvXMLSignedEnumMapEntry *pMap ) in lcl_convertEnum() argument
78 while( pMap->eToken != XML_TOKEN_INVALID ) in lcl_convertEnum()
80 if( pMap->nValue == nValue ) in lcl_convertEnum()
82 eTok = pMap->eToken; in lcl_convertEnum()
85 pMap++; in lcl_convertEnum()
97 const SvXMLSignedEnumMapEntry *pMap ) in lcl_convertEnum() argument
99 while( pMap->eToken != XML_TOKEN_INVALID ) in lcl_convertEnum()
101 if( IsXMLToken( rValue, pMap->eToken ) ) in lcl_convertEnum()
103 rEnum = pMap->nValue; in lcl_convertEnum()
106 pMap++; in lcl_convertEnum()
/trunk/main/svx/source/customshapes/
H A DEnhancedCustomShape3d.cxx111 void GetExtrusionDepth( SdrCustomShapeGeometryItem& rItem, const double* pMap, double& rBackwardDep… in GetExtrusionDepth() argument
127 if ( pMap ) in GetExtrusionDepth()
129 double fMap = *pMap; in GetExtrusionDepth()
135 …ShapeGeometryItem& rItem, const rtl::OUString& rPropertyName, double fDefault, const double* pMap ) in GetDouble() argument
141 if ( pMap ) in GetDouble()
142 fRetValue *= *pMap; in GetDouble()
184 const drawing::Position3D& rDefault, const double* pMap ) in GetPosition3D() argument
190 if ( pMap ) in GetPosition3D()
192 aRetValue.PositionX *= *pMap; in GetPosition3D()
193 aRetValue.PositionY *= *pMap; in GetPosition3D()
[all …]
/trunk/main/sw/source/core/txtnode/
H A Dmodeltoviewhelper.cxx33 sal_uInt32 ConvertToViewPosition( const ConversionMap* pMap, sal_uInt32 nModelPos ) in ConvertToViewPosition() argument
37 if ( !pMap ) in ConvertToViewPosition()
42 for ( aIter = pMap->begin(); aIter != pMap->end(); ++aIter ) in ConvertToViewPosition()
61 ModelPosition ConvertToModelPosition( const ConversionMap* pMap, sal_uInt32 nViewPos ) in ConvertToModelPosition() argument
66 if ( !pMap ) in ConvertToModelPosition()
71 for ( aIter = pMap->begin(); aIter != pMap->end(); ++aIter ) in ConvertToModelPosition()
79 if ( aIter == pMap->begin() ) in ConvertToModelPosition()
/trunk/main/canvas/inc/canvas/
H A Dcanvastools.hxx548 ValueMap( const MapEntry* pMap, in ValueMap() argument
551 mpMap( pMap ), in ValueMap()
558 const ::rtl::OString aStr( pMap->maKey ); in ValueMap()
563 pMap->maKey); in ValueMap()
569 for( ::std::size_t i=0; i<mnEntries-1; ++i, ++pMap ) in ValueMap()
571 if( !mapComparator(pMap[0], pMap[1]) && in ValueMap()
572 mapComparator(pMap[1], pMap[0]) ) in ValueMap()
575 pMap[0].maKey, in ValueMap()
576 pMap[1].maKey); in ValueMap()
581 const ::rtl::OString aStr2( pMap[1].maKey ); in ValueMap()
[all …]
/trunk/main/sw/source/filter/xml/
H A Dxmlitmpr.cxx64 SvXMLItemMapEntry* pMap = in getByName() local
67 while( pMap && (pMap->eLocalName != XML_TOKEN_INVALID) ) in getByName()
69 if( pMap->nNameSpace == nNameSpace && in getByName()
70 IsXMLToken( rString, pMap->eLocalName ) ) in getByName()
72 pMap++; in getByName()
75 return (pMap->eLocalName != XML_TOKEN_INVALID) ? pMap : NULL; in getByName()
/trunk/main/sw/source/ui/frmdlg/
H A Dfrmpage.cxx417 size_t lcl_GetFrmMapCount( const FrmMap* pMap) in lcl_GetFrmMapCount() argument
419 if ( pMap ) in lcl_GetFrmMapCount()
422 if( pMap == aVParaHtmlMap) in lcl_GetFrmMapCount()
424 if( pMap == aVAsCharHtmlMap) in lcl_GetFrmMapCount()
426 if( pMap == aHParaHtmlMap) in lcl_GetFrmMapCount()
428 if( pMap == aHParaHtmlAbsMap) in lcl_GetFrmMapCount()
430 if ( pMap == aVPageMap ) in lcl_GetFrmMapCount()
432 if ( pMap == aVPageHtmlMap ) in lcl_GetFrmMapCount()
434 if ( pMap == aVAsCharMap ) in lcl_GetFrmMapCount()
436 if ( pMap == aVParaMap ) in lcl_GetFrmMapCount()
[all …]
/trunk/main/editeng/inc/editeng/
H A Dunoipset.hxx49 …SvxItemPropertySet( const SfxItemPropertyMapEntry *pMap, SfxItemPool& rPool, sal_Bool bConvertTwip…
53 …::com::sun::star::uno::Any getPropertyValue( const SfxItemPropertySimpleEntry* pMap, const SfxItem…
54 …void setPropertyValue( const SfxItemPropertySimpleEntry* pMap, const ::com::sun::star::uno::Any& r…
57 ::com::sun::star::uno::Any getPropertyValue( const SfxItemPropertySimpleEntry* pMap ) const;
58 …void setPropertyValue( const SfxItemPropertySimpleEntry* pMap, const ::com::sun::star::uno::Any& r…
70 …om::sun::star::beans::XPropertySetInfo > getPropertySetInfo( const SfxItemPropertyMapEntry* pMap );
/trunk/main/xmloff/source/core/
H A Dxmluconv.cxx491 const SvXMLEnumStringMapEntry *pMap ) in convertEnum() argument
493 while( pMap->pName ) in convertEnum()
495 if( rValue.equalsAsciiL( pMap->pName, pMap->nNameLength ) ) in convertEnum()
497 rEnum = pMap->nValue; in convertEnum()
500 ++pMap; in convertEnum()
511 const SvXMLEnumMapEntry *pMap ) in convertEnum() argument
513 while( pMap->eToken != XML_TOKEN_INVALID ) in convertEnum()
515 if( IsXMLToken( rValue, pMap->eToken ) ) in convertEnum()
517 rEnum = pMap->nValue; in convertEnum()
520 ++pMap; in convertEnum()
[all …]
/trunk/main/xmloff/source/text/
H A Dtxtprmap.cxx896 XMLPropertyMapEntry *pMap = 0; in lcl_txtprmap_getMap() local
900 pMap = aXMLTextPropMap; in lcl_txtprmap_getMap()
907 pMap = &(aXMLParaPropMap[21]); in lcl_txtprmap_getMap()
908 OSL_ENSURE( pMap->meXMLName == XML_MARGIN, "shape para map changed" ); in lcl_txtprmap_getMap()
911 pMap = aXMLParaPropMap; in lcl_txtprmap_getMap()
914 pMap = aXMLFramePropMap; in lcl_txtprmap_getMap()
917 pMap = &(aXMLFramePropMap[13]); in lcl_txtprmap_getMap()
918 OSL_ENSURE( pMap->meXMLName == XML_MARGIN, "frame map changed" ); in lcl_txtprmap_getMap()
921 pMap = aXMLShapePropMap; in lcl_txtprmap_getMap()
924 pMap = aXMLSectionPropMap; in lcl_txtprmap_getMap()
[all …]
/trunk/main/sw/source/filter/basflt/
H A Dfltini.cxx846 for(const CharSetNameMap *pMap = pStart; pMap->pName; ++pMap) in CharSetFromName() local
848 if(rChrSetStr.EqualsIgnoreCaseAscii(pMap->pName)) in CharSetFromName()
850 nRet = pMap->eCode; in CharSetFromName()
869 for(const CharSetNameMap *pMap = pStart; pMap->pName; ++pMap) in NameFromCharSet() local
871 if (nChrSet == pMap->eCode) in NameFromCharSet()
873 pRet = pMap->pName; in NameFromCharSet()

12345