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 .
20 #include <svx/dialogs.hrc>
21 #include "extrusioncontrols.hrc"
23 #define MASKCOLOR MaskColor = Color { Red=0xFFFF; Green=0x0000; Blue=0xFFFF; };
25 DockingWindow RID_SVXFLOAT_EXTRUSION_DIRECTION
27 HelpID = "svx:DockingWindow:RID_SVXFLOAT_EXTRUSION_DIRECTION";
36 Text [ en-US ] = "Extrusion Direction" ;
38 Image IMG_DIRECTION + DIRECTION_NW
40 ImageBitmap = Bitmap { File = "directionnorthwest_22.bmp" ; };
43 Image IMG_DIRECTION + DIRECTION_N
45 ImageBitmap = Bitmap { File = "directionnorth_22.bmp" ; };
48 Image IMG_DIRECTION + DIRECTION_NE
50 ImageBitmap = Bitmap { File = "directionnortheast_22.bmp"; };
53 Image IMG_DIRECTION + DIRECTION_W
55 ImageBitmap = Bitmap { File = "directionwest_22.bmp"; };
58 Image IMG_DIRECTION + DIRECTION_NONE
60 ImageBitmap = Bitmap { File = "directionstraight_22.bmp"; };
63 Image IMG_DIRECTION + DIRECTION_E
65 ImageBitmap = Bitmap { File = "directioneast_22.bmp"; };
68 Image IMG_DIRECTION + DIRECTION_SW
70 ImageBitmap = Bitmap { File = "directionsouthwest_22.bmp"; };
73 Image IMG_DIRECTION + DIRECTION_S
75 ImageBitmap = Bitmap { File = "directionsouth_22.bmp"; };
78 Image IMG_DIRECTION + DIRECTION_SE
80 ImageBitmap = Bitmap { File = "directionsoutheast_22.bmp"; };
85 ImageBitmap = Bitmap { File = "perspective_16.bmp"; };
90 ImageBitmap = Bitmap { File = "parallel_16.bmp"; };
94 String STR_PERSPECTIVE
96 Text [ en-US ] = "~Perspective" ;
101 Text [ en-US ] = "P~arallel" ;
103 String STR_DIRECTION + DIRECTION_NW
105 Text [ en-US ] = "Extrusion North-West";
107 String STR_DIRECTION + DIRECTION_N
109 Text [ en-US ] = "Extrusion North";
111 String STR_DIRECTION + DIRECTION_NE
113 Text [ en-US ] = "Extrusion North-East";
115 String STR_DIRECTION + DIRECTION_W
117 Text [ en-US ] = "Extrusion West";
119 String STR_DIRECTION + DIRECTION_NONE
121 Text [ en-US ] = "Extrusion Backwards";
123 String STR_DIRECTION + DIRECTION_E
125 Text [ en-US ] = "Extrusion East";
127 String STR_DIRECTION + DIRECTION_SW
129 Text [ en-US ] = "Extrusion South-West";
131 String STR_DIRECTION + DIRECTION_S
133 Text [ en-US ] = "Extrusion South";
135 String STR_DIRECTION + DIRECTION_SE
137 Text [ en-US ] = "Extrusion South-East";
141 DockingWindow RID_SVXFLOAT_EXTRUSION_DEPTH
143 HelpID = "svx:DockingWindow:RID_SVXFLOAT_EXTRUSION_DEPTH";
152 Text [ en-US ] = "Extrusion Depth" ;
156 Text [ en-US ] = "~Custom...";
161 Text [ en-US ] = "~Infinity";
166 ImageBitmap = Bitmap { File = "extrusion0inch_16.bmp"; };
172 ImageBitmap = Bitmap { File = "extrusion05inch_16.bmp"; };
178 ImageBitmap = Bitmap { File = "extrusion1inch_16.bmp"; };
184 ImageBitmap = Bitmap { File = "extrusion2inch_16.bmp"; };
190 ImageBitmap = Bitmap { File = "extrusion4inch_16.bmp"; };
194 Image IMG_DEPTH_INFINITY
196 ImageBitmap = Bitmap { File = "extrusioninfinity_16.bmp"; };
202 DockingWindow RID_SVXFLOAT_EXTRUSION_LIGHTING
204 HelpID = "svx:DockingWindow:RID_SVXFLOAT_EXTRUSION_LIGHTING";
213 Text [ en-US ] = "Extrusion Lighting" ;
215 Image IMG_LIGHT_OFF + FROM_TOP_LEFT
217 ImageBitmap = Bitmap { File = "lightofffromtopleft_22.bmp"; };
220 Image IMG_LIGHT_OFF + FROM_TOP
222 ImageBitmap = Bitmap { File = "lightofffromtop_22.bmp"; };
225 Image IMG_LIGHT_OFF + FROM_TOP_RIGHT
227 ImageBitmap = Bitmap { File = "lightofffromtopright_22.bmp"; };
230 Image IMG_LIGHT_OFF + FROM_LEFT
232 ImageBitmap = Bitmap { File = "lightofffromleft_22.bmp"; };
235 Image IMG_LIGHT_OFF + FROM_RIGHT
237 ImageBitmap = Bitmap { File = "lightofffromright_22.bmp"; };
240 Image IMG_LIGHT_OFF + FROM_BOTTOM_LEFT
242 ImageBitmap = Bitmap { File = "lightofffrombottomleft_22.bmp"; };
245 Image IMG_LIGHT_OFF + FROM_BOTTOM
247 ImageBitmap = Bitmap { File = "lightofffrombottom_22.bmp"; };
250 Image IMG_LIGHT_OFF + FROM_BOTTOM_RIGHT
252 ImageBitmap = Bitmap { File = "lightofffrombottomright_22.bmp"; };
256 Image IMG_LIGHT_ON + FROM_TOP_LEFT
258 ImageBitmap = Bitmap { File = "lightonfromtopleft_22.bmp"; };
261 Image IMG_LIGHT_ON + FROM_TOP
263 ImageBitmap = Bitmap { File = "lightonfromtop_22.bmp"; };
266 Image IMG_LIGHT_ON + FROM_TOP_RIGHT
268 ImageBitmap = Bitmap { File = "lightonfromtopright_22.bmp"; };
271 Image IMG_LIGHT_ON + FROM_LEFT
273 ImageBitmap = Bitmap { File = "lightonfromleft_22.bmp"; };
276 Image IMG_LIGHT_ON + FROM_RIGHT
278 ImageBitmap = Bitmap { File = "lightonfromright_22.bmp"; };
281 Image IMG_LIGHT_ON + FROM_BOTTOM_LEFT
283 ImageBitmap = Bitmap { File = "lightonfrombottomleft_22.bmp"; };
286 Image IMG_LIGHT_ON + FROM_BOTTOM
288 ImageBitmap = Bitmap { File = "lightonfrombottom_22.bmp"; };
291 Image IMG_LIGHT_ON + FROM_BOTTOM_RIGHT
293 ImageBitmap = Bitmap { File = "lightonfrombottomright_22.bmp"; };
297 Image IMG_LIGHT_PREVIEW + FROM_TOP_LEFT
299 ImageBitmap = Bitmap { File = "lightfromtopleft_22.bmp"; };
302 Image IMG_LIGHT_PREVIEW + FROM_TOP
304 ImageBitmap = Bitmap { File = "lightfromtop_22.bmp"; };
307 Image IMG_LIGHT_PREVIEW + FROM_TOP_RIGHT
309 ImageBitmap = Bitmap { File = "lightfromtopright_22.bmp"; };
312 Image IMG_LIGHT_PREVIEW + FROM_LEFT
314 ImageBitmap = Bitmap { File = "lightfromleft_22.bmp"; };
317 Image IMG_LIGHT_PREVIEW + FROM_RIGHT
319 ImageBitmap = Bitmap { File = "lightfromright_22.bmp"; };
322 Image IMG_LIGHT_PREVIEW + FROM_FRONT
324 ImageBitmap = Bitmap { File = "lightfromfront_22.bmp"; };
327 Image IMG_LIGHT_PREVIEW + FROM_BOTTOM_LEFT
329 ImageBitmap = Bitmap { File = "lightfrombottomleft_22.bmp"; };
332 Image IMG_LIGHT_PREVIEW + FROM_BOTTOM
334 ImageBitmap = Bitmap { File = "lightfrombottom_22.bmp"; };
337 Image IMG_LIGHT_PREVIEW + FROM_BOTTOM_RIGHT
339 ImageBitmap = Bitmap { File = "lightfrombottomright_22.bmp"; };
343 Image IMG_LIGHTING_BRIGHT
345 ImageBitmap = Bitmap { File = "brightlit_16.bmp"; };
348 Image IMG_LIGHTING_NORMAL
350 ImageBitmap = Bitmap { File = "normallit_16.bmp"; };
353 Image IMG_LIGHTING_DIM
355 ImageBitmap = Bitmap { File = "dimlit_16.bmp"; };
361 Text [ en-US ] = "~Bright";
366 Text [ en-US ] = "~Normal";
371 Text [ en-US ] = "~Dim";
375 DockingWindow RID_SVXFLOAT_EXTRUSION_SURFACE
377 HelpID = "svx:DockingWindow:RID_SVXFLOAT_EXTRUSION_SURFACE";
386 Text [ en-US ] = "Extrusion Surface" ;
390 Text [ en-US ] = "~Wire Frame";
395 Text [ en-US ] = "~Matt";
400 Text [ en-US ] = "~Plastic";
405 Text [ en-US ] = "Me~tal";
410 ImageBitmap = Bitmap { File = "wireframe_16.bmp"; };
416 ImageBitmap = Bitmap { File = "matte_16.bmp"; };
422 ImageBitmap = Bitmap { File = "plastic_16.bmp"; };
428 ImageBitmap = Bitmap { File = "metal_16.bmp"; };
434 #define HEIGHT (4 * 3 + 3 * 14)
436 ModalDialog RID_SVX_MDLG_EXTRUSION_DEPTH
438 HelpID = "svx:ModalDialog:RID_SVX_MDLG_EXTRUSION_DEPTH";
444 Size = MAP_APPFONT( WIDTH, HEIGHT );
446 Text [ en-US ] = "Extrusion Depth" ;
450 Pos = MAP_APPFONT ( 3 , 3 ) ;
451 Size = MAP_APPFONT ( WIDTH - 50 - 12 , 8 ) ;
452 Text [ en-US ] = "~Value" ;
454 MetricField MTR_DEPTH
457 Pos = MAP_APPFONT ( 3 , 14 ) ;
458 Size = MAP_APPFONT ( WIDTH - 50 - 12, 12 ) ;
464 StrictFormat = TRUE ;
471 Pos = MAP_APPFONT ( WIDTH - 50 - 3 , 1 * 3 + 0 * 14 ) ;
472 Size = MAP_APPFONT ( 50, 14 ) ;
476 CancelButton BTN_CANCEL
478 Pos = MAP_APPFONT ( WIDTH - 50 - 3 , 2 * 3 + 1 * 14 ) ;
479 Size = MAP_APPFONT ( 50, 14 ) ;
484 Pos = MAP_APPFONT ( WIDTH - 50 - 3 , 3 * 3 + 2 * 14 ) ;
485 Size = MAP_APPFONT ( 50, 14 ) ;
490 String RID_SVXSTR_EXTRUSION_COLOR
492 Text [ en-US ] = "Extrusion Color";
495 String RID_SVXSTR_DEPTH_0
497 Text [ en-US ] = "~0 cm";
500 String RID_SVXSTR_DEPTH_1
502 Text [ en-US ] = "~1 cm";
505 String RID_SVXSTR_DEPTH_2
507 Text [ en-US ] = "~2.5 cm";
510 String RID_SVXSTR_DEPTH_3
512 Text [ en-US ] = "~5 cm";
515 String RID_SVXSTR_DEPTH_4
517 Text [ en-US ] = "10 ~cm";
520 String RID_SVXSTR_DEPTH_0_INCH
522 Text [ en-US ] = "0 inch";
525 String RID_SVXSTR_DEPTH_1_INCH
527 Text [ en-US ] = "0.~5 inch";
530 String RID_SVXSTR_DEPTH_2_INCH
532 Text [ en-US ] = "~1 inch";
535 String RID_SVXSTR_DEPTH_3_INCH
537 Text [ en-US ] = "~2 inch";
540 String RID_SVXSTR_DEPTH_4_INCH
542 Text [ en-US ] = "~4 inch";
545 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */