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
311 lines
8.9 KiB
Text
311 lines
8.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 <cuires.hrc>
|
|
#include "helpid.hrc"
|
|
#include "grfpage.hrc"
|
|
#include <svx/dialogs.hrc>
|
|
|
|
/************************************************************/
|
|
/* */
|
|
/* */
|
|
/* Crop-Page */
|
|
/* */
|
|
/* */
|
|
/************************************************************/
|
|
TabPage RID_SVXPAGE_GRFCROP
|
|
{
|
|
Hide = TRUE ;
|
|
HelpID = HID_SVXPAGE_GRFCROP;
|
|
SVLook = TRUE ;
|
|
Pos = MAP_APPFONT ( 0 , 0 ) ;
|
|
Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
|
|
FixedLine FL_CROP
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 3 ) ;
|
|
Size = MAP_APPFONT ( 164 , 8 ) ;
|
|
Text [ en-US ] = "Crop" ;
|
|
};
|
|
FixedText FT_LEFT
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 44 ) ;
|
|
Size = MAP_APPFONT ( 28 , 8 ) ;
|
|
Text [ en-US ] = "~Left" ;
|
|
};
|
|
MetricField MF_LEFT
|
|
{
|
|
HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_LEFT";
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 42 , 42 ) ;
|
|
Size = MAP_APPFONT ( 40 , 12 ) ;
|
|
Text = "12,99" ;
|
|
TabStop = TRUE ;
|
|
Left = TRUE ;
|
|
Repeat = TRUE ;
|
|
Spin = TRUE ;
|
|
Minimum = -9999 ;
|
|
Maximum = 9999 ;
|
|
DecimalDigits = 2 ;
|
|
Unit = FUNIT_CM ;
|
|
First = 0 ;
|
|
Last = 9999 ;
|
|
SpinSize = 10 ;
|
|
};
|
|
FixedText FT_RIGHT
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 60 ) ;
|
|
Size = MAP_APPFONT ( 28 , 8 ) ;
|
|
Left = TRUE ;
|
|
Text [ en-US ] = "~Right" ;
|
|
};
|
|
MetricField MF_RIGHT
|
|
{
|
|
HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_RIGHT";
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 42 , 58 ) ;
|
|
Size = MAP_APPFONT ( 40 , 12 ) ;
|
|
TabStop = TRUE ;
|
|
Left = TRUE ;
|
|
Repeat = TRUE ;
|
|
Spin = TRUE ;
|
|
Minimum = -9999 ;
|
|
Maximum = 9999 ;
|
|
DecimalDigits = 2 ;
|
|
Unit = FUNIT_CM ;
|
|
First = 0 ;
|
|
Last = 9999 ;
|
|
SpinSize = 10 ;
|
|
};
|
|
FixedText FT_TOP
|
|
{
|
|
Pos = MAP_APPFONT ( 94 , 44 ) ;
|
|
Size = MAP_APPFONT ( 28 , 8 ) ;
|
|
Text [ en-US ] = "~Top" ;
|
|
};
|
|
MetricField MF_TOP
|
|
{
|
|
HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_TOP";
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 124 , 42 ) ;
|
|
Size = MAP_APPFONT ( 40 , 12 ) ;
|
|
Text = "12,99" ;
|
|
TabStop = TRUE ;
|
|
Left = TRUE ;
|
|
Repeat = TRUE ;
|
|
Spin = TRUE ;
|
|
Minimum = -9999 ;
|
|
Maximum = 9999 ;
|
|
DecimalDigits = 2 ;
|
|
Unit = FUNIT_CM ;
|
|
First = 0 ;
|
|
Last = 9999 ;
|
|
SpinSize = 10 ;
|
|
};
|
|
FixedText FT_BOTTOM
|
|
{
|
|
Pos = MAP_APPFONT ( 94 , 60 ) ;
|
|
Size = MAP_APPFONT ( 28 , 8 ) ;
|
|
Left = TRUE ;
|
|
Text [ en-US ] = "~Bottom" ;
|
|
};
|
|
MetricField MF_BOTTOM
|
|
{
|
|
HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_BOTTOM";
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 124 , 58 ) ;
|
|
Size = MAP_APPFONT ( 40 , 12 ) ;
|
|
TabStop = TRUE ;
|
|
Left = TRUE ;
|
|
Repeat = TRUE ;
|
|
Spin = TRUE ;
|
|
Minimum = -9999 ;
|
|
Maximum = 9999 ;
|
|
DecimalDigits = 2 ;
|
|
Unit = FUNIT_CM ;
|
|
First = 0 ;
|
|
Last = 9999 ;
|
|
SpinSize = 10 ;
|
|
};
|
|
RadioButton RB_SIZECONST
|
|
{
|
|
HelpID = "cui:RadioButton:RID_SVXPAGE_GRFCROP:RB_SIZECONST";
|
|
Pos = MAP_APPFONT ( 12 , 28 ) ;
|
|
Size = MAP_APPFONT ( 152 , 10 ) ;
|
|
Text [ en-US ] = "Keep image si~ze" ;
|
|
};
|
|
RadioButton RB_ZOOMCONST
|
|
{
|
|
HelpID = "cui:RadioButton:RID_SVXPAGE_GRFCROP:RB_ZOOMCONST";
|
|
Pos = MAP_APPFONT ( 12 , 14 ) ;
|
|
Size = MAP_APPFONT ( 152 , 10 ) ;
|
|
Check = TRUE ;
|
|
Text [ en-US ] = "Keep ~scale" ;
|
|
};
|
|
Window WN_BSP
|
|
{
|
|
Pos = MAP_APPFONT ( 176 , 6 ) ;
|
|
Size = MAP_APPFONT ( 78 , 78 ) ;
|
|
Border = TRUE ;
|
|
};
|
|
FixedLine FL_ZOOM
|
|
{
|
|
Pos = MAP_APPFONT ( 6, 76 ) ;
|
|
Size = MAP_APPFONT ( 164 , 8 ) ;
|
|
Text [ en-US ] = "Scale" ;
|
|
};
|
|
FixedText FT_WIDTHZOOM
|
|
{
|
|
Left = TRUE ;
|
|
Pos = MAP_APPFONT ( 12 , 89 ) ;
|
|
Size = MAP_APPFONT ( 28 , 8 ) ;
|
|
Text [ en-US ] = "~Width" ;
|
|
};
|
|
MetricField MF_WIDTHZOOM
|
|
{
|
|
HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_WIDTHZOOM";
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 42 , 87 ) ;
|
|
Size = MAP_APPFONT ( 40 , 12 ) ;
|
|
Text = "12,99" ;
|
|
TabStop = TRUE ;
|
|
Left = TRUE ;
|
|
Repeat = TRUE ;
|
|
Spin = TRUE ;
|
|
Minimum = 1 ;
|
|
Maximum = 9999 ;
|
|
First = 5 ;
|
|
Last = 1000 ;
|
|
Maximum = 9999 ;
|
|
Value = 100 ;
|
|
Unit = FUNIT_CUSTOM ;
|
|
CustomUnitText = "%" ;
|
|
SpinSize = 10 ;
|
|
};
|
|
FixedText FT_HEIGHTZOOM
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 105 ) ;
|
|
Size = MAP_APPFONT ( 28 , 8 ) ;
|
|
Text [ en-US ] = "H~eight" ;
|
|
Left = TRUE ;
|
|
};
|
|
MetricField MF_HEIGHTZOOM
|
|
{
|
|
HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_HEIGHTZOOM";
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 42 , 103 ) ;
|
|
Size = MAP_APPFONT ( 40 , 12 ) ;
|
|
TabStop = TRUE ;
|
|
Left = TRUE ;
|
|
Repeat = TRUE ;
|
|
Spin = TRUE ;
|
|
Minimum = 1 ;
|
|
Maximum = 9999 ;
|
|
First = 5 ;
|
|
Last = 1000 ;
|
|
Maximum = 9999 ;
|
|
Value = 100 ;
|
|
Unit = FUNIT_CUSTOM ;
|
|
CustomUnitText = "%" ;
|
|
SpinSize = 10 ;
|
|
};
|
|
FixedLine FL_SIZE
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 121 ) ;
|
|
Size = MAP_APPFONT ( 164 , 8 ) ;
|
|
Text [ en-US ] = "Image size" ;
|
|
};
|
|
FixedText FT_WIDTH
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 134 ) ;
|
|
Size = MAP_APPFONT ( 28 , 8 ) ;
|
|
Left = TRUE ;
|
|
Text [ en-US ] = "~Width" ;
|
|
};
|
|
MetricField MF_WIDTH
|
|
{
|
|
HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_WIDTH";
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 42 , 132 ) ;
|
|
Size = MAP_APPFONT ( 40 , 12 ) ;
|
|
Text = "12,99" ;
|
|
TabStop = TRUE ;
|
|
Left = TRUE ;
|
|
Repeat = TRUE ;
|
|
Spin = TRUE ;
|
|
Minimum = 5 ;
|
|
Maximum = 20000 ;
|
|
DecimalDigits = 2 ;
|
|
Unit = FUNIT_CM ;
|
|
First = 5 ;
|
|
Last = 20000 ;
|
|
SpinSize = 10 ;
|
|
};
|
|
FixedText FT_HEIGHT
|
|
{
|
|
Pos = MAP_APPFONT ( 12 , 150 ) ;
|
|
Size = MAP_APPFONT ( 28 , 8 ) ;
|
|
Left = TRUE ;
|
|
Text [ en-US ] = "H~eight" ;
|
|
};
|
|
MetricField MF_HEIGHT
|
|
{
|
|
HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_HEIGHT";
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 42 , 148 ) ;
|
|
Size = MAP_APPFONT ( 40 , 12 ) ;
|
|
TabStop = TRUE ;
|
|
Left = TRUE ;
|
|
Repeat = TRUE ;
|
|
Spin = TRUE ;
|
|
Minimum = 5 ;
|
|
Maximum = 20000 ;
|
|
DecimalDigits = 2 ;
|
|
Unit = FUNIT_CM ;
|
|
First = 5 ;
|
|
Last = 20000 ;
|
|
SpinSize = 10 ;
|
|
};
|
|
FixedText FT_ORIG_SIZE
|
|
{
|
|
Pos = MAP_APPFONT ( 176 , 132 ) ;
|
|
Size = MAP_APPFONT ( 74 , 8 ) ;
|
|
};
|
|
PushButton PB_ORGSIZE
|
|
{
|
|
HelpID = "cui:PushButton:RID_SVXPAGE_GRFCROP:PB_ORGSIZE";
|
|
Pos = MAP_APPFONT ( 176 , 143 ) ;
|
|
Size = MAP_APPFONT ( 50 , 14 ) ;
|
|
TabStop = TRUE ;
|
|
Text [ en-US ] = "~Original Size" ;
|
|
};
|
|
};
|
|
|
|
String STR_PPI
|
|
{
|
|
Text [ x-comment ] = "PPI is pixel per inch, %1 is a number" ;
|
|
Text [ en-US ] = "(%1 PPI)" ;
|
|
};
|