Kaydet (Commit) 662f504e authored tarafından Caolán McNamara's avatar Caolán McNamara

convert localized autocorrection options to .ui format

Change-Id: I8df81ad3bdef2094d01439604a805b2d6321f354
üst 118aee93
......@@ -15,6 +15,7 @@ $(eval $(call gb_UIConfig_add_uifiles,cui,\
cui/uiconfig/ui/acorexceptpage \
cui/uiconfig/ui/acorreplacepage \
cui/uiconfig/ui/applyautofmtpage \
cui/uiconfig/ui/applylocalizedpage \
cui/uiconfig/ui/areadialog \
cui/uiconfig/ui/areatabpage \
cui/uiconfig/ui/asiantypography \
......
......@@ -339,43 +339,34 @@ class OfaQuoteTabPage : public SfxTabPage
private:
/// For anything but writer
SvxCheckListBox aCheckLB;
SvxCheckListBox* m_pCheckLB;
/// Just for writer
SvSimpleTableContainer m_aSwCheckLBContainer;
OfaACorrCheckListBox aSwCheckLB;
String sHeader1;
String sHeader2;
OfaACorrCheckListBox* m_pSwCheckLB;
String sNonBrkSpace;
String sOrdinal;
SvLBoxButtonData* pCheckButtonData;
FixedLine aSingleFL;
CheckBox aSingleTypoCB;
FixedText aSglStartQuoteFT;
PushButton aSglStartQuotePB;
FixedText aSglStartExFT;
FixedText aSglEndQuoteFT;
PushButton aSglEndQuotePB;
FixedText aSglEndExFT;
PushButton aSglStandardPB;
FixedLine aDoubleFL;
CheckBox aTypoCB;
FixedText aStartQuoteFT;
PushButton aStartQuotePB;
FixedText aDblStartExFT;
FixedText aEndQuoteFT;
PushButton aEndQuotePB;
FixedText aDblEndExFT;
PushButton aDblStandardPB;
String sStartQuoteDlg;
String sEndQuoteDlg;
String sStandard;
CheckBox* m_pSingleTypoCB;
PushButton* m_pSglStartQuotePB;
FixedText* m_pSglStartExFT;
PushButton* m_pSglEndQuotePB;
FixedText* m_pSglEndExFT;
PushButton* m_pSglStandardPB;
CheckBox* m_pDoubleTypoCB;
PushButton* m_pDblStartQuotePB;
FixedText* m_pDblStartExFT;
PushButton* m_pDblEndQuotePB;
FixedText* m_pDblEndExFT;
PushButton* m_pDblStandardPB;
OUString m_sStartQuoteDlg;
OUString m_sEndQuoteDlg;
OUString m_sStandard;
sal_UCS4 cSglStartQuote;
......
......@@ -114,8 +114,6 @@
#define RID_OFAPAGE_AUTOCOMPLETE_OPTIONS (RID_OFA_START + 119)
#define RID_OFAPAGE_AUTOCORR_OPTIONS (RID_OFA_START + 102)
#define RID_OFAPAGE_AUTOCORR_QUOTE (RID_OFA_START + 109)
// options
#define RID_SVXSTR_DIAGRAM_ROW (RID_SVX_START + 1162)
#define RID_OFAPAGE_CONNPOOLOPTIONS (RID_OFA_START + 122)
......
......@@ -230,7 +230,6 @@
#define HID_TPCOLOR_CMYK_2 "CUI_HID_TPCOLOR_CMYK_2"
#define HID_TPCOLOR_CMYK_3 "CUI_HID_TPCOLOR_CMYK_3"
#define HID_OFAPAGE_AUTOCORR_OPTIONS "CUI_HID_OFAPAGE_AUTOCORR_OPTIONS"
#define HID_OFAPAGE_AUTOCORR_QUOTE "CUI_HID_OFAPAGE_AUTOCORR_QUOTE"
#define HID_OFAPAGE_AUTOCOMPLETE_OPTIONS "CUI_HID_OFAPAGE_AUTOCOMPLETE_OPTIONS"
#define HID_PAGE_CONNECTION "CUI_HID_PAGE_CONNECTION"
#define HID_PAGE_CONNECTION_CTL_PREVIEW "CUI_HID_PAGE_CONNECTION_CTL_PREVIEW"
......@@ -272,8 +271,6 @@
#define HID_LINKDLG_TABLB "CUI_HID_LINKDLG_TABLB"
#define HID_MACRO_HEADERTABLISTBOX "CUI_HID_MACRO_HEADERTABLISTBOX"
#define HID_GALLERY_TITLE_EDIT "CUI_HID_GALLERY_TITLE_EDIT"
#define HID_OFAPAGE_QUOTE_SW_CLB "CUI_HID_OFAPAGE_QUOTE_SW_CLB"
#define HID_OFAPAGE_QUOTE_CLB "CUI_HID_OFAPAGE_QUOTE_CLB"
#define HID_DLG_PASSWORD_TO_OPEN_MODIFY "CUI_HID_DLG_PASSWORD_TO_OPEN_MODIFY"
#define HID_DLG_PASSWORD_TO_OPEN_MODIFY_PASSWORD_TO_OPEN "CUI_HID_DLG_PASSWORD_TO_OPEN_MODIFY_PASSWORD_TO_OPEN"
......
......@@ -25,34 +25,6 @@
#define CLB_SETTINGS 1
#define CB_TYPO 11
#define FT_STARTQUOTE 12
#define PB_STARTQUOTE 13
#define FT_ENDQUOTE 14
#define PB_ENDQUOTE 15
#define STR_CHANGE_START 41
#define STR_CHANGE_END 42
#define FT_SGL_STARTQUOTE 45
#define PB_SGL_STARTQUOTE 46
#define FT_SGL_ENDQUOTE 47
#define PB_SGL_ENDQUOTE 48
#define PB_SGL_STD 49
#define PB_DBL_STD 50
#define FL_SINGLE 51
#define FL_DOUBLE 52
#define FT_SGSTEX 53
#define FT_SGENEX 54
#define FT_DBSTEX 55
#define FT_DBECEX 56
#define CB_SGL_TYPO 57
#define ST_STANDARD 58
#define STR_HEADER 90
#define STR_HEADER1 92
#define STR_HEADER2 93
#define ED_RIGHT_MARGIN 100
#define BT_OK 101
#define BT_CANCEL 102
......
......@@ -44,191 +44,6 @@ TabPage RID_OFAPAGE_AUTOCORR_OPTIONS
};
};
/**************************************************************************/
/* */
/* Beschreibung: Typografische Anfuehrungszeichen */
/* */
/**************************************************************************/
TabPage RID_OFAPAGE_AUTOCORR_QUOTE
{
HelpId = HID_OFAPAGE_AUTOCORR_QUOTE ;
OutputSize = TRUE ;
Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
SVLook = TRUE ;
Hide = TRUE ;
Text [ en-US ] = "Localized Options" ;
Control CLB_SETTINGS
{
Pos = MAP_APPFONT ( 4 , 3 ) ;
Size = MAP_APPFONT ( 252 , 85 ) ;
Border = TRUE ;
TabStop = TRUE ;
};
String STR_HEADER1
{
Text [ en-US ] = "[M]" ;
};
String STR_HEADER2
{
Text [ en-US ] = "[T]" ;
};
FixedLine FL_SINGLE
{
Pos = MAP_APPFONT ( 4 , 90 ) ;
Size = MAP_APPFONT ( 122 , 8 ) ;
Text [ en-US ] = "Single quotes" ;
};
CheckBox CB_SGL_TYPO
{
HelpId = "cui:CheckBox:RID_OFAPAGE_AUTOCORR_QUOTE:CB_SGL_TYPO";
Pos = MAP_APPFONT ( 7 , 101 ) ;
Size = MAP_APPFONT ( 86 , 10 ) ;
Text [ en-US ] = "Repla~ce" ;
};
FixedText FT_SGL_STARTQUOTE
{
Pos = MAP_APPFONT ( 7 , 114 ) ;
Size = MAP_APPFONT ( 86 , 8 ) ;
Text [ en-US ] = "~Start quote:" ;
};
PushButton PB_SGL_STARTQUOTE
{
HelpID = "cui:PushButton:RID_OFAPAGE_AUTOCORR_QUOTE:PB_SGL_STARTQUOTE";
Pos = MAP_APPFONT ( 10 , 125 ) ;
Size = MAP_APPFONT ( 12 , 12 ) ;
Text = "\'" ;
TabStop = TRUE ;
};
FixedText FT_SGSTEX
{
Pos = MAP_APPFONT ( 26 , 127 ) ;
Size = MAP_APPFONT ( 50 , 8 ) ;
};
FixedText FT_SGL_ENDQUOTE
{
Pos = MAP_APPFONT ( 7 , 139 ) ;
Size = MAP_APPFONT ( 86 , 8 ) ;
Text [ en-US ] = "~End quote:" ;
};
PushButton PB_SGL_ENDQUOTE
{
HelpID = "cui:PushButton:RID_OFAPAGE_AUTOCORR_QUOTE:PB_SGL_ENDQUOTE";
Pos = MAP_APPFONT ( 10 , 151 ) ;
Size = MAP_APPFONT ( 12 , 12 ) ;
Text = "\'" ;
TabStop = TRUE ;
};
FixedText FT_SGENEX
{
Pos = MAP_APPFONT ( 26 , 153 ) ;
Size = MAP_APPFONT ( 50 , 8 ) ;
};
PushButton PB_SGL_STD
{
HelpID = "cui:PushButton:RID_OFAPAGE_AUTOCORR_QUOTE:PB_SGL_STD";
Pos = MAP_APPFONT ( 7 , 167 ) ;
Size = MAP_APPFONT ( 50 , 14 ) ;
TabStop = TRUE ;
Text [ en-US ] = "~Default" ;
};
FixedLine FL_DOUBLE
{
Pos = MAP_APPFONT ( 134 , 90 ) ;
Size = MAP_APPFONT ( 122 , 8 ) ;
Text [ en-US ] = "Double quotes" ;
};
CheckBox CB_TYPO
{
HelpID = "cui:CheckBox:RID_OFAPAGE_AUTOCORR_QUOTE:CB_TYPO";
Pos = MAP_APPFONT ( 137 , 101 ) ;
Size = MAP_APPFONT ( 86 , 10 ) ;
TabStop = TRUE ;
Text [ en-US ] = "Repl~ace" ;
};
FixedText FT_STARTQUOTE
{
Pos = MAP_APPFONT ( 137 , 114 ) ;
Size = MAP_APPFONT ( 86 , 8 ) ;
Text [ en-US ] = "Start q~uote:" ;
};
PushButton PB_STARTQUOTE
{
HelpID = "cui:PushButton:RID_OFAPAGE_AUTOCORR_QUOTE:PB_STARTQUOTE";
Pos = MAP_APPFONT ( 140 , 125 ) ;
Size = MAP_APPFONT ( 12 , 12 ) ;
Text = "\"" ;
TabStop = TRUE ;
};
FixedText FT_DBSTEX
{
Pos = MAP_APPFONT ( 156 , 127 ) ;
Size = MAP_APPFONT ( 50 , 8 ) ;
};
FixedText FT_ENDQUOTE
{
Pos = MAP_APPFONT ( 137 , 139 ) ;
Size = MAP_APPFONT ( 86 , 10 ) ;
Text [ en-US ] = "E~nd quote:" ;
};
PushButton PB_ENDQUOTE
{
HelpID = "cui:PushButton:RID_OFAPAGE_AUTOCORR_QUOTE:PB_ENDQUOTE";
Pos = MAP_APPFONT ( 140 , 151 ) ;
Size = MAP_APPFONT ( 12 , 12 ) ;
Text = "\"" ;
TabStop = TRUE ;
};
FixedText FT_DBECEX
{
Pos = MAP_APPFONT ( 156 , 153 ) ;
Size = MAP_APPFONT ( 50 , 8 ) ;
};
PushButton PB_DBL_STD
{
HelpID = "cui:PushButton:RID_OFAPAGE_AUTOCORR_QUOTE:PB_DBL_STD";
Pos = MAP_APPFONT ( 137 , 167 ) ;
Size = MAP_APPFONT ( 50 , 14 ) ;
TabStop = TRUE ;
Text [ en-US ] = "De~fault" ;
};
String STR_CHANGE_START
{
Text [ en-US ] = "Start quote" ;
};
String STR_CHANGE_END
{
Text [ en-US ] = "End quote" ;
};
String ST_STANDARD
{
Text [ en-US ] = "Default" ;
};
String STR_PB_SGL_STD
{
Text [ en-US ] = "Single quotes default" ;
};
String STR_PB_DBL_STD
{
Text [ en-US ] = "Double quotes default" ;
};
String STR_PB_SGL_START
{
Text [ en-US ] = "Start quote of single quotes" ;
};
String STR_PB_DBL_START
{
Text [ en-US ] = "Start quote of double quotes" ;
};
String STR_PB_SGL_END
{
Text [ en-US ] = "End quote of single quotes" ;
};
String STR_PB_DBL_END
{
Text [ en-US ] = "End quote of double quotes" ;
};
};
/**************************************************************************/
/* */
/* Beschreibung: automatische Wortergnzung */
......
This diff is collapsed.
......@@ -272,6 +272,9 @@
<glade-widget-class title="Table Container" name="svtlo-SvSimpleTableContainer"
generic-name="Simple Table Container" parent="GtkTreeView"
icon-name="widget-gtk-treeview"/>
<glade-widget-class title="Check List Box" name="svxcorelo-SvxCheckListBox"
generic-name="Check List Box" parent="GtkTreeView"
icon-name="widget-gtk-treeview"/>
<glade-widget-class title="Paragraph Preview" name="svxlo-SvxParaPrevWindow"
generic-name="Paragraph Preview Window" parent="GtkDrawingArea"
icon-name="widget-gtk-drawingarea"/>
......
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