textsearch.cxx (03c97e34) textsearch.cxx (f33c7e39)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 49 unchanged lines hidden (view full) ---

58 TransliterationModules_ignoreBaFa_ja_JP |
59 TransliterationModules_ignoreIterationMark_ja_JP |
60 TransliterationModules_ignoreTiJi_ja_JP |
61 TransliterationModules_ignoreHyuByu_ja_JP |
62 TransliterationModules_ignoreSeZe_ja_JP |
63 TransliterationModules_ignoreIandEfollowedByYa_ja_JP |
64 TransliterationModules_ignoreKiKuFollowedBySa_ja_JP |
65 TransliterationModules_ignoreProlongedSoundMark_ja_JP;
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 49 unchanged lines hidden (view full) ---

58 TransliterationModules_ignoreBaFa_ja_JP |
59 TransliterationModules_ignoreIterationMark_ja_JP |
60 TransliterationModules_ignoreTiJi_ja_JP |
61 TransliterationModules_ignoreHyuByu_ja_JP |
62 TransliterationModules_ignoreSeZe_ja_JP |
63 TransliterationModules_ignoreIandEfollowedByYa_ja_JP |
64 TransliterationModules_ignoreKiKuFollowedBySa_ja_JP |
65 TransliterationModules_ignoreProlongedSoundMark_ja_JP;
66static const sal_Int32 SIMPLE_TRANS_MASK = TransliterationModules_HIRAGANA_KATAKANA | TransliterationModules_FULLWIDTH_HALFWIDTH;
67static const sal_Int32 COMPLEX_TRANS_MASK = COMPLEX_TRANS_MASK_TMP | TransliterationModules_IGNORE_KANA | TransliterationModules_FULLWIDTH_HALFWIDTH;
66static const sal_Int32 COMPLEX_TRANS_MASK = COMPLEX_TRANS_MASK_TMP | TransliterationModules_IGNORE_KANA | TransliterationModules_FULLWIDTH_HALFWIDTH;
67static const sal_Int32 SIMPLE_TRANS_MASK = ~COMPLEX_TRANS_MASK;
68 // Above 2 transliteration is simple but need to take effect in
69 // complex transliteration
70
71TextSearch::TextSearch(const Reference < XMultiServiceFactory > & rxMSF)
72 : xMSF( rxMSF )
73 , pJumpTable( 0 )
74 , pJumpTable2( 0 )
75 , pRegexMatcher( NULL )

--- 950 unchanged lines hidden ---
68 // Above 2 transliteration is simple but need to take effect in
69 // complex transliteration
70
71TextSearch::TextSearch(const Reference < XMultiServiceFactory > & rxMSF)
72 : xMSF( rxMSF )
73 , pJumpTable( 0 )
74 , pJumpTable2( 0 )
75 , pRegexMatcher( NULL )

--- 950 unchanged lines hidden ---