summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-05-15 10:10:18 +0200
committerDavid Tardon <dtardon@redhat.com>2012-05-17 07:57:59 +0200
commitf70fe6e651eefbc69c434256f7e74ad53519a36c (patch)
treeb249e3372dcc14b618868b1f0b7a3916b50f2312 /sw
parent9baeb0bd8f621457d265f09bd377d7147141030d (diff)
fdo#49921 make sure all tab pages have the same dimensions
The reason is that they can be combined arbitrarily in dialogs, so changing, e.g., height of one tab can lead to "interesting" results. Cf. commits 8631dbf85fb5ed56d225e32ea5a9c36c96b0d649 and 29042d096a2c5812ae179e1553367afd21b0f71e that were the cause of the problem described fdo#49921. Change-Id: I9995002a2bd5c3604bdfa06dc817916ce61c558d
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/envelp.hrc2
-rw-r--r--sw/inc/globals.hrc2
-rw-r--r--sw/source/ui/chrdlg/ccoll.src2
-rw-r--r--sw/source/ui/chrdlg/chardlg.src2
-rw-r--r--sw/source/ui/chrdlg/drpcps.src2
-rw-r--r--sw/source/ui/chrdlg/numpara.src2
-rw-r--r--sw/source/ui/config/mailconfigpage.src2
-rw-r--r--sw/source/ui/config/optcomp.src2
-rw-r--r--sw/source/ui/config/optdlg.src12
-rw-r--r--sw/source/ui/config/optload.src4
-rw-r--r--sw/source/ui/config/redlopt.src2
-rw-r--r--sw/source/ui/dialog/docstdlg.src2
-rw-r--r--sw/source/ui/dialog/regionsw.src6
-rw-r--r--sw/source/ui/envelp/envfmt.src2
-rw-r--r--sw/source/ui/envelp/envlop.src2
-rw-r--r--sw/source/ui/envelp/envprt.src2
-rw-r--r--sw/source/ui/envelp/label.src8
-rw-r--r--sw/source/ui/envelp/labfmt.src2
-rw-r--r--sw/source/ui/envelp/labprt.src2
-rw-r--r--sw/source/ui/fldui/flddb.src2
-rw-r--r--sw/source/ui/fldui/flddinf.src2
-rw-r--r--sw/source/ui/fldui/flddok.src2
-rw-r--r--sw/source/ui/fldui/fldfunc.src2
-rw-r--r--sw/source/ui/fldui/fldref.src2
-rw-r--r--sw/source/ui/fldui/fldvar.src2
-rw-r--r--sw/source/ui/frmdlg/column.src2
-rw-r--r--sw/source/ui/frmdlg/frmpage.src8
-rw-r--r--sw/source/ui/frmdlg/wrap.src2
-rw-r--r--sw/source/ui/index/cnttab.src6
-rw-r--r--sw/source/ui/misc/docfnote.src4
-rw-r--r--sw/source/ui/misc/linenum.src2
-rw-r--r--sw/source/ui/misc/num.src2
-rw-r--r--sw/source/ui/misc/outline.src2
-rw-r--r--sw/source/ui/misc/pgfnote.src2
-rw-r--r--sw/source/ui/misc/pggrid.src2
-rw-r--r--sw/source/ui/table/tabledlg.src6
36 files changed, 56 insertions, 54 deletions
diff --git a/sw/inc/envelp.hrc b/sw/inc/envelp.hrc
index 1aa09e02f4d2..08c4c7dc6d96 100644
--- a/sw/inc/envelp.hrc
+++ b/sw/inc/envelp.hrc
@@ -28,6 +28,8 @@
#ifndef _ENVELP_HRC
#define _ENVELP_HRC
+#include <sfx2/tabpage.hrc>
+
#include "rcid.hrc"
// Dialoge --------------------------------------------------------------------
diff --git a/sw/inc/globals.hrc b/sw/inc/globals.hrc
index 1f022a044354..ece258ba80df 100644
--- a/sw/inc/globals.hrc
+++ b/sw/inc/globals.hrc
@@ -28,7 +28,7 @@
#ifndef _GLOBALS_HRC
#define _GLOBALS_HRC
-
+#include <sfx2/tabpage.hrc>
#include "rcid.hrc"
diff --git a/sw/source/ui/chrdlg/ccoll.src b/sw/source/ui/chrdlg/ccoll.src
index 278019c492ed..f9d2f4e1ebf8 100644
--- a/sw/source/ui/chrdlg/ccoll.src
+++ b/sw/source/ui/chrdlg/ccoll.src
@@ -33,7 +33,7 @@
TabPage TP_CONDCOLL
{
HelpID = HID_COND_COLL ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Hide = TRUE ;
FixedLine FL_CONDITION
{
diff --git a/sw/source/ui/chrdlg/chardlg.src b/sw/source/ui/chrdlg/chardlg.src
index 2117a9024a2a..75bc24826b54 100644
--- a/sw/source/ui/chrdlg/chardlg.src
+++ b/sw/source/ui/chrdlg/chardlg.src
@@ -104,7 +104,7 @@ TabPage TP_CHAR_URL
{
HelpID = HID_CHAR_URL ;
SVLook = TRUE ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Hide = TRUE ;
FixedLine FL_URL
{
diff --git a/sw/source/ui/chrdlg/drpcps.src b/sw/source/ui/chrdlg/drpcps.src
index 82cdc5ecf445..9ddb5becb102 100644
--- a/sw/source/ui/chrdlg/drpcps.src
+++ b/sw/source/ui/chrdlg/drpcps.src
@@ -54,7 +54,7 @@ TabDialog DLG_DROPCAPS
TabPage TP_DROPCAPS
{
HelpID = HID_DROPCAPS ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Hide = TRUE ;
CheckBox CB_SWITCH
{
diff --git a/sw/source/ui/chrdlg/numpara.src b/sw/source/ui/chrdlg/numpara.src
index cd27ac8a6a64..030cab2c8560 100644
--- a/sw/source/ui/chrdlg/numpara.src
+++ b/sw/source/ui/chrdlg/numpara.src
@@ -33,7 +33,7 @@
TabPage TP_NUMPARA
{
HelpID = HID_NUMPARA ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Hide = TRUE ;
FixedLine FL_OUTLINE_START
{
diff --git a/sw/source/ui/config/mailconfigpage.src b/sw/source/ui/config/mailconfigpage.src
index 523f25e8e5f9..b23b8562f187 100644
--- a/sw/source/ui/config/mailconfigpage.src
+++ b/sw/source/ui/config/mailconfigpage.src
@@ -34,7 +34,7 @@
TabPage TP_MAILCONFIG
{
HelpID = HID_TP_MAILCONFIG;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Hide = TRUE ;
Text[ en-US ] = "Mail Merge E-mail";
diff --git a/sw/source/ui/config/optcomp.src b/sw/source/ui/config/optcomp.src
index bdaa609b26b0..cf7d72e9f052 100644
--- a/sw/source/ui/config/optcomp.src
+++ b/sw/source/ui/config/optcomp.src
@@ -34,7 +34,7 @@
TabPage TP_OPTCOMPATIBILITY_PAGE
{
HelpID = HID_OPTCOMPATIBILITY_PAGE ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Hide = TRUE ;
FixedLine FL_MAIN
{
diff --git a/sw/source/ui/config/optdlg.src b/sw/source/ui/config/optdlg.src
index 347bd8bde6d9..94c5d62d6b2c 100644
--- a/sw/source/ui/config/optdlg.src
+++ b/sw/source/ui/config/optdlg.src
@@ -45,7 +45,7 @@ TabPage TP_CONTENT_OPT
{
HelpID = HID_CONTENT_OPT ;
SVLook = TRUE ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Hide = TRUE ;
FixedLine FL_LINE
{
@@ -207,7 +207,7 @@ TabPage TP_CONTENT_OPT
TabPage TP_OPTPRINT_PAGE
{
HelpID = HID_OPTPRINT_PAGE ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Hide = TRUE ;
FixedLine FL_1
{
@@ -439,7 +439,7 @@ TabPage TP_OPTPRINT_PAGE
TabPage TP_STD_FONT
{
HelpID = HID_STD_FONT ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Hide = TRUE ;
FixedLine FL_STDCHR
{
@@ -614,7 +614,7 @@ TabPage TP_STD_FONT
TabPage TP_OPTTABLE_PAGE
{
HelpID = HID_OPTTABLE_PAGE ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Hide = TRUE ;
FixedLine FL_TABLE
{
@@ -858,7 +858,7 @@ TabPage TP_OPTSHDWCRSR
{
HelpID = HID_OPTSHDWCRSR ;
SVLook = TRUE ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Hide = TRUE ;
//_----------------------------
FixedLine FL_NOPRINT
@@ -1068,7 +1068,7 @@ TabPage TP_COMPARISON_OPT
HelpID = HID_COMPARISON_OPT;
SVLook = TRUE ;
Hide = TRUE;
- Size = MAP_APPFONT ( 260 , 185 );
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT );
FixedLine FL_CMP
{
Pos = MAP_APPFONT ( 6 , 3 ) ;
diff --git a/sw/source/ui/config/optload.src b/sw/source/ui/config/optload.src
index cca437310b75..ebfbd7249e60 100644
--- a/sw/source/ui/config/optload.src
+++ b/sw/source/ui/config/optload.src
@@ -37,7 +37,7 @@
TabPage TP_OPTLOAD_PAGE
{
HelpID = HID_OPTLOAD_PAGE ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Hide = TRUE ;
FixedLine FL_UPDATE
{
@@ -162,7 +162,7 @@ TabPage TP_OPTLOAD_PAGE
TabPage TP_OPTCAPTION_PAGE
{
HelpID = HID_OPTCAPTION_PAGE ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Hide = TRUE ;
Text [ en-US ] = "Caption" ;
diff --git a/sw/source/ui/config/redlopt.src b/sw/source/ui/config/redlopt.src
index b7ec8c42686d..d59941530853 100644
--- a/sw/source/ui/config/redlopt.src
+++ b/sw/source/ui/config/redlopt.src
@@ -44,7 +44,7 @@ TabPage TP_REDLINE_OPT
HelpID = HID_REDLINE_OPT ;
SVLook = TRUE ;
Hide = TRUE ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
FixedLine FL_TE
{
Pos = MAP_APPFONT ( 6 , 3 ) ;
diff --git a/sw/source/ui/dialog/docstdlg.src b/sw/source/ui/dialog/docstdlg.src
index 71706177225e..3d67571c20fb 100644
--- a/sw/source/ui/dialog/docstdlg.src
+++ b/sw/source/ui/dialog/docstdlg.src
@@ -33,7 +33,7 @@ TabPage TP_DOC_STAT
{
HelpID = HID_DOC_STAT ;
Hide = TRUE;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
FixedText FT_PAGE
{
Pos = MAP_APPFONT ( 6 , 6 ) ;
diff --git a/sw/source/ui/dialog/regionsw.src b/sw/source/ui/dialog/regionsw.src
index 97d7dabdd1ec..f97ec06f005b 100644
--- a/sw/source/ui/dialog/regionsw.src
+++ b/sw/source/ui/dialog/regionsw.src
@@ -409,7 +409,7 @@ TabPage TP_INSERT_SECTION
HelpID = HID_INSERT_SECTION_PAGE;
SVLook = TRUE ;
Pos = MAP_APPFONT ( 0 , 0 ) ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Hide = TRUE ;
FixedLine FL_NAME
{
@@ -624,7 +624,7 @@ TabPage TP_SECTION_FTNENDNOTES
HelpID = HID_SECTION_FTNENDNOTES_PAGE;
SVLook = TRUE ;
Pos = MAP_APPFONT ( 0 , 0 ) ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Hide = TRUE ;
FixedLine FL_FTN
{
@@ -828,7 +828,7 @@ TabPage TP_SECTION_INDENTS
HelpID = HID_SECTION_INDENTS_PAGE;
SVLook = TRUE ;
Pos = MAP_APPFONT ( 0 , 0 ) ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Hide = TRUE ;
FixedLine FL_INDENT
{
diff --git a/sw/source/ui/envelp/envfmt.src b/sw/source/ui/envelp/envfmt.src
index ed5b5323633e..059eb5490e8e 100644
--- a/sw/source/ui/envelp/envfmt.src
+++ b/sw/source/ui/envelp/envfmt.src
@@ -31,7 +31,7 @@
TabPage TP_ENV_FMT
{
HelpID = HID_ENV_FMT ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Hide = TRUE ;
FixedLine FL_ADDRESSEE
{
diff --git a/sw/source/ui/envelp/envlop.src b/sw/source/ui/envelp/envlop.src
index 05f9fb9eab43..5c1539d2dcb3 100644
--- a/sw/source/ui/envelp/envlop.src
+++ b/sw/source/ui/envelp/envlop.src
@@ -72,7 +72,7 @@ TabDialog DLG_ENV
TabPage TP_ENV_ENV
{
HelpID = HID_ENV_ENV ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Hide = TRUE ;
FixedText TXT_ADDR
{
diff --git a/sw/source/ui/envelp/envprt.src b/sw/source/ui/envelp/envprt.src
index 5c0b60661227..83a7743e8ac7 100644
--- a/sw/source/ui/envelp/envprt.src
+++ b/sw/source/ui/envelp/envprt.src
@@ -31,7 +31,7 @@
TabPage TP_ENV_PRT
{
HelpID = HID_ENV_PRT ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Hide = TRUE ;
FixedLine FL_NONAME
{
diff --git a/sw/source/ui/envelp/label.src b/sw/source/ui/envelp/label.src
index 18360ed18008..d93d5a83eb0a 100644
--- a/sw/source/ui/envelp/label.src
+++ b/sw/source/ui/envelp/label.src
@@ -96,7 +96,7 @@ TabDialog DLG_LAB
TabPage TP_LAB_LAB
{
HelpID = HID_LAB_LAB ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Hide = TRUE ;
FixedText TXT_WRITING
{
@@ -282,7 +282,7 @@ String STR_CUSTOM
TabPage TP_VISITING_CARDS
{
HelpID = HID_TP_VISITING_CARDS ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Hide = TRUE ;
Control LB_AUTO_TEXT
@@ -326,7 +326,7 @@ TabPage TP_VISITING_CARDS
TabPage TP_PRIVATE_DATA
{
HelpID = HID_TP_PRIVATE_DATA ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Hide = TRUE ;
FixedLine FL_DATA
{
@@ -518,7 +518,7 @@ TabPage TP_PRIVATE_DATA
TabPage TP_BUSINESS_DATA
{
HelpID = HID_TP_BUSINESS_DATA;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Hide = TRUE ;
FixedLine FL_DATA
{
diff --git a/sw/source/ui/envelp/labfmt.src b/sw/source/ui/envelp/labfmt.src
index ba2578ea7f98..3dfff197e7fb 100644
--- a/sw/source/ui/envelp/labfmt.src
+++ b/sw/source/ui/envelp/labfmt.src
@@ -31,7 +31,7 @@
TabPage TP_LAB_FMT
{
HelpID = HID_LAB_FMT ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Hide = TRUE ;
FixedText FI_MAKE
{
diff --git a/sw/source/ui/envelp/labprt.src b/sw/source/ui/envelp/labprt.src
index 69cd33602cb2..c04009c5d4e3 100644
--- a/sw/source/ui/envelp/labprt.src
+++ b/sw/source/ui/envelp/labprt.src
@@ -31,7 +31,7 @@
TabPage TP_LAB_PRT
{
HelpID = HID_LAB_PRT ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Hide = TRUE ;
RadioButton BTN_PAGE
{
diff --git a/sw/source/ui/fldui/flddb.src b/sw/source/ui/fldui/flddb.src
index 6e715c455473..3f8ad192844a 100644
--- a/sw/source/ui/fldui/flddb.src
+++ b/sw/source/ui/fldui/flddb.src
@@ -33,7 +33,7 @@ TabPage TP_FLD_DB
HelpID = HID_FLD_DB ;
SVLook = TRUE ;
Hide = TRUE ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
FixedText FT_DBTYPE
{
Pos = MAP_APPFONT ( 6 , 3 ) ;
diff --git a/sw/source/ui/fldui/flddinf.src b/sw/source/ui/fldui/flddinf.src
index 824345a7162c..3391e96568cb 100644
--- a/sw/source/ui/fldui/flddinf.src
+++ b/sw/source/ui/fldui/flddinf.src
@@ -33,7 +33,7 @@ TabPage TP_FLD_DOKINF
HelpID = HID_FLD_DOKINF ;
SVLook = TRUE ;
Hide = TRUE ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
FixedText FT_DOKINFTYPE
{
Pos = MAP_APPFONT ( 6 , 3 ) ;
diff --git a/sw/source/ui/fldui/flddok.src b/sw/source/ui/fldui/flddok.src
index fe595268ce85..9e848576c415 100644
--- a/sw/source/ui/fldui/flddok.src
+++ b/sw/source/ui/fldui/flddok.src
@@ -33,7 +33,7 @@ TabPage TP_FLD_DOK
HelpID = HID_FLD_DOK ;
SVLook = TRUE ;
Hide = TRUE ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
FixedText FT_DOKTYPE
{
Pos = MAP_APPFONT ( 6 , 3 ) ;
diff --git a/sw/source/ui/fldui/fldfunc.src b/sw/source/ui/fldui/fldfunc.src
index 538aeb8e1ce3..472704da7648 100644
--- a/sw/source/ui/fldui/fldfunc.src
+++ b/sw/source/ui/fldui/fldfunc.src
@@ -33,7 +33,7 @@ TabPage TP_FLD_FUNC
HelpID = HID_FLD_FUNC ;
SVLook = TRUE ;
Hide = TRUE ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
FixedText FT_FUNCTYPE
{
Pos = MAP_APPFONT ( 6 , 3 ) ;
diff --git a/sw/source/ui/fldui/fldref.src b/sw/source/ui/fldui/fldref.src
index 5a589e276592..2b0df839fa29 100644
--- a/sw/source/ui/fldui/fldref.src
+++ b/sw/source/ui/fldui/fldref.src
@@ -33,7 +33,7 @@ TabPage TP_FLD_REF
HelpID = HID_FLD_REF ;
SVLook = TRUE ;
Hide = TRUE ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
FixedText FT_REFTYPE
{
Pos = MAP_APPFONT ( 6 , 3 ) ;
diff --git a/sw/source/ui/fldui/fldvar.src b/sw/source/ui/fldui/fldvar.src
index 7057096f72ab..6c68b2d46865 100644
--- a/sw/source/ui/fldui/fldvar.src
+++ b/sw/source/ui/fldui/fldvar.src
@@ -34,7 +34,7 @@ TabPage TP_FLD_VAR
HelpID = HID_FLD_VAR ;
SVLook = TRUE ;
Hide = TRUE ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
FixedText FT_VARTYPE
{
Pos = MAP_APPFONT ( 6 , 3 ) ;
diff --git a/sw/source/ui/frmdlg/column.src b/sw/source/ui/frmdlg/column.src
index 89962c3efcbd..3d42fcf57a94 100644
--- a/sw/source/ui/frmdlg/column.src
+++ b/sw/source/ui/frmdlg/column.src
@@ -37,7 +37,7 @@ TabPage TP_COLUMN
{
HelpID = HID_COLUMN ;
Hide = TRUE;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Text [ en-US ] = "Columns" ;
FixedText FT_NUMBER
{
diff --git a/sw/source/ui/frmdlg/frmpage.src b/sw/source/ui/frmdlg/frmpage.src
index 4bd99cad4320..a38cc8b1d577 100644
--- a/sw/source/ui/frmdlg/frmpage.src
+++ b/sw/source/ui/frmdlg/frmpage.src
@@ -225,7 +225,7 @@ TabPage TP_FRM_STD
HelpID = HID_FRM_STD ;
SVLook = TRUE ;
Pos = MAP_APPFONT ( 0 , 0 ) ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Hide = TRUE ;
FixedText FT_WIDTH
{
@@ -538,7 +538,7 @@ TabPage TP_GRF_EXT
HelpID = HID_GRF_EXT ;
SVLook = TRUE ;
Pos = MAP_APPFONT ( 0 , 0 ) ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Bitmap BMP_EXAMPLE
{
File = "image-example.bmp" ;
@@ -639,7 +639,7 @@ TabPage TP_FRM_URL
SVLook = TRUE ;
HelpID = HID_FRM_URL ;
Pos = MAP_APPFONT ( 0 , 0 ) ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
FixedText FT_URL
{
Pos = MAP_APPFONT ( 12 , 16 ) ;
@@ -726,7 +726,7 @@ TabPage TP_FRM_ADD
SVLook = TRUE ;
HelpID = HID_FRM_ADD ;
Pos = MAP_APPFONT ( 0 , 0 ) ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
FixedText FT_NAME
{
Pos = MAP_APPFONT ( 12 , 16 ) ;
diff --git a/sw/source/ui/frmdlg/wrap.src b/sw/source/ui/frmdlg/wrap.src
index 5b4bbd19a48d..50cc124f111a 100644
--- a/sw/source/ui/frmdlg/wrap.src
+++ b/sw/source/ui/frmdlg/wrap.src
@@ -34,7 +34,7 @@ TabPage TP_FRM_WRAP
SVLook = TRUE ;
HelpID = HID_FRM_EXT ;
Pos = MAP_APPFONT ( 0 , 0 ) ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Hide = TRUE;
FixedLine C_WRAP_FL
{
diff --git a/sw/source/ui/index/cnttab.src b/sw/source/ui/index/cnttab.src
index c2ce533be1fb..6ee087b98caf 100644
--- a/sw/source/ui/index/cnttab.src
+++ b/sw/source/ui/index/cnttab.src
@@ -115,7 +115,7 @@ TabDialog DLG_MULTI_TOX
TabPage TP_TOX_SELECT
{
HelpID = HID_TP_TOX_SELECT;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Hide = TRUE ;
FixedLine FL_TYPETITLE
@@ -548,7 +548,7 @@ TabPage TP_TOX_SELECT
TabPage TP_TOX_ENTRY
{
HelpID = HID_TP_TOX_ENTRY;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Hide = TRUE ;
FixedText FT_LEVEL
{
@@ -1096,7 +1096,7 @@ TabPage TP_TOX_ENTRY
TabPage TP_TOX_STYLES
{
HelpID = HID_TOX_STYLES_PAGE;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Hide = TRUE ;
FixedText FT_LEVEL
{
diff --git a/sw/source/ui/misc/docfnote.src b/sw/source/ui/misc/docfnote.src
index 171cb5bc0dad..e9c77c6db247 100644
--- a/sw/source/ui/misc/docfnote.src
+++ b/sw/source/ui/misc/docfnote.src
@@ -62,7 +62,7 @@ TabPage TP_FOOTNOTEOPTION
Hide = TRUE;
HelpID = HID_FOOTNOTE_OPTIONS ;
Pos = MAP_APPFONT ( 0 , 0 ) ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
FixedLine FL_NUM
{
Pos = MAP_APPFONT ( 6 , 3 ) ;
@@ -313,7 +313,7 @@ TabPage TP_ENDNOTEOPTION
Hide = TRUE;
HelpID = HID_ENDNOTE_OPTIONS ;
Pos = MAP_APPFONT ( 0 , 0 ) ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
FixedLine FL_NUM
{
Pos = MAP_APPFONT ( 6 , 2 ) ;
diff --git a/sw/source/ui/misc/linenum.src b/sw/source/ui/misc/linenum.src
index 1b2db408c761..c56a4f30e738 100644
--- a/sw/source/ui/misc/linenum.src
+++ b/sw/source/ui/misc/linenum.src
@@ -44,7 +44,7 @@ TabPage TP_LINENUMBERING
HelpID = HID_LINENUMBERING ;
SVLook = TRUE ;
Hide = TRUE ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
CheckBox CB_NUMBERING_ON
{
HelpID = "sw:CheckBox:TP_LINENUMBERING:CB_NUMBERING_ON";
diff --git a/sw/source/ui/misc/num.src b/sw/source/ui/misc/num.src
index 33d3c53ee881..482c4e0c9425 100644
--- a/sw/source/ui/misc/num.src
+++ b/sw/source/ui/misc/num.src
@@ -43,7 +43,7 @@ TabPage TP_NUM_POSITION
{
HelpID = HID_NUM_POSITION ;
SVLook = TRUE ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Hide = TRUE;
FixedLine FL_LEVEL
{
diff --git a/sw/source/ui/misc/outline.src b/sw/source/ui/misc/outline.src
index f84fd6738462..819c57b13cd0 100644
--- a/sw/source/ui/misc/outline.src
+++ b/sw/source/ui/misc/outline.src
@@ -208,7 +208,7 @@ TabPage TP_OUTLINE_NUM
{
HelpID = HID_TP_OUTLINE_NUM ;
SVLook = TRUE ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Hide = TRUE;
ListBox LB_LEVEL
{
diff --git a/sw/source/ui/misc/pgfnote.src b/sw/source/ui/misc/pgfnote.src
index 6164a686cddb..eea9464988f5 100644
--- a/sw/source/ui/misc/pgfnote.src
+++ b/sw/source/ui/misc/pgfnote.src
@@ -31,7 +31,7 @@ TabPage TP_FOOTNOTE_PAGE
{
HelpID = HID_FOOTNOTE_PAGE ;
Pos = MAP_APPFONT ( 0 , 0 ) ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Hide = TRUE;
RadioButton RB_MAXHEIGHT_PAGE
{
diff --git a/sw/source/ui/misc/pggrid.src b/sw/source/ui/misc/pggrid.src
index 6d8fbc0ecc8e..2b3a551bf04c 100644
--- a/sw/source/ui/misc/pggrid.src
+++ b/sw/source/ui/misc/pggrid.src
@@ -31,7 +31,7 @@ TabPage TP_TEXTGRID_PAGE
{
HelpID = HID_TEXTGRID_PAGE;
Pos = MAP_APPFONT ( 0 , 0 ) ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Hide = TRUE;
FixedLine FL_GRID_TYPE
{
diff --git a/sw/source/ui/table/tabledlg.src b/sw/source/ui/table/tabledlg.src
index ded80e125021..d352775a3110 100644
--- a/sw/source/ui/table/tabledlg.src
+++ b/sw/source/ui/table/tabledlg.src
@@ -88,7 +88,7 @@ TabPage TP_FORMAT_TABLE
{
HelpID = HID_FORMAT_TABLE ;
SVLook = TRUE ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Hide = TRUE;
FixedText FT_NAME
{
@@ -339,7 +339,7 @@ TabPage TP_TABLE_COLUMN
{
HelpID = HID_TABLE_COLUMN ;
SVLook = TRUE ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Hide = TRUE;
CheckBox CB_MOD_TBL
{
@@ -582,7 +582,7 @@ TabPage TP_TABLE_COLUMN
TabPage TP_TABLE_TEXTFLOW
{
HelpId = HID_TABLE_TEXTFLOW ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
TEXT_TEXTFLOW
Hide = TRUE;
FixedLine FL_FLOW