Lines Matching refs:atomClass
124 sal_Bool MultiAtomProvider::insertAtomClass( int atomClass ) in insertAtomClass() argument
127 m_aAtomLists.find( atomClass ); in insertAtomClass()
130 m_aAtomLists[ atomClass ] = new AtomProvider(); in insertAtomClass()
134 int MultiAtomProvider::getAtom( int atomClass, const ::rtl::OUString& rString, sal_Bool bCreate ) in getAtom() argument
137 m_aAtomLists.find( atomClass ); in getAtom()
144 m_aAtomLists[ atomClass ] = pNewClass = new AtomProvider(); in getAtom()
150 int MultiAtomProvider::getLastAtom( int atomClass ) const in getLastAtom()
153 m_aAtomLists.find( atomClass ); in getLastAtom()
158 void MultiAtomProvider::getRecent( int atomClass, int atom, ::std::list< ::utl::AtomDescription >& … in getRecent() argument
161 m_aAtomLists.find( atomClass ); in getRecent()
168 const ::rtl::OUString& MultiAtomProvider::getString( int atomClass, int atom ) const in getString() argument
171 m_aAtomLists.find( atomClass ); in getString()
179 sal_Bool MultiAtomProvider::hasAtom( int atomClass, int atom ) const in hasAtom() argument
181 …_map< int, AtomProvider*, ::std::hash< int > >::const_iterator it = m_aAtomLists.find( atomClass ); in hasAtom()
185 void MultiAtomProvider::getClass( int atomClass, ::std::list< ::utl::AtomDescription >& atoms) const in getClass() argument
187 …_map< int, AtomProvider*, ::std::hash< int > >::const_iterator it = m_aAtomLists.find( atomClass ); in getClass()
195 void MultiAtomProvider::overrideAtom( int atomClass, int atom, const ::rtl::OUString& description ) in overrideAtom() argument
197 …_map< int, AtomProvider*, ::std::hash< int > >::const_iterator it = m_aAtomLists.find( atomClass ); in overrideAtom()
199 m_aAtomLists[ atomClass ] = new AtomProvider(); in overrideAtom()
200 m_aAtomLists[ atomClass ]->overrideAtom( atom, description ); in overrideAtom()
213 sal_Int32 AtomServer::getAtom( sal_Int32 atomClass, const ::rtl::OUString& description, sal_Bool cr… in getAtom() argument
217 return m_aProvider.getAtom( atomClass, description, create ); in getAtom()
232 Sequence< NMSP_UTIL::AtomDescription > AtomServer::getClass( sal_Int32 atomClass ) throw() in getClass() argument
237 m_aProvider.getClass( atomClass, atoms ); in getClass()
250 Sequence< NMSP_UTIL::AtomDescription > AtomServer::getRecentAtoms( sal_Int32 atomClass, sal_Int32 a… in getRecentAtoms() argument
255 m_aProvider.getRecent( atomClass, atom, atoms ); in getRecentAtoms()
280 …aRet.getArray()[ nStrings++ ] = m_aProvider.getString( rRequest.atomClass, rRequest.atoms.getConst… in getAtomDescriptions()
296 int AtomClient::getAtom( int atomClass, const ::rtl::OUString& description, sal_Bool bCreate ) in getAtom() argument
298 int nAtom = m_aProvider.getAtom( atomClass, description, sal_False ); in getAtom()
303 nAtom = m_xServer->getAtom( atomClass, description, bCreate ); in getAtom()
310 m_aProvider.overrideAtom( atomClass, nAtom, description ); in getAtom()
315 const ::rtl::OUString& AtomClient::getString( int atomClass, int atom ) in getString() argument
319 if( ! m_aProvider.hasAtom( atomClass, atom ) ) in getString()
324 aSeq = m_xServer->getRecentAtoms( atomClass, m_aProvider.getLastAtom( atomClass ) ); in getString()
332 m_aProvider.overrideAtom( atomClass, in getString()
337 if( ! m_aProvider.hasAtom( atomClass, atom ) ) in getString()
341 aReq.getArray()[0].atomClass = atomClass; in getString()
354 m_aProvider.overrideAtom( atomClass, atom, aRet.getConstArray()[0] ); in getString()
357 return m_aProvider.getString( atomClass, atom ); in getString()