Lines Matching refs:nAttr

84 		for( sal_uInt16 nAttr = 0; nAttr < nAttrCount; nAttr++ )  in getIndexByName()  local
86 if( mpContainer->GetAttrLName(nAttr) == aName && in getIndexByName()
87 mpContainer->GetAttrPrefix(nAttr).getLength() == 0L ) in getIndexByName()
88 return nAttr; in getIndexByName()
96 for( sal_uInt16 nAttr = 0; nAttr < nAttrCount; nAttr++ ) in getIndexByName() local
98 if( mpContainer->GetAttrLName(nAttr) == aLName && in getIndexByName()
99 mpContainer->GetAttrPrefix(nAttr) == aPrefix ) in getIndexByName()
100 return nAttr; in getIndexByName()
151 sal_uInt16 nAttr = getIndexByName(aName ); in getByName() local
153 if( nAttr == USHRT_MAX ) in getByName()
157 aData.Namespace = mpContainer->GetAttrNamespace(nAttr); in getByName()
159 aData.Value = mpContainer->GetAttrValue(nAttr); in getByName()
173 for( sal_uInt16 nAttr = 0; nAttr < nAttrCount; nAttr++ ) in getElementNames() local
175 OUStringBuffer sBuffer( mpContainer->GetAttrPrefix(nAttr) ); in getElementNames()
178 sBuffer.append( mpContainer->GetAttrLName(nAttr) ); in getElementNames()
196 sal_uInt16 nAttr = getIndexByName(aName ); in replaceByName() local
197 if( nAttr == USHRT_MAX ) in replaceByName()
210 if( mpContainer->SetAt( nAttr, aPrefix, aLName, pData->Value ) ) in replaceByName()
215 if( mpContainer->SetAt( nAttr, aPrefix, pData->Namespace, aLName, pData->Value ) ) in replaceByName()
223 if( mpContainer->SetAt( nAttr, aName, pData->Value ) ) in replaceByName()
239 sal_uInt16 nAttr = getIndexByName(aName ); in insertByName() local
240 if( nAttr != USHRT_MAX ) in insertByName()
275 sal_uInt16 nAttr = getIndexByName(Name); in removeByName() local
276 if( nAttr == USHRT_MAX ) in removeByName()
279 mpContainer->Remove( nAttr ); in removeByName()