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,\
cui/source/options/opthtml.src \
cui/source/options/optinet2.src \
cui/source/options/optjava.src \
cui/source/options/optjsearch.src \
cui/source/options/optlingu.src \
cui/source/options/optpath.src \
cui/source/options/optsave.src \
......
......@@ -48,6 +48,7 @@ $(eval $(call gb_UIConfig_add_uifiles,cui,\
cui/uiconfig/ui/optfltrpage \
cui/uiconfig/ui/optfontspage \
cui/uiconfig/ui/optgeneralpage \
cui/uiconfig/ui/optjsearchpage \
cui/uiconfig/ui/optlanguagespage \
cui/uiconfig/ui/optmemorypage \
cui/uiconfig/ui/optonlineupdatepage \
......
......@@ -38,7 +38,6 @@
#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_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_OFADLG_OPTIONS_TREE "CUI_HID_OFADLG_OPTIONS_TREE"
#define HID_OFA_CONNPOOL_DRIVERLIST "CUI_HID_OFA_CONNPOOL_DRIVERLIST"
......
/* -*- 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;
class SvxJSearchOptionsPage : public SfxTabPage
{
private:
FixedLine aTreatAsEqual;
CheckBox aMatchCase;
CheckBox aMatchFullHalfWidth;
CheckBox aMatchHiraganaKatakana;
CheckBox aMatchContractions;
CheckBox aMatchMinusDashChoon;
CheckBox aMatchRepeatCharMarks;
CheckBox aMatchVariantFormKanji;
CheckBox aMatchOldKanaForms;
CheckBox aMatchDiziDuzu;
CheckBox aMatchBavaHafa;
CheckBox aMatchTsithichiDhizi;
CheckBox aMatchHyuiyuByuvyu;
CheckBox aMatchSesheZeje;
CheckBox aMatchIaiya;
CheckBox aMatchKiku;
CheckBox aMatchProlongedSoundMark;
FixedLine aIgnore;
CheckBox aIgnorePunctuation;
CheckBox aIgnoreWhitespace;
CheckBox aIgnoreMiddleDot;
CheckBox* m_pMatchCase;
CheckBox* m_pMatchFullHalfWidth;
CheckBox* m_pMatchHiraganaKatakana;
CheckBox* m_pMatchContractions;
CheckBox* m_pMatchMinusDashChoon;
CheckBox* m_pMatchRepeatCharMarks;
CheckBox* m_pMatchVariantFormKanji;
CheckBox* m_pMatchOldKanaForms;
CheckBox* m_pMatchDiziDuzu;
CheckBox* m_pMatchBavaHafa;
CheckBox* m_pMatchTsithichiDhizi;
CheckBox* m_pMatchHyuiyuByuvyu;
CheckBox* m_pMatchSesheZeje;
CheckBox* m_pMatchIaiya;
CheckBox* m_pMatchKiku;
CheckBox* m_pMatchProlongedSoundMark;
CheckBox* m_pIgnorePunctuation;
CheckBox* m_pIgnoreWhitespace;
CheckBox* m_pIgnoreMiddleDot;
sal_Int32 nTransliterationFlags;
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: */
This diff is collapsed.
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