Lines Matching refs:m_aCurToken
515 m_aCurToken.nRow = m_Row; in NextToken()
516 m_aCurToken.nCol = nRealStart - m_nColOff + 1; in NextToken()
521 m_aCurToken.eType = TEND; in NextToken()
522 m_aCurToken.cMathChar = '\0'; in NextToken()
523 m_aCurToken.nGroup = 0; in NextToken()
524 m_aCurToken.nLevel = 0; in NextToken()
525 m_aCurToken.aText.Erase(); in NextToken()
532 m_aCurToken.eType = TNUMBER; in NextToken()
533 m_aCurToken.cMathChar = '\0'; in NextToken()
534 m_aCurToken.nGroup = 0; in NextToken()
535 m_aCurToken.nLevel = 5; in NextToken()
536 …m_aCurToken.aText = m_aBufferString.Copy( nRealStart, sal::static_int_cast< xub_StrLen >(n) ); in NextToken()
547 m_aCurToken.eType = TTEXT; in NextToken()
548 m_aCurToken.cMathChar = '\0'; in NextToken()
549 m_aCurToken.nGroup = 0; in NextToken()
550 m_aCurToken.nLevel = 5; in NextToken()
551 m_aCurToken.aText = aRes.DequotedNameOrString; in NextToken()
552 m_aCurToken.nRow = m_Row; in NextToken()
553 m_aCurToken.nCol = nRealStart - m_nColOff + 2; in NextToken()
564 m_aCurToken.eType = pEntry->eType; in NextToken()
565 m_aCurToken.cMathChar = pEntry->cMathChar; in NextToken()
566 m_aCurToken.nGroup = pEntry->nGroup; in NextToken()
567 m_aCurToken.nLevel = pEntry->nLevel; in NextToken()
568 m_aCurToken.aText.AssignAscii( pEntry->pIdent ); in NextToken()
572 m_aCurToken.eType = TIDENT; in NextToken()
573 m_aCurToken.cMathChar = '\0'; in NextToken()
574 m_aCurToken.nGroup = 0; in NextToken()
575 m_aCurToken.nLevel = 5; in NextToken()
576 m_aCurToken.aText = aName; in NextToken()
588 m_aCurToken.eType = TRSUB; in NextToken()
589 m_aCurToken.cMathChar = '\0'; in NextToken()
590 m_aCurToken.nGroup = TGPOWER; in NextToken()
591 m_aCurToken.nLevel = 0; in NextToken()
592 m_aCurToken.aText.AssignAscii( "_" ); in NextToken()
611 m_aCurToken.eType = TLL; in NextToken()
612 m_aCurToken.cMathChar = MS_LL; in NextToken()
613 m_aCurToken.nGroup = TGRELATION; in NextToken()
614 m_aCurToken.nLevel = 0; in NextToken()
615 m_aCurToken.aText.AssignAscii( "<<" ); in NextToken()
622 m_aCurToken.eType = TLE; in NextToken()
623 m_aCurToken.cMathChar = MS_LE; in NextToken()
624 m_aCurToken.nGroup = TGRELATION; in NextToken()
625 m_aCurToken.nLevel = 0; in NextToken()
626 m_aCurToken.aText.AssignAscii( "<=" ); in NextToken()
633 m_aCurToken.eType = TNEQ; in NextToken()
634 m_aCurToken.cMathChar = MS_NEQ; in NextToken()
635 m_aCurToken.nGroup = TGRELATION; in NextToken()
636 m_aCurToken.nLevel = 0; in NextToken()
637 m_aCurToken.aText.AssignAscii( "<>" ); in NextToken()
644 m_aCurToken.eType = TPLACE; in NextToken()
645 m_aCurToken.cMathChar = MS_PLACE; in NextToken()
646 m_aCurToken.nGroup = 0; in NextToken()
647 m_aCurToken.nLevel = 5; in NextToken()
648 m_aCurToken.aText.AssignAscii( "<?>" ); in NextToken()
654 m_aCurToken.eType = TLT; in NextToken()
655 m_aCurToken.cMathChar = MS_LT; in NextToken()
656 m_aCurToken.nGroup = TGRELATION; in NextToken()
657 m_aCurToken.nLevel = 0; in NextToken()
658 m_aCurToken.aText.AssignAscii( "<" ); in NextToken()
667 m_aCurToken.eType = TGE; in NextToken()
668 m_aCurToken.cMathChar = MS_GE; in NextToken()
669 m_aCurToken.nGroup = TGRELATION; in NextToken()
670 m_aCurToken.nLevel = 0; in NextToken()
671 m_aCurToken.aText.AssignAscii( ">=" ); in NextToken()
678 m_aCurToken.eType = TGG; in NextToken()
679 m_aCurToken.cMathChar = MS_GG; in NextToken()
680 m_aCurToken.nGroup = TGRELATION; in NextToken()
681 m_aCurToken.nLevel = 0; in NextToken()
682 m_aCurToken.aText.AssignAscii( ">>" ); in NextToken()
688 m_aCurToken.eType = TGT; in NextToken()
689 m_aCurToken.cMathChar = MS_GT; in NextToken()
690 m_aCurToken.nGroup = TGRELATION; in NextToken()
691 m_aCurToken.nLevel = 0; in NextToken()
692 m_aCurToken.aText.AssignAscii( ">" ); in NextToken()
734 m_aCurToken.eType = TTEXT; in NextToken()
735 m_aCurToken.cMathChar = '\0'; in NextToken()
736 m_aCurToken.nGroup = 0; in NextToken()
737 m_aCurToken.nLevel = 5; in NextToken()
738 m_aCurToken.aText = String(); in NextToken()
739 m_aCurToken.nRow = sal::static_int_cast< xub_StrLen >(m_Row); in NextToken()
740 m_aCurToken.nCol = nTmpStart - m_nColOff; in NextToken()
746 m_aCurToken.eType = TSPECIAL; in NextToken()
747 …m_aCurToken.aText = m_aBufferString.Copy( sal::static_int_cast< xub_StrLen >(nTmpStart-1), n+… in NextToken()
764 m_aCurToken.eType = TLBRACKET; in NextToken()
765 m_aCurToken.cMathChar = MS_LBRACKET; in NextToken()
766 m_aCurToken.nGroup = TGLBRACES; in NextToken()
767 m_aCurToken.nLevel = 5; in NextToken()
768 m_aCurToken.aText.AssignAscii( "[" ); in NextToken()
773 m_aCurToken.eType = TESCAPE; in NextToken()
774 m_aCurToken.cMathChar = '\0'; in NextToken()
775 m_aCurToken.nGroup = 0; in NextToken()
776 m_aCurToken.nLevel = 5; in NextToken()
777 m_aCurToken.aText.AssignAscii( "\\" ); in NextToken()
782 m_aCurToken.eType = TRBRACKET; in NextToken()
783 m_aCurToken.cMathChar = MS_RBRACKET; in NextToken()
784 m_aCurToken.nGroup = TGRBRACES; in NextToken()
785 m_aCurToken.nLevel = 0; in NextToken()
786 m_aCurToken.aText.AssignAscii( "]" ); in NextToken()
791 m_aCurToken.eType = TRSUP; in NextToken()
792 m_aCurToken.cMathChar = '\0'; in NextToken()
793 m_aCurToken.nGroup = TGPOWER; in NextToken()
794 m_aCurToken.nLevel = 0; in NextToken()
795 m_aCurToken.aText.AssignAscii( "^" ); in NextToken()
800 m_aCurToken.eType = TSBLANK; in NextToken()
801 m_aCurToken.cMathChar = '\0'; in NextToken()
802 m_aCurToken.nGroup = TGBLANK; in NextToken()
803 m_aCurToken.nLevel = 5; in NextToken()
804 m_aCurToken.aText.AssignAscii( "`" ); in NextToken()
809 m_aCurToken.eType = TLGROUP; in NextToken()
810 m_aCurToken.cMathChar = MS_LBRACE; in NextToken()
811 m_aCurToken.nGroup = 0; in NextToken()
812 m_aCurToken.nLevel = 5; in NextToken()
813 m_aCurToken.aText.AssignAscii( "{" ); in NextToken()
818 m_aCurToken.eType = TOR; in NextToken()
819 m_aCurToken.cMathChar = MS_OR; in NextToken()
820 m_aCurToken.nGroup = TGSUM; in NextToken()
821 m_aCurToken.nLevel = 0; in NextToken()
822 m_aCurToken.aText.AssignAscii( "|" ); in NextToken()
827 m_aCurToken.eType = TRGROUP; in NextToken()
828 m_aCurToken.cMathChar = MS_RBRACE; in NextToken()
829 m_aCurToken.nGroup = 0; in NextToken()
830 m_aCurToken.nLevel = 0; in NextToken()
831 m_aCurToken.aText.AssignAscii( "}" ); in NextToken()
836 m_aCurToken.eType = TBLANK; in NextToken()
837 m_aCurToken.cMathChar = '\0'; in NextToken()
838 m_aCurToken.nGroup = TGBLANK; in NextToken()
839 m_aCurToken.nLevel = 5; in NextToken()
840 m_aCurToken.aText.AssignAscii( "~" ); in NextToken()
848 m_aCurToken.eType = TDPOUND; in NextToken()
849 m_aCurToken.cMathChar = '\0'; in NextToken()
850 m_aCurToken.nGroup = 0; in NextToken()
851 m_aCurToken.nLevel = 0; in NextToken()
852 m_aCurToken.aText.AssignAscii( "##" ); in NextToken()
858 m_aCurToken.eType = TPOUND; in NextToken()
859 m_aCurToken.cMathChar = '\0'; in NextToken()
860 m_aCurToken.nGroup = 0; in NextToken()
861 m_aCurToken.nLevel = 0; in NextToken()
862 m_aCurToken.aText.AssignAscii( "#" ); in NextToken()
868 m_aCurToken.eType = TAND; in NextToken()
869 m_aCurToken.cMathChar = MS_AND; in NextToken()
870 m_aCurToken.nGroup = TGPRODUCT; in NextToken()
871 m_aCurToken.nLevel = 0; in NextToken()
872 m_aCurToken.aText.AssignAscii( "&" ); in NextToken()
877 m_aCurToken.eType = TLPARENT; in NextToken()
878 m_aCurToken.cMathChar = MS_LPARENT; in NextToken()
879 m_aCurToken.nGroup = TGLBRACES; in NextToken()
880 m_aCurToken.nLevel = 5; //! 0 to continue expression in NextToken()
881 m_aCurToken.aText.AssignAscii( "(" ); in NextToken()
886 m_aCurToken.eType = TRPARENT; in NextToken()
887 m_aCurToken.cMathChar = MS_RPARENT; in NextToken()
888 m_aCurToken.nGroup = TGRBRACES; in NextToken()
889 m_aCurToken.nLevel = 0; //! 0 to terminate expression in NextToken()
890 m_aCurToken.aText.AssignAscii( ")" ); in NextToken()
895 m_aCurToken.eType = TMULTIPLY; in NextToken()
896 m_aCurToken.cMathChar = MS_MULTIPLY; in NextToken()
897 m_aCurToken.nGroup = TGPRODUCT; in NextToken()
898 m_aCurToken.nLevel = 0; in NextToken()
899 m_aCurToken.aText.AssignAscii( "*" ); in NextToken()
907 m_aCurToken.eType = TPLUSMINUS; in NextToken()
908 m_aCurToken.cMathChar = MS_PLUSMINUS; in NextToken()
909 m_aCurToken.nGroup = TGUNOPER | TGSUM; in NextToken()
910 m_aCurToken.nLevel = 5; in NextToken()
911 m_aCurToken.aText.AssignAscii( "+-" ); in NextToken()
917 m_aCurToken.eType = TPLUS; in NextToken()
918 m_aCurToken.cMathChar = MS_PLUS; in NextToken()
919 m_aCurToken.nGroup = TGUNOPER | TGSUM; in NextToken()
920 m_aCurToken.nLevel = 5; in NextToken()
921 m_aCurToken.aText.AssignAscii( "+" ); in NextToken()
930 m_aCurToken.eType = TMINUSPLUS; in NextToken()
931 m_aCurToken.cMathChar = MS_MINUSPLUS; in NextToken()
932 m_aCurToken.nGroup = TGUNOPER | TGSUM; in NextToken()
933 m_aCurToken.nLevel = 5; in NextToken()
934 m_aCurToken.aText.AssignAscii( "-+" ); in NextToken()
940 m_aCurToken.eType = TMINUS; in NextToken()
941 m_aCurToken.cMathChar = MS_MINUS; in NextToken()
942 m_aCurToken.nGroup = TGUNOPER | TGSUM; in NextToken()
943 m_aCurToken.nLevel = 5; in NextToken()
944 m_aCurToken.aText.AssignAscii( "-" ); in NextToken()
953 m_aCurToken.eType = TNUMBER; in NextToken()
954 m_aCurToken.cMathChar = '\0'; in NextToken()
955 m_aCurToken.nGroup = 0; in NextToken()
956 m_aCurToken.nLevel = 5; in NextToken()
966 … m_aCurToken.aText = m_aBufferString.Copy( sal::static_int_cast< xub_StrLen >(nTxtStart), in NextToken()
973 m_aCurToken.eType = TDIVIDEBY; in NextToken()
974 m_aCurToken.cMathChar = MS_SLASH; in NextToken()
975 m_aCurToken.nGroup = TGPRODUCT; in NextToken()
976 m_aCurToken.nLevel = 0; in NextToken()
977 m_aCurToken.aText.AssignAscii( "/" ); in NextToken()
982 m_aCurToken.eType = TASSIGN; in NextToken()
983 m_aCurToken.cMathChar = MS_ASSIGN; in NextToken()
984 m_aCurToken.nGroup = TGRELATION; in NextToken()
985 m_aCurToken.nLevel = 0; in NextToken()
986 m_aCurToken.aText.AssignAscii( "=" ); in NextToken()
999 m_aCurToken.eType = TCHARACTER; in NextToken()
1000 m_aCurToken.cMathChar = '\0'; in NextToken()
1001 m_aCurToken.nGroup = 0; in NextToken()
1002 m_aCurToken.nLevel = 5; in NextToken()
1003 m_aCurToken.aText = m_aBufferString.Copy( nRealStart, 1 ); in NextToken()
1008 if (TEND != m_aCurToken.eType) in NextToken()
1023 while (m_aCurToken.eType == TNEWLINE) in Table()
1029 if (m_aCurToken.eType != TEND) in Table()
1039 SmStructureNode *pSNode = new SmTableNode(m_aCurToken); in Table()
1067 m_aBufferString.Erase(m_nBufferIndex, m_aCurToken.aText.Len()); in Align()
1070 pSNode = new SmAlignNode(m_aCurToken); in Align()
1077 pSNode = new SmAlignNode(m_aCurToken); in Align()
1111 if (m_aCurToken.eType != TEND && m_aCurToken.eType != TNEWLINE) in Line()
1117 while (m_aCurToken.eType != TEND && m_aCurToken.eType != TNEWLINE) in Line()
1126 SmStructureNode *pSNode = new SmLineNode(m_aCurToken); in Line()
1153 while (m_aCurToken.nLevel >= 4) in Expression()
1159 SmExpressionNode *pSNode = new SmExpressionNode(m_aCurToken); in Expression()
1171 SmStructureNode *pSNode = new SmBinHorNode(m_aCurToken); in Relation()
1190 SmStructureNode *pSNode = new SmBinHorNode(m_aCurToken); in Sum()
1214 SmTokenType eType = m_aCurToken.eType; in Product()
1218 pSNode = new SmBinVerNode(m_aCurToken); in Product()
1219 pOper = new SmRectangleNode(m_aCurToken); in Product()
1224 pSNode = new SmBinHorNode(m_aCurToken); in Product()
1234 pSNode = new SmVerticalBraceNode(m_aCurToken); in Product()
1235 pOper = new SmMathSymbolNode(m_aCurToken); in Product()
1243 SmBinDiagonalNode *pSTmp = new SmBinDiagonalNode(m_aCurToken); in Product()
1247 pOper = new SmPolyLineNode(m_aCurToken); in Product()
1255 pSNode = new SmBinHorNode(m_aCurToken); in Product()
1282 SmSubSupNode *pNode = new SmSubSupNode(m_aCurToken); in SubSup()
1300 { SmTokenType eType (m_aCurToken.eType); in SubSup()
1344 m_aNodeStack.Push(new SmMathSymbolNode(m_aCurToken)); in OpSubSup()
1365 SmBlankNode *pBlankNode = new SmBlankNode(m_aCurToken); in Blank()
1369 pBlankNode->IncreaseBy(m_aCurToken); in Blank()
1374 if ( m_aCurToken.eType == TNEWLINE || in Blank()
1375 (m_aCurToken.eType == TEND && SM_MOD()->GetConfig()->IsIgnoreSpacesRight()) ) in Blank()
1386 switch (m_aCurToken.eType) in Term()
1395 bool bNoSpace = m_aCurToken.eType == TNOSPACE; in Term()
1398 m_aNodeStack.Push(new SmExpressionNode(m_aCurToken)); in Term()
1401 if (m_aCurToken.eType != TLGROUP) in Term()
1411 if (m_aCurToken.eType == TRGROUP) in Term()
1415 SmStructureNode *pSNode = new SmExpressionNode(m_aCurToken); in Term()
1424 if (m_aCurToken.eType != TRGROUP) in Term()
1443 m_aNodeStack.Push(new SmTextNode(m_aCurToken, FNT_TEXT)); in Term()
1448 m_aNodeStack.Push(new SmTextNode(m_aCurToken, FNT_VARIABLE)); in Term()
1452 m_aNodeStack.Push(new SmTextNode(m_aCurToken, FNT_NUMBER)); in Term()
1489 m_aNodeStack.Push(new SmMathSymbolNode(m_aCurToken)); in Term()
1494 m_aNodeStack.Push(new SmPlaceNode(m_aCurToken)); in Term()
1572 if (m_aCurToken.eType == TLPARENT) in Term()
1598 switch (m_aCurToken.eType) in Escape()
1623 SmNode *pNode = new SmMathSymbolNode(m_aCurToken); in Escape()
1633 { SmStructureNode *pSNode = new SmOperNode(m_aCurToken); in Operator()
1639 SubSup(m_aCurToken.nGroup); in Operator()
1653 SmTokenType eType (m_aCurToken.eType); in Oper()
1667 pNode = new SmMathSymbolNode(m_aCurToken); in Oper()
1684 m_aCurToken.aText.AssignAscii( pLim ); in Oper()
1685 pNode = new SmTextNode(m_aCurToken, FNT_TEXT); in Oper()
1691 pNode = new SmMathSymbolNode(m_aCurToken); in Oper()
1697 DBG_ASSERT(m_aCurToken.eType == TSPECIAL, "Sm: falsches Token"); in Oper()
1698 pNode = new SmGlyphSpecialNode(m_aCurToken); in Oper()
1714 SmToken aNodeToken = m_aCurToken; in UnOper()
1715 SmTokenType eType = m_aCurToken.eType; in UnOper()
1800 SmStructureNode *pSNode = new SmAttributNode(m_aCurToken); in Attribut()
1805 switch (m_aCurToken.eType) in Attribut()
1809 pAttr = new SmRectangleNode(m_aCurToken); in Attribut()
1816 pAttr = new SmMathSymbolNode(m_aCurToken); in Attribut()
1821 pAttr = new SmMathSymbolNode(m_aCurToken); in Attribut()
1836 switch (m_aCurToken.eType) in FontAttribut()
1843 m_aNodeStack.Push(new SmFontNode(m_aCurToken)); in FontAttribut()
1867 DBG_ASSERT(m_aCurToken.eType == TCOLOR, "Sm : Ooops..."); in Color()
1875 { aToken = m_aCurToken; in Color()
1880 } while (m_aCurToken.eType == TCOLOR); in Color()
1888 DBG_ASSERT(m_aCurToken.eType == TFONT, "Sm : Ooops..."); in Font()
1896 { aToken = m_aCurToken; in Font()
1901 } while (m_aCurToken.eType == TFONT); in Font()
1931 DBG_ASSERT(m_aCurToken.eType == TSIZE, "Sm : Ooops..."); in FontSize()
1934 SmFontNode *pFontNode = new SmFontNode(m_aCurToken); in FontSize()
1938 switch (m_aCurToken.eType) in FontSize()
1955 if (m_aCurToken.eType != TNUMBER) in FontSize()
1965 if (lcl_IsNumber( m_aCurToken.aText )) in FontSize()
1968 if ((fTmp = m_aCurToken.aText.ToDouble()) != 0.0) in FontSize()
2000 DBG_ASSERT(m_aCurToken.eType == TLEFT || TokenInGroup(TGLBRACES), in Brace()
2003 SmStructureNode *pSNode = new SmBraceNode(m_aCurToken); in Brace()
2010 if (m_aCurToken.eType == TLEFT) in Brace()
2018 pLeft = new SmMathSymbolNode(m_aCurToken); in Brace()
2024 if (m_aCurToken.eType == TRIGHT) in Brace()
2030 pRight = new SmMathSymbolNode(m_aCurToken); in Brace()
2046 pLeft = new SmMathSymbolNode(m_aCurToken); in Brace()
2067 if (m_aCurToken.eType == eExpectedType) in Brace()
2069 pRight = new SmMathSymbolNode(m_aCurToken); in Brace()
2099 SmStructureNode *pBody = new SmBracebodyNode(m_aCurToken); in Bracebody()
2108 if (m_aCurToken.eType == TMLINE) in Bracebody()
2110 m_aNodeStack.Push(new SmMathSymbolNode(m_aCurToken)); in Bracebody()
2114 else if (m_aCurToken.eType != TRIGHT) in Bracebody()
2118 if (m_aCurToken.eType != TMLINE && m_aCurToken.eType != TRIGHT) in Bracebody()
2121 } while (m_aCurToken.eType != TEND && m_aCurToken.eType != TRIGHT); in Bracebody()
2127 if (m_aCurToken.eType == TMLINE) in Bracebody()
2129 m_aNodeStack.Push(new SmMathSymbolNode(m_aCurToken)); in Bracebody()
2137 if (m_aCurToken.eType != TMLINE && !TokenInGroup(TGRBRACES)) in Bracebody()
2140 } while (m_aCurToken.eType != TEND && !TokenInGroup(TGRBRACES)); in Bracebody()
2156 switch (m_aCurToken.eType) in Function()
2181 m_aNodeStack.Push(new SmTextNode(m_aCurToken, FNT_FUNCTION)); in Function()
2194 SmStructureNode *pSNode = new SmTableNode(m_aCurToken); in Binom()
2215 if (m_aCurToken.eType == TLGROUP) in Stack()
2225 while (m_aCurToken.eType == TPOUND); in Stack()
2232 if (m_aCurToken.eType != TRGROUP) in Stack()
2237 SmStructureNode *pSNode = new SmTableNode(m_aCurToken); in Stack()
2251 if (m_aCurToken.eType == TLGROUP) in Matrix()
2261 while (m_aCurToken.eType == TPOUND); in Matrix()
2265 while (m_aCurToken.eType == TDPOUND) in Matrix()
2273 if (m_aCurToken.eType == TPOUND) in Matrix()
2292 if (m_aCurToken.eType != TRGROUP) in Matrix()
2297 SmMatrixNode *pMNode = new SmMatrixNode(m_aCurToken); in Matrix()
2310 String &rName = m_aCurToken.aText; in Special()
2378 const String aSymbolName( m_aCurToken.aText.Copy( 1 ) ); in Special()
2382 m_aNodeStack.Push(new SmSpecialNode(m_aCurToken)); in Special()
2389 m_aNodeStack.Push(new SmGlyphSpecialNode(m_aCurToken)); in GlyphSpecial()
2396 SmStructureNode *pSNode = new SmExpressionNode(m_aCurToken); in Error()
2397 SmErrorNode *pErr = new SmErrorNode(eError, m_aCurToken); in Error()