Home
last modified time | relevance | path

Searched refs:TokenType (Results 1 – 25 of 29) sorted by relevance

12

/trunk/main/ooxml/source/framework/OOXMLViewer/src/org/apache/openoffice/ooxml/viewer/xml/
H A DDocumentTokenFormatter.java36 final TokenView<TokenType> aView) in DocumentTokenFormatter()
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()
128 if (aStartToken.Type == TokenType.TAG_START) in ParseTag()
129 ExpectToken(aEndToken, TokenType.TAG_END, TokenType.ELEMENT_END); in ParseTag()
222 ExpectToken(aTextToken, TokenType.TEXT); in ParseText()
230 private TokenType ExpectToken (final Token aToken, final TokenType ... aExcpectedTypes) in ExpectToken()
285 final TokenType eTokenType, in AppendText()
310 final TokenType eTokenType, in AddText()
[all …]
H A DXMLScanner.java90 AddToken(TokenType.EOF, "", mnOffset); in ProvideToken()
172 private TokenType ScanSymbol () in ScanSymbol()
180 return TokenType.EOF; in ScanSymbol()
214 return TokenType.TAG_END; in ScanSymbol()
221 return TokenType.ELEMENT_END; in ScanSymbol()
228 return TokenType.INTRO_END; in ScanSymbol()
237 return TokenType.COMMENT_END; in ScanSymbol()
247 return TokenType.COLON; in ScanSymbol()
278 TokenType.IDENTIFIER, in ScanIdentifier()
420 final TokenType eType, in AddToken()
[all …]
H A DXMLTokenViewFactory.java41 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 DToken.java27 final TokenType eType, in Token()
48 public final TokenType Type;
H A DTokenType.java24 public enum TokenType enum
/trunk/main/ooxml/source/framework/OOXMLViewer/src/org/apache/openoffice/ooxml/viewer/tokenview/
H A DTokenView.java49 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()
131 final Line<TokenType> aLine) in PaintLineHighlight()
169 final Line<TokenType> aLine) in PaintLineNumber()
339 return new RunRange<TokenType>(aRuns); in GetRuns()
383 private Line<TokenType> maHighlightedLine;
384 private Run<TokenType> maHighlightedGroup0;
385 private Run<TokenType> maHighlightedGroup1;
[all …]
H A DLine.java28 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()
184 for (final Run<TokenType> aRun : maRuns) in GetRunsForOffsets()
[all …]
H A DLineContainer.java26 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()
56 Line<TokenType> GetLineForY (final int nY) in GetLineForY()
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()
131 public Iterable<Line<TokenType>> GetLines () in GetLines()
139 public void AddLine (final Line<TokenType> aLine) in AddLine()
[all …]
H A DRun.java28 public class Run<TokenType>
32 final TokenType eTokenType, in Run()
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;
245 private Run<TokenType> maParent;
246 private Run<TokenType> maGroupEnd;
[all …]
H A DDocumentFactory.java27 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 DFormatter.java28 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 DRunRange.java26 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 DFormatState.java28 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;
/trunk/main/ooxml/source/framework/OOXMLViewer/src/org/apache/openoffice/ooxml/viewer/xmltokenview/
H A DXMLViewFactory.java36 import org.apache.openoffice.ooxml.viewer.xml.TokenType;
41 final TokenView<TokenType> aView, 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()
87 TokenType.ATTRIBUTE_DEFINE); in AddSemanticInformation()
[all …]
/trunk/main/i18npool/source/characterclassification/
H A Dcclass_unicode_parser.cxx775 r.TokenType = KParseType::IDENTNAME; in parseText()
809 r.TokenType = KParseType::BOOLEAN; in parseText()
849 r.TokenType = KParseType::IDENTNAME; in parseText()
864 r.TokenType = KParseType::IDENTNAME; in parseText()
872 r.TokenType = KParseType::IDENTNAME; in parseText()
880 r.TokenType = KParseType::IDENTNAME; in parseText()
985 r.TokenType = 0; in parseText()
1011 if ( r.TokenType & KParseType::ASC_NUMBER ) in parseText()
1016 r.TokenType |= KParseType::IDENTNAME; in parseText()
1050 r.TokenType |= KParseType::IDENTNAME; in parseText()
[all …]
/trunk/main/offapi/com/sun/star/i18n/
H A DXCharacterClassification.idl156 <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 DParseResult.idl56 long TokenType;
59 token matched. If <em>TokenType</em> is a
H A DKParseType.idl38 <member>ParseResult::TokenType</member>. </p>
/trunk/main/starmath/source/
H A Dparse.cxx475 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()
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()
606 else if (aRes.TokenType & KParseType::BOOLEAN) in NextToken()
711 else if (aRes.TokenType & KParseType::ONE_SINGLE_CHAR) in NextToken()
[all …]
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/ifc/i18n/
H A D_XCharacterClassification.java359 && (pRes.TokenType==32) in _parseAnyToken()
364 && (pRes.TokenType==4) in _parseAnyToken()
369 && (pRes.TokenType==1) in _parseAnyToken()
395 && (pRes.TokenType==4) in _parsePredefinedToken()
/trunk/main/sw/source/core/bastyp/
H A Dcalc.cxx775 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()
/trunk/main/l10ntools/inc/
H A Dwtranode.hxx77 E_TokenType TokenType() const;
96 WTT_Node::TokenType() const in TokenType() function in WTT_Node
/trunk/main/ooxml/source/framework/OOXMLViewer/src/org/apache/openoffice/ooxml/viewer/
H A DDetailViewManager.java34 import org.apache.openoffice.ooxml.viewer.xml.TokenType;
105 final TokenView<TokenType> aTokenView = maViewFactory.Create(aPart.getStream()); in ShowPart()
/trunk/main/svl/source/misc/
H A Dadrparse.cxx82 enum TokenType { TOKEN_QUOTED = 0x80000000, TOKEN_DOMAIN, TOKEN_COMMENT, enum in SvAddressParser_Impl
106 TokenType m_eType;
335 TokenType eMode = TOKEN_ATOM; in reparse()
/trunk/main/l10ntools/source/
H A Dwtratree.cxx272 if (pCurParseNode->TokenType() == WTT_Node::token_to_keep) in TransformNextToken()
286 if (pCurParseNode->TokenType() == WTT_Node::token_to_keep) in TransformNextToken()

Completed in 98 milliseconds

12