Kaydet (Commit) 5c7570be authored tarafından Csikós Tamás's avatar Csikós Tamás Kaydeden (comit) Caolán McNamara

.ui layout for optpage/fonttabpage

Change-Id: Ib41ac1b5febbb288f7a05f3823dee6ff32feb315
Reviewed-on: https://gerrit.libreoffice.org/4771Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst fb2edd68
......@@ -101,6 +101,7 @@ $(eval $(call gb_UIConfig_add_uifiles,modules/swriter,\
sw/uiconfig/swriter/ui/numparapage \
sw/uiconfig/swriter/ui/numberingnamedialog \
sw/uiconfig/swriter/ui/optcomparison \
sw/uiconfig/swriter/ui/optfonttabpage \
sw/uiconfig/swriter/ui/optformataidspage \
sw/uiconfig/swriter/ui/optgeneralpage \
sw/uiconfig/swriter/ui/opttablepage \
......
......@@ -35,6 +35,10 @@
#define STR_PAGE (RC_GLOBALS_BEGIN + 14)
#define STR_PRINTOPTUI (RC_GLOBALS_BEGIN + 15)
#define ST_SCRIPT_WESTERN (RC_GLOBALS_BEGIN + 105)
#define ST_SCRIPT_ASIAN (RC_GLOBALS_BEGIN + 106)
#define ST_SCRIPT_CTL (RC_GLOBALS_BEGIN + 107)
//EventStrings
#define STR_EVENT_OBJECT_SELECT ( RC_GLOBALS_BEGIN + 17 )
......
......@@ -48,29 +48,4 @@
#define RB_END 82
#define RB_PAGEEND 83
// Tabpage Basic Fonts
#define FT_STANDARD 90
#define LB_STANDARD 91
#define FT_TITLE 92
#define LB_TITLE 93
#define FT_LIST 94
#define LB_LIST 95
#define FT_LABEL 96
#define LB_LABEL 97
#define FT_IDX 98
#define LB_IDX 99
#define FL_STDCHR 100
#define PB_STANDARD 101
#define CB_DOCONLY 102
#define ST_SCRIPT_WESTERN 103
#define ST_SCRIPT_ASIAN 104
#define ST_SCRIPT_CTL 105
#define FT_TYPE 106
#define FT_SIZE 107
#define LB_STANDARD_SIZE 108
#define LB_TITLE_SIZE 109
#define LB_LIST_SIZE 110
#define LB_LABEL_SIZE 111
#define LB_INDEX_SIZE 112
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
......@@ -24,175 +24,17 @@
#include "optdlg.hrc"
#include "helpid.h"
TabPage TP_STD_FONT
String ST_SCRIPT_ASIAN
{
HelpID = HID_STD_FONT ;
Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Hide = TRUE ;
FixedLine FL_STDCHR
{
Pos = MAP_APPFONT ( 6 , 3 ) ;
Size = MAP_APPFONT ( 248 , 8 ) ;
Text [ en-US ] = "Basic fonts (%1)";
};
FixedText FT_TYPE
{
Pos = MAP_APPFONT ( 63 , 14 ) ;
Size = MAP_APPFONT ( 100 , 8 ) ;
Text [ en-US ] = "Font";
};
FixedText FT_SIZE
{
Pos = MAP_APPFONT ( 204 , 14 ) ;
Size = MAP_APPFONT ( 40 , 8 ) ;
Text [ en-US ] = "Size";
};
MetricBox LB_STANDARD_SIZE
{
HelpID = "sw:MetricBox:TP_STD_FONT:LB_STANDARD_SIZE";
Pos = MAP_APPFONT ( 204 , 25 ) ;
Size = MAP_APPFONT ( 30 , 60 ) ;
Border = TRUE ;
DropDown = TRUE;
};
MetricBox LB_TITLE_SIZE
{
HelpID = "sw:MetricBox:TP_STD_FONT:LB_TITLE_SIZE";
Pos = MAP_APPFONT ( 204 , 42 ) ;
Size = MAP_APPFONT ( 30 , 60 ) ;
Border = TRUE ;
DropDown = TRUE;
};
MetricBox LB_LIST_SIZE
{
HelpID = "sw:MetricBox:TP_STD_FONT:LB_LIST_SIZE";
Pos = MAP_APPFONT ( 204 , 59 ) ;
Size = MAP_APPFONT ( 30 , 60 ) ;
Border = TRUE ;
DropDown = TRUE;
};
MetricBox LB_LABEL_SIZE
{
HelpID = "sw:MetricBox:TP_STD_FONT:LB_LABEL_SIZE";
Pos = MAP_APPFONT ( 204 , 76 ) ;
Size = MAP_APPFONT ( 30 , 60 ) ;
Border = TRUE ;
DropDown = TRUE;
};
MetricBox LB_INDEX_SIZE
{
HelpID = "sw:MetricBox:TP_STD_FONT:LB_INDEX_SIZE";
Pos = MAP_APPFONT ( 204 , 93 ) ;
Size = MAP_APPFONT ( 30 , 60 ) ;
Border = TRUE ;
DropDown = TRUE;
};
FixedText FT_STANDARD
{
Pos = MAP_APPFONT ( 12 , 26 ) ;
Size = MAP_APPFONT ( 48 , 10 ) ;
Left = TRUE ;
Text [ en-US ] = "De~fault" ;
};
FixedText FT_TITLE
{
Pos = MAP_APPFONT ( 12 , 43 ) ;
Size = MAP_APPFONT ( 48 , 10 ) ;
Text [ en-US ] = "Headin~g" ;
Left = TRUE ;
};
FixedText FT_LIST
{
Pos = MAP_APPFONT ( 12 , 60 ) ;
Size = MAP_APPFONT ( 48 , 10 ) ;
Text [ en-US ] = "~List" ;
Left = TRUE ;
};
FixedText FT_LABEL
{
Pos = MAP_APPFONT ( 12 , 77 ) ;
Size = MAP_APPFONT ( 48 , 10 ) ;
Text [ en-US ] = "C~aption" ;
Left = TRUE ;
};
FixedText FT_IDX
{
Pos = MAP_APPFONT ( 12 , 94 ) ;
Size = MAP_APPFONT ( 48 , 10 ) ;
Text [ en-US ] = "~Index" ;
Left = TRUE ;
};
ComboBox LB_STANDARD
{
HelpID = "sw:ComboBox:TP_STD_FONT:LB_STANDARD";
Pos = MAP_APPFONT ( 63 , 25 ) ;
Size = MAP_APPFONT ( 135 , 73 ) ;
TabStop = TRUE ;
DropDown = TRUE ;
Sort = TRUE ;
};
ComboBox LB_TITLE
{
HelpID = "sw:ComboBox:TP_STD_FONT:LB_TITLE";
Pos = MAP_APPFONT ( 63 , 42 ) ;
Size = MAP_APPFONT ( 135, 73 ) ;
TabStop = TRUE ;
DropDown = TRUE ;
Sort = TRUE ;
};
ComboBox LB_LIST
{
HelpID = "sw:ComboBox:TP_STD_FONT:LB_LIST";
Pos = MAP_APPFONT ( 63 , 59 ) ;
Size = MAP_APPFONT ( 135 , 73 ) ;
TabStop = TRUE ;
DropDown = TRUE ;
Sort = TRUE ;
};
ComboBox LB_LABEL
{
HelpID = "sw:ComboBox:TP_STD_FONT:LB_LABEL";
Pos = MAP_APPFONT ( 63 , 76 ) ;
Size = MAP_APPFONT ( 135 , 73 ) ;
TabStop = TRUE ;
DropDown = TRUE ;
Sort = TRUE ;
};
ComboBox LB_IDX
{
HelpID = "sw:ComboBox:TP_STD_FONT:LB_IDX";
Pos = MAP_APPFONT ( 63 , 94 ) ;
Size = MAP_APPFONT ( 135, 73 ) ;
TabStop = TRUE ;
DropDown = TRUE ;
Sort = TRUE ;
};
CheckBox CB_DOCONLY
{
HelpID = "sw:CheckBox:TP_STD_FONT:CB_DOCONLY";
Pos = MAP_APPFONT ( 12 , 111 ) ;
Size = MAP_APPFONT ( 147 , 10 ) ;
Text [ en-US ] = "C~urrent document only" ;
};
PushButton PB_STANDARD
{
HelpID = "sw:PushButton:TP_STD_FONT:PB_STANDARD";
Pos = MAP_APPFONT ( 204 , 165 ) ;
Size = MAP_APPFONT ( 50 , 14 ) ;
Text [ en-US ] = "~Default" ;
};
String ST_SCRIPT_ASIAN
{
Text [ en-US ] = "Asian";
};
String ST_SCRIPT_CTL
{
Text [ en-US ] = "CTL";
};
String ST_SCRIPT_WESTERN
{
Text [ en-US ] = "Western";
};
Text [ en-US ] = "Asian";
};
String ST_SCRIPT_CTL
{
Text [ en-US ] = "CTL";
};
String ST_SCRIPT_WESTERN
{
Text [ en-US ] = "Western";
};
StringArray STR_PRINTOPTUI
......
This diff is collapsed.
......@@ -137,34 +137,20 @@ public:
class SwStdFontTabPage : public SfxTabPage
{
FixedLine aStdChrFL ;
FixedText aTypeFT;
FixedText aStandardLbl;
ComboBox aStandardBox;
FixedText aHeightFT;
FontSizeBox aStandardHeightLB;
FixedText aTitleLbl ;
ComboBox aTitleBox ;
FontSizeBox aTitleHeightLB;
FixedText aListLbl ;
ComboBox aListBox ;
FontSizeBox aListHeightLB;
FixedText aLabelLbl ;
ComboBox aLabelBox ;
FontSizeBox aLabelHeightLB;
FixedText aIdxLbl ;
ComboBox aIdxBox ;
FontSizeBox aIndexHeightLB;
CheckBox aDocOnlyCB ;
PushButton aStandardPB;
FixedText* pLabelFT;
ComboBox* pStandardBox;
FontSizeBox* pStandardHeightLB;
ComboBox* pTitleBox ;
FontSizeBox* pTitleHeightLB;
ComboBox* pListBox ;
FontSizeBox* pListHeightLB;
ComboBox* pLabelBox ;
FontSizeBox* pLabelHeightLB;
ComboBox* pIdxBox ;
FontSizeBox* pIndexHeightLB;
CheckBox* pDocOnlyCB ;
PushButton* pStandardPB;
String sShellStd;
String sShellTitle;
......
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