1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
22 #include "grfpage.hrc"
23 #include <svx/dialogs.hrc>
25 /************************************************************/
31 /************************************************************/
32 TabPage RID_SVXPAGE_GRFCROP
35 HelpID = HID_SVXPAGE_GRFCROP;
37 Pos = MAP_APPFONT ( 0 , 0 ) ;
38 Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
41 Pos = MAP_APPFONT ( 6 , 3 ) ;
42 Size = MAP_APPFONT ( 164 , 8 ) ;
43 Text [ en-US ] = "Crop" ;
47 Pos = MAP_APPFONT ( 12 , 44 ) ;
48 Size = MAP_APPFONT ( 28 , 8 ) ;
49 Text [ en-US ] = "~Left" ;
53 HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_LEFT";
55 Pos = MAP_APPFONT ( 42 , 42 ) ;
56 Size = MAP_APPFONT ( 40 , 12 ) ;
72 Pos = MAP_APPFONT ( 12 , 60 ) ;
73 Size = MAP_APPFONT ( 28 , 8 ) ;
75 Text [ en-US ] = "~Right" ;
79 HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_RIGHT";
81 Pos = MAP_APPFONT ( 42 , 58 ) ;
82 Size = MAP_APPFONT ( 40 , 12 ) ;
97 Pos = MAP_APPFONT ( 94 , 44 ) ;
98 Size = MAP_APPFONT ( 28 , 8 ) ;
99 Text [ en-US ] = "~Top" ;
103 HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_TOP";
105 Pos = MAP_APPFONT ( 124 , 42 ) ;
106 Size = MAP_APPFONT ( 40 , 12 ) ;
122 Pos = MAP_APPFONT ( 94 , 60 ) ;
123 Size = MAP_APPFONT ( 28 , 8 ) ;
125 Text [ en-US ] = "~Bottom" ;
127 MetricField MF_BOTTOM
129 HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_BOTTOM";
131 Pos = MAP_APPFONT ( 124 , 58 ) ;
132 Size = MAP_APPFONT ( 40 , 12 ) ;
145 RadioButton RB_SIZECONST
147 HelpID = "cui:RadioButton:RID_SVXPAGE_GRFCROP:RB_SIZECONST";
148 Pos = MAP_APPFONT ( 12 , 28 ) ;
149 Size = MAP_APPFONT ( 152 , 10 ) ;
150 Text [ en-US ] = "Keep image si~ze" ;
152 RadioButton RB_ZOOMCONST
154 HelpID = "cui:RadioButton:RID_SVXPAGE_GRFCROP:RB_ZOOMCONST";
155 Pos = MAP_APPFONT ( 12 , 14 ) ;
156 Size = MAP_APPFONT ( 152 , 10 ) ;
158 Text [ en-US ] = "Keep ~scale" ;
162 Pos = MAP_APPFONT ( 176 , 6 ) ;
163 Size = MAP_APPFONT ( 78 , 78 ) ;
168 Pos = MAP_APPFONT ( 6, 76 ) ;
169 Size = MAP_APPFONT ( 164 , 8 ) ;
170 Text [ en-US ] = "Scale" ;
172 FixedText FT_WIDTHZOOM
175 Pos = MAP_APPFONT ( 12 , 89 ) ;
176 Size = MAP_APPFONT ( 28 , 8 ) ;
177 Text [ en-US ] = "~Width" ;
179 MetricField MF_WIDTHZOOM
181 HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_WIDTHZOOM";
183 Pos = MAP_APPFONT ( 42 , 87 ) ;
184 Size = MAP_APPFONT ( 40 , 12 ) ;
196 Unit = FUNIT_CUSTOM ;
197 CustomUnitText = "%" ;
200 FixedText FT_HEIGHTZOOM
202 Pos = MAP_APPFONT ( 12 , 105 ) ;
203 Size = MAP_APPFONT ( 28 , 8 ) ;
204 Text [ en-US ] = "H~eight" ;
207 MetricField MF_HEIGHTZOOM
209 HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_HEIGHTZOOM";
211 Pos = MAP_APPFONT ( 42 , 103 ) ;
212 Size = MAP_APPFONT ( 40 , 12 ) ;
223 Unit = FUNIT_CUSTOM ;
224 CustomUnitText = "%" ;
229 Pos = MAP_APPFONT ( 6 , 121 ) ;
230 Size = MAP_APPFONT ( 164 , 8 ) ;
231 Text [ en-US ] = "Image size" ;
235 Pos = MAP_APPFONT ( 12 , 134 ) ;
236 Size = MAP_APPFONT ( 28 , 8 ) ;
238 Text [ en-US ] = "~Width" ;
242 HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_WIDTH";
244 Pos = MAP_APPFONT ( 42 , 132 ) ;
245 Size = MAP_APPFONT ( 40 , 12 ) ;
261 Pos = MAP_APPFONT ( 12 , 150 ) ;
262 Size = MAP_APPFONT ( 28 , 8 ) ;
264 Text [ en-US ] = "H~eight" ;
266 MetricField MF_HEIGHT
268 HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_HEIGHT";
270 Pos = MAP_APPFONT ( 42 , 148 ) ;
271 Size = MAP_APPFONT ( 40 , 12 ) ;
284 FixedText FT_ORIG_SIZE
286 Pos = MAP_APPFONT ( 176 , 132 ) ;
287 Size = MAP_APPFONT ( 74 , 8 ) ;
289 PushButton PB_ORGSIZE
291 HelpID = "cui:PushButton:RID_SVXPAGE_GRFCROP:PB_ORGSIZE";
292 Pos = MAP_APPFONT ( 176 , 143 ) ;
293 Size = MAP_APPFONT ( 50 , 14 ) ;
295 Text [ en-US ] = "~Original Size" ;
301 Text [ x-comment ] = "PPI is pixel per inch, %1 is a number" ;
302 Text [ en-US ] = "(%1 PPI)" ;
305 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */