Lines Matching refs:atom
64 aDesc.atom = it->second; in getAll()
71 void AtomProvider::getRecent( int atom, ::std::list< ::utl::AtomDescription >& atoms ) in getRecent() argument
80 if( it->second > atom ) in getRecent()
82 aDesc.atom = it->second; in getRecent()
98 void AtomProvider::overrideAtom( int atom, const ::rtl::OUString& description ) in overrideAtom() argument
100 m_aAtomMap[ description ] = atom; in overrideAtom()
101 m_aStringMap[ atom ] = description; in overrideAtom()
102 if( m_nAtoms <= atom ) in overrideAtom()
103 m_nAtoms=atom+1; in overrideAtom()
106 sal_Bool AtomProvider::hasAtom( int atom ) const in hasAtom()
108 return m_aStringMap.find( atom ) != m_aStringMap.end() ? sal_True : sal_False; in hasAtom()
158 void MultiAtomProvider::getRecent( int atomClass, int atom, ::std::list< ::utl::AtomDescription >& … in getRecent() argument
163 it->second->getRecent( atom, atoms ); in getRecent()
168 const ::rtl::OUString& MultiAtomProvider::getString( int atomClass, int atom ) const in getString()
173 return it->second->getString( atom ); in getString()
179 sal_Bool MultiAtomProvider::hasAtom( int atomClass, int atom ) const in hasAtom()
182 return it != m_aAtomLists.end() ? it->second->hasAtom( atom ) : sal_False; in hasAtom()
195 void MultiAtomProvider::overrideAtom( int atomClass, int atom, const ::rtl::OUString& description ) in overrideAtom() argument
200 m_aAtomLists[ atomClass ]->overrideAtom( atom, description ); in overrideAtom()
242 aRet.getArray()[i].atom = atoms.back().atom; in getClass()
250 …P_UTIL::AtomDescription > AtomServer::getRecentAtoms( sal_Int32 atomClass, sal_Int32 atom ) throw() in getRecentAtoms() argument
255 m_aProvider.getRecent( atomClass, atom, atoms ); in getRecentAtoms()
260 aRet.getArray()[i].atom = atoms.back().atom; in getRecentAtoms()
315 const ::rtl::OUString& AtomClient::getString( int atomClass, int atom ) in getString() argument
319 if( ! m_aProvider.hasAtom( atomClass, atom ) ) in getString()
333 pDescriptions[i].atom, in getString()
337 if( ! m_aProvider.hasAtom( atomClass, atom ) ) in getString()
343 aReq.getArray()[0].atoms.getArray()[0] = atom; in getString()
354 m_aProvider.overrideAtom( atomClass, atom, aRet.getConstArray()[0] ); in getString()
357 return m_aProvider.getString( atomClass, atom ); in getString()
377 m_aProvider.overrideAtom( nClass, pDesc->atom, pDesc->description ); in updateAtomClasses()