Kaydet (Commit) 1543e30a authored tarafından Faisal M. Al-Otaibi's avatar Faisal M. Al-Otaibi

Convert Search in Japanese page to .ui format

Change-Id: I1874f36d3e69b39fcb456de85b28c7a09f7bdbf2
üst 8ac87296
...@@ -60,7 +60,6 @@ $(eval $(call gb_SrsTarget_add_files,cui/res,\ ...@@ -60,7 +60,6 @@ $(eval $(call gb_SrsTarget_add_files,cui/res,\
cui/source/options/opthtml.src \ cui/source/options/opthtml.src \
cui/source/options/optinet2.src \ cui/source/options/optinet2.src \
cui/source/options/optjava.src \ cui/source/options/optjava.src \
cui/source/options/optjsearch.src \
cui/source/options/optlingu.src \ cui/source/options/optlingu.src \
cui/source/options/optpath.src \ cui/source/options/optpath.src \
cui/source/options/optsave.src \ cui/source/options/optsave.src \
......
...@@ -48,6 +48,7 @@ $(eval $(call gb_UIConfig_add_uifiles,cui,\ ...@@ -48,6 +48,7 @@ $(eval $(call gb_UIConfig_add_uifiles,cui,\
cui/uiconfig/ui/optfltrpage \ cui/uiconfig/ui/optfltrpage \
cui/uiconfig/ui/optfontspage \ cui/uiconfig/ui/optfontspage \
cui/uiconfig/ui/optgeneralpage \ cui/uiconfig/ui/optgeneralpage \
cui/uiconfig/ui/optjsearchpage \
cui/uiconfig/ui/optlanguagespage \ cui/uiconfig/ui/optlanguagespage \
cui/uiconfig/ui/optmemorypage \ cui/uiconfig/ui/optmemorypage \
cui/uiconfig/ui/optonlineupdatepage \ cui/uiconfig/ui/optonlineupdatepage \
......
...@@ -38,7 +38,6 @@ ...@@ -38,7 +38,6 @@
#define HID_OPTIONS_COLORCONFIG_SAVE_SCHEME "CUI_HID_OPTIONS_COLORCONFIG_SAVE_SCHEME" #define HID_OPTIONS_COLORCONFIG_SAVE_SCHEME "CUI_HID_OPTIONS_COLORCONFIG_SAVE_SCHEME"
#define HID_OPTIONS_JAVA_PARAMETER "CUI_HID_OPTIONS_JAVA_PARAMETER" #define HID_OPTIONS_JAVA_PARAMETER "CUI_HID_OPTIONS_JAVA_PARAMETER"
#define HID_OPTIONS_JAVA_CLASSPATH "CUI_HID_OPTIONS_JAVA_CLASSPATH" #define HID_OPTIONS_JAVA_CLASSPATH "CUI_HID_OPTIONS_JAVA_CLASSPATH"
#define HID_SVXPAGE_JSEARCH_OPTIONS "CUI_HID_SVXPAGE_JSEARCH_OPTIONS"
#define HID_SVXDLG_FILTER_WARNING "CUI_HID_SVXDLG_FILTER_WARNING" #define HID_SVXDLG_FILTER_WARNING "CUI_HID_SVXDLG_FILTER_WARNING"
#define HID_OFADLG_OPTIONS_TREE "CUI_HID_OFADLG_OPTIONS_TREE" #define HID_OFADLG_OPTIONS_TREE "CUI_HID_OFADLG_OPTIONS_TREE"
#define HID_OFA_CONNPOOL_DRIVERLIST "CUI_HID_OFA_CONNPOOL_DRIVERLIST" #define HID_OFA_CONNPOOL_DRIVERLIST "CUI_HID_OFA_CONNPOOL_DRIVERLIST"
......
...@@ -23,38 +23,35 @@ ...@@ -23,38 +23,35 @@
#include <cuires.hrc> #include <cuires.hrc>
#include <dialmgr.hxx> #include <dialmgr.hxx>
#include <optjsearch.hxx> #include <optjsearch.hxx>
#include "optjsearch.hrc"
using namespace com::sun::star::i18n; using namespace com::sun::star::i18n;
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////
SvxJSearchOptionsPage::SvxJSearchOptionsPage( Window* pParent, const SfxItemSet& rSet ) : SvxJSearchOptionsPage::SvxJSearchOptionsPage( Window* pParent, const SfxItemSet& rSet ) :
SfxTabPage( pParent, CUI_RES( RID_SVXPAGE_JSEARCH_OPTIONS ), rSet ), SfxTabPage( pParent, "OptJSearchPage", "cui/ui/optjsearchpage.ui", rSet )
aTreatAsEqual ( this, CUI_RES( FL_TREAT_AS_EQUAL ) ),
aMatchCase ( this, CUI_RES( CB_MATCH_CASE ) ),
aMatchFullHalfWidth ( this, CUI_RES( CB_MATCH_FULL_HALF_WIDTH ) ),
aMatchHiraganaKatakana ( this, CUI_RES( CB_MATCH_HIRAGANA_KATAKANA ) ),
aMatchContractions ( this, CUI_RES( CB_MATCH_CONTRACTIONS ) ),
aMatchMinusDashChoon ( this, CUI_RES( CB_MATCH_MINUS_DASH_CHOON ) ),
aMatchRepeatCharMarks ( this, CUI_RES( CB_MATCH_REPEAT_CHAR_MARKS ) ),
aMatchVariantFormKanji ( this, CUI_RES( CB_MATCH_VARIANT_FORM_KANJI ) ),
aMatchOldKanaForms ( this, CUI_RES( CB_MATCH_OLD_KANA_FORMS ) ),
aMatchDiziDuzu ( this, CUI_RES( CB_MATCH_DIZI_DUZU ) ),
aMatchBavaHafa ( this, CUI_RES( CB_MATCH_BAVA_HAFA ) ),
aMatchTsithichiDhizi ( this, CUI_RES( CB_MATCH_TSITHICHI_DHIZI ) ),
aMatchHyuiyuByuvyu ( this, CUI_RES( CB_MATCH_HYUFYU_BYUVYU ) ),
aMatchSesheZeje ( this, CUI_RES( CB_MATCH_SESHE_ZEJE ) ),
aMatchIaiya ( this, CUI_RES( CB_MATCH_IAIYA ) ),
aMatchKiku ( this, CUI_RES( CB_MATCH_KIKU ) ),
aMatchProlongedSoundMark ( this, CUI_RES( CB_MATCH_PROLONGED_SOUNDMARK ) ),
aIgnore ( this, CUI_RES( FL_IGNORE ) ),
aIgnorePunctuation ( this, CUI_RES( CB_IGNORE_PUNCTUATION ) ),
aIgnoreWhitespace ( this, CUI_RES( CB_IGNORE_WHITESPACES ) ),
aIgnoreMiddleDot ( this, CUI_RES( CB_IGNORE_MIDDLE_DOT ) )
{ {
FreeResource(); get( m_pMatchCase, "matchcase");
get( m_pMatchFullHalfWidth, "matchfullhalfwidth");
get( m_pMatchHiraganaKatakana, "matchhiraganakatakana");
get( m_pMatchContractions, "matchcontractions");
get( m_pMatchMinusDashChoon, "matchminusdashchoon");
get( m_pMatchRepeatCharMarks, "matchrepeatcharmarks");
get( m_pMatchVariantFormKanji, "matchvariantformkanji");
get( m_pMatchOldKanaForms, "matcholdkanaforms");
get( m_pMatchDiziDuzu, "matchdiziduzu");
get( m_pMatchBavaHafa, "matchbavahafa");
get( m_pMatchTsithichiDhizi, "matchtsithichidhizi");
get( m_pMatchHyuiyuByuvyu, "matchhyuiyubyuvyu");
get( m_pMatchSesheZeje, "matchseshezeje");
get( m_pMatchIaiya, "matchiaiya");
get( m_pMatchKiku, "matchkiku");
get( m_pMatchProlongedSoundMark, "matchprolongedsoundmark");
get( m_pIgnorePunctuation, "ignorepunctuation");
get( m_pIgnoreWhitespace, "ignorewhitespace");
get( m_pIgnoreMiddleDot, "ignoremiddledot");
bSaveOptions = sal_True; bSaveOptions = sal_True;
nTransliterationFlags = 0x00000000; nTransliterationFlags = 0x00000000;
} }
...@@ -74,43 +71,43 @@ SfxTabPage* SvxJSearchOptionsPage::Create( Window* pParent, const SfxItemSet& r ...@@ -74,43 +71,43 @@ SfxTabPage* SvxJSearchOptionsPage::Create( Window* pParent, const SfxItemSet& r
void SvxJSearchOptionsPage::SetTransliterationFlags( sal_Int32 nSettings ) void SvxJSearchOptionsPage::SetTransliterationFlags( sal_Int32 nSettings )
{ {
sal_Bool bVal = 0 != (nSettings & TransliterationModules_IGNORE_CASE); sal_Bool bVal = 0 != (nSettings & TransliterationModules_IGNORE_CASE);
aMatchCase .Check( bVal ); //! treat as equal uppercase/lowercase m_pMatchCase ->Check( bVal ); //! treat as equal uppercase/lowercase
bVal = 0 != (nSettings & TransliterationModules_IGNORE_WIDTH); bVal = 0 != (nSettings & TransliterationModules_IGNORE_WIDTH);
aMatchFullHalfWidth .Check( bVal ); m_pMatchFullHalfWidth ->Check( bVal );
bVal = 0 != (nSettings & TransliterationModules_IGNORE_KANA); bVal = 0 != (nSettings & TransliterationModules_IGNORE_KANA);
aMatchHiraganaKatakana .Check( bVal ); m_pMatchHiraganaKatakana ->Check( bVal );
bVal = 0 != (nSettings & TransliterationModules_ignoreSize_ja_JP); bVal = 0 != (nSettings & TransliterationModules_ignoreSize_ja_JP);
aMatchContractions .Check( bVal ); m_pMatchContractions ->Check( bVal );
bVal = 0 != (nSettings & TransliterationModules_ignoreMinusSign_ja_JP); bVal = 0 != (nSettings & TransliterationModules_ignoreMinusSign_ja_JP);
aMatchMinusDashChoon .Check( bVal ); m_pMatchMinusDashChoon ->Check( bVal );
bVal = 0 != (nSettings & TransliterationModules_ignoreIterationMark_ja_JP); bVal = 0 != (nSettings & TransliterationModules_ignoreIterationMark_ja_JP);
aMatchRepeatCharMarks .Check( bVal ); m_pMatchRepeatCharMarks ->Check( bVal );
bVal = 0 != (nSettings & TransliterationModules_ignoreTraditionalKanji_ja_JP); bVal = 0 != (nSettings & TransliterationModules_ignoreTraditionalKanji_ja_JP);
aMatchVariantFormKanji .Check( bVal ); m_pMatchVariantFormKanji ->Check( bVal );
bVal = 0 != (nSettings & TransliterationModules_ignoreTraditionalKana_ja_JP); bVal = 0 != (nSettings & TransliterationModules_ignoreTraditionalKana_ja_JP);
aMatchOldKanaForms .Check( bVal ); m_pMatchOldKanaForms ->Check( bVal );
bVal = 0 != (nSettings & TransliterationModules_ignoreZiZu_ja_JP); bVal = 0 != (nSettings & TransliterationModules_ignoreZiZu_ja_JP);
aMatchDiziDuzu .Check( bVal ); m_pMatchDiziDuzu ->Check( bVal );
bVal = 0 != (nSettings & TransliterationModules_ignoreBaFa_ja_JP); bVal = 0 != (nSettings & TransliterationModules_ignoreBaFa_ja_JP);
aMatchBavaHafa .Check( bVal ); m_pMatchBavaHafa ->Check( bVal );
bVal = 0 != (nSettings & TransliterationModules_ignoreTiJi_ja_JP); bVal = 0 != (nSettings & TransliterationModules_ignoreTiJi_ja_JP);
aMatchTsithichiDhizi .Check( bVal ); m_pMatchTsithichiDhizi ->Check( bVal );
bVal = 0 != (nSettings & TransliterationModules_ignoreHyuByu_ja_JP); bVal = 0 != (nSettings & TransliterationModules_ignoreHyuByu_ja_JP);
aMatchHyuiyuByuvyu .Check( bVal ); m_pMatchHyuiyuByuvyu ->Check( bVal );
bVal = 0 != (nSettings & TransliterationModules_ignoreSeZe_ja_JP); bVal = 0 != (nSettings & TransliterationModules_ignoreSeZe_ja_JP);
aMatchSesheZeje .Check( bVal ); m_pMatchSesheZeje ->Check( bVal );
bVal = 0 != (nSettings & TransliterationModules_ignoreIandEfollowedByYa_ja_JP); bVal = 0 != (nSettings & TransliterationModules_ignoreIandEfollowedByYa_ja_JP);
aMatchIaiya .Check( bVal ); m_pMatchIaiya ->Check( bVal );
bVal = 0 != (nSettings & TransliterationModules_ignoreKiKuFollowedBySa_ja_JP); bVal = 0 != (nSettings & TransliterationModules_ignoreKiKuFollowedBySa_ja_JP);
aMatchKiku .Check( bVal ); m_pMatchKiku ->Check( bVal );
bVal = 0 != (nSettings & TransliterationModules_ignoreSeparator_ja_JP); bVal = 0 != (nSettings & TransliterationModules_ignoreSeparator_ja_JP);
aIgnorePunctuation .Check( bVal ); m_pIgnorePunctuation ->Check( bVal );
bVal = 0 != (nSettings & TransliterationModules_ignoreSpace_ja_JP); bVal = 0 != (nSettings & TransliterationModules_ignoreSpace_ja_JP);
aIgnoreWhitespace .Check( bVal ); m_pIgnoreWhitespace ->Check( bVal );
bVal = 0 != (nSettings & TransliterationModules_ignoreProlongedSoundMark_ja_JP); bVal = 0 != (nSettings & TransliterationModules_ignoreProlongedSoundMark_ja_JP);
aMatchProlongedSoundMark.Check( bVal ); m_pMatchProlongedSoundMark->Check( bVal );
bVal = 0 != (nSettings & TransliterationModules_ignoreMiddleDot_ja_JP); bVal = 0 != (nSettings & TransliterationModules_ignoreMiddleDot_ja_JP);
aIgnoreMiddleDot .Check( bVal ); m_pIgnoreMiddleDot ->Check( bVal );
nTransliterationFlags = nSettings; nTransliterationFlags = nSettings;
} }
...@@ -119,43 +116,43 @@ void SvxJSearchOptionsPage::SetTransliterationFlags( sal_Int32 nSettings ) ...@@ -119,43 +116,43 @@ void SvxJSearchOptionsPage::SetTransliterationFlags( sal_Int32 nSettings )
sal_Int32 SvxJSearchOptionsPage::GetTransliterationFlags_Impl() sal_Int32 SvxJSearchOptionsPage::GetTransliterationFlags_Impl()
{ {
sal_Int32 nTmp = 0; sal_Int32 nTmp = 0;
if (aMatchCase.IsChecked()) //! treat as equal uppercase/lowercase if (m_pMatchCase->IsChecked()) //! treat as equal uppercase/lowercase
nTmp |= TransliterationModules_IGNORE_CASE; nTmp |= TransliterationModules_IGNORE_CASE;
if (aMatchFullHalfWidth.IsChecked()) if (m_pMatchFullHalfWidth->IsChecked())
nTmp |= TransliterationModules_IGNORE_WIDTH; nTmp |= TransliterationModules_IGNORE_WIDTH;
if (aMatchHiraganaKatakana.IsChecked()) if (m_pMatchHiraganaKatakana->IsChecked())
nTmp |= TransliterationModules_IGNORE_KANA; nTmp |= TransliterationModules_IGNORE_KANA;
if (aMatchContractions.IsChecked()) if (m_pMatchContractions->IsChecked())
nTmp |= TransliterationModules_ignoreSize_ja_JP; nTmp |= TransliterationModules_ignoreSize_ja_JP;
if (aMatchMinusDashChoon.IsChecked()) if (m_pMatchMinusDashChoon->IsChecked())
nTmp |= TransliterationModules_ignoreMinusSign_ja_JP; nTmp |= TransliterationModules_ignoreMinusSign_ja_JP;
if (aMatchRepeatCharMarks.IsChecked()) if (m_pMatchRepeatCharMarks->IsChecked())
nTmp |= TransliterationModules_ignoreIterationMark_ja_JP; nTmp |= TransliterationModules_ignoreIterationMark_ja_JP;
if (aMatchVariantFormKanji.IsChecked()) if (m_pMatchVariantFormKanji->IsChecked())
nTmp |= TransliterationModules_ignoreTraditionalKanji_ja_JP; nTmp |= TransliterationModules_ignoreTraditionalKanji_ja_JP;
if (aMatchOldKanaForms.IsChecked()) if (m_pMatchOldKanaForms->IsChecked())
nTmp |= TransliterationModules_ignoreTraditionalKana_ja_JP; nTmp |= TransliterationModules_ignoreTraditionalKana_ja_JP;
if (aMatchDiziDuzu.IsChecked()) if (m_pMatchDiziDuzu->IsChecked())
nTmp |= TransliterationModules_ignoreZiZu_ja_JP; nTmp |= TransliterationModules_ignoreZiZu_ja_JP;
if (aMatchBavaHafa.IsChecked()) if (m_pMatchBavaHafa->IsChecked())
nTmp |= TransliterationModules_ignoreBaFa_ja_JP; nTmp |= TransliterationModules_ignoreBaFa_ja_JP;
if (aMatchTsithichiDhizi.IsChecked()) if (m_pMatchTsithichiDhizi->IsChecked())
nTmp |= TransliterationModules_ignoreTiJi_ja_JP; nTmp |= TransliterationModules_ignoreTiJi_ja_JP;
if (aMatchHyuiyuByuvyu.IsChecked()) if (m_pMatchHyuiyuByuvyu->IsChecked())
nTmp |= TransliterationModules_ignoreHyuByu_ja_JP; nTmp |= TransliterationModules_ignoreHyuByu_ja_JP;
if (aMatchSesheZeje.IsChecked()) if (m_pMatchSesheZeje->IsChecked())
nTmp |= TransliterationModules_ignoreSeZe_ja_JP; nTmp |= TransliterationModules_ignoreSeZe_ja_JP;
if (aMatchIaiya.IsChecked()) if (m_pMatchIaiya->IsChecked())
nTmp |= TransliterationModules_ignoreIandEfollowedByYa_ja_JP; nTmp |= TransliterationModules_ignoreIandEfollowedByYa_ja_JP;
if (aMatchKiku.IsChecked()) if (m_pMatchKiku->IsChecked())
nTmp |= TransliterationModules_ignoreKiKuFollowedBySa_ja_JP; nTmp |= TransliterationModules_ignoreKiKuFollowedBySa_ja_JP;
if (aIgnorePunctuation.IsChecked()) if (m_pIgnorePunctuation->IsChecked())
nTmp |= TransliterationModules_ignoreSeparator_ja_JP; nTmp |= TransliterationModules_ignoreSeparator_ja_JP;
if (aIgnoreWhitespace.IsChecked()) if (m_pIgnoreWhitespace->IsChecked())
nTmp |= TransliterationModules_ignoreSpace_ja_JP; nTmp |= TransliterationModules_ignoreSpace_ja_JP;
if (aMatchProlongedSoundMark.IsChecked()) if (m_pMatchProlongedSoundMark->IsChecked())
nTmp |= TransliterationModules_ignoreProlongedSoundMark_ja_JP; nTmp |= TransliterationModules_ignoreProlongedSoundMark_ja_JP;
if (aIgnoreMiddleDot.IsChecked()) if (m_pIgnoreMiddleDot->IsChecked())
nTmp |= TransliterationModules_ignoreMiddleDot_ja_JP; nTmp |= TransliterationModules_ignoreMiddleDot_ja_JP;
nTransliterationFlags = nTmp; nTransliterationFlags = nTmp;
...@@ -168,49 +165,49 @@ void SvxJSearchOptionsPage::Reset( const SfxItemSet& ) ...@@ -168,49 +165,49 @@ void SvxJSearchOptionsPage::Reset( const SfxItemSet& )
SvtSearchOptions aOpt; SvtSearchOptions aOpt;
// read settings from configuration // read settings from configuration
aMatchCase .Check(!aOpt.IsMatchCase() ); //! treat as equal uppercase/lowercase m_pMatchCase ->Check(!aOpt.IsMatchCase() ); //! treat as equal uppercase/lowercase
aMatchFullHalfWidth .Check( aOpt.IsMatchFullHalfWidthForms() ); m_pMatchFullHalfWidth ->Check( aOpt.IsMatchFullHalfWidthForms() );
aMatchHiraganaKatakana .Check( aOpt.IsMatchHiraganaKatakana() ); m_pMatchHiraganaKatakana ->Check( aOpt.IsMatchHiraganaKatakana() );
aMatchContractions .Check( aOpt.IsMatchContractions() ); m_pMatchContractions ->Check( aOpt.IsMatchContractions() );
aMatchMinusDashChoon .Check( aOpt.IsMatchMinusDashChoon() ); m_pMatchMinusDashChoon ->Check( aOpt.IsMatchMinusDashChoon() );
aMatchRepeatCharMarks .Check( aOpt.IsMatchRepeatCharMarks() ); m_pMatchRepeatCharMarks ->Check( aOpt.IsMatchRepeatCharMarks() );
aMatchVariantFormKanji .Check( aOpt.IsMatchVariantFormKanji() ); m_pMatchVariantFormKanji ->Check( aOpt.IsMatchVariantFormKanji() );
aMatchOldKanaForms .Check( aOpt.IsMatchOldKanaForms() ); m_pMatchOldKanaForms ->Check( aOpt.IsMatchOldKanaForms() );
aMatchDiziDuzu .Check( aOpt.IsMatchDiziDuzu() ); m_pMatchDiziDuzu ->Check( aOpt.IsMatchDiziDuzu() );
aMatchBavaHafa .Check( aOpt.IsMatchBavaHafa() ); m_pMatchBavaHafa ->Check( aOpt.IsMatchBavaHafa() );
aMatchTsithichiDhizi .Check( aOpt.IsMatchTsithichiDhizi() ); m_pMatchTsithichiDhizi ->Check( aOpt.IsMatchTsithichiDhizi() );
aMatchHyuiyuByuvyu .Check( aOpt.IsMatchHyuiyuByuvyu() ); m_pMatchHyuiyuByuvyu ->Check( aOpt.IsMatchHyuiyuByuvyu() );
aMatchSesheZeje .Check( aOpt.IsMatchSesheZeje() ); m_pMatchSesheZeje ->Check( aOpt.IsMatchSesheZeje() );
aMatchIaiya .Check( aOpt.IsMatchIaiya() ); m_pMatchIaiya ->Check( aOpt.IsMatchIaiya() );
aMatchKiku .Check( aOpt.IsMatchKiku() ); m_pMatchKiku ->Check( aOpt.IsMatchKiku() );
aIgnorePunctuation .Check( aOpt.IsIgnorePunctuation() ); m_pIgnorePunctuation ->Check( aOpt.IsIgnorePunctuation() );
aIgnoreWhitespace .Check( aOpt.IsIgnoreWhitespace() ); m_pIgnoreWhitespace ->Check( aOpt.IsIgnoreWhitespace() );
aMatchProlongedSoundMark .Check( aOpt.IsIgnoreProlongedSoundMark() ); m_pMatchProlongedSoundMark ->Check( aOpt.IsIgnoreProlongedSoundMark() );
aIgnoreMiddleDot .Check( aOpt.IsIgnoreMiddleDot() ); m_pIgnoreMiddleDot ->Check( aOpt.IsIgnoreMiddleDot() );
nTransliterationFlags = GetTransliterationFlags_Impl(); nTransliterationFlags = GetTransliterationFlags_Impl();
DBG_ASSERT( nTransliterationFlags == aOpt.GetTransliterationFlags(), DBG_ASSERT( nTransliterationFlags == aOpt.GetTransliterationFlags(),
"Transliteration settings different" ); "Transliteration settings different" );
aMatchCase .SaveValue(); m_pMatchCase ->SaveValue();
aMatchFullHalfWidth .SaveValue(); m_pMatchFullHalfWidth ->SaveValue();
aMatchHiraganaKatakana .SaveValue(); m_pMatchHiraganaKatakana ->SaveValue();
aMatchContractions .SaveValue(); m_pMatchContractions ->SaveValue();
aMatchMinusDashChoon .SaveValue(); m_pMatchMinusDashChoon ->SaveValue();
aMatchRepeatCharMarks .SaveValue(); m_pMatchRepeatCharMarks ->SaveValue();
aMatchVariantFormKanji .SaveValue(); m_pMatchVariantFormKanji ->SaveValue();
aMatchOldKanaForms .SaveValue(); m_pMatchOldKanaForms ->SaveValue();
aMatchDiziDuzu .SaveValue(); m_pMatchDiziDuzu ->SaveValue();
aMatchBavaHafa .SaveValue(); m_pMatchBavaHafa ->SaveValue();
aMatchTsithichiDhizi .SaveValue(); m_pMatchTsithichiDhizi ->SaveValue();
aMatchHyuiyuByuvyu .SaveValue(); m_pMatchHyuiyuByuvyu ->SaveValue();
aMatchSesheZeje .SaveValue(); m_pMatchSesheZeje ->SaveValue();
aMatchIaiya .SaveValue(); m_pMatchIaiya ->SaveValue();
aMatchKiku .SaveValue(); m_pMatchKiku ->SaveValue();
aIgnorePunctuation .SaveValue(); m_pIgnorePunctuation ->SaveValue();
aIgnoreWhitespace .SaveValue(); m_pIgnoreWhitespace ->SaveValue();
aMatchProlongedSoundMark .SaveValue(); m_pMatchProlongedSoundMark ->SaveValue();
aIgnoreMiddleDot .SaveValue(); m_pIgnoreMiddleDot ->SaveValue();
} }
...@@ -227,134 +224,134 @@ sal_Bool SvxJSearchOptionsPage::FillItemSet( SfxItemSet& ) ...@@ -227,134 +224,134 @@ sal_Bool SvxJSearchOptionsPage::FillItemSet( SfxItemSet& )
SvtSearchOptions aOpt; SvtSearchOptions aOpt;
sal_Bool bNewVal, bChanged; sal_Bool bNewVal, bChanged;
bNewVal = aMatchCase.IsChecked(); //! treat as equal uppercase/lowercase bNewVal = m_pMatchCase->IsChecked(); //! treat as equal uppercase/lowercase
bChanged = bNewVal != aMatchCase.GetSavedValue(); bChanged = bNewVal != m_pMatchCase->GetSavedValue();
if (bChanged) if (bChanged)
{ {
aOpt.SetMatchCase(!bNewVal ); aOpt.SetMatchCase(!bNewVal );
bModified = sal_True; bModified = sal_True;
} }
bNewVal = aMatchFullHalfWidth.IsChecked(); bNewVal = m_pMatchFullHalfWidth->IsChecked();
bChanged = bNewVal != aMatchFullHalfWidth.GetSavedValue(); bChanged = bNewVal != m_pMatchFullHalfWidth->GetSavedValue();
if (bChanged) if (bChanged)
{ {
aOpt.SetMatchFullHalfWidthForms( bNewVal ); aOpt.SetMatchFullHalfWidthForms( bNewVal );
bModified = sal_True; bModified = sal_True;
} }
bNewVal = aMatchHiraganaKatakana.IsChecked(); bNewVal = m_pMatchHiraganaKatakana->IsChecked();
bChanged = bNewVal != aMatchHiraganaKatakana.GetSavedValue(); bChanged = bNewVal != m_pMatchHiraganaKatakana->GetSavedValue();
if (bChanged) if (bChanged)
{ {
aOpt.SetMatchHiraganaKatakana( bNewVal ); aOpt.SetMatchHiraganaKatakana( bNewVal );
bModified = sal_True; bModified = sal_True;
} }
bNewVal = aMatchContractions.IsChecked(); bNewVal = m_pMatchContractions->IsChecked();
bChanged = bNewVal != aMatchContractions.GetSavedValue(); bChanged = bNewVal != m_pMatchContractions->GetSavedValue();
if (bChanged) if (bChanged)
{ {
aOpt.SetMatchContractions( bNewVal ); aOpt.SetMatchContractions( bNewVal );
bModified = sal_True; bModified = sal_True;
} }
bNewVal = aMatchMinusDashChoon.IsChecked(); bNewVal = m_pMatchMinusDashChoon->IsChecked();
bChanged = bNewVal != aMatchMinusDashChoon.GetSavedValue(); bChanged = bNewVal != m_pMatchMinusDashChoon->GetSavedValue();
if (bChanged) if (bChanged)
{ {
aOpt.SetMatchMinusDashChoon( bNewVal ); aOpt.SetMatchMinusDashChoon( bNewVal );
bModified = sal_True; bModified = sal_True;
} }
bNewVal = aMatchRepeatCharMarks.IsChecked(); bNewVal = m_pMatchRepeatCharMarks->IsChecked();
bChanged = bNewVal != aMatchRepeatCharMarks.GetSavedValue(); bChanged = bNewVal != m_pMatchRepeatCharMarks->GetSavedValue();
if (bChanged) if (bChanged)
{ {
aOpt.SetMatchRepeatCharMarks( bNewVal ); aOpt.SetMatchRepeatCharMarks( bNewVal );
bModified = sal_True; bModified = sal_True;
} }
bNewVal = aMatchVariantFormKanji.IsChecked(); bNewVal = m_pMatchVariantFormKanji->IsChecked();
bChanged = bNewVal != aMatchVariantFormKanji.GetSavedValue(); bChanged = bNewVal != m_pMatchVariantFormKanji->GetSavedValue();
if (bChanged) if (bChanged)
{ {
aOpt.SetMatchVariantFormKanji( bNewVal ); aOpt.SetMatchVariantFormKanji( bNewVal );
bModified = sal_True; bModified = sal_True;
} }
bNewVal = aMatchOldKanaForms.IsChecked(); bNewVal = m_pMatchOldKanaForms->IsChecked();
bChanged = bNewVal != aMatchOldKanaForms.GetSavedValue(); bChanged = bNewVal != m_pMatchOldKanaForms->GetSavedValue();
if (bChanged) if (bChanged)
{ {
aOpt.SetMatchOldKanaForms( bNewVal ); aOpt.SetMatchOldKanaForms( bNewVal );
bModified = sal_True; bModified = sal_True;
} }
bNewVal = aMatchDiziDuzu.IsChecked(); bNewVal = m_pMatchDiziDuzu->IsChecked();
bChanged = bNewVal != aMatchDiziDuzu.GetSavedValue(); bChanged = bNewVal != m_pMatchDiziDuzu->GetSavedValue();
if (bChanged) if (bChanged)
{ {
aOpt.SetMatchDiziDuzu( bNewVal ); aOpt.SetMatchDiziDuzu( bNewVal );
bModified = sal_True; bModified = sal_True;
} }
bNewVal = aMatchBavaHafa.IsChecked(); bNewVal = m_pMatchBavaHafa->IsChecked();
bChanged = bNewVal != aMatchBavaHafa.GetSavedValue(); bChanged = bNewVal != m_pMatchBavaHafa->GetSavedValue();
if (bChanged) if (bChanged)
{ {
aOpt.SetMatchBavaHafa( bNewVal ); aOpt.SetMatchBavaHafa( bNewVal );
bModified = sal_True; bModified = sal_True;
} }
bNewVal = aMatchTsithichiDhizi.IsChecked(); bNewVal = m_pMatchTsithichiDhizi->IsChecked();
bChanged = bNewVal != aMatchTsithichiDhizi.GetSavedValue(); bChanged = bNewVal != m_pMatchTsithichiDhizi->GetSavedValue();
if (bChanged) if (bChanged)
{ {
aOpt.SetMatchTsithichiDhizi( bNewVal ); aOpt.SetMatchTsithichiDhizi( bNewVal );
bModified = sal_True; bModified = sal_True;
} }
bNewVal = aMatchHyuiyuByuvyu.IsChecked(); bNewVal = m_pMatchHyuiyuByuvyu->IsChecked();
bChanged = bNewVal != aMatchHyuiyuByuvyu.GetSavedValue(); bChanged = bNewVal != m_pMatchHyuiyuByuvyu->GetSavedValue();
if (bChanged) if (bChanged)
{ {
aOpt.SetMatchHyuiyuByuvyu( bNewVal ); aOpt.SetMatchHyuiyuByuvyu( bNewVal );
bModified = sal_True; bModified = sal_True;
} }
bNewVal = aMatchSesheZeje.IsChecked(); bNewVal = m_pMatchSesheZeje->IsChecked();
bChanged = bNewVal != aMatchSesheZeje.GetSavedValue(); bChanged = bNewVal != m_pMatchSesheZeje->GetSavedValue();
if (bChanged) if (bChanged)
{ {
aOpt.SetMatchSesheZeje( bNewVal ); aOpt.SetMatchSesheZeje( bNewVal );
bModified = sal_True; bModified = sal_True;
} }
bNewVal = aMatchIaiya.IsChecked(); bNewVal = m_pMatchIaiya->IsChecked();
bChanged = bNewVal != aMatchIaiya.GetSavedValue(); bChanged = bNewVal != m_pMatchIaiya->GetSavedValue();
if (bChanged) if (bChanged)
{ {
aOpt.SetMatchIaiya( bNewVal ); aOpt.SetMatchIaiya( bNewVal );
bModified = sal_True; bModified = sal_True;
} }
bNewVal = aMatchKiku.IsChecked(); bNewVal = m_pMatchKiku->IsChecked();
bChanged = bNewVal != aMatchKiku.GetSavedValue(); bChanged = bNewVal != m_pMatchKiku->GetSavedValue();
if (bChanged) if (bChanged)
{ {
aOpt.SetMatchKiku( bNewVal ); aOpt.SetMatchKiku( bNewVal );
bModified = sal_True; bModified = sal_True;
} }
bNewVal = aIgnorePunctuation.IsChecked(); bNewVal = m_pIgnorePunctuation->IsChecked();
bChanged = bNewVal != aIgnorePunctuation.GetSavedValue(); bChanged = bNewVal != m_pIgnorePunctuation->GetSavedValue();
if (bChanged) if (bChanged)
{ {
aOpt.SetIgnorePunctuation( bNewVal ); aOpt.SetIgnorePunctuation( bNewVal );
bModified = sal_True; bModified = sal_True;
} }
bNewVal = aIgnoreWhitespace.IsChecked(); bNewVal = m_pIgnoreWhitespace->IsChecked();
bChanged = bNewVal != aIgnoreWhitespace.GetSavedValue(); bChanged = bNewVal != m_pIgnoreWhitespace->GetSavedValue();
if (bChanged) if (bChanged)
{ {
aOpt.SetIgnoreWhitespace( bNewVal ); aOpt.SetIgnoreWhitespace( bNewVal );
bModified = sal_True; bModified = sal_True;
} }
bNewVal = aMatchProlongedSoundMark.IsChecked(); bNewVal = m_pMatchProlongedSoundMark->IsChecked();
bChanged = bNewVal != aMatchProlongedSoundMark.GetSavedValue(); bChanged = bNewVal != m_pMatchProlongedSoundMark->GetSavedValue();
if (bChanged) if (bChanged)
{ {
aOpt.SetIgnoreProlongedSoundMark( bNewVal ); aOpt.SetIgnoreProlongedSoundMark( bNewVal );
bModified = sal_True; bModified = sal_True;
} }
bNewVal = aIgnoreMiddleDot.IsChecked(); bNewVal = m_pIgnoreMiddleDot->IsChecked();
bChanged = bNewVal != aIgnoreMiddleDot.GetSavedValue(); bChanged = bNewVal != m_pIgnoreMiddleDot->GetSavedValue();
if (bChanged) if (bChanged)
{ {
aOpt.SetIgnoreMiddleDot( bNewVal ); aOpt.SetIgnoreMiddleDot( bNewVal );
......
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#define FL_TREAT_AS_EQUAL 100
#define CB_MATCH_CASE 101
#define CB_MATCH_FULL_HALF_WIDTH 102
#define CB_MATCH_HIRAGANA_KATAKANA 103
#define CB_MATCH_CONTRACTIONS 104
#define CB_MATCH_MINUS_DASH_CHOON 105
#define CB_MATCH_REPEAT_CHAR_MARKS 106
#define CB_MATCH_VARIANT_FORM_KANJI 107
#define CB_MATCH_OLD_KANA_FORMS 108
#define CB_MATCH_DIZI_DUZU 109
#define CB_MATCH_BAVA_HAFA 110
#define CB_MATCH_TSITHICHI_DHIZI 111
#define CB_MATCH_HYUFYU_BYUVYU 112
#define CB_MATCH_SESHE_ZEJE 113
#define CB_MATCH_IAIYA 114
#define CB_MATCH_KIKU 115
#define FL_IGNORE 200
#define CB_IGNORE_PUNCTUATION 201
#define CB_IGNORE_WHITESPACES 202
#define CB_MATCH_PROLONGED_SOUNDMARK 203
#define CB_IGNORE_MIDDLE_DOT 204
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -32,27 +32,26 @@ class SfxItemSet; ...@@ -32,27 +32,26 @@ class SfxItemSet;
class SvxJSearchOptionsPage : public SfxTabPage class SvxJSearchOptionsPage : public SfxTabPage
{ {
private: private:
FixedLine aTreatAsEqual; CheckBox* m_pMatchCase;
CheckBox aMatchCase; CheckBox* m_pMatchFullHalfWidth;
CheckBox aMatchFullHalfWidth; CheckBox* m_pMatchHiraganaKatakana;
CheckBox aMatchHiraganaKatakana; CheckBox* m_pMatchContractions;
CheckBox aMatchContractions; CheckBox* m_pMatchMinusDashChoon;
CheckBox aMatchMinusDashChoon; CheckBox* m_pMatchRepeatCharMarks;
CheckBox aMatchRepeatCharMarks; CheckBox* m_pMatchVariantFormKanji;
CheckBox aMatchVariantFormKanji; CheckBox* m_pMatchOldKanaForms;
CheckBox aMatchOldKanaForms; CheckBox* m_pMatchDiziDuzu;
CheckBox aMatchDiziDuzu; CheckBox* m_pMatchBavaHafa;
CheckBox aMatchBavaHafa; CheckBox* m_pMatchTsithichiDhizi;
CheckBox aMatchTsithichiDhizi; CheckBox* m_pMatchHyuiyuByuvyu;
CheckBox aMatchHyuiyuByuvyu; CheckBox* m_pMatchSesheZeje;
CheckBox aMatchSesheZeje; CheckBox* m_pMatchIaiya;
CheckBox aMatchIaiya; CheckBox* m_pMatchKiku;
CheckBox aMatchKiku; CheckBox* m_pMatchProlongedSoundMark;
CheckBox aMatchProlongedSoundMark;
FixedLine aIgnore; CheckBox* m_pIgnorePunctuation;
CheckBox aIgnorePunctuation; CheckBox* m_pIgnoreWhitespace;
CheckBox aIgnoreWhitespace; CheckBox* m_pIgnoreMiddleDot;
CheckBox aIgnoreMiddleDot;
sal_Int32 nTransliterationFlags; sal_Int32 nTransliterationFlags;
sal_Bool bSaveOptions; sal_Bool bSaveOptions;
......
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <helpid.hrc>
#include <cuires.hrc>
#include "optjsearch.hrc"
TabPage RID_SVXPAGE_JSEARCH_OPTIONS
{
HelpId = HID_SVXPAGE_JSEARCH_OPTIONS ;
SVLook = TRUE ;
Hide = TRUE ;
Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
FixedLine FL_TREAT_AS_EQUAL
{
Pos = MAP_APPFONT( 6, 3 );
Size = MAP_APPFONT( 248, 8 );
Text [ en-US ] = "Treat as equal";
};
CheckBox CB_MATCH_CASE
{
HelpID = "cui:CheckBox:RID_SVXPAGE_JSEARCH_OPTIONS:CB_MATCH_CASE";
Pos = MAP_APPFONT ( 12 , 14 ) ;
Size = MAP_APPFONT ( 118 , 10 ) ;
Text [ en-US ] = "~uppercase/lowercase";
};
CheckBox CB_MATCH_FULL_HALF_WIDTH
{
HelpID = "cui:CheckBox:RID_SVXPAGE_JSEARCH_OPTIONS:CB_MATCH_FULL_HALF_WIDTH";
Pos = MAP_APPFONT ( 12 , 28 ) ;
Size = MAP_APPFONT ( 118 , 10 ) ;
Text [ en-US ] = "~full-width/half-width forms";
};
CheckBox CB_MATCH_HIRAGANA_KATAKANA
{
HelpID = "cui:CheckBox:RID_SVXPAGE_JSEARCH_OPTIONS:CB_MATCH_HIRAGANA_KATAKANA";
Pos = MAP_APPFONT ( 12 , 42 ) ;
Size = MAP_APPFONT ( 118 , 10 ) ;
Text [ en-US ] = "~hiragana/katakana";
};
CheckBox CB_MATCH_CONTRACTIONS
{
HelpID = "cui:CheckBox:RID_SVXPAGE_JSEARCH_OPTIONS:CB_MATCH_CONTRACTIONS";
Pos = MAP_APPFONT ( 12 , 56 ) ;
Size = MAP_APPFONT ( 118 , 10 ) ;
Text [ en-US ] = "~contractions (yo-on, sokuon)";
};
CheckBox CB_MATCH_MINUS_DASH_CHOON
{
HelpID = "cui:CheckBox:RID_SVXPAGE_JSEARCH_OPTIONS:CB_MATCH_MINUS_DASH_CHOON";
Pos = MAP_APPFONT ( 12 , 70 ) ;
Size = MAP_APPFONT ( 118 , 10 ) ;
Text [ en-US ] = "~minus/dash/cho-on";
};
CheckBox CB_MATCH_REPEAT_CHAR_MARKS
{
HelpID = "cui:CheckBox:RID_SVXPAGE_JSEARCH_OPTIONS:CB_MATCH_REPEAT_CHAR_MARKS";
Pos = MAP_APPFONT ( 12 , 84 ) ;
Size = MAP_APPFONT ( 118 , 10 ) ;
Text [ en-US ] = "'re~peat character' marks";
};
CheckBox CB_MATCH_VARIANT_FORM_KANJI
{
HelpID = "cui:CheckBox:RID_SVXPAGE_JSEARCH_OPTIONS:CB_MATCH_VARIANT_FORM_KANJI";
Pos = MAP_APPFONT ( 12 , 98 ) ;
Size = MAP_APPFONT ( 118 , 10 ) ;
Text [ en-US ] = "~variant-form kanji (itaiji)";
};
CheckBox CB_MATCH_OLD_KANA_FORMS
{
HelpID = "cui:CheckBox:RID_SVXPAGE_JSEARCH_OPTIONS:CB_MATCH_OLD_KANA_FORMS";
Pos = MAP_APPFONT ( 12 , 112) ;
Size = MAP_APPFONT ( 118 , 10 ) ;
Text [ en-US ] = "~old Kana forms";
};
CheckBox CB_MATCH_DIZI_DUZU
{
HelpID = "cui:CheckBox:RID_SVXPAGE_JSEARCH_OPTIONS:CB_MATCH_DIZI_DUZU";
Pos = MAP_APPFONT ( 136 , 14 ) ;
Size = MAP_APPFONT ( 118 , 10 ) ;
Text [ en-US ] = "~di/zi, du/zu";
};
CheckBox CB_MATCH_BAVA_HAFA
{
HelpID = "cui:CheckBox:RID_SVXPAGE_JSEARCH_OPTIONS:CB_MATCH_BAVA_HAFA";
Pos = MAP_APPFONT ( 136 , 28 ) ;
Size = MAP_APPFONT ( 118 , 10 ) ;
Text [ en-US ] = "~ba/va, ha/fa";
};
CheckBox CB_MATCH_TSITHICHI_DHIZI
{
HelpID = "cui:CheckBox:RID_SVXPAGE_JSEARCH_OPTIONS:CB_MATCH_TSITHICHI_DHIZI";
Pos = MAP_APPFONT ( 136 , 42 ) ;
Size = MAP_APPFONT ( 118 , 10 ) ;
Text [ en-US ] = "~tsi/thi/chi, dhi/zi";
};
CheckBox CB_MATCH_HYUFYU_BYUVYU
{
HelpID = "cui:CheckBox:RID_SVXPAGE_JSEARCH_OPTIONS:CB_MATCH_HYUFYU_BYUVYU";
Pos = MAP_APPFONT ( 136 , 56 ) ;
Size = MAP_APPFONT ( 118 , 10 ) ;
Text [ en-US ] = "h~yu/fyu, byu/vyu";
};
CheckBox CB_MATCH_SESHE_ZEJE
{
HelpID = "cui:CheckBox:RID_SVXPAGE_JSEARCH_OPTIONS:CB_MATCH_SESHE_ZEJE";
Pos = MAP_APPFONT ( 136 , 70 ) ;
Size = MAP_APPFONT ( 118 , 10 ) ;
Text [ en-US ] = "~se/she, ze/je";
};
CheckBox CB_MATCH_IAIYA
{
HelpID = "cui:CheckBox:RID_SVXPAGE_JSEARCH_OPTIONS:CB_MATCH_IAIYA";
Pos = MAP_APPFONT ( 136 , 84 ) ;
Size = MAP_APPFONT ( 118 , 10 ) ;
Text [ en-US ] = "~ia/iya (piano/piyano)";
};
CheckBox CB_MATCH_KIKU
{
HelpID = "cui:CheckBox:RID_SVXPAGE_JSEARCH_OPTIONS:CB_MATCH_KIKU";
Pos = MAP_APPFONT ( 136 , 98 ) ;
Size = MAP_APPFONT ( 118 , 10 ) ;
Text [ en-US ] = "~ki/ku (tekisuto/tekusuto)";
};
CheckBox CB_MATCH_PROLONGED_SOUNDMARK
{
HelpID = "cui:CheckBox:RID_SVXPAGE_JSEARCH_OPTIONS:CB_MATCH_PROLONGED_SOUNDMARK";
Pos = MAP_APPFONT ( 136 , 112 ) ;
Size = MAP_APPFONT ( 118 , 10 ) ;
Text [ en-US ] = "Prolon~ged vowels (ka-/kaa)";
};
FixedLine FL_IGNORE
{
Pos = MAP_APPFONT( 6, 128 );
Size = MAP_APPFONT( 248, 8 );
Text [ en-US ] = "Ignore";
};
CheckBox CB_IGNORE_PUNCTUATION
{
HelpID = "cui:CheckBox:RID_SVXPAGE_JSEARCH_OPTIONS:CB_IGNORE_PUNCTUATION";
Pos = MAP_APPFONT ( 12 , 139 ) ;
Size = MAP_APPFONT ( 118 , 10 ) ;
Text [ en-US ] = "Pu~nctuation characters";
};
CheckBox CB_IGNORE_WHITESPACES
{
HelpID = "cui:CheckBox:RID_SVXPAGE_JSEARCH_OPTIONS:CB_IGNORE_WHITESPACES";
Pos = MAP_APPFONT ( 12 , 153 ) ;
Size = MAP_APPFONT ( 118 , 10 ) ;
Text [ en-US ] = "~Whitespace characters";
};
CheckBox CB_IGNORE_MIDDLE_DOT
{
HelpID = "cui:CheckBox:RID_SVXPAGE_JSEARCH_OPTIONS:CB_IGNORE_MIDDLE_DOT";
Pos = MAP_APPFONT ( 136 , 139 ) ;
Size = MAP_APPFONT ( 118 , 10 ) ;
Text [ en-US ] = "Midd~le dots";
};
Text [ en-US ] = "Searching in Japanese";
};
// end TabPage
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.0 -->
<object class="GtkBox" id="OptJSearchPage">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<property name="border_width">6</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkFrame" id="frame1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label_xalign">0</property>
<property name="shadow_type">none</property>
<child>
<object class="GtkAlignment" id="alignment1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="top_padding">6</property>
<property name="left_padding">12</property>
<child>
<object class="GtkGrid" id="grid3">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="row_spacing">6</property>
<property name="column_spacing">12</property>
<property name="column_homogeneous">True</property>
<child>
<object class="GtkCheckButton" id="matchcase">
<property name="label" translatable="yes">_uppercase/lowercase</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
<property name="xalign">0</property>
<property name="draw_indicator">True</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">0</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="matchfullhalfwidth">
<property name="label" translatable="yes">_full-width/half-width forms</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
<property name="xalign">0</property>
<property name="draw_indicator">True</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">1</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="matchhiraganakatakana">
<property name="label" translatable="yes">_hiragana/katakana</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
<property name="xalign">0</property>
<property name="draw_indicator">True</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">2</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="matchcontractions">
<property name="label" translatable="yes">_contractions (yo-on, sokuon)</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
<property name="xalign">0</property>
<property name="draw_indicator">True</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">3</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="matchminusdashchoon">
<property name="label" translatable="yes">_minus/dash/cho-on</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
<property name="xalign">0</property>
<property name="draw_indicator">True</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">4</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="matchrepeatcharmarks">
<property name="label" translatable="yes">'re_peat character' marks</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
<property name="xalign">0</property>
<property name="draw_indicator">True</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">5</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="matchvariantformkanji">
<property name="label" translatable="yes">_variant-form kanji (itaiji)</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
<property name="xalign">0</property>
<property name="draw_indicator">True</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">6</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="matcholdkanaforms">
<property name="label" translatable="yes">_old Kana forms</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
<property name="xalign">0</property>
<property name="draw_indicator">True</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">7</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="matchdiziduzu">
<property name="label" translatable="yes">_di/zi, du/zu</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
<property name="xalign">0</property>
<property name="draw_indicator">True</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">0</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="matchbavahafa">
<property name="label" translatable="yes">_ba/va, ha/fa</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
<property name="xalign">0</property>
<property name="draw_indicator">True</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">1</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="matchtsithichidhizi">
<property name="label" translatable="yes">_tsi/thi/chi, dhi/zi</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
<property name="xalign">0</property>
<property name="draw_indicator">True</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">2</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="matchhyuiyubyuvyu">
<property name="label" translatable="yes">h_yu/fyu, byu/vyu</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
<property name="xalign">0</property>
<property name="draw_indicator">True</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">3</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="matchseshezeje">
<property name="label" translatable="yes">_se/she, ze/je</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
<property name="xalign">0</property>
<property name="draw_indicator">True</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">4</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="matchiaiya">
<property name="label" translatable="yes">_ia/iya (piano/piyano)</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
<property name="xalign">0</property>
<property name="draw_indicator">True</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">5</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="matchkiku">
<property name="label" translatable="yes">_ki/ku (tekisuto/tekusuto)</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
<property name="xalign">0</property>
<property name="draw_indicator">True</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">6</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="matchprolongedsoundmark">
<property name="label" translatable="yes">Prolon_ged vowels (ka-/kaa)</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
<property name="xalign">0</property>
<property name="draw_indicator">True</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">7</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
</object>
</child>
</object>
</child>
<child type="label">
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Treat as equal</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
</object>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkFrame" id="frame2">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label_xalign">0</property>
<property name="shadow_type">none</property>
<child>
<object class="GtkAlignment" id="alignment2">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="top_padding">6</property>
<property name="left_padding">12</property>
<child>
<object class="GtkGrid" id="grid2">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="row_spacing">6</property>
<property name="column_spacing">12</property>
<property name="column_homogeneous">True</property>
<child>
<object class="GtkCheckButton" id="ignorepunctuation">
<property name="label" translatable="yes">Pu_nctuation characters</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
<property name="xalign">0</property>
<property name="draw_indicator">True</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">0</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="ignorewhitespace">
<property name="label" translatable="yes">_Whitespace characters</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
<property name="xalign">0</property>
<property name="draw_indicator">True</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">1</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="ignoremiddledot">
<property name="label" translatable="yes">Midd_le dots</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
<property name="xalign">0</property>
<property name="draw_indicator">True</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">0</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
<child>
<placeholder/>
</child>
</object>
</child>
</object>
</child>
<child type="label">
<object class="GtkLabel" id="label2">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Ignore</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
</object>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
</interface>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment