Lines Matching refs:nNextCh
337 nNextCh = GetNextChar(); in CallParser()
457 switch( nNextCh ) in ScanText()
469 if( '#' == (nNextCh = GetNextChar()) ) in ScanText()
471 nNextCh = GetNextChar(); in ScanText()
474 const sal_Bool bIsHex( 'x' == nNextCh ); in ScanText()
475 const sal_Bool bIsDecOrHex( bIsHex || HTML_ISDIGIT(nNextCh) ); in ScanText()
480 nNextCh = GetNextChar(); in ScanText()
481 while ( HTML_ISHEXDIGIT(nNextCh) ) in ScanText()
484 ( nNextCh <= '9' in ScanText()
485 ? sal_Unicode( nNextCh - '0' ) in ScanText()
486 : ( nNextCh <= 'F' in ScanText()
487 ? sal_Unicode( nNextCh - 'A' + 10 ) in ScanText()
488 : sal_Unicode( nNextCh - 'a' + 10 ) ) ); in ScanText()
489 nNextCh = GetNextChar(); in ScanText()
496 cChar = cChar * 10U + sal_Unicode( nNextCh - '0'); in ScanText()
497 nNextCh = GetNextChar(); in ScanText()
499 while( HTML_ISDIGIT(nNextCh) ); in ScanText()
521 nNextCh = 0U; in ScanText()
523 else if( HTML_ISALPHA( nNextCh ) ) in ScanText()
529 sEntityBuffer.append( nNextCh ); in ScanText()
531 nNextCh = GetNextChar(); in ScanText()
533 while( nPos < MAX_ENTITY_LEN && HTML_ISALNUM( nNextCh ) && in ScanText()
544 if( 0U == cChar && ';' != nNextCh ) in ScanText()
551 nNextCh = sEntityBuffer[i]; in ScanText()
618 nNextCh = '&'; in ScanText()
635 if( ';' != nNextCh ) in ScanText()
650 nNextCh = 0U; in ScanText()
661 bNextCh = (';' == nNextCh); in ScanText()
690 nNextCh = 0U; in ScanText()
703 sTmpBuffer.append( nNextCh ); in ScanText()
722 cQuote = nNextCh; in ScanText()
723 else if( cQuote && (cQuote==nNextCh ) ) in ScanText()
726 sTmpBuffer.append( nNextCh ); in ScanText()
741 sTmpBuffer.append( nNextCh ); in ScanText()
748 sTmpBuffer.append( nNextCh ); in ScanText()
771 sTmpBuffer.append( nNextCh ); in ScanText()
783 if( '\t'==nNextCh && bReadPRE && '>'!=cBreak ) in ScanText()
791 if( '\x0b'==nNextCh && (bReadPRE || bReadXMP ||bReadListing) && in ScanText()
796 nNextCh = ' '; in ScanText()
799 sTmpBuffer.append( nNextCh ); in ScanText()
805 if( sal_Unicode(EOF) == (nNextCh = GetNextChar()) && in ScanText()
820 } while ( ' ' == nNextCh || '\t' == nNextCh || in ScanText()
821 '\r' == nNextCh || '\n' == nNextCh || in ScanText()
822 '\x0b' == nNextCh ); in ScanText()
829 if( (nNextCh==cBreak && !cQuote) || in ScanText()
836 sTmpBuffer.append( nNextCh ); in ScanText()
843 nNextCh = GetNextChar(); in ScanText()
847 if( ( sal_Unicode(EOF) == (nNextCh = GetNextChar()) && in ScanText()
855 } while( HTML_ISALPHA( nNextCh ) || HTML_ISDIGIT( nNextCh ) ); in ScanText()
864 nNextCh = GetNextChar(); in ScanText()
896 switch( nNextCh ) in _GetNextRawToken()
912 if( '/' == (nNextCh = GetNextChar()) ) in _GetNextRawToken()
915 nNextCh = GetNextChar(); in _GetNextRawToken()
917 else if( '!' == nNextCh ) in _GetNextRawToken()
919 sTmpBuffer.append( nNextCh ); in _GetNextRawToken()
920 nNextCh = GetNextChar(); in _GetNextRawToken()
924 while( (HTML_ISALPHA(nNextCh) || '-'==nNextCh) && in _GetNextRawToken()
927 sTmpBuffer.append( nNextCh ); in _GetNextRawToken()
928 nNextCh = GetNextChar(); in _GetNextRawToken()
956 if( bReadComment && '>'==nNextCh && aTok.Len() >= 2 && in _GetNextRawToken()
1008 nNextCh = '<'; in _GetNextRawToken()
1025 sTmpBuffer.append( nNextCh ); in _GetNextRawToken()
1029 nNextCh = GetNextChar(); in _GetNextRawToken()
1030 while( '-' == nNextCh && IsParserWorking() ) in _GetNextRawToken()
1036 sTmpBuffer.append( nNextCh ); in _GetNextRawToken()
1037 nNextCh = GetNextChar(); in _GetNextRawToken()
1040 if( '>' == nNextCh && IsParserWorking() && bTwoMinus ) in _GetNextRawToken()
1049 nNextCh = GetNextChar(); in _GetNextRawToken()
1050 if( nNextCh=='\n' ) in _GetNextRawToken()
1051 nNextCh = GetNextChar(); in _GetNextRawToken()
1056 nNextCh = GetNextChar(); in _GetNextRawToken()
1081 sTmpBuffer.append( nNextCh ); in _GetNextRawToken()
1090 nNextCh = GetNextChar(); in _GetNextRawToken()
1119 nNextCh = GetNextChar(); in _GetNextToken()
1134 switch( nNextCh ) in _GetNextToken()
1143 if( '/' == (nNextCh = GetNextChar()) ) in _GetNextToken()
1146 nNextCh = GetNextChar(); in _GetNextToken()
1148 if( HTML_ISALPHA( nNextCh ) || '!'==nNextCh ) // fix #26984# in _GetNextToken()
1152 sTmpBuffer.append( nNextCh ); in _GetNextToken()
1155 nNextCh = GetNextChar(); in _GetNextToken()
1156 } while( '>' != nNextCh && !HTML_ISSPACE( nNextCh ) && in _GetNextToken()
1163 while( HTML_ISSPACE( nNextCh ) && IsParserWorking() ) in _GetNextToken()
1164 nNextCh = GetNextChar(); in _GetNextToken()
1203 if( '>'!=nNextCh ) in _GetNextToken()
1215 if( '>'==nNextCh ) in _GetNextToken()
1228 aToken += nNextCh; in _GetNextToken()
1231 aToken += nNextCh; in _GetNextToken()
1233 nNextCh = GetNextChar(); in _GetNextToken()
1242 nNextCh = '>'; in _GetNextToken()
1252 if( '>' != nNextCh && IsParserWorking() ) in _GetNextToken()
1255 if( sal_Unicode(EOF) == nNextCh && rInput.IsEof() ) in _GetNextToken()
1266 nNextCh = GetNextChar(); in _GetNextToken()
1280 if( sal_Unicode(EOF) == nNextCh && rInput.IsEof() ) in _GetNextToken()
1291 nNextCh = GetNextChar(); in _GetNextToken()
1299 else if( '%' == nNextCh ) in _GetNextToken()
1311 bDone = '>'==nNextCh && aToken.Len() >= 1 && in _GetNextToken()
1315 aToken += nNextCh; in _GetNextToken()
1316 nNextCh = GetNextChar(); in _GetNextToken()
1346 bNextCh = '>' == nNextCh; in _GetNextToken()
1387 nRet = nNextCh; in _GetNextToken()
1406 if( ( '\n' != nNextCh || '\r' != c ) && in _GetNextToken()
1407 ( '\r' != nNextCh || '\n' != c ) ) in _GetNextToken()
1410 nNextCh = c; in _GetNextToken()
1444 nNextCh = GetNextChar(); in _GetNextToken()