612 lines
14 KiB
Text
612 lines
14 KiB
Text
/*************************************************************************
|
|
*
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
*
|
|
* Copyright 2008 by Sun Microsystems, Inc.
|
|
*
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
|
*
|
|
* $RCSfile: transfrm.src,v $
|
|
* $Revision: 1.57 $
|
|
*
|
|
* 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 <svtools/controldims.hrc>
|
|
#include "helpid.hrc"
|
|
#include <cuires.hrc>
|
|
#include "transfrm.hrc"
|
|
#include <svx/dialogs.hrc>
|
|
|
|
#define MA_TABPAGE_HEIGHT 185
|
|
|
|
// RID_SVXPAGE_POSITION_SIZE ------------------------------------------------
|
|
TabPage RID_SVXPAGE_POSITION_SIZE
|
|
{
|
|
HelpId = HID_TRANS_POSITION_SIZE ;
|
|
Hide = TRUE ;
|
|
Text [ en-US ] = "Position and Size" ;
|
|
Size = MAP_APPFONT ( 260 , MA_TABPAGE_HEIGHT ) ;
|
|
|
|
FixedLine FL_POSITION
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 3 ) ;
|
|
Size = MAP_APPFONT ( 248 , RSC_CD_FIXEDLINE_HEIGHT ) ;
|
|
Text [ en-US ] = "Position" ;
|
|
};
|
|
FixedText FT_POS_X
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 16 + 8 ) ;
|
|
Size = MAP_APPFONT ( 40 , 10 ) ;
|
|
Text [ en-US ] = "Position ~X" ;
|
|
};
|
|
FixedText FT_POS_Y
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 32 + 8 ) ;
|
|
Size = MAP_APPFONT ( 40 , 10 ) ;
|
|
Text [ en-US ] = "Position ~Y" ;
|
|
};
|
|
MetricField MTR_FLD_POS_X
|
|
{
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 56 , 14 + 8 ) ;
|
|
Size = MAP_APPFONT ( 54 , 12 ) ;
|
|
TabStop = TRUE ;
|
|
Repeat = TRUE ;
|
|
Spin = TRUE ;
|
|
Minimum = -120000 ;
|
|
Maximum = 240000 ;
|
|
StrictFormat = TRUE ;
|
|
DecimalDigits = 2 ;
|
|
Unit = FUNIT_MM ;
|
|
SpinSize = 10 ;
|
|
};
|
|
MetricField MTR_FLD_POS_Y
|
|
{
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 56 , 30 + 8 ) ;
|
|
Size = MAP_APPFONT ( 54 , 12 ) ;
|
|
TabStop = TRUE ;
|
|
Repeat = TRUE ;
|
|
Spin = TRUE ;
|
|
Minimum = -120000 ;
|
|
Maximum = 240000 ;
|
|
StrictFormat = TRUE ;
|
|
DecimalDigits = 2 ;
|
|
Unit = FUNIT_MM ;
|
|
SpinSize = 10 ;
|
|
};
|
|
FixedText FT_POSREFERENCE
|
|
{
|
|
Pos = MAP_APPFONT ( 178 , 2 + 8 ) ;
|
|
Size = MAP_APPFONT ( 70 , 10 ) ;
|
|
Text [ en-US ] = "Base point";
|
|
};
|
|
Control CTL_POSRECT
|
|
{
|
|
HelpId = HID_TPPOSITION_CTRL ;
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 178 , 12 + 8 ) ;
|
|
Size = MAP_APPFONT ( 48 , 34 ) ;
|
|
TabStop = TRUE ;
|
|
QuickHelpText [ en-US ] = "Base point" ;
|
|
};
|
|
|
|
// size
|
|
|
|
FixedLine FL_SIZE
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 56 ) ;
|
|
Size = MAP_APPFONT ( 248 , RSC_CD_FIXEDLINE_HEIGHT ) ;
|
|
Text [ en-US ] = "Size" ;
|
|
};
|
|
FixedText FT_WIDTH
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 16 + 61 ) ;
|
|
Size = MAP_APPFONT ( 40 , 10 ) ;
|
|
Text [ en-US ] = "Wi~dth" ;
|
|
};
|
|
FixedText FT_HEIGHT
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 32 + 61 ) ;
|
|
Size = MAP_APPFONT ( 40 , 10 ) ;
|
|
Text [ en-US ] = "H~eight" ;
|
|
};
|
|
MetricField MTR_FLD_WIDTH
|
|
{
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 56 , 14 + 61 ) ;
|
|
Size = MAP_APPFONT ( 54 , 12 ) ;
|
|
TabStop = TRUE ;
|
|
Repeat = TRUE ;
|
|
Spin = TRUE ;
|
|
Minimum = 1 ;
|
|
Maximum = 120000 ;
|
|
StrictFormat = TRUE ;
|
|
DecimalDigits = 2 ;
|
|
Unit = FUNIT_MM ;
|
|
SpinSize = 10 ;
|
|
};
|
|
MetricField MTR_FLD_HEIGHT
|
|
{
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 56 , 30 + 61 ) ;
|
|
Size = MAP_APPFONT ( 54 , 12 ) ;
|
|
TabStop = TRUE ;
|
|
Repeat = TRUE ;
|
|
Spin = TRUE ;
|
|
Minimum = 1 ;
|
|
Maximum = 120000 ;
|
|
StrictFormat = TRUE ;
|
|
DecimalDigits = 2 ;
|
|
Unit = FUNIT_MM ;
|
|
SpinSize = 10 ;
|
|
};
|
|
FixedText FT_SIZEREFERENCE
|
|
{
|
|
Pos = MAP_APPFONT ( 178 , 2 + 61 ) ;
|
|
Size = MAP_APPFONT ( 70 , 10 ) ;
|
|
Text [ en-US ] = "Base point";
|
|
};
|
|
Control CTL_SIZERECT
|
|
{
|
|
HelpId = HID_TPSIZE_CTRL ;
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 178 , 12 + 61 ) ;
|
|
Size = MAP_APPFONT ( 48 , 34 ) ;
|
|
TabStop = TRUE ;
|
|
QuickHelpText [ en-US ] = "Base point" ;
|
|
};
|
|
CheckBox CBX_SCALE
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 47 + 61 ) ;
|
|
Size = MAP_APPFONT ( 162 , 10 ) ;
|
|
TabStop = TRUE ;
|
|
Text [ en-US ] = "~Keep ratio" ;
|
|
};
|
|
|
|
// Protect
|
|
|
|
FixedLine FL_PROTECT
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 120 ) ;
|
|
Size = MAP_APPFONT ( 119 , RSC_CD_FIXEDLINE_HEIGHT ) ;
|
|
Text [ en-US ] = "Protect" ;
|
|
};
|
|
|
|
TriStateBox TSB_POSPROTECT
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 10 + 120 ) ;
|
|
Size = MAP_APPFONT ( 113 , 10 ) ;
|
|
Text [ en-US ] = "Position" ;
|
|
TabStop = TRUE ;
|
|
};
|
|
|
|
TriStateBox TSB_SIZEPROTECT
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 24 + 120 ) ;
|
|
Size = MAP_APPFONT ( 113 , 10 ) ;
|
|
Text [ en-US ] = "~Size" ;
|
|
TabStop = TRUE ;
|
|
};
|
|
|
|
// Adjust
|
|
|
|
FixedLine FL_ADJUST
|
|
{
|
|
Pos = MAP_APPFONT ( 6 + 123 + 6 , 120 ) ;
|
|
Size = MAP_APPFONT ( 119 , RSC_CD_FIXEDLINE_HEIGHT ) ;
|
|
Text [ en-US ] = "Adapt" ;
|
|
};
|
|
TriStateBox TSB_AUTOGROW_WIDTH
|
|
{
|
|
Pos = MAP_APPFONT ( 12 + 121 + 8, 10 + 120 ) ;
|
|
Size = MAP_APPFONT ( 113 , 10 ) ;
|
|
Text [ en-US ] = "~Fit width to text" ;
|
|
TabStop = TRUE ;
|
|
};
|
|
TriStateBox TSB_AUTOGROW_HEIGHT
|
|
{
|
|
Pos = MAP_APPFONT ( 12 + 121 + 8, 24 + 120 ) ;
|
|
Size = MAP_APPFONT ( 113 , 10 ) ;
|
|
Text [ en-US ] = "Fit ~height to text" ;
|
|
TabStop = TRUE ;
|
|
};
|
|
|
|
FixedLine FL_DIVIDER
|
|
{
|
|
Pos = MAP_APPFONT( 6 + 119 + 5, 128 );
|
|
Size = MAP_APPFONT( RSC_CD_FIXEDLINE_WIDTH, 26 );
|
|
Vert = True;
|
|
};
|
|
|
|
// Anchor
|
|
|
|
FixedLine FL_ANCHOR
|
|
{
|
|
Pos = MAP_APPFONT ( 6 + 123 + 6 , 120 ) ;
|
|
Size = MAP_APPFONT ( 119 , RSC_CD_FIXEDLINE_HEIGHT ) ;
|
|
Hide = TRUE ;
|
|
Text [ en-US ] = "Anchor" ;
|
|
};
|
|
FixedText FT_ANCHOR
|
|
{
|
|
Pos = MAP_APPFONT ( 12 + 121 + 8, 10 + 120 ) ;
|
|
Size = MAP_APPFONT ( 37 , 10 ) ;
|
|
Hide = TRUE ;
|
|
Text [ en-US ] = "~Anchor" ;
|
|
};
|
|
ListBox LB_ANCHOR
|
|
{
|
|
Pos = MAP_APPFONT ( 46 + 121 + 16 , 8 + 120 ) ;
|
|
Size = MAP_APPFONT ( 54 , 60 ) ;
|
|
Hide = TRUE ;
|
|
DropDown = TRUE ;
|
|
StringList [ en-US ] =
|
|
{
|
|
< "To paragraph" ; > ;
|
|
< "As character" ; > ;
|
|
< "To page" ; > ;
|
|
< "To frame" ; > ;
|
|
};
|
|
};
|
|
FixedText FT_ORIENT
|
|
{
|
|
Pos = MAP_APPFONT ( 12 + 121 + 8, 24 + 120 ) ;
|
|
Size = MAP_APPFONT ( 37 , 10 ) ;
|
|
Hide = TRUE ;
|
|
Text [ en-US ] = "P~osition";
|
|
};
|
|
ListBox LB_ORIENT
|
|
{
|
|
Pos = MAP_APPFONT ( 46 + 121 + 16 , 22 + 120 );
|
|
Size = MAP_APPFONT ( 54 , 60 ) ;
|
|
Hide = TRUE ;
|
|
DropDown = TRUE ;
|
|
StringList [ en-US ] =
|
|
{
|
|
< "From top" ; > ;
|
|
< "Above" ; > ;
|
|
< "Centered" ; > ;
|
|
< "Below" ; > ;
|
|
< "Top of character" ; > ;
|
|
< "Center of character" ; > ;
|
|
< "Bottom of character" ; > ;
|
|
< "Top of line" ; > ;
|
|
< "Center of line" ; > ;
|
|
< "Bottom of line" ; > ;
|
|
};
|
|
};
|
|
};
|
|
|
|
// RID_SVXPAGE_ANGLE --------------------------------------------------------
|
|
TabPage RID_SVXPAGE_ANGLE
|
|
{
|
|
HelpId = HID_TRANS_ANGLE ;
|
|
Hide = TRUE ;
|
|
Text [ en-US ] = "Angle" ;
|
|
Size = MAP_APPFONT ( 260 , MA_TABPAGE_HEIGHT ) ;
|
|
FixedLine FL_POSITION
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 3 ) ;
|
|
Size = MAP_APPFONT ( 248 , RSC_CD_FIXEDLINE_HEIGHT ) ;
|
|
Text [ en-US ] = "Pivot point" ;
|
|
};
|
|
FixedText FT_POS_X
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 16 + 11 ) ;
|
|
Size = MAP_APPFONT ( 40 , 10 ) ;
|
|
Text [ en-US ] = "Position ~X" ;
|
|
};
|
|
FixedText FT_POS_Y
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 32 + 11 ) ;
|
|
Size = MAP_APPFONT ( 40 , 10 ) ;
|
|
Text [ en-US ] = "Position ~Y" ;
|
|
};
|
|
MetricField MTR_FLD_POS_X
|
|
{
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 56 , 14 + 11 ) ;
|
|
Size = MAP_APPFONT ( 54 , 12 ) ;
|
|
TabStop = TRUE ;
|
|
Repeat = TRUE ;
|
|
Spin = TRUE ;
|
|
Minimum = -500000 ;
|
|
Maximum = 500000 ;
|
|
StrictFormat = TRUE ;
|
|
DecimalDigits = 2 ;
|
|
Unit = FUNIT_MM ;
|
|
SpinSize = 10 ;
|
|
};
|
|
MetricField MTR_FLD_POS_Y
|
|
{
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 56 , 30 + 11 ) ;
|
|
Size = MAP_APPFONT ( 54 , 12 ) ;
|
|
TabStop = TRUE ;
|
|
Repeat = TRUE ;
|
|
Spin = TRUE ;
|
|
Minimum = -500000 ;
|
|
Maximum = 500000 ;
|
|
StrictFormat = TRUE ;
|
|
DecimalDigits = 2 ;
|
|
Unit = FUNIT_MM ;
|
|
SpinSize = 10 ;
|
|
};
|
|
FixedText FT_POSPRESETS
|
|
{
|
|
Pos = MAP_APPFONT ( 178 , 14 ) ;
|
|
Size = MAP_APPFONT ( 70 , 8 ) ;
|
|
Text [ en-US ] = "Default settings";
|
|
};
|
|
Control CTL_RECT
|
|
{
|
|
HelpId = HID_TPROTATION_CTRL1 ;
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 178 , 14 + 11 ) ;
|
|
Size = MAP_APPFONT ( 70 , 48 ) ;
|
|
TabStop = TRUE ;
|
|
QuickHelpText [ en-US ] = "Rotation point" ;
|
|
};
|
|
FixedLine FL_ANGLE
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 71 + 11 ) ;
|
|
Size = MAP_APPFONT ( 248 , RSC_CD_FIXEDLINE_HEIGHT ) ;
|
|
Text [ en-US ] = "Rotation angle" ;
|
|
};
|
|
FixedText FT_ANGLE
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 84 + 22 ) ;
|
|
Size = MAP_APPFONT ( 40 , 10 ) ;
|
|
Text [ en-US ] = "~Angle" ;
|
|
};
|
|
MetricField MTR_FLD_ANGLE
|
|
{
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 56 , 82 + 22 ) ;
|
|
Size = MAP_APPFONT ( 54 , 12 ) ;
|
|
TabStop = TRUE ;
|
|
Repeat = TRUE ;
|
|
Spin = TRUE ;
|
|
Minimum = -500000 ;
|
|
Maximum = 500000 ;
|
|
StrictFormat = TRUE ;
|
|
DecimalDigits = 2 ;
|
|
Unit = FUNIT_CUSTOM ;
|
|
CustomUnitText [ en-US ] = " degrees" ;
|
|
SpinSize = 500 ;
|
|
};
|
|
FixedText FT_ANGLEPRESETS
|
|
{
|
|
Pos = MAP_APPFONT ( 178 , 82 + 11 ) ;
|
|
Size = MAP_APPFONT ( 70 , 8 ) ;
|
|
Text [ en-US ] = "Default settings";
|
|
};
|
|
Control CTL_ANGLE
|
|
{
|
|
HelpId = HID_TPROTATION_CTRL2 ;
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 178 , 82 + 22 ) ;
|
|
Size = MAP_APPFONT ( 70 , 48 ) ;
|
|
TabStop = TRUE ;
|
|
QuickHelpText [ en-US ] = "Rotation Angle";
|
|
};
|
|
};
|
|
// RID_SVXPAGE_SLANT -----------------------------------------------------
|
|
TabPage RID_SVXPAGE_SLANT
|
|
{
|
|
HelpId = HID_TRANS_SLANT ;
|
|
Hide = TRUE ;
|
|
Size = MAP_APPFONT ( 260 , MA_TABPAGE_HEIGHT ) ;
|
|
Text [ en-US ] = "Slant & Corner Radius" ;
|
|
FixedLine FL_RADIUS
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 3 ) ;
|
|
Size = MAP_APPFONT ( 248 , RSC_CD_FIXEDLINE_HEIGHT ) ;
|
|
Text [ en-US ] = "Corner radius" ;
|
|
};
|
|
FixedText FT_RADIUS
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 16 ) ;
|
|
Size = MAP_APPFONT ( 40 , 10 ) ;
|
|
Text [ en-US ] = "~Radius" ;
|
|
};
|
|
MetricField MTR_FLD_RADIUS
|
|
{
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 56 , 14 ) ;
|
|
Size = MAP_APPFONT ( 54 , 12 ) ;
|
|
TabStop = TRUE ;
|
|
Repeat = TRUE ;
|
|
Spin = TRUE ;
|
|
Minimum = 0 ;
|
|
Maximum = 500000 ;
|
|
StrictFormat = TRUE ;
|
|
DecimalDigits = 2 ;
|
|
Unit = FUNIT_MM ;
|
|
SpinSize = 10 ;
|
|
};
|
|
FixedLine FL_SLANT
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 35 ) ;
|
|
Size = MAP_APPFONT ( 248 , RSC_CD_FIXEDLINE_HEIGHT ) ;
|
|
Text [ en-US ] = "Slant" ;
|
|
};
|
|
FixedText FT_ANGLE
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 48 ) ;
|
|
Size = MAP_APPFONT ( 40 , 10 ) ;
|
|
Text [ en-US ] = "~Angle" ;
|
|
};
|
|
MetricField MTR_FLD_ANGLE
|
|
{
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 56 , 46 ) ;
|
|
Size = MAP_APPFONT ( 54 , 12 ) ;
|
|
TabStop = TRUE ;
|
|
Repeat = TRUE ;
|
|
Spin = TRUE ;
|
|
Minimum = -8900 ;
|
|
First = -8900 ;
|
|
Maximum = 8900 ;
|
|
Last = 8900 ;
|
|
StrictFormat = TRUE ;
|
|
DecimalDigits = 2 ;
|
|
Unit = FUNIT_CUSTOM ;
|
|
SpinSize = 500 ;
|
|
CustomUnitText [ en-US ] = " degrees" ;
|
|
};
|
|
};
|
|
// RID_SVXDLG_TRANSFORM -----------------------------------------------------
|
|
|
|
#define _POS_SIZE_TEXT \
|
|
Text [ en-US ] = "Position and Size" ; \
|
|
|
|
|
|
TabDialog RID_SVXDLG_TRANSFORM\
|
|
{
|
|
OutputSize = TRUE ;
|
|
SvLook = TRUE ;
|
|
Size = MAP_APPFONT ( 289 , MA_TABPAGE_HEIGHT + 41 ) ;
|
|
Text [ en-US ] = "Position and Size" ;\
|
|
Moveable = TRUE ;
|
|
TabControl TAB_CONTROL\
|
|
{
|
|
OutputSize = TRUE ;
|
|
Pos = MAP_APPFONT ( 3 , 3 ) ;
|
|
Size = MAP_APPFONT ( 260 , MA_TABPAGE_HEIGHT ) ;
|
|
PageList =
|
|
{
|
|
PageItem\
|
|
{
|
|
Identifier = RID_SVXPAGE_POSITION_SIZE ;
|
|
PageResID = RID_SVXPAGE_POSITION_SIZE ;
|
|
_POS_SIZE_TEXT
|
|
};
|
|
PageItem
|
|
{
|
|
Identifier = RID_SVXPAGE_SWPOSSIZE;
|
|
PageResID = RID_SVXPAGE_SWPOSSIZE;
|
|
_POS_SIZE_TEXT
|
|
};
|
|
PageItem
|
|
{
|
|
Identifier = RID_SVXPAGE_ANGLE ;
|
|
Text [ en-US ] = "Rotation" ;
|
|
PageResID = RID_SVXPAGE_ANGLE ;
|
|
};
|
|
PageItem
|
|
{
|
|
Identifier = RID_SVXPAGE_SLANT ;
|
|
PageResID = RID_SVXPAGE_SLANT ;
|
|
Text [ en-US ] = "Slant & Corner Radius" ;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
// ********************************************************************** EOF
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|