Lines Matching refs:pBufferNode
85 void SAXEventKeeperImpl::setCurrentBufferNode(BufferNode* pBufferNode) in setCurrentBufferNode() argument
117 if (pBufferNode != m_pCurrentBufferNode) in setCurrentBufferNode()
125 if (pBufferNode->getParent() == NULL) in setCurrentBufferNode()
127 m_pCurrentBufferNode->addChild(pBufferNode); in setCurrentBufferNode()
128 pBufferNode->setParent(m_pCurrentBufferNode); in setCurrentBufferNode()
131 m_pCurrentBufferNode = pBufferNode; in setCurrentBufferNode()
165 BufferNode* pBufferNode = NULL; in addNewElementMarkBuffers() local
179 pBufferNode = m_pCurrentBufferNode; in addNewElementMarkBuffers()
183 pBufferNode = new BufferNode(m_xXMLDocument->getCurrentElement()); in addNewElementMarkBuffers()
188 pBufferNode->setBlocker(m_pNewBlocker); in addNewElementMarkBuffers()
197 m_pCurrentBlockingBufferNode = pBufferNode; in addNewElementMarkBuffers()
214 pBufferNode->addElementCollector(*ii); in addNewElementMarkBuffers()
221 return pBufferNode; in addNewElementMarkBuffers()
333 BufferNode* pBufferNode, sal_Int32 nIndent) const in printBufferNode() argument
376 if (pBufferNode == m_pCurrentBufferNode) in printBufferNode()
381 if (pBufferNode == m_pCurrentBlockingBufferNode) in printBufferNode()
387 rc += m_xXMLDocument->getNodeName(pBufferNode->getXMLElement()); in printBufferNode()
389 BufferNode* pParent = (BufferNode*)pBufferNode->getParent(); in printBufferNode()
398 rc += pBufferNode->printChildren(); in printBufferNode()
401 ElementMark * pBlocker = pBufferNode->getBlocker(); in printBufferNode()
412 std::vector< const BufferNode* >* vChildren = pBufferNode->getChildren(); in printBufferNode()
425 SAXEventKeeperImpl::collectChildWorkingElement(BufferNode* pBufferNode) const in collectChildWorkingElement()
452 std::vector< const BufferNode* >* vChildren = pBufferNode->getChildren(); in collectChildWorkingElement()
472 BufferNode* pBufferNode, bool bClearRoot) const in smashBufferNode() argument
513 if (!pBufferNode->hasAnything()) in smashBufferNode()
515 BufferNode* pParent = (BufferNode*)pBufferNode->getParent(); in smashBufferNode()
562 bIsBlockInside = (NULL != pBufferNode->isAncestor(m_pCurrentBlockingBufferNode)); in smashBufferNode()
568 bIsBlockingAfterward = pBufferNode->isPrevious(m_pCurrentBlockingBufferNode); in smashBufferNode()
585 aChildElements = collectChildWorkingElement(pBufferNode); in smashBufferNode()
591 m_xXMLDocument->clearUselessData(pBufferNode->getXMLElement(), in smashBufferNode()
601 m_xXMLDocument->collapse( pBufferNode->getXMLElement() ); in smashBufferNode()
605 sal_Int32 nIndex = pParent->indexOfChild(pBufferNode); in smashBufferNode()
607 std::vector< const BufferNode* >* vChildren = pBufferNode->getChildren(); in smashBufferNode()
608 pParent->removeChild(pBufferNode); in smashBufferNode()
609 pBufferNode->setParent(NULL); in smashBufferNode()
624 delete pBufferNode; in smashBufferNode()
676 void SAXEventKeeperImpl::diffuse(BufferNode* pBufferNode) const in diffuse()
705 BufferNode* pParent = pBufferNode; in diffuse()
767 BufferNode* pBufferNode = pElementCollector->getBufferNode(); in releaseElementMarkBuffer() local
768 pBufferNode->removeElementCollector(pElementCollector); in releaseElementMarkBuffer()
772 pBufferNode->notifyBranch(); in releaseElementMarkBuffer()
777 pBufferNode->notifyAncestor(); in releaseElementMarkBuffer()
790 diffuse(pBufferNode); in releaseElementMarkBuffer()
791 smashBufferNode(pBufferNode, false); in releaseElementMarkBuffer()
801 BufferNode *pBufferNode = pElementMark->getBufferNode(); in releaseElementMarkBuffer() local
802 pBufferNode->setBlocker(NULL); in releaseElementMarkBuffer()
808 if (m_pCurrentBlockingBufferNode == pBufferNode) in releaseElementMarkBuffer()
814 m_pCurrentBlockingBufferNode = findNextBlockingBufferNode(pBufferNode); in releaseElementMarkBuffer()
824 m_pCurrentBufferNode = pBufferNode; in releaseElementMarkBuffer()
832 pBufferNode->getXMLElement(), in releaseElementMarkBuffer()
860 diffuse(pBufferNode); in releaseElementMarkBuffer()
861 smashBufferNode(pBufferNode, true); in releaseElementMarkBuffer()
1071 BufferNode* pBufferNode = pElementMark->getBufferNode(); in setElement() local
1072 if (pBufferNode != NULL) in setElement()
1074 bool bIsCurrent = m_xXMLDocument->isCurrent(pBufferNode->getXMLElement()); in setElement()
1075 pBufferNode->setXMLElement(aElement); in setElement()
1278 BufferNode* pBufferNode = addNewElementMarkBuffers(); in startElement() local
1279 if (pBufferNode != NULL) in startElement()
1281 setCurrentBufferNode(pBufferNode); in startElement()