summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-03-08 16:17:05 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-03-08 16:17:05 +0000
commit4da98b648497af30de0fcf1a16e649ce18b0564f (patch)
tree6e68914889d4929d720cf81e74058258c1635e1f /i18npool
parent15f41851842866c9a486eb9cfa258907c472f69f (diff)
INTEGRATION: CWS i18n09 (1.2.2); FILE MERGED
2003/12/04 23:45:37 khong 1.2.2.3: #i22602# make dot stick on beginning of a word when doing line break 2003/12/04 23:12:37 khong 1.2.2.2: #i21392# change line break rule to match with MS office 2003/12/03 19:32:02 khong 1.2.2.1: #i19716# fix wrong line break on bracket characters
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/breakiterator/data/line.txt14
1 files changed, 2 insertions, 12 deletions
diff --git a/i18npool/source/breakiterator/data/line.txt b/i18npool/source/breakiterator/data/line.txt
index fc8a38567faa..28c4389bb818 100644
--- a/i18npool/source/breakiterator/data/line.txt
+++ b/i18npool/source/breakiterator/data/line.txt
@@ -94,7 +94,7 @@ $Openings = (($QUcm $SP*)? $OPcm $SP*)*;
#
# Closings Seqences that follow words, and that should not be separated from them,
# Rule LB 8, 11, 15
-$Closings = ($SP*( ($CL ($SP* $NScm)? | $EX | $IS ) $Extend*) | $BAcm | $HYcm | $NScm)*;
+$Closings = ($SP*( ($CL ($SP* $NScm)? | $EX ) $Extend*) | $HYcm | $NScm)*;
#
# Words. Includes mixed Alpha-numerics.
@@ -102,15 +102,9 @@ $Closings = ($SP*( ($CL ($SP* $NScm)? | $EX | $IS ) $Extend*) | $BAcm | $HYc
#
$NumberInterior = $IDcm | ($NUcm | $ALcm | $IS $NUcm)+;
$Number = $PR? ($OPcm | $HYcm)? $NumberInterior $CL? $POcm?; # Fancy Number 18
-$Word = (($IDcm | ($ALcm | $NUcm | $EX | $HY | $IS | $SY | $PR)+) ($POcm? | $INcm?)) ; # Alpha-numeric. 16, 17
+$Word = (($IDcm | ($ALcm | $NUcm | $EX | $IS | $OP | $PO | $CL | $SY | $PR)+) $INcm?) ; # Alpha-numeric. 16, 17
$Dashes = (($B2cm $SP*)*); # Dashes 11a
-
-
-
-
-
-
$Word15 = ($BBcm* ($Word | $Number | $Dashes)? ($BAcm | $HYcm | $NScm)*) | # Rule 15. Stuff sticks around words.
[^[:Cc:] $BK $CR $LF $ZW $SP $GL] $Extend* | # Allow characters that don't meet the
[^$BK $CR $LF $ZW $SP $GL ]; # more elaborate definitions for WORD
@@ -125,10 +119,6 @@ $GluedWord = ($GLcm | $QUcm)? $Word15 (($GLcm | $QUcm) $Word15)*; # "Glue" wil
$Openings $GluedWord $Closings $Endings;
# $GluedWord;
-
-
-
-
#
# Reverse Rules.
#