Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: com :: sun :: star :: i18n ::

struct ParseResult
Description
Parser results returned by XCharacterClassification::parseAnyToken() and XCharacterClassification::parsePredefinedToken().

Elements' Summary
LeadingWhiteSpace Count of ignored leading whitespace, in code points, not characters.  
EndPos Code point index of first unprocessed character.  
CharLen Number of characters (not code points) of the parsed token, not including leading whitespace.  
Value Value of token in case of numeric.  
TokenType KParseType token type like KParseType::IDENTNAME.  
StartFlags KParseTokens flags of first character of actual token matched. If TokenType is a KParseType::SINGLE_QUOTE_NAME or a KParseType::DOUBLE_QUOTE_STRING the first character is the first character inside the quotes, not the quote itself.  
ContFlags KParseTokens flags of remaining characters of actual token matched.  
DequotedNameOrString If a quoted name or string is encountered the dequoted result goes here.  
Elements' Details
LeadingWhiteSpace
long LeadingWhiteSpace;
Description
Count of ignored leading whitespace, in code points, not characters.
EndPos
long EndPos;
Description
Code point index of first unprocessed character.
CharLen
long CharLen;
Description
Number of characters (not code points) of the parsed token, not including leading whitespace.
Value
double Value;
Description
Value of token in case of numeric.
TokenType
long TokenType;
Description
KParseType token type like KParseType::IDENTNAME.
StartFlags
long StartFlags;
Description
KParseTokens flags of first character of actual token matched. If TokenType is a KParseType::SINGLE_QUOTE_NAME or a KParseType::DOUBLE_QUOTE_STRING the first character is the first character inside the quotes, not the quote itself.
ContFlags
long ContFlags;
Description
KParseTokens flags of remaining characters of actual token matched.
DequotedNameOrString
string DequotedNameOrString;
Description
If a quoted name or string is encountered the dequoted result goes here.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.