f70fe6e651
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. commits8631dbf85f
and29042d096a
that were the cause of the problem described fdo#49921. Change-Id: I9995002a2bd5c3604bdfa06dc817916ce61c558d
313 lines
9 KiB
Text
313 lines
9 KiB
Text
/*************************************************************************
|
|
*
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
*
|
|
* Copyright 2000, 2010 Oracle and/or its affiliates.
|
|
*
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
|
*
|
|
* This file is part of OpenOffice.org.
|
|
*
|
|
* OpenOffice.org is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU Lesser General Public License version 3
|
|
* only, as published by the Free Software Foundation.
|
|
*
|
|
* OpenOffice.org is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU Lesser General Public License version 3 for more details
|
|
* (a copy is included in the LICENSE file that accompanied this code).
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
* version 3 along with OpenOffice.org. If not, see
|
|
* <http://www.openoffice.org/license.html>
|
|
* for a copy of the LGPLv3 License.
|
|
*
|
|
************************************************************************/
|
|
// include ------------------------------------------------------------------
|
|
#include "helpid.hrc"
|
|
#include <cuires.hrc>
|
|
#include "swpossizetabpage.hrc"
|
|
#include <svx/dialogs.hrc>
|
|
|
|
// RID_SVXPAGE_POSITION_SIZE ------------------------------------------------
|
|
TabPage RID_SVXPAGE_SWPOSSIZE
|
|
{
|
|
HelpId = HID_SVXPAGE_SWPOSSIZE;
|
|
Hide = TRUE ;
|
|
Text[ en-US ] = "Position and Size" ;
|
|
Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
|
|
FixedLine FL_SIZE
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 3 ) ;
|
|
Size = MAP_APPFONT ( 104 , 8 ) ;
|
|
Text [ en-US ] = "Size" ;
|
|
};
|
|
FixedText FT_WIDTH
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 16 ) ;
|
|
Size = MAP_APPFONT ( 43 , 8 ) ;
|
|
Left = TRUE ;
|
|
Text [ en-US ] = "~Width" ;
|
|
};
|
|
MetricField MF_WIDTH
|
|
{
|
|
HelpID = "cui:MetricField:RID_SVXPAGE_SWPOSSIZE:MF_WIDTH";
|
|
Pos = MAP_APPFONT ( 59 , 14 ) ;
|
|
Size = MAP_APPFONT ( 45 , 12 ) ;
|
|
Border = TRUE ;
|
|
Text = "12,99" ;
|
|
TabStop = TRUE ;
|
|
Left = TRUE ;
|
|
Repeat = TRUE ;
|
|
Spin = TRUE ;
|
|
Minimum = 5 ;
|
|
Maximum = 9999 ;
|
|
DecimalDigits = 2 ;
|
|
Unit = FUNIT_CM ;
|
|
First = 5 ;
|
|
Last = 9999 ;
|
|
SpinSize = 10 ;
|
|
};
|
|
FixedText FT_HEIGHT
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 32 ) ;
|
|
Size = MAP_APPFONT ( 43 , 8 ) ;
|
|
Left = TRUE ;
|
|
Text [ en-US ] = "H~eight" ;
|
|
};
|
|
MetricField MF_HEIGHT
|
|
{
|
|
HelpID = "cui:MetricField:RID_SVXPAGE_SWPOSSIZE:MF_HEIGHT";
|
|
Pos = MAP_APPFONT ( 59 , 30 ) ;
|
|
Size = MAP_APPFONT ( 45 , 12 ) ;
|
|
Border = TRUE ;
|
|
Text = "12,99" ;
|
|
TabStop = TRUE ;
|
|
Left = TRUE ;
|
|
Repeat = TRUE ;
|
|
Spin = TRUE ;
|
|
Minimum = 5 ;
|
|
Maximum = 9999 ;
|
|
DecimalDigits = 2 ;
|
|
Unit = FUNIT_CM ;
|
|
First = 5 ;
|
|
Last = 9999 ;
|
|
SpinSize = 10 ;
|
|
};
|
|
CheckBox CB_KEEPRATIO
|
|
{
|
|
HelpID = "cui:CheckBox:RID_SVXPAGE_SWPOSSIZE:CB_KEEPRATIO";
|
|
Pos = MAP_APPFONT ( 12 , 45 ) ;
|
|
Size = MAP_APPFONT ( 95 , 10 ) ;
|
|
TabStop = TRUE ;
|
|
Text [ en-US ] = "~Keep ratio" ;
|
|
};
|
|
FixedLine FL_SEPARATOR
|
|
{
|
|
Pos = MAP_APPFONT ( 111 , 14 ) ;
|
|
Size = MAP_APPFONT ( 4 , 66 ) ;
|
|
Vert = TRUE;
|
|
};
|
|
FixedLine FL_ANCHOR
|
|
{
|
|
Pos = MAP_APPFONT ( 116 , 3 ) ;
|
|
Size = MAP_APPFONT ( 80 , 8 ) ;
|
|
Text [ en-US ] = "Anchor" ;
|
|
};
|
|
RadioButton RB_TOPAGE
|
|
{
|
|
HelpID = "cui:RadioButton:RID_SVXPAGE_SWPOSSIZE:RB_TOPAGE";
|
|
Pos = MAP_APPFONT ( 122 , 14 ) ;
|
|
Size = MAP_APPFONT ( 70 , 10 ) ;
|
|
Text [ en-US ] = "To ~page";
|
|
};
|
|
RadioButton RB_TOPARA
|
|
{
|
|
HelpID = "cui:RadioButton:RID_SVXPAGE_SWPOSSIZE:RB_TOPARA";
|
|
Pos = MAP_APPFONT ( 122 , 28 ) ;
|
|
Size = MAP_APPFONT ( 70 , 10 ) ;
|
|
Text [ en-US ] = "To paragrap~h";
|
|
};
|
|
RadioButton RB_TOCHAR
|
|
{
|
|
HelpID = "cui:RadioButton:RID_SVXPAGE_SWPOSSIZE:RB_TOCHAR";
|
|
Pos = MAP_APPFONT ( 122 , 42 ) ;
|
|
Size = MAP_APPFONT ( 70 , 10 ) ;
|
|
Text [ en-US ] = "To cha~racter";
|
|
};
|
|
RadioButton RB_ASCHAR
|
|
{
|
|
HelpID = "cui:RadioButton:RID_SVXPAGE_SWPOSSIZE:RB_ASCHAR";
|
|
Pos = MAP_APPFONT ( 122 , 56 ) ;
|
|
Size = MAP_APPFONT ( 70 , 10 ) ;
|
|
Text [ en-US ] = "~As character" ;
|
|
};
|
|
RadioButton RB_TOFRAME
|
|
{
|
|
HelpID = "cui:RadioButton:RID_SVXPAGE_SWPOSSIZE:RB_TOFRAME";
|
|
Hide = TRUE;
|
|
Pos = MAP_APPFONT ( 122 , 70 ) ;
|
|
Size = MAP_APPFONT ( 70 , 10 ) ;
|
|
Text [ en-US ] = "To ~frame";
|
|
};
|
|
Window WN_EXAMPLE
|
|
{
|
|
Pos = MAP_APPFONT ( 202 , 14 ) ;
|
|
Size = MAP_APPFONT ( 52 , 66 ) ;
|
|
};
|
|
FixedLine FL_PROTECTION
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 86 ) ;
|
|
Size = MAP_APPFONT ( 248 , 8 ) ;
|
|
Text [ en-US ] = "Protect" ;
|
|
};
|
|
TriStateBox CB_POSITION
|
|
{
|
|
HelpID = "cui:TriStateBox:RID_SVXPAGE_SWPOSSIZE:CB_POSITION";
|
|
Pos = MAP_APPFONT ( 12 , 97 ) ;
|
|
Size = MAP_APPFONT ( 113 , 10 ) ;
|
|
TabStop = TRUE ;
|
|
Text [ en-US ] = "Position" ;
|
|
};
|
|
TriStateBox CB_SIZE
|
|
{
|
|
HelpID = "cui:TriStateBox:RID_SVXPAGE_SWPOSSIZE:CB_SIZE";
|
|
Pos = MAP_APPFONT ( 122 , 97 ) ;
|
|
Size = MAP_APPFONT ( 113 , 10 ) ;
|
|
TabStop = TRUE ;
|
|
Text [ en-US ] = "~Size" ;
|
|
};
|
|
FixedLine FL_POSITION
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 113 ) ;
|
|
Size = MAP_APPFONT ( 248 , 8 ) ;
|
|
Text [ en-US ] = "Position" ;
|
|
};
|
|
FixedText FT_HORI
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 126 ) ;
|
|
Size = MAP_APPFONT ( 35 , 8 ) ;
|
|
Left = TRUE ;
|
|
Text [ en-US ] = "Hori~zontal" ;
|
|
};
|
|
ListBox LB_HORI
|
|
{
|
|
HelpID = "cui:ListBox:RID_SVXPAGE_SWPOSSIZE:LB_HORI";
|
|
Pos = MAP_APPFONT ( 49 , 124 ) ;
|
|
Size = MAP_APPFONT ( 50 , 60 ) ;
|
|
TabStop = TRUE ;
|
|
DropDown = TRUE ;
|
|
};
|
|
FixedText FT_HORIBY
|
|
{
|
|
Pos = MAP_APPFONT ( 101 , 126 ) ;
|
|
Size = MAP_APPFONT ( 20 , 8 ) ;
|
|
Center = TRUE ;
|
|
Text [ en-US ] = "b~y" ;
|
|
};
|
|
MetricField MF_HORIBY
|
|
{
|
|
HelpID = "cui:MetricField:RID_SVXPAGE_SWPOSSIZE:MF_HORIBY";
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 123 , 124 ) ;
|
|
Size = MAP_APPFONT ( 35 , 12 ) ;
|
|
TabStop = TRUE ;
|
|
Left = TRUE ;
|
|
Repeat = TRUE ;
|
|
Spin = TRUE ;
|
|
Minimum = -9999 ;
|
|
Maximum = 9999 ;
|
|
DecimalDigits = 2 ;
|
|
Unit = FUNIT_CM ;
|
|
First = -9999 ;
|
|
Last = 9999 ;
|
|
SpinSize = 10 ;
|
|
};
|
|
FixedText FT_HORITO
|
|
{
|
|
Pos = MAP_APPFONT ( 160 , 126 ) ;
|
|
Size = MAP_APPFONT ( 21 , 8 ) ;
|
|
Center = TRUE ;
|
|
Text [ en-US ] = "~to" ;
|
|
};
|
|
ListBox LB_HORITO
|
|
{
|
|
HelpID = "cui:ListBox:RID_SVXPAGE_SWPOSSIZE:LB_HORITO";
|
|
Pos = MAP_APPFONT ( 183 , 124 ) ;
|
|
Size = MAP_APPFONT ( 65 , 60 ) ;
|
|
TabStop = TRUE ;
|
|
DropDown = TRUE ;
|
|
};
|
|
CheckBox CB_HORIMIRROR
|
|
{
|
|
HelpID = "cui:CheckBox:RID_SVXPAGE_SWPOSSIZE:CB_HORIMIRROR";
|
|
Pos = MAP_APPFONT ( 12 , 139 ) ;
|
|
Size = MAP_APPFONT ( 236 , 10 ) ;
|
|
TabStop = TRUE ;
|
|
Text [ en-US ] = "~Mirror on even pages" ;
|
|
};
|
|
FixedText FT_VERT
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 155 ) ;
|
|
Size = MAP_APPFONT ( 35 , 8 ) ;
|
|
Left = TRUE ;
|
|
Text [ en-US ] = "~Vertical" ;
|
|
};
|
|
ListBox LB_VERT
|
|
{
|
|
HelpID = "cui:ListBox:RID_SVXPAGE_SWPOSSIZE:LB_VERT";
|
|
Pos = MAP_APPFONT ( 49 , 153 ) ;
|
|
Size = MAP_APPFONT ( 50 , 60 ) ;
|
|
TabStop = TRUE ;
|
|
DropDown = TRUE ;
|
|
};
|
|
FixedText FT_VERTBY
|
|
{
|
|
Pos = MAP_APPFONT ( 101 , 155 ) ;
|
|
Size = MAP_APPFONT ( 20 , 8 ) ;
|
|
Center = TRUE ;
|
|
Text [ en-US ] = "by" ;
|
|
};
|
|
MetricField MF_VERTBY
|
|
{
|
|
HelpID = "cui:MetricField:RID_SVXPAGE_SWPOSSIZE:MF_VERTBY";
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 123 , 153 ) ;
|
|
Size = MAP_APPFONT ( 35 , 12 ) ;
|
|
TabStop = TRUE ;
|
|
Left = TRUE ;
|
|
Repeat = TRUE ;
|
|
Spin = TRUE ;
|
|
Minimum = -9999 ;
|
|
Maximum = 9999 ;
|
|
DecimalDigits = 2 ;
|
|
Unit = FUNIT_CM ;
|
|
First = -9999 ;
|
|
Last = 9999 ;
|
|
SpinSize = 10 ;
|
|
};
|
|
FixedText FT_VERTTO
|
|
{
|
|
Pos = MAP_APPFONT ( 160 , 155 ) ;
|
|
Size = MAP_APPFONT ( 21 , 8 ) ;
|
|
Center = TRUE ;
|
|
Text [ en-US ] = "t~o" ;
|
|
};
|
|
ListBox LB_VERTTO
|
|
{
|
|
HelpID = "cui:ListBox:RID_SVXPAGE_SWPOSSIZE:LB_VERTTO";
|
|
Pos = MAP_APPFONT ( 183 , 153 ) ;
|
|
Size = MAP_APPFONT ( 65 , 60 ) ;
|
|
TabStop = TRUE ;
|
|
DropDown = TRUE ;
|
|
};
|
|
CheckBox CB_FOLLOW
|
|
{
|
|
HelpID = "cui:CheckBox:RID_SVXPAGE_SWPOSSIZE:CB_FOLLOW";
|
|
Pos = MAP_APPFONT ( 12 , 168 ) ;
|
|
Size = MAP_APPFONT ( 113 , 10 ) ;
|
|
TabStop = TRUE ;
|
|
Text [ en-US ] = "Follow text flow" ;
|
|
};
|
|
};
|