1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
28 #include <svx/dialogs.hrc>
29 #include "extrusioncontrols.hrc"
31 #define MASKCOLOR MaskColor = Color { Red=0xFFFF; Green=0x0000; Blue=0xFFFF; };
33 DockingWindow RID_SVXFLOAT_EXTRUSION_DIRECTION
35 HelpID = "svx:DockingWindow:RID_SVXFLOAT_EXTRUSION_DIRECTION";
44 Text [ en-US ] = "Extrusion Direction" ;
46 Image IMG_DIRECTION + DIRECTION_NW
48 ImageBitmap = Bitmap { File = "directionnorthwest_22.bmp" ; };
51 Image IMG_DIRECTION + DIRECTION_N
53 ImageBitmap = Bitmap { File = "directionnorth_22.bmp" ; };
56 Image IMG_DIRECTION + DIRECTION_NE
58 ImageBitmap = Bitmap { File = "directionnortheast_22.bmp"; };
61 Image IMG_DIRECTION + DIRECTION_W
63 ImageBitmap = Bitmap { File = "directionwest_22.bmp"; };
66 Image IMG_DIRECTION + DIRECTION_NONE
68 ImageBitmap = Bitmap { File = "directionstraight_22.bmp"; };
71 Image IMG_DIRECTION + DIRECTION_E
73 ImageBitmap = Bitmap { File = "directioneast_22.bmp"; };
76 Image IMG_DIRECTION + DIRECTION_SW
78 ImageBitmap = Bitmap { File = "directionsouthwest_22.bmp"; };
81 Image IMG_DIRECTION + DIRECTION_S
83 ImageBitmap = Bitmap { File = "directionsouth_22.bmp"; };
86 Image IMG_DIRECTION + DIRECTION_SE
88 ImageBitmap = Bitmap { File = "directionsoutheast_22.bmp"; };
93 ImageBitmap = Bitmap { File = "perspective_16.bmp"; };
98 ImageBitmap = Bitmap { File = "parallel_16.bmp"; };
102 String STR_PERSPECTIVE
104 Text [ en-US ] = "~Perspective" ;
109 Text [ en-US ] = "P~arallel" ;
111 String STR_DIRECTION + DIRECTION_NW
113 Text [ en-US ] = "Extrusion North-West";
115 String STR_DIRECTION + DIRECTION_N
117 Text [ en-US ] = "Extrusion North";
119 String STR_DIRECTION + DIRECTION_NE
121 Text [ en-US ] = "Extrusion North-East";
123 String STR_DIRECTION + DIRECTION_W
125 Text [ en-US ] = "Extrusion West";
127 String STR_DIRECTION + DIRECTION_NONE
129 Text [ en-US ] = "Extrusion Backwards";
131 String STR_DIRECTION + DIRECTION_E
133 Text [ en-US ] = "Extrusion East";
135 String STR_DIRECTION + DIRECTION_SW
137 Text [ en-US ] = "Extrusion South-West";
139 String STR_DIRECTION + DIRECTION_S
141 Text [ en-US ] = "Extrusion South";
143 String STR_DIRECTION + DIRECTION_SE
145 Text [ en-US ] = "Extrusion South-East";
149 DockingWindow RID_SVXFLOAT_EXTRUSION_DEPTH
151 HelpID = "svx:DockingWindow:RID_SVXFLOAT_EXTRUSION_DEPTH";
160 Text [ en-US ] = "Extrusion Depth" ;
164 Text [ en-US ] = "~Custom...";
169 Text [ en-US ] = "~Infinity";
174 ImageBitmap = Bitmap { File = "extrusion0inch_16.bmp"; };
180 ImageBitmap = Bitmap { File = "extrusion05inch_16.bmp"; };
186 ImageBitmap = Bitmap { File = "extrusion1inch_16.bmp"; };
192 ImageBitmap = Bitmap { File = "extrusion2inch_16.bmp"; };
198 ImageBitmap = Bitmap { File = "extrusion4inch_16.bmp"; };
202 Image IMG_DEPTH_INFINITY
204 ImageBitmap = Bitmap { File = "extrusioninfinity_16.bmp"; };
210 DockingWindow RID_SVXFLOAT_EXTRUSION_LIGHTING
212 HelpID = "svx:DockingWindow:RID_SVXFLOAT_EXTRUSION_LIGHTING";
221 Text [ en-US ] = "Extrusion Lighting" ;
223 Image IMG_LIGHT_OFF + FROM_TOP_LEFT
225 ImageBitmap = Bitmap { File = "lightofffromtopleft_22.bmp"; };
228 Image IMG_LIGHT_OFF + FROM_TOP
230 ImageBitmap = Bitmap { File = "lightofffromtop_22.bmp"; };
233 Image IMG_LIGHT_OFF + FROM_TOP_RIGHT
235 ImageBitmap = Bitmap { File = "lightofffromtopright_22.bmp"; };
238 Image IMG_LIGHT_OFF + FROM_LEFT
240 ImageBitmap = Bitmap { File = "lightofffromleft_22.bmp"; };
243 Image IMG_LIGHT_OFF + FROM_RIGHT
245 ImageBitmap = Bitmap { File = "lightofffromright_22.bmp"; };
248 Image IMG_LIGHT_OFF + FROM_BOTTOM_LEFT
250 ImageBitmap = Bitmap { File = "lightofffrombottomleft_22.bmp"; };
253 Image IMG_LIGHT_OFF + FROM_BOTTOM
255 ImageBitmap = Bitmap { File = "lightofffrombottom_22.bmp"; };
258 Image IMG_LIGHT_OFF + FROM_BOTTOM_RIGHT
260 ImageBitmap = Bitmap { File = "lightofffrombottomright_22.bmp"; };
264 Image IMG_LIGHT_ON + FROM_TOP_LEFT
266 ImageBitmap = Bitmap { File = "lightonfromtopleft_22.bmp"; };
269 Image IMG_LIGHT_ON + FROM_TOP
271 ImageBitmap = Bitmap { File = "lightonfromtop_22.bmp"; };
274 Image IMG_LIGHT_ON + FROM_TOP_RIGHT
276 ImageBitmap = Bitmap { File = "lightonfromtopright_22.bmp"; };
279 Image IMG_LIGHT_ON + FROM_LEFT
281 ImageBitmap = Bitmap { File = "lightonfromleft_22.bmp"; };
284 Image IMG_LIGHT_ON + FROM_RIGHT
286 ImageBitmap = Bitmap { File = "lightonfromright_22.bmp"; };
289 Image IMG_LIGHT_ON + FROM_BOTTOM_LEFT
291 ImageBitmap = Bitmap { File = "lightonfrombottomleft_22.bmp"; };
294 Image IMG_LIGHT_ON + FROM_BOTTOM
296 ImageBitmap = Bitmap { File = "lightonfrombottom_22.bmp"; };
299 Image IMG_LIGHT_ON + FROM_BOTTOM_RIGHT
301 ImageBitmap = Bitmap { File = "lightonfrombottomright_22.bmp"; };
305 Image IMG_LIGHT_PREVIEW + FROM_TOP_LEFT
307 ImageBitmap = Bitmap { File = "lightfromtopleft_22.bmp"; };
310 Image IMG_LIGHT_PREVIEW + FROM_TOP
312 ImageBitmap = Bitmap { File = "lightfromtop_22.bmp"; };
315 Image IMG_LIGHT_PREVIEW + FROM_TOP_RIGHT
317 ImageBitmap = Bitmap { File = "lightfromtopright_22.bmp"; };
320 Image IMG_LIGHT_PREVIEW + FROM_LEFT
322 ImageBitmap = Bitmap { File = "lightfromleft_22.bmp"; };
325 Image IMG_LIGHT_PREVIEW + FROM_RIGHT
327 ImageBitmap = Bitmap { File = "lightfromright_22.bmp"; };
330 Image IMG_LIGHT_PREVIEW + FROM_FRONT
332 ImageBitmap = Bitmap { File = "lightfromfront_22.bmp"; };
335 Image IMG_LIGHT_PREVIEW + FROM_BOTTOM_LEFT
337 ImageBitmap = Bitmap { File = "lightfrombottomleft_22.bmp"; };
340 Image IMG_LIGHT_PREVIEW + FROM_BOTTOM
342 ImageBitmap = Bitmap { File = "lightfrombottom_22.bmp"; };
345 Image IMG_LIGHT_PREVIEW + FROM_BOTTOM_RIGHT
347 ImageBitmap = Bitmap { File = "lightfrombottomright_22.bmp"; };
351 Image IMG_LIGHTING_BRIGHT
353 ImageBitmap = Bitmap { File = "brightlit_16.bmp"; };
356 Image IMG_LIGHTING_NORMAL
358 ImageBitmap = Bitmap { File = "normallit_16.bmp"; };
361 Image IMG_LIGHTING_DIM
363 ImageBitmap = Bitmap { File = "dimlit_16.bmp"; };
369 Text [ en-US ] = "~Bright";
374 Text [ en-US ] = "~Normal";
379 Text [ en-US ] = "~Dim";
383 DockingWindow RID_SVXFLOAT_EXTRUSION_SURFACE
385 HelpID = "svx:DockingWindow:RID_SVXFLOAT_EXTRUSION_SURFACE";
394 Text [ en-US ] = "Extrusion Surface" ;
398 Text [ en-US ] = "~Wire Frame";
403 Text [ en-US ] = "~Matt";
408 Text [ en-US ] = "~Plastic";
413 Text [ en-US ] = "Me~tal";
418 ImageBitmap = Bitmap { File = "wireframe_16.bmp"; };
424 ImageBitmap = Bitmap { File = "matte_16.bmp"; };
430 ImageBitmap = Bitmap { File = "plastic_16.bmp"; };
436 ImageBitmap = Bitmap { File = "metal_16.bmp"; };
442 #define HEIGHT (4 * 3 + 3 * 14)
444 ModalDialog RID_SVX_MDLG_EXTRUSION_DEPTH
446 HelpID = "svx:ModalDialog:RID_SVX_MDLG_EXTRUSION_DEPTH";
452 Size = MAP_APPFONT( WIDTH, HEIGHT );
454 Text [ en-US ] = "Extrusion Depth" ;
458 Pos = MAP_APPFONT ( 3 , 3 ) ;
459 Size = MAP_APPFONT ( WIDTH - 50 - 12 , 8 ) ;
460 Text [ en-US ] = "~Value" ;
462 MetricField MTR_DEPTH
465 Pos = MAP_APPFONT ( 3 , 14 ) ;
466 Size = MAP_APPFONT ( WIDTH - 50 - 12, 12 ) ;
472 StrictFormat = TRUE ;
479 Pos = MAP_APPFONT ( WIDTH - 50 - 3 , 1 * 3 + 0 * 14 ) ;
480 Size = MAP_APPFONT ( 50, 14 ) ;
484 CancelButton BTN_CANCEL
486 Pos = MAP_APPFONT ( WIDTH - 50 - 3 , 2 * 3 + 1 * 14 ) ;
487 Size = MAP_APPFONT ( 50, 14 ) ;
492 Pos = MAP_APPFONT ( WIDTH - 50 - 3 , 3 * 3 + 2 * 14 ) ;
493 Size = MAP_APPFONT ( 50, 14 ) ;
498 String RID_SVXSTR_EXTRUSION_COLOR
500 Text [ en-US ] = "Extrusion Color";
503 String RID_SVXSTR_DEPTH_0
505 Text [ en-US ] = "~0 cm";
508 String RID_SVXSTR_DEPTH_1
510 Text [ en-US ] = "~1 cm";
513 String RID_SVXSTR_DEPTH_2
515 Text [ en-US ] = "~2.5 cm";
518 String RID_SVXSTR_DEPTH_3
520 Text [ en-US ] = "~5 cm";
523 String RID_SVXSTR_DEPTH_4
525 Text [ en-US ] = "10 ~cm";
528 String RID_SVXSTR_DEPTH_0_INCH
530 Text [ en-US ] = "0 inch";
533 String RID_SVXSTR_DEPTH_1_INCH
535 Text [ en-US ] = "0.~5 inch";
538 String RID_SVXSTR_DEPTH_2_INCH
540 Text [ en-US ] = "~1 inch";
543 String RID_SVXSTR_DEPTH_3_INCH
545 Text [ en-US ] = "~2 inch";
548 String RID_SVXSTR_DEPTH_4_INCH
550 Text [ en-US ] = "~4 inch";