Lines Matching refs:sName
420 Model::XDocument_t Model::newInstance( const rtl::OUString& sName, in newInstance() argument
435 setInstanceData( aSequence, &sName, &xInstance, &sURL, &bOnce ); in newInstance()
463 OUString sName; in lcl_findInstance() local
464 getInstanceData( pInstances->getItem( n ), &sName, NULL, NULL, NULL ); in lcl_findInstance()
465 bFound = ( sName == rName ); in lcl_findInstance()
511 void Model::removeInstance( const rtl::OUString& sName ) in removeInstance() argument
514 sal_Int32 nPos = lcl_findInstance( mpInstances, sName ); in removeInstance()
532 const OUString& sName ) in newModel() argument
538 && ! xModels->hasByName( sName ) ) in newModel()
543 pModel->setID( sName ); in newModel()
546 xModels->insertByName( sName, makeAny( xModel ) ); in newModel()
570 const OUString& sName ) in removeModel() argument
575 && xModels->hasByName( sName ) ) in removeModel()
577 xModels->removeByName( sName ); in removeModel()
582 const OUString& sName ) in createElement() argument
587 && isValidXMLName( sName ) ) in createElement()
590 xNode.set( xParent->getOwnerDocument()->createElement( sName ), in createElement()
597 const OUString& sName ) in createAttribute() argument
604 && isValidXMLName( sName ) ) in createAttribute()
608 OUString sUniqueName = sName; in createAttribute()
612 sUniqueName = sName + OUString::valueOf( nCount ); in createAttribute()
623 const rtl::OUString& sName ) in renameNode() argument
627 if( xNode->getNodeName() == sName ) in renameNode()
633 && Reference<XElement>(xNode->getParentNode(), UNO_QUERY_THROW)->hasAttribute( sName ) ) in renameNode()
644 Reference<XElement> xElem = xDoc->createElement( sName ); in renameNode()
672 Reference<XAttr> xAttr = xDoc->createAttribute( sName ); in renameNode()
962 sal_Bool Model::isValidXMLName( const OUString& sName ) in isValidXMLName() argument
965 return isValidQName( sName, NULL ); in isValidXMLName()
968 sal_Bool Model::isValidPrefixName( const OUString& sName ) in isValidPrefixName() argument
971 return ::isValidPrefixName( sName, NULL ); in isValidPrefixName()