(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: com :: sun :: star :: util ::

constants group SearchFlags

Constants
ALL_IGNORE_CASE [ DEPRECATED ]
 
NORM_WORD_ONLY Flag for normal (Boyer-Moore) search 
REG_EXTENDED Flag for "regular expression" search / interpret as extended regular expression 
REG_NOSUB Flag for "regular expression" search / No replace, i.e., avoid sub regular expresions, return true/false to match  
REG_NEWLINE Flag for "regular expression" search / Special new line treatment 
REG_NOT_BEGINOFLINE A NEWLINE character in string will not be matched by a period outside bracket expression or by any form of a non matching list. A circumflex (^) in pattern when used to specify expression anchoring will match the zero length string immediately after a newline in string, regardless of the setting of REG_NOTBOL A dollar-sign ($) in pattern when used to specify expression anchoring, will match zero-length string immediately before a new line in string, regardless of the setting of REG_NOTEOL  
REG_NOT_ENDOFLINE The first character in the string is not the beginning of the line therefore ^ will not match with first character of the string  
LEV_RELAXED Flags for "Weight Levenshtein-Distance" search 
Constants' Details
ALL_IGNORE_CASE
const long ALL_IGNORE_CASE = 0x00000001;
Usage Restrictions
deprecated
Deprecation Info
: the constant ALL_IGNORE_CASE is never supported - it must use the transliteration flags of the SearchOptions.

See also
TransliterationModulesNew
NORM_WORD_ONLY
const long NORM_WORD_ONLY = 0x00000010;
Description
Flag for normal (Boyer-Moore) search
REG_EXTENDED
const long REG_EXTENDED = 0x00000100;
Description
Flag for "regular expression" search / interpret as extended regular expression
REG_NOSUB
const long REG_NOSUB = 0x00000200;
Description
Flag for "regular expression" search / No replace, i.e., avoid sub regular expresions, return true/false to match
REG_NEWLINE
const long REG_NEWLINE = 0x00000400;
Description
Flag for "regular expression" search / Special new line treatment
REG_NOT_BEGINOFLINE
const long REG_NOT_BEGINOFLINE = 0x00000800;
Description
A NEWLINE character in string will not be matched by a period outside bracket expression or by any form of a non matching list. A circumflex (^) in pattern when used to specify expression anchoring will match the zero length string immediately after a newline in string, regardless of the setting of REG_NOTBOL A dollar-sign ($) in pattern when used to specify expression anchoring, will match zero-length string immediately before a new line in string, regardless of the setting of REG_NOTEOL
REG_NOT_ENDOFLINE
const long REG_NOT_ENDOFLINE = 0x00001000;
Description
The first character in the string is not the beginning of the line therefore ^ will not match with first character of the string
LEV_RELAXED
const long LEV_RELAXED = 0x00010000;
Description
Flags for "Weight Levenshtein-Distance" search
Top of Page

Apache Feather

Copyright & License | Privacy | Contact Us

Apache and the Apache feather logos are trademarks of The Apache Software Foundation. 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.

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.