| /AOO42X/main/ooxml/source/framework/OOXMLViewer/src/org/apache/openoffice/ooxml/viewer/xml/ ! |
| H A D | DocumentTokenFormatter.java | 36 final TokenView<TokenType> aView) in DocumentTokenFormatter() 62 AppendText("\n", TokenType.WHITESPACE, null, -1); in Parse() 73 AppendText("\n", TokenType.WHITESPACE, null, -1); in Parse() 102 ExpectToken(aStartToken, TokenType.INTRO_START); in ParseIntro() 108 ExpectToken(aEndToken, TokenType.INTRO_END); in ParseIntro() 118 ExpectToken(aStartToken, TokenType.TAG_START, TokenType.END_TAG_START); in ParseTag() 119 if (aStartToken.Type == TokenType.TAG_START) in ParseTag() 121 if (aStartToken.Type == TokenType.END_TAG_START) in ParseTag() 128 if (aStartToken.Type == TokenType.TAG_START) in ParseTag() 129 ExpectToken(aEndToken, TokenType.TAG_END, TokenType.ELEMENT_END); in ParseTag() [all …]
|
| H A D | XMLScanner.java | 90 AddToken(TokenType.EOF, "", mnOffset); in ProvideToken() 164 if (aToken.Type != TokenType.WHITESPACE) in NextNonWhitespaceToken() 172 private TokenType ScanSymbol () in ScanSymbol() 179 AddToken(TokenType.EOF, "", nStartOffset); in ScanSymbol() 180 return TokenType.EOF; in ScanSymbol() 188 AddToken(TokenType.END_TAG_START, "</", nStartOffset); in ScanSymbol() 193 AddToken(TokenType.INTRO_START, "<?", nStartOffset); in ScanSymbol() 202 AddToken(TokenType.COMMENT_START, "<!--", nStartOffset); in ScanSymbol() 206 AddToken(TokenType.TAG_START, "<", nStartOffset); in ScanSymbol() 213 AddToken(TokenType.TAG_END, ">", nStartOffset); in ScanSymbol() [all …]
|
| H A D | XMLTokenViewFactory.java | 41 public TokenView<TokenType> Create (final InputStream aIn) in Create() 43 TokenView<TokenType> aView = null; in Create() 49 aView = new TokenView<TokenType>(); in Create() 105 private TokenView<TokenType> maCurrentView;
|
| H A D | Token.java | 27 final TokenType eType, in Token() 48 public final TokenType Type;
|
| H A D | TokenType.java | 24 public enum TokenType enum
|
| /AOO42X/main/ooxml/source/framework/OOXMLViewer/src/org/apache/openoffice/ooxml/viewer/tokenview/ ! |
| H A D | TokenView.java | 49 public class TokenView<TokenType> 55 maLines = new LineContainer<TokenType>(); in TokenView() 56 maFormatter = new Formatter<TokenType>(); in TokenView() 73 final FormatState<TokenType> aState; in paintComponent() 80 for (final Line<TokenType> aLine : aState) in paintComponent() 86 for (final Run<TokenType> aRun : aLine) in paintComponent() 131 final Line<TokenType> aLine) in PaintLineHighlight() 169 final Line<TokenType> aLine) in PaintLineNumber() 198 final Line<TokenType> aLine = maLines.GetLineForY(aEvent.getY()); in mouseMoved() 202 final Run<TokenType> aRun = aLine.GetRunForX(aEvent.getX() - mnTextStart); in mouseMoved() [all …]
|
| H A D | Line.java | 28 public class Line<TokenType> 30 implements Iterable<Run<TokenType>> 34 maRuns = new Vector<Run<TokenType>>(); in Line() 45 public void AddRun (final Run<TokenType> aRun) in AddRun() 74 for (final Run<TokenType> aRun : maRuns) in Format() 137 public Iterator<Run<TokenType>> iterator() in iterator() 145 public Run<TokenType> GetRunForX (final int nX) in GetRunForX() 148 for (final Run<TokenType> aRun : maRuns) in GetRunForX() 162 public Run<TokenType> GetRunForOffset (int nOffset) in GetRunForOffset() 166 final Run<TokenType> aRun = maRuns.get(nIndex); in GetRunForOffset() [all …]
|
| H A D | LineContainer.java | 26 public class LineContainer<TokenType> 37 final Line<TokenType> aLine, in IsLineInGroup() 38 final Run<TokenType> aGroup) in IsLineInGroup() 43 final Line<TokenType> aStartLine = aGroup.GetLine(); in IsLineInGroup() 46 final Line<TokenType> aEndLine = aGroup.GetGroupEnd().GetLine(); in IsLineInGroup() 56 Line<TokenType> GetLineForY (final int nY) in GetLineForY() 80 public Line<TokenType> GetLineForOffset (final int nOffset) in GetLineForOffset() 93 public Iterable<Line<TokenType>> GetLinesForOffsets ( in GetLinesForOffsets() 97 final Vector<Line<TokenType>> aLines = new Vector<>(); in GetLinesForOffsets() 123 public Line<TokenType> GetLine (final int nIndex) in GetLine() [all …]
|
| H A D | Run.java | 28 public class Run<TokenType> 32 final TokenType eTokenType, in Run() 144 public void SetGroupParent (final Run<TokenType> aParent) in SetGroupParent() 152 public void SetGroupEnd (final Run<TokenType> aRun) in SetGroupEnd() 160 public Run<TokenType> GetGroupEnd() in GetGroupEnd() 181 public Run<TokenType> GetParent () in GetParent() 189 public Line<TokenType> GetLine () in GetLine() 197 public void SetLine (final Line<TokenType> aLine) in SetLine() 221 public TokenType GetTokenType () in GetTokenType() 239 private final TokenType meTokenType; [all …]
|
| H A D | DocumentFactory.java | 27 public class DocumentFactory<TokenType> 38 final LineContainer<TokenType> aLines, in DocumentFactory() 44 maGroupStartStack = new Stack<Run<TokenType>>(); in DocumentFactory() 55 final TokenType eTokenType, in AddText() 59 final Run<TokenType> aRun = new Run<TokenType>(sText, eTokenType, aStyle, nOffset); in AddText() 114 maCurrentLine = new Line<TokenType>(); in StartNewLine() 120 private final LineContainer<TokenType> maLines; 122 private Line<TokenType> maCurrentLine; 124 private Stack<Run<TokenType>> maGroupStartStack; 125 private Run<TokenType> maLastRun; [all …]
|
| H A D | Formatter.java | 28 public class Formatter<TokenType> 40 public FormatState<TokenType> FormatText ( in FormatText() 42 final LineContainer<TokenType> aLines) in FormatText() 48 final Vector<Line<TokenType>> aVisibleLines = new Vector<>(); in FormatText() 49 for (final Line<TokenType> aLine : aLines.GetLines()) in FormatText() 58 return new FormatState<TokenType>( in FormatText() 68 final LineContainer<TokenType> aLines) in FormatLines() 72 final Line<TokenType> aLine = aLines.GetLine(nIndex); in FormatLines()
|
| H A D | RunRange.java | 26 public class RunRange<TokenType> 28 RunRange (final Vector<Run<TokenType>> aRuns) in RunRange() 38 final TokenType ... eTypeList) in FindTokens() 49 final TokenType ... eTypeList) in FindTokens() 78 public Run<TokenType> Get (final int nIndex) in Get() 86 private final Vector<Run<TokenType>> maRuns;
|
| H A D | FormatState.java | 28 public class FormatState<TokenType> 29 implements Iterable<Line<TokenType>> 33 final Vector<Line<TokenType>> aVisibleLines) in FormatState() 51 public Iterator<Line<TokenType>> iterator () in iterator() 60 private final Vector<Line<TokenType>> maVisibleLines;
|
| /AOO42X/main/ooxml/source/framework/OOXMLViewer/src/org/apache/openoffice/ooxml/viewer/xmltokenview/ ! |
| H A D | XMLViewFactory.java | 36 import org.apache.openoffice.ooxml.viewer.xml.TokenType; 41 final TokenView<TokenType> aView, in AddSemanticInformation() 56 final RunRange<TokenType> aRuns = aView.GetRuns( in AddSemanticInformation() 66 TokenType.TAG_START, in AddSemanticInformation() 67 TokenType.IDENTIFIER, in AddSemanticInformation() 68 TokenType.COLON, in AddSemanticInformation() 69 TokenType.IDENTIFIER); in AddSemanticInformation() 84 TokenType.IDENTIFIER, in AddSemanticInformation() 85 TokenType.COLON, in AddSemanticInformation() 86 TokenType.IDENTIFIER, in AddSemanticInformation() [all …]
|
| /AOO42X/main/i18npool/source/characterclassification/ ! |
| H A D | cclass_unicode_parser.cxx | 759 r.TokenType = KParseType::UNI_NUMBER; in parseText() 761 r.TokenType = KParseType::ASC_NUMBER; in parseText() 775 r.TokenType = KParseType::IDENTNAME; in parseText() 783 r.TokenType = KParseType::SINGLE_QUOTE_NAME; in parseText() 790 r.TokenType = KParseType::DOUBLE_QUOTE_STRING; in parseText() 809 r.TokenType = KParseType::BOOLEAN; in parseText() 814 r.TokenType = KParseType::ONE_SINGLE_CHAR; in parseText() 825 r.TokenType = KParseType::UNI_NUMBER; in parseText() 826 else if ( r.TokenType != KParseType::UNI_NUMBER ) in parseText() 827 r.TokenType = KParseType::ASC_NUMBER; in parseText() [all …]
|
| /AOO42X/main/offapi/com/sun/star/i18n/ ! |
| H A D | XCharacterClassification.idl | 156 <member>ParseResult::TokenType</member> will be set to 165 <member>ParseResult::TokenType</member>. 206 if ( rRes.TokenType & (KParseType::ASC_NUMBER | KParseType::UNI_NUMBER) ) 208 if ( rRes.TokenType & KParseType::IDENTNAME ) 210 else if ( rRes.TokenType & KParseType::SINGLE_QUOTE_NAME ) 212 else if ( rRes.TokenType & KParseType::DOUBLE_QUOTE_STRING ) 214 else if ( rRes.TokenType & KParseType::BOOLEAN ) 216 else if ( rRes.TokenType & KParseType::ONE_SINGLE_CHAR ) 239 <member>ParseResult::TokenType</member> set to <b>0</b> (zero) 263 bValid = (rRes.TokenType & KParseType::IDENTNAME) && rRes.EndPos == rName.Len();
|
| H A D | ParseResult.idl | 56 long TokenType; 59 token matched. If <em>TokenType</em> is a
|
| H A D | KParseType.idl | 38 <member>ParseResult::TokenType</member>. </p>
|
| /AOO42X/main/starmath/source/ ! |
| H A D | parse.cxx | 475 if ((aRes.TokenType & KParseType::IDENTNAME) && IsDigit( cFirstChar )) in NextToken() 489 if (aTmpRes.TokenType & KParseType::ASC_NUMBER) in NextToken() 490 aRes.TokenType = aTmpRes.TokenType; in NextToken() 497 if ( aRes.TokenType == 0 && in NextToken() 506 else if (aRes.TokenType & KParseType::ONE_SINGLE_CHAR) in NextToken() 537 else if ((aRes.TokenType & (KParseType::ASC_NUMBER | KParseType::UNI_NUMBER)) in NextToken() 538 || (bNumStart && (aRes.TokenType & KParseType::IDENTNAME))) in NextToken() 555 else if (aRes.TokenType & KParseType::DOUBLE_QUOTE_STRING) in NextToken() 565 else if (aRes.TokenType & KParseType::IDENTNAME) in NextToken() 596 else if (aRes.TokenType == 0 && '_' == m_aBufferString.GetChar( nRealStart )) in NextToken() [all …]
|
| /AOO42X/main/qadevOOo/tests/java/ifc/i18n/ ! |
| H A D | _XCharacterClassification.java | 359 && (pRes.TokenType==32) in _parseAnyToken() 364 && (pRes.TokenType==4) in _parseAnyToken() 369 && (pRes.TokenType==1) in _parseAnyToken() 395 && (pRes.TokenType==4) in _parsePredefinedToken()
|
| /AOO42X/main/sw/source/core/bastyp/ ! |
| H A D | calc.cxx | 775 if( aRes.TokenType & (KParseType::ASC_NUMBER | KParseType::UNI_NUMBER) ) in GetToken() 781 else if( aRes.TokenType & KParseType::IDENTNAME ) in GetToken() 825 else if ( aRes.TokenType & KParseType::DOUBLE_QUOTE_STRING ) in GetToken() 831 else if( aRes.TokenType & KParseType::ONE_SINGLE_CHAR ) in GetToken() 925 else if( aRes.TokenType & KParseType::BOOLEAN ) in GetToken() 1681 if( aRes.TokenType & KParseType::IDENTNAME ) in IsValidVarName()
|
| /AOO42X/main/l10ntools/inc/ ! |
| H A D | wtranode.hxx | 77 E_TokenType TokenType() const; 96 WTT_Node::TokenType() const in TokenType() function in WTT_Node
|
| /AOO42X/main/ooxml/source/framework/OOXMLViewer/src/org/apache/openoffice/ooxml/viewer/ ! |
| H A D | DetailViewManager.java | 34 import org.apache.openoffice.ooxml.viewer.xml.TokenType; 105 final TokenView<TokenType> aTokenView = maViewFactory.Create(aPart.getStream()); in ShowPart()
|
| /AOO42X/main/svl/source/misc/ ! |
| H A D | adrparse.cxx | 82 enum TokenType { TOKEN_QUOTED = 0x80000000, TOKEN_DOMAIN, TOKEN_COMMENT, enum in SvAddressParser_Impl 106 TokenType m_eType; 335 TokenType eMode = TOKEN_ATOM; in reparse()
|
| /AOO42X/main/l10ntools/source/ ! |
| H A D | wtratree.cxx | 272 if (pCurParseNode->TokenType() == WTT_Node::token_to_keep) in TransformNextToken() 286 if (pCurParseNode->TokenType() == WTT_Node::token_to_keep) in TransformNextToken()
|