2009-10-30 18:36:06 -05:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
*
|
2010-02-12 08:01:35 -06:00
|
|
|
* Copyright 2000, 2010 Oracle and/or its affiliates.
|
2009-10-30 18:36:06 -05:00
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*
|
|
|
|
************************************************************************/
|
|
|
|
|
2009-11-02 13:49:14 -06:00
|
|
|
#include <cuires.hrc>
|
2009-10-30 18:36:06 -05:00
|
|
|
#include "helpid.hrc"
|
|
|
|
#include "grfpage.hrc"
|
2009-11-02 13:49:14 -06:00
|
|
|
#include <svx/dialogs.hrc>
|
2009-10-30 18:36:06 -05:00
|
|
|
|
|
|
|
/************************************************************/
|
|
|
|
/* */
|
|
|
|
/* */
|
|
|
|
/* Crop-Page */
|
|
|
|
/* */
|
|
|
|
/* */
|
|
|
|
/************************************************************/
|
|
|
|
TabPage RID_SVXPAGE_GRFCROP
|
|
|
|
{
|
|
|
|
Hide = TRUE ;
|
|
|
|
HelpID = HID_SVXPAGE_GRFCROP;
|
|
|
|
SVLook = TRUE ;
|
|
|
|
Pos = MAP_APPFONT ( 0 , 0 ) ;
|
2012-05-15 03:10:18 -05:00
|
|
|
Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
|
2009-10-30 18:36:06 -05:00
|
|
|
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
|
|
|
|
{
|
2010-10-11 10:56:12 -05:00
|
|
|
HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_LEFT";
|
2009-10-30 18:36:06 -05:00
|
|
|
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
|
|
|
|
{
|
2010-10-11 10:56:12 -05:00
|
|
|
HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_RIGHT";
|
2009-10-30 18:36:06 -05:00
|
|
|
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
|
|
|
|
{
|
2010-10-11 10:56:12 -05:00
|
|
|
HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_TOP";
|
2009-10-30 18:36:06 -05:00
|
|
|
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
|
|
|
|
{
|
2010-10-11 10:56:12 -05:00
|
|
|
HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_BOTTOM";
|
2009-10-30 18:36:06 -05:00
|
|
|
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
|
|
|
|
{
|
2010-10-11 10:56:12 -05:00
|
|
|
HelpID = "cui:RadioButton:RID_SVXPAGE_GRFCROP:RB_SIZECONST";
|
2009-10-30 18:36:06 -05:00
|
|
|
Pos = MAP_APPFONT ( 12 , 28 ) ;
|
|
|
|
Size = MAP_APPFONT ( 152 , 10 ) ;
|
|
|
|
Text [ en-US ] = "Keep image si~ze" ;
|
|
|
|
};
|
|
|
|
RadioButton RB_ZOOMCONST
|
|
|
|
{
|
2010-10-11 10:56:12 -05:00
|
|
|
HelpID = "cui:RadioButton:RID_SVXPAGE_GRFCROP:RB_ZOOMCONST";
|
2009-10-30 18:36:06 -05:00
|
|
|
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
|
|
|
|
{
|
2010-10-11 10:56:12 -05:00
|
|
|
HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_WIDTHZOOM";
|
2009-10-30 18:36:06 -05:00
|
|
|
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
|
|
|
|
{
|
2010-10-11 10:56:12 -05:00
|
|
|
HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_HEIGHTZOOM";
|
2009-10-30 18:36:06 -05:00
|
|
|
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
|
|
|
|
{
|
2010-10-11 10:56:12 -05:00
|
|
|
HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_WIDTH";
|
2009-10-30 18:36:06 -05:00
|
|
|
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
|
|
|
|
{
|
2010-10-11 10:56:12 -05:00
|
|
|
HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_HEIGHT";
|
2009-10-30 18:36:06 -05:00
|
|
|
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
|
|
|
|
{
|
2010-10-11 10:56:12 -05:00
|
|
|
HelpID = "cui:PushButton:RID_SVXPAGE_GRFCROP:PB_ORGSIZE";
|
2009-10-30 18:36:06 -05:00
|
|
|
Pos = MAP_APPFONT ( 176 , 143 ) ;
|
|
|
|
Size = MAP_APPFONT ( 50 , 14 ) ;
|
|
|
|
TabStop = TRUE ;
|
|
|
|
Text [ en-US ] = "~Original Size" ;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2011-10-28 17:12:25 -05:00
|
|
|
String STR_PPI
|
|
|
|
{
|
|
|
|
Text [ x-comment ] = "PPI is pixel per inch, %1 is a number" ;
|
|
|
|
Text [ en-US ] = "(%1 PPI)" ;
|
|
|
|
};
|