Lines Matching refs:i_nIndex
209 ::rtl::OUString DataSupplier::queryContentIdentifierString( sal_uInt32 i_nIndex ) in queryContentIdentifierString() argument
213 if ( i_nIndex < m_pImpl->m_aResults.size() ) in queryContentIdentifierString()
215 const ::rtl::OUString sId = m_pImpl->m_aResults[ i_nIndex ].sId; in queryContentIdentifierString()
225 Reference< XContentIdentifier > DataSupplier::queryContentIdentifier( sal_uInt32 i_nIndex ) in queryContentIdentifier() argument
229 if ( i_nIndex < m_pImpl->m_aResults.size() ) in queryContentIdentifier()
231 Reference< XContentIdentifier > xId( m_pImpl->m_aResults[ i_nIndex ].xId ); in queryContentIdentifier()
236 ::rtl::OUString sId = queryContentIdentifierString( i_nIndex ); in queryContentIdentifier()
240 m_pImpl->m_aResults[ i_nIndex ].xId = xId; in queryContentIdentifier()
248 Reference< XContent > DataSupplier::queryContent( sal_uInt32 i_nIndex ) in queryContent() argument
251 ENSURE_OR_RETURN( i_nIndex < m_pImpl->m_aResults.size(), "illegal index!", NULL ); in queryContent()
254 ::rtl::Reference< Content > pContent( m_pImpl->m_aResults[ i_nIndex ].pContent ); in queryContent()
258 Reference< XContentIdentifier > xId( queryContentIdentifier( i_nIndex ) ); in queryContent()
266 m_pImpl->m_aResults[ i_nIndex ].pContent = pContent; in queryContent()
280 sal_Bool DataSupplier::getResult( sal_uInt32 i_nIndex ) in getResult() argument
284 if ( m_pImpl->m_aResults.size() > i_nIndex ) in getResult()
311 Reference< XRow > DataSupplier::queryPropertyValues( sal_uInt32 i_nIndex ) in queryPropertyValues() argument
314 …ENSURE_OR_RETURN( i_nIndex < m_pImpl->m_aResults.size(), "DataSupplier::queryPropertyValues: illeg… in queryPropertyValues()
316 Reference< XRow > xRow = m_pImpl->m_aResults[ i_nIndex ].xRow; in queryPropertyValues()
320 ENSURE_OR_RETURN( queryContent( i_nIndex ).is(), "could not retrieve the content", NULL ); in queryPropertyValues()
326 const ::rtl::OUString& rId( m_pImpl->m_aResults[ i_nIndex ].sId ); in queryPropertyValues()
338 xRow = m_pImpl->m_aResults[ i_nIndex ].pContent->getPropertyValues( in queryPropertyValues()
347 m_pImpl->m_aResults[ i_nIndex ].xRow = xRow; in queryPropertyValues()
352 void DataSupplier::releasePropertyValues( sal_uInt32 i_nIndex ) in releasePropertyValues() argument
356 if ( i_nIndex < m_pImpl->m_aResults.size() ) in releasePropertyValues()
357 m_pImpl->m_aResults[ i_nIndex ].xRow.clear(); in releasePropertyValues()