Lines Matching refs:m_aCurToken
525 m_aCurToken.nRow = m_Row; in NextToken()
526 m_aCurToken.nCol = nRealStart - m_nColOff + 1; in NextToken()
531 m_aCurToken.eType = TEND; in NextToken()
532 m_aCurToken.cMathChar = '\0'; in NextToken()
533 m_aCurToken.nGroup = 0; in NextToken()
534 m_aCurToken.nLevel = 0; in NextToken()
535 m_aCurToken.aText.Erase(); in NextToken()
542 m_aCurToken.eType = TNUMBER; in NextToken()
543 m_aCurToken.cMathChar = '\0'; in NextToken()
544 m_aCurToken.nGroup = 0; in NextToken()
545 m_aCurToken.nLevel = 5; in NextToken()
546 …m_aCurToken.aText = m_aBufferString.Copy( nRealStart, sal::static_int_cast< xub_StrLen >(n) ); in NextToken()
557 m_aCurToken.eType = TTEXT; in NextToken()
558 m_aCurToken.cMathChar = '\0'; in NextToken()
559 m_aCurToken.nGroup = 0; in NextToken()
560 m_aCurToken.nLevel = 5; in NextToken()
561 m_aCurToken.aText = aRes.DequotedNameOrString; in NextToken()
562 m_aCurToken.nRow = m_Row; in NextToken()
563 m_aCurToken.nCol = nRealStart - m_nColOff + 2; in NextToken()
574 m_aCurToken.eType = pEntry->eType; in NextToken()
575 m_aCurToken.cMathChar = pEntry->cMathChar; in NextToken()
576 m_aCurToken.nGroup = pEntry->nGroup; in NextToken()
577 m_aCurToken.nLevel = pEntry->nLevel; in NextToken()
578 m_aCurToken.aText.AssignAscii( pEntry->pIdent ); in NextToken()
582 m_aCurToken.eType = TIDENT; in NextToken()
583 m_aCurToken.cMathChar = '\0'; in NextToken()
584 m_aCurToken.nGroup = 0; in NextToken()
585 m_aCurToken.nLevel = 5; in NextToken()
586 m_aCurToken.aText = aName; in NextToken()
598 m_aCurToken.eType = TRSUB; in NextToken()
599 m_aCurToken.cMathChar = '\0'; in NextToken()
600 m_aCurToken.nGroup = TGPOWER; in NextToken()
601 m_aCurToken.nLevel = 0; in NextToken()
602 m_aCurToken.aText.AssignAscii( "_" ); in NextToken()
621 m_aCurToken.eType = TLL; in NextToken()
622 m_aCurToken.cMathChar = MS_LL; in NextToken()
623 m_aCurToken.nGroup = TGRELATION; in NextToken()
624 m_aCurToken.nLevel = 0; in NextToken()
625 m_aCurToken.aText.AssignAscii( "<<" ); in NextToken()
632 m_aCurToken.eType = TLE; in NextToken()
633 m_aCurToken.cMathChar = MS_LE; in NextToken()
634 m_aCurToken.nGroup = TGRELATION; in NextToken()
635 m_aCurToken.nLevel = 0; in NextToken()
636 m_aCurToken.aText.AssignAscii( "<=" ); in NextToken()
643 m_aCurToken.eType = TNEQ; in NextToken()
644 m_aCurToken.cMathChar = MS_NEQ; in NextToken()
645 m_aCurToken.nGroup = TGRELATION; in NextToken()
646 m_aCurToken.nLevel = 0; in NextToken()
647 m_aCurToken.aText.AssignAscii( "<>" ); in NextToken()
654 m_aCurToken.eType = TPLACE; in NextToken()
655 m_aCurToken.cMathChar = MS_PLACE; in NextToken()
656 m_aCurToken.nGroup = 0; in NextToken()
657 m_aCurToken.nLevel = 5; in NextToken()
658 m_aCurToken.aText.AssignAscii( "<?>" ); in NextToken()
664 m_aCurToken.eType = TLT; in NextToken()
665 m_aCurToken.cMathChar = MS_LT; in NextToken()
666 m_aCurToken.nGroup = TGRELATION; in NextToken()
667 m_aCurToken.nLevel = 0; in NextToken()
668 m_aCurToken.aText.AssignAscii( "<" ); in NextToken()
677 m_aCurToken.eType = TGE; in NextToken()
678 m_aCurToken.cMathChar = MS_GE; in NextToken()
679 m_aCurToken.nGroup = TGRELATION; in NextToken()
680 m_aCurToken.nLevel = 0; in NextToken()
681 m_aCurToken.aText.AssignAscii( ">=" ); in NextToken()
688 m_aCurToken.eType = TGG; in NextToken()
689 m_aCurToken.cMathChar = MS_GG; in NextToken()
690 m_aCurToken.nGroup = TGRELATION; in NextToken()
691 m_aCurToken.nLevel = 0; in NextToken()
692 m_aCurToken.aText.AssignAscii( ">>" ); in NextToken()
698 m_aCurToken.eType = TGT; in NextToken()
699 m_aCurToken.cMathChar = MS_GT; in NextToken()
700 m_aCurToken.nGroup = TGRELATION; in NextToken()
701 m_aCurToken.nLevel = 0; in NextToken()
702 m_aCurToken.aText.AssignAscii( ">" ); in NextToken()
744 m_aCurToken.eType = TTEXT; in NextToken()
745 m_aCurToken.cMathChar = '\0'; in NextToken()
746 m_aCurToken.nGroup = 0; in NextToken()
747 m_aCurToken.nLevel = 5; in NextToken()
748 m_aCurToken.aText = String(); in NextToken()
749 m_aCurToken.nRow = sal::static_int_cast< xub_StrLen >(m_Row); in NextToken()
750 m_aCurToken.nCol = nTmpStart - m_nColOff; in NextToken()
756 m_aCurToken.eType = TSPECIAL; in NextToken()
757 …m_aCurToken.aText = m_aBufferString.Copy( sal::static_int_cast< xub_StrLen >(nTmpStart-1), n+… in NextToken()
774 m_aCurToken.eType = TLBRACKET; in NextToken()
775 m_aCurToken.cMathChar = MS_LBRACKET; in NextToken()
776 m_aCurToken.nGroup = TGLBRACES; in NextToken()
777 m_aCurToken.nLevel = 5; in NextToken()
778 m_aCurToken.aText.AssignAscii( "[" ); in NextToken()
783 m_aCurToken.eType = TESCAPE; in NextToken()
784 m_aCurToken.cMathChar = '\0'; in NextToken()
785 m_aCurToken.nGroup = 0; in NextToken()
786 m_aCurToken.nLevel = 5; in NextToken()
787 m_aCurToken.aText.AssignAscii( "\\" ); in NextToken()
792 m_aCurToken.eType = TRBRACKET; in NextToken()
793 m_aCurToken.cMathChar = MS_RBRACKET; in NextToken()
794 m_aCurToken.nGroup = TGRBRACES; in NextToken()
795 m_aCurToken.nLevel = 0; in NextToken()
796 m_aCurToken.aText.AssignAscii( "]" ); in NextToken()
801 m_aCurToken.eType = TRSUP; in NextToken()
802 m_aCurToken.cMathChar = '\0'; in NextToken()
803 m_aCurToken.nGroup = TGPOWER; in NextToken()
804 m_aCurToken.nLevel = 0; in NextToken()
805 m_aCurToken.aText.AssignAscii( "^" ); in NextToken()
810 m_aCurToken.eType = TSBLANK; in NextToken()
811 m_aCurToken.cMathChar = '\0'; in NextToken()
812 m_aCurToken.nGroup = TGBLANK; in NextToken()
813 m_aCurToken.nLevel = 5; in NextToken()
814 m_aCurToken.aText.AssignAscii( "`" ); in NextToken()
819 m_aCurToken.eType = TLGROUP; in NextToken()
820 m_aCurToken.cMathChar = MS_LBRACE; in NextToken()
821 m_aCurToken.nGroup = 0; in NextToken()
822 m_aCurToken.nLevel = 5; in NextToken()
823 m_aCurToken.aText.AssignAscii( "{" ); in NextToken()
828 m_aCurToken.eType = TOR; in NextToken()
829 m_aCurToken.cMathChar = MS_OR; in NextToken()
830 m_aCurToken.nGroup = TGSUM; in NextToken()
831 m_aCurToken.nLevel = 0; in NextToken()
832 m_aCurToken.aText.AssignAscii( "|" ); in NextToken()
837 m_aCurToken.eType = TRGROUP; in NextToken()
838 m_aCurToken.cMathChar = MS_RBRACE; in NextToken()
839 m_aCurToken.nGroup = 0; in NextToken()
840 m_aCurToken.nLevel = 0; in NextToken()
841 m_aCurToken.aText.AssignAscii( "}" ); in NextToken()
846 m_aCurToken.eType = TBLANK; in NextToken()
847 m_aCurToken.cMathChar = '\0'; in NextToken()
848 m_aCurToken.nGroup = TGBLANK; in NextToken()
849 m_aCurToken.nLevel = 5; in NextToken()
850 m_aCurToken.aText.AssignAscii( "~" ); in NextToken()
858 m_aCurToken.eType = TDPOUND; 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 = TPOUND; in NextToken()
869 m_aCurToken.cMathChar = '\0'; in NextToken()
870 m_aCurToken.nGroup = 0; in NextToken()
871 m_aCurToken.nLevel = 0; in NextToken()
872 m_aCurToken.aText.AssignAscii( "#" ); in NextToken()
878 m_aCurToken.eType = TAND; in NextToken()
879 m_aCurToken.cMathChar = MS_AND; in NextToken()
880 m_aCurToken.nGroup = TGPRODUCT; in NextToken()
881 m_aCurToken.nLevel = 0; in NextToken()
882 m_aCurToken.aText.AssignAscii( "&" ); in NextToken()
887 m_aCurToken.eType = TLPARENT; in NextToken()
888 m_aCurToken.cMathChar = MS_LPARENT; in NextToken()
889 m_aCurToken.nGroup = TGLBRACES; in NextToken()
890 m_aCurToken.nLevel = 5; //! 0 to continue expression in NextToken()
891 m_aCurToken.aText.AssignAscii( "(" ); in NextToken()
896 m_aCurToken.eType = TRPARENT; in NextToken()
897 m_aCurToken.cMathChar = MS_RPARENT; in NextToken()
898 m_aCurToken.nGroup = TGRBRACES; in NextToken()
899 m_aCurToken.nLevel = 0; //! 0 to terminate expression in NextToken()
900 m_aCurToken.aText.AssignAscii( ")" ); in NextToken()
905 m_aCurToken.eType = TMULTIPLY; in NextToken()
906 m_aCurToken.cMathChar = MS_MULTIPLY; in NextToken()
907 m_aCurToken.nGroup = TGPRODUCT; in NextToken()
908 m_aCurToken.nLevel = 0; in NextToken()
909 m_aCurToken.aText.AssignAscii( "*" ); in NextToken()
917 m_aCurToken.eType = TPLUSMINUS; in NextToken()
918 m_aCurToken.cMathChar = MS_PLUSMINUS; in NextToken()
919 m_aCurToken.nGroup = TGUNOPER | TGSUM; in NextToken()
920 m_aCurToken.nLevel = 5; in NextToken()
921 m_aCurToken.aText.AssignAscii( "+-" ); in NextToken()
927 m_aCurToken.eType = TPLUS; in NextToken()
928 m_aCurToken.cMathChar = MS_PLUS; in NextToken()
929 m_aCurToken.nGroup = TGUNOPER | TGSUM; in NextToken()
930 m_aCurToken.nLevel = 5; in NextToken()
931 m_aCurToken.aText.AssignAscii( "+" ); in NextToken()
940 m_aCurToken.eType = TMINUSPLUS; in NextToken()
941 m_aCurToken.cMathChar = MS_MINUSPLUS; in NextToken()
942 m_aCurToken.nGroup = TGUNOPER | TGSUM; in NextToken()
943 m_aCurToken.nLevel = 5; in NextToken()
944 m_aCurToken.aText.AssignAscii( "-+" ); in NextToken()
950 m_aCurToken.eType = TMINUS; in NextToken()
951 m_aCurToken.cMathChar = MS_MINUS; in NextToken()
952 m_aCurToken.nGroup = TGUNOPER | TGSUM; in NextToken()
953 m_aCurToken.nLevel = 5; in NextToken()
954 m_aCurToken.aText.AssignAscii( "-" ); in NextToken()
963 m_aCurToken.eType = TNUMBER; in NextToken()
964 m_aCurToken.cMathChar = '\0'; in NextToken()
965 m_aCurToken.nGroup = 0; in NextToken()
966 m_aCurToken.nLevel = 5; in NextToken()
976 … m_aCurToken.aText = m_aBufferString.Copy( sal::static_int_cast< xub_StrLen >(nTxtStart), in NextToken()
983 m_aCurToken.eType = TDIVIDEBY; in NextToken()
984 m_aCurToken.cMathChar = MS_SLASH; in NextToken()
985 m_aCurToken.nGroup = TGPRODUCT; in NextToken()
986 m_aCurToken.nLevel = 0; in NextToken()
987 m_aCurToken.aText.AssignAscii( "/" ); in NextToken()
992 m_aCurToken.eType = TASSIGN; in NextToken()
993 m_aCurToken.cMathChar = MS_ASSIGN; in NextToken()
994 m_aCurToken.nGroup = TGRELATION; in NextToken()
995 m_aCurToken.nLevel = 0; in NextToken()
996 m_aCurToken.aText.AssignAscii( "=" ); in NextToken()
1009 m_aCurToken.eType = TCHARACTER; in NextToken()
1010 m_aCurToken.cMathChar = '\0'; in NextToken()
1011 m_aCurToken.nGroup = 0; in NextToken()
1012 m_aCurToken.nLevel = 5; in NextToken()
1013 m_aCurToken.aText = m_aBufferString.Copy( nRealStart, 1 ); in NextToken()
1018 if (TEND != m_aCurToken.eType) in NextToken()
1033 while (m_aCurToken.eType == TNEWLINE) in Table()
1039 if (m_aCurToken.eType != TEND) in Table()
1049 SmStructureNode *pSNode = new SmTableNode(m_aCurToken); in Table()
1077 m_aBufferString.Erase(m_nBufferIndex, m_aCurToken.aText.Len()); in Align()
1080 pSNode = new SmAlignNode(m_aCurToken); in Align()
1087 pSNode = new SmAlignNode(m_aCurToken); in Align()
1121 if (m_aCurToken.eType != TEND && m_aCurToken.eType != TNEWLINE) in Line()
1127 while (m_aCurToken.eType != TEND && m_aCurToken.eType != TNEWLINE) in Line()
1136 SmStructureNode *pSNode = new SmLineNode(m_aCurToken); in Line()
1163 while (m_aCurToken.nLevel >= 4) in Expression()
1169 SmExpressionNode *pSNode = new SmExpressionNode(m_aCurToken); in Expression()
1181 SmStructureNode *pSNode = new SmBinHorNode(m_aCurToken); in Relation()
1200 SmStructureNode *pSNode = new SmBinHorNode(m_aCurToken); in Sum()
1224 SmTokenType eType = m_aCurToken.eType; in Product()
1228 pSNode = new SmBinVerNode(m_aCurToken); in Product()
1229 pOper = new SmRectangleNode(m_aCurToken); in Product()
1234 pSNode = new SmBinHorNode(m_aCurToken); in Product()
1244 pSNode = new SmVerticalBraceNode(m_aCurToken); in Product()
1245 pOper = new SmMathSymbolNode(m_aCurToken); in Product()
1253 SmBinDiagonalNode *pSTmp = new SmBinDiagonalNode(m_aCurToken); in Product()
1257 pOper = new SmPolyLineNode(m_aCurToken); in Product()
1265 pSNode = new SmBinHorNode(m_aCurToken); in Product()
1292 SmSubSupNode *pNode = new SmSubSupNode(m_aCurToken); in SubSup()
1310 { SmTokenType eType (m_aCurToken.eType); in SubSup()
1354 m_aNodeStack.Push(new SmMathSymbolNode(m_aCurToken)); in OpSubSup()
1375 SmBlankNode *pBlankNode = new SmBlankNode(m_aCurToken); in Blank()
1379 pBlankNode->IncreaseBy(m_aCurToken); in Blank()
1384 if ( m_aCurToken.eType == TNEWLINE || in Blank()
1385 (m_aCurToken.eType == TEND && SM_MOD()->GetConfig()->IsIgnoreSpacesRight()) ) in Blank()
1396 switch (m_aCurToken.eType) in Term()
1405 bool bNoSpace = m_aCurToken.eType == TNOSPACE; in Term()
1408 m_aNodeStack.Push(new SmExpressionNode(m_aCurToken)); in Term()
1411 if (m_aCurToken.eType != TLGROUP) in Term()
1421 if (m_aCurToken.eType == TRGROUP) in Term()
1425 SmStructureNode *pSNode = new SmExpressionNode(m_aCurToken); in Term()
1434 if (m_aCurToken.eType != TRGROUP) in Term()
1453 m_aNodeStack.Push(new SmTextNode(m_aCurToken, FNT_TEXT)); in Term()
1458 m_aNodeStack.Push(new SmTextNode(m_aCurToken, FNT_VARIABLE)); in Term()
1462 m_aNodeStack.Push(new SmTextNode(m_aCurToken, FNT_NUMBER)); in Term()
1499 m_aNodeStack.Push(new SmMathSymbolNode(m_aCurToken)); in Term()
1504 m_aNodeStack.Push(new SmPlaceNode(m_aCurToken)); in Term()
1582 if (m_aCurToken.eType == TLPARENT) in Term()
1608 switch (m_aCurToken.eType) in Escape()
1633 SmNode *pNode = new SmMathSymbolNode(m_aCurToken); in Escape()
1643 { SmStructureNode *pSNode = new SmOperNode(m_aCurToken); in Operator()
1649 SubSup(m_aCurToken.nGroup); in Operator()
1663 SmTokenType eType (m_aCurToken.eType); in Oper()
1677 pNode = new SmMathSymbolNode(m_aCurToken); in Oper()
1694 m_aCurToken.aText.AssignAscii( pLim ); in Oper()
1695 pNode = new SmTextNode(m_aCurToken, FNT_TEXT); in Oper()
1701 pNode = new SmMathSymbolNode(m_aCurToken); in Oper()
1707 DBG_ASSERT(m_aCurToken.eType == TSPECIAL, "Sm: falsches Token"); in Oper()
1708 pNode = new SmGlyphSpecialNode(m_aCurToken); in Oper()
1724 SmToken aNodeToken = m_aCurToken; in UnOper()
1725 SmTokenType eType = m_aCurToken.eType; in UnOper()
1810 SmStructureNode *pSNode = new SmAttributNode(m_aCurToken); in Attribut()
1815 switch (m_aCurToken.eType) in Attribut()
1819 pAttr = new SmRectangleNode(m_aCurToken); in Attribut()
1826 pAttr = new SmMathSymbolNode(m_aCurToken); in Attribut()
1831 pAttr = new SmMathSymbolNode(m_aCurToken); in Attribut()
1846 switch (m_aCurToken.eType) in FontAttribut()
1853 m_aNodeStack.Push(new SmFontNode(m_aCurToken)); in FontAttribut()
1877 DBG_ASSERT(m_aCurToken.eType == TCOLOR, "Sm : Ooops..."); in Color()
1885 { aToken = m_aCurToken; in Color()
1890 } while (m_aCurToken.eType == TCOLOR); in Color()
1898 DBG_ASSERT(m_aCurToken.eType == TFONT, "Sm : Ooops..."); in Font()
1906 { aToken = m_aCurToken; in Font()
1911 } while (m_aCurToken.eType == TFONT); in Font()
1941 DBG_ASSERT(m_aCurToken.eType == TSIZE, "Sm : Ooops..."); in FontSize()
1944 SmFontNode *pFontNode = new SmFontNode(m_aCurToken); in FontSize()
1948 switch (m_aCurToken.eType) in FontSize()
1965 if (m_aCurToken.eType != TNUMBER) in FontSize()
1975 if (lcl_IsNumber( m_aCurToken.aText )) in FontSize()
1978 if ((fTmp = m_aCurToken.aText.ToDouble()) != 0.0) in FontSize()
2010 DBG_ASSERT(m_aCurToken.eType == TLEFT || TokenInGroup(TGLBRACES), in Brace()
2013 SmStructureNode *pSNode = new SmBraceNode(m_aCurToken); in Brace()
2020 if (m_aCurToken.eType == TLEFT) in Brace()
2028 pLeft = new SmMathSymbolNode(m_aCurToken); in Brace()
2034 if (m_aCurToken.eType == TRIGHT) in Brace()
2040 pRight = new SmMathSymbolNode(m_aCurToken); in Brace()
2056 pLeft = new SmMathSymbolNode(m_aCurToken); in Brace()
2077 if (m_aCurToken.eType == eExpectedType) in Brace()
2079 pRight = new SmMathSymbolNode(m_aCurToken); in Brace()
2109 SmStructureNode *pBody = new SmBracebodyNode(m_aCurToken); in Bracebody()
2118 if (m_aCurToken.eType == TMLINE) in Bracebody()
2120 m_aNodeStack.Push(new SmMathSymbolNode(m_aCurToken)); in Bracebody()
2124 else if (m_aCurToken.eType != TRIGHT) in Bracebody()
2128 if (m_aCurToken.eType != TMLINE && m_aCurToken.eType != TRIGHT) in Bracebody()
2131 } while (m_aCurToken.eType != TEND && m_aCurToken.eType != TRIGHT); in Bracebody()
2137 if (m_aCurToken.eType == TMLINE) in Bracebody()
2139 m_aNodeStack.Push(new SmMathSymbolNode(m_aCurToken)); in Bracebody()
2147 if (m_aCurToken.eType != TMLINE && !TokenInGroup(TGRBRACES)) in Bracebody()
2150 } while (m_aCurToken.eType != TEND && !TokenInGroup(TGRBRACES)); in Bracebody()
2166 switch (m_aCurToken.eType) in Function()
2191 m_aNodeStack.Push(new SmTextNode(m_aCurToken, FNT_FUNCTION)); in Function()
2204 SmStructureNode *pSNode = new SmTableNode(m_aCurToken); in Binom()
2225 if (m_aCurToken.eType == TLGROUP) in Stack()
2235 while (m_aCurToken.eType == TPOUND); in Stack()
2242 if (m_aCurToken.eType != TRGROUP) in Stack()
2247 SmStructureNode *pSNode = new SmTableNode(m_aCurToken); in Stack()
2261 if (m_aCurToken.eType == TLGROUP) in Matrix()
2271 while (m_aCurToken.eType == TPOUND); in Matrix()
2275 while (m_aCurToken.eType == TDPOUND) in Matrix()
2283 if (m_aCurToken.eType == TPOUND) in Matrix()
2302 if (m_aCurToken.eType != TRGROUP) in Matrix()
2307 SmMatrixNode *pMNode = new SmMatrixNode(m_aCurToken); in Matrix()
2320 String &rName = m_aCurToken.aText; in Special()
2388 const String aSymbolName( m_aCurToken.aText.Copy( 1 ) ); in Special()
2392 m_aNodeStack.Push(new SmSpecialNode(m_aCurToken)); in Special()
2399 m_aNodeStack.Push(new SmGlyphSpecialNode(m_aCurToken)); in GlyphSpecial()
2406 SmStructureNode *pSNode = new SmExpressionNode(m_aCurToken); in Error()
2407 SmErrorNode *pErr = new SmErrorNode(eError, m_aCurToken); in Error()