Lines Matching refs:pNode
177 SmNode *pNode = GetNumSubNodes() > 0 ? in GetLeftMost() local
180 return pNode ? pNode->GetLeftMost() : this; in GetLeftMost()
189 SmNode *pNode; in SetPhantom() local
192 if (NULL != (pNode = GetSubNode(i))) in SetPhantom()
193 pNode->SetPhantom(bIsPhantom); in SetPhantom()
202 SmNode *pNode; in SetColor() local
205 if (NULL != (pNode = GetSubNode(i))) in SetColor()
206 pNode->SetColor(rColor); in SetColor()
220 SmNode *pNode; in SetAttribut() local
223 if (NULL != (pNode = GetSubNode(i))) in SetAttribut()
224 pNode->SetAttribut(nAttrib); in SetAttribut()
238 SmNode *pNode; in ClearAttribut() local
241 if (NULL != (pNode = GetSubNode(i))) in ClearAttribut()
242 pNode->ClearAttribut(nAttrib); in ClearAttribut()
251 SmNode *pNode; in SetFont() local
254 if (NULL != (pNode = GetSubNode(i))) in SetFont()
255 pNode->SetFont(rFace); in SetFont()
307 SmNode *pNode; in SetFontSize() local
310 if (NULL != (pNode = GetSubNode(i))) in SetFontSize()
311 pNode->SetFontSize(rSize, nType); in SetFontSize()
319 SmNode *pNode; in SetSize() local
322 if (NULL != (pNode = GetSubNode(i))) in SetSize()
323 pNode->SetSize(rSize); in SetSize()
334 SmNode *pNode; in SetRectHorAlign() local
337 if (NULL != (pNode = GetSubNode(i))) in SetRectHorAlign()
338 pNode->SetRectHorAlign(eHorAlign); in SetRectHorAlign()
374 SmNode *pNode; in Prepare() local
377 if (NULL != (pNode = GetSubNode(i))) in Prepare()
378 pNode->Prepare(rFormat, rDocShell); in Prepare()
390 SmNode *pNode; in ToggleDebug() local
393 if (NULL != (pNode = pThis->GetSubNode(i))) in ToggleDebug()
394 pNode->ToggleDebug(); in ToggleDebug()
406 SmNode *pNode; in Move() local
409 if (NULL != (pNode = GetSubNode(i))) in Move()
410 pNode->Move(rPosition); in Move()
416 SmNode *pNode; in Arrange() local
419 if (NULL != (pNode = GetSubNode(i))) in Arrange()
420 pNode->Arrange(rDev, rFormat); in Arrange()
425 SmNode *pNode; in CreateTextFromNode() local
430 if (NULL != (pNode = GetSubNode(i))) in CreateTextFromNode()
431 pNode->CreateTextFromNode(rText); in CreateTextFromNode()
455 const SmNode *pNode; in Draw() local
458 if (NULL != (pNode = GetSubNode(i))) in Draw()
459 { Point aOffset (pNode->GetTopLeft() - GetTopLeft()); in Draw()
460 pNode->Draw(rDev, rPosition + aOffset); in Draw()
485 { const SmNode *pNode = GetSubNode(i); in FindTokenAt() local
487 if (!pNode) in FindTokenAt()
490 const SmNode *pResult = pNode->FindTokenAt(nRow, nCol); in FindTokenAt()
511 { const SmNode *pNode = GetSubNode(i); in FindRectClosestTo() local
513 if (!pNode) in FindRectClosestTo()
517 const SmNode *pFound = pNode->FindRectClosestTo(rPoint); in FindRectClosestTo()
559 const SmNode *pNode = GetSubNode(i); in FindNodeWithAccessibleIndex() local
560 if (!pNode) in FindNodeWithAccessibleIndex()
563 pResult = pNode->FindNodeWithAccessibleIndex(nAccIdx); in FindNodeWithAccessibleIndex()
593 SmNode *pNode = rNode.aSubNodes[i]; in SmStructureNode() local
594 aSubNodes[i] = pNode ? new SmNode( *pNode ) : 0; in SmStructureNode()
601 SmNode *pNode; in ~SmStructureNode() local
604 if (NULL != (pNode = GetSubNode(i))) in ~SmStructureNode()
605 delete pNode; in ~SmStructureNode()
622 SmNode *pNode = rNode.aSubNodes[i]; in operator =() local
623 aSubNodes[i] = pNode ? new SmNode( *pNode ) : 0; in operator =()
672 const SmNode *pNode = ((SmStructureNode *) this)->GetSubNode(i); in GetAccessibleText() local
673 if (pNode) in GetAccessibleText()
675 if (pNode->IsVisible()) in GetAccessibleText()
676 ((SmStructureNode *) pNode)->nAccIndex = rText.Len(); in GetAccessibleText()
677 pNode->GetAccessibleText( rText ); in GetAccessibleText()
717 SmNode *pNode; in CreateTextFromNode() local
722 if (NULL != (pNode = GetSubNode(i))) in CreateTextFromNode()
724 pNode->CreateTextFromNode(rText); in CreateTextFromNode()
726 if (pNode->GetType() == NMATH) in CreateTextFromNode()
747 SmNode *pNode; in Arrange() local
762 if (NULL != (pNode = GetSubNode(i))) in Arrange()
763 { pNode->Arrange(rDev, rFormat); in Arrange()
764 if ((nTmp = pNode->GetItalicWidth()) > nMaxWidth) in Arrange()
771 { if (NULL != (pNode = GetSubNode(i))) in Arrange()
772 { const SmRect &rNodeRect = pNode->GetRect(); in Arrange()
773 const SmNode *pCoNode = pNode->GetLeftMost(); in Arrange()
781 pNode->MoveTo(aPos); in Arrange()
836 SmNode *pNode; in Arrange() local
840 if (NULL != (pNode = GetSubNode(i))) in Arrange()
841 pNode->Arrange(rDev, rFormat); in Arrange()
869 if (NULL != (pNode = GetSubNode(0))) in Arrange()
870 SmRect::operator = (pNode->GetRect()); in Arrange()
873 if (NULL != (pNode = GetSubNode(i))) in Arrange()
875 aPos = pNode->AlignTo(*this, RP_RIGHT, RHA_CENTER, RVA_BASELINE); in Arrange()
880 pNode->MoveTo(aPos); in Arrange()
881 ExtendBy( *pNode, RCP_XOR ); in Arrange()
895 SmNode *pNode = GetLeftMost(); in Arrange() local
896 if (pNode) in Arrange()
897 SetRectHorAlign(pNode->GetRectHorAlign(), sal_False); in Arrange()
1542 SmNode *pNode; in CreateTextFromNode() local
1545 if (NULL != (pNode = GetSubNode(LSUB+1))) in CreateTextFromNode()
1548 pNode->CreateTextFromNode(rText); in CreateTextFromNode()
1550 if (NULL != (pNode = GetSubNode(LSUP+1))) in CreateTextFromNode()
1553 pNode->CreateTextFromNode(rText); in CreateTextFromNode()
1555 if (NULL != (pNode = GetSubNode(CSUB+1))) in CreateTextFromNode()
1558 pNode->CreateTextFromNode(rText); in CreateTextFromNode()
1560 if (NULL != (pNode = GetSubNode(CSUP+1))) in CreateTextFromNode()
1563 pNode->CreateTextFromNode(rText); in CreateTextFromNode()
1565 if (NULL != (pNode = GetSubNode(RSUB+1))) in CreateTextFromNode()
1569 pNode->CreateTextFromNode(rText); in CreateTextFromNode()
1571 if (NULL != (pNode = GetSubNode(RSUP+1))) in CreateTextFromNode()
1575 pNode->CreateTextFromNode(rText); in CreateTextFromNode()
1757 SmNode *pNode = GetSubNode(i); in Arrange() local
1758 pNode->AdaptToY(rDev, nHeight); in Arrange()
1759 pNode->Arrange(rDev, rFormat); in Arrange()
1852 SmNode *pNode = GetSubNode(0); in GetSymbol() local
1853 DBG_ASSERT(pNode, "Sm: NULL pointer!"); in GetSymbol()
1855 if (pNode->GetType() == NSUBSUP) in GetSymbol()
1856 pNode = ((SmSubSupNode *) pNode)->GetBody(); in GetSymbol()
1858 DBG_ASSERT(pNode, "Sm: NULL pointer!"); in GetSymbol()
1859 return pNode; in GetSymbol()
1927 SmNode *pNode = GetSubNode(0); in Arrange() local
1940 pNode->Arrange(rDev, rFormat); in Arrange()
1942 SmRect::operator = (pNode->GetRect()); in Arrange()
2136 SmNode *pNode = GetSubNode(1); in Arrange() local
2137 DBG_ASSERT(pNode, "Sm: SubNode fehlt"); in Arrange()
2141 pNode->SetFontSize(aFontSize, nSizeType); in Arrange()
2146 pNode->SetFont(GetFont()); in Arrange()
2179 pNode->Arrange(rDev, rFormat); in Arrange()
2181 SmRect::operator = (pNode->GetRect()); in Arrange()
2579 SmNode *pNode = GetSubNode(i * nNumCols + j); in CreateTextFromNode() local
2580 pNode->CreateTextFromNode(rText); in CreateTextFromNode()
2596 SmNode *pNode; in Arrange() local
2610 if (NULL != (pNode = GetSubNode(nIdx))) in Arrange()
2612 pNode->Arrange(rDev, rFormat); in Arrange()
2614 pColWidth[nCol] = Max(pColWidth[nCol], pNode->GetItalicWidth()); in Arrange()
2682 if (NULL != (pNode = GetSubNode(i * nNumCols + j))) in Arrange()
2683 pNode->Move(aDelta); in Arrange()
2839 SmNode *pNode; in CreateTextFromNode() local
2844 if (NULL != (pNode = GetSubNode(0))) in CreateTextFromNode()
2847 pNode->CreateTextFromNode(aStr); in CreateTextFromNode()
2908 if (NULL != (pNode = GetSubNode(1))) in CreateTextFromNode()
2909 pNode->CreateTextFromNode(rText); in CreateTextFromNode()