1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: extrusioncontrols.src,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #include <svx/dialogs.hrc>
32 #include "extrusioncontrols.hrc"
34 #define MASKCOLOR MaskColor = Color { Red=0xFFFF; Green=0x0000; Blue=0xFFFF; };
36 FloatingWindow RID_SVXFLOAT_EXTRUSION_DIRECTION
46 Text [ en-US ] = "Extrusion Direction" ;
48 Image IMG_DIRECTION + DIRECTION_NW
50 ImageBitmap = Bitmap { File = "directionnorthwest_22.bmp" ; };
53 Image IMG_DIRECTION_H + DIRECTION_NW
55 ImageBitmap = Bitmap { File = "directionnorthwest_22_h.bmp" ; };
58 Image IMG_DIRECTION + DIRECTION_N
60 ImageBitmap = Bitmap { File = "directionnorth_22.bmp" ; };
63 Image IMG_DIRECTION_H + DIRECTION_N
65 ImageBitmap = Bitmap { File = "directionnorth_22_h.bmp"; };
68 Image IMG_DIRECTION + DIRECTION_NE
70 ImageBitmap = Bitmap { File = "directionnortheast_22.bmp"; };
73 Image IMG_DIRECTION_H + DIRECTION_NE
75 ImageBitmap = Bitmap { File = "directionnortheast_22_h.bmp"; };
78 Image IMG_DIRECTION + DIRECTION_W
80 ImageBitmap = Bitmap { File = "directionwest_22.bmp"; };
83 Image IMG_DIRECTION_H + DIRECTION_W
85 ImageBitmap = Bitmap { File = "directionwest_22_h.bmp"; };
88 Image IMG_DIRECTION + DIRECTION_NONE
90 ImageBitmap = Bitmap { File = "directionstraight_22.bmp"; };
93 Image IMG_DIRECTION_H + DIRECTION_NONE
95 ImageBitmap = Bitmap { File = "directionstraight_22_h.bmp"; };
98 Image IMG_DIRECTION + DIRECTION_E
100 ImageBitmap = Bitmap { File = "directioneast_22.bmp"; };
103 Image IMG_DIRECTION_H + DIRECTION_E
105 ImageBitmap = Bitmap { File = "directioneast_22_h.bmp"; };
108 Image IMG_DIRECTION + DIRECTION_SW
110 ImageBitmap = Bitmap { File = "directionsouthwest_22.bmp"; };
113 Image IMG_DIRECTION_H + DIRECTION_SW
115 ImageBitmap = Bitmap { File = "directionsouthwest_22_h.bmp"; };
118 Image IMG_DIRECTION + DIRECTION_S
120 ImageBitmap = Bitmap { File = "directionsouth_22.bmp"; };
123 Image IMG_DIRECTION_H + DIRECTION_S
125 ImageBitmap = Bitmap { File = "directionsouth_22_h.bmp"; };
128 Image IMG_DIRECTION + DIRECTION_SE
130 ImageBitmap = Bitmap { File = "directionsoutheast_22.bmp"; };
133 Image IMG_DIRECTION_H + DIRECTION_SE
135 ImageBitmap = Bitmap { File = "directionsoutheast_22_h.bmp"; };
138 Image IMG_PERSPECTIVE
140 ImageBitmap = Bitmap { File = "perspective_16.bmp"; };
143 Image IMG_PERSPECTIVE_H
145 ImageBitmap = Bitmap { File = "perspective_16_h.bmp"; };
150 ImageBitmap = Bitmap { File = "parallel_16.bmp"; };
155 ImageBitmap = Bitmap { File = "parallel_16_h.bmp"; };
159 String STR_PERSPECTIVE
161 Text [ en-US ] = "~Perspective" ;
166 Text [ en-US ] = "P~arallel" ;
168 String STR_DIRECTION + DIRECTION_NW
170 Text [ en-US ] = "Extrusion North-West";
172 String STR_DIRECTION + DIRECTION_N
174 Text [ en-US ] = "Extrusion North";
176 String STR_DIRECTION + DIRECTION_NE
178 Text [ en-US ] = "Extrusion North-East";
180 String STR_DIRECTION + DIRECTION_W
182 Text [ en-US ] = "Extrusion West";
184 String STR_DIRECTION + DIRECTION_NONE
186 Text [ en-US ] = "Extrusion Backwards";
188 String STR_DIRECTION + DIRECTION_E
190 Text [ en-US ] = "Extrusion East";
192 String STR_DIRECTION + DIRECTION_SW
194 Text [ en-US ] = "Extrusion South-West";
196 String STR_DIRECTION + DIRECTION_S
198 Text [ en-US ] = "Extrusion South";
200 String STR_DIRECTION + DIRECTION_SE
202 Text [ en-US ] = "Extrusion South-East";
206 FloatingWindow RID_SVXFLOAT_EXTRUSION_DEPTH
216 Text [ en-US ] = "Extrusion Depth" ;
220 Text [ en-US ] = "~Custom...";
225 Text [ en-US ] = "~Infinity";
230 ImageBitmap = Bitmap { File = "extrusion0inch_16.bmp"; };
235 ImageBitmap = Bitmap { File = "extrusion0inch_16_h.bmp"; };
241 ImageBitmap = Bitmap { File = "extrusion05inch_16.bmp"; };
246 ImageBitmap = Bitmap { File = "extrusion05inch_16_h.bmp"; };
252 ImageBitmap = Bitmap { File = "extrusion1inch_16.bmp"; };
257 ImageBitmap = Bitmap { File = "extrusion1inch_16_h.bmp"; };
263 ImageBitmap = Bitmap { File = "extrusion2inch_16.bmp"; };
268 ImageBitmap = Bitmap { File = "extrusion2inch_16_h.bmp"; };
274 ImageBitmap = Bitmap { File = "extrusion4inch_16.bmp"; };
279 ImageBitmap = Bitmap { File = "extrusion4inch_16_h.bmp"; };
283 Image IMG_DEPTH_INFINITY
285 ImageBitmap = Bitmap { File = "extrusioninfinity_16.bmp"; };
288 Image IMG_DEPTH_INFINITY_H
290 ImageBitmap = Bitmap { File = "extrusioninfinity_16_h.bmp"; };
295 FloatingWindow RID_SVXFLOAT_EXTRUSION_LIGHTING
305 Text [ en-US ] = "Extrusion Lighting" ;
307 Image IMG_LIGHT_OFF + FROM_TOP_LEFT
309 ImageBitmap = Bitmap { File = "lightofffromtopleft_22.bmp"; };
312 Image IMG_LIGHT_OFF + FROM_TOP
314 ImageBitmap = Bitmap { File = "lightofffromtop_22.bmp"; };
317 Image IMG_LIGHT_OFF + FROM_TOP_RIGHT
319 ImageBitmap = Bitmap { File = "lightofffromtopright_22.bmp"; };
322 Image IMG_LIGHT_OFF + FROM_LEFT
324 ImageBitmap = Bitmap { File = "lightofffromleft_22.bmp"; };
327 Image IMG_LIGHT_OFF + FROM_RIGHT
329 ImageBitmap = Bitmap { File = "lightofffromright_22.bmp"; };
332 Image IMG_LIGHT_OFF + FROM_BOTTOM_LEFT
334 ImageBitmap = Bitmap { File = "lightofffrombottomleft_22.bmp"; };
337 Image IMG_LIGHT_OFF + FROM_BOTTOM
339 ImageBitmap = Bitmap { File = "lightofffrombottom_22.bmp"; };
342 Image IMG_LIGHT_OFF + FROM_BOTTOM_RIGHT
344 ImageBitmap = Bitmap { File = "lightofffrombottomright_22.bmp"; };
348 Image IMG_LIGHT_OFF_H + FROM_TOP_LEFT
350 ImageBitmap = Bitmap { File = "lightofffromtopleft_22_h.bmp"; };
353 Image IMG_LIGHT_OFF_H + FROM_TOP
355 ImageBitmap = Bitmap { File = "lightofffromtop_22_h.bmp"; };
358 Image IMG_LIGHT_OFF_H + FROM_TOP_RIGHT
360 ImageBitmap = Bitmap { File = "lightofffromtopright_22_h.bmp"; };
363 Image IMG_LIGHT_OFF_H + FROM_LEFT
365 ImageBitmap = Bitmap { File = "lightofffromleft_22_h.bmp"; };
368 Image IMG_LIGHT_OFF_H + FROM_RIGHT
370 ImageBitmap = Bitmap { File = "lightofffromright_22_h.bmp"; };
373 Image IMG_LIGHT_OFF_H + FROM_BOTTOM_LEFT
375 ImageBitmap = Bitmap { File = "lightofffrombottomleft_22_h.bmp"; };
378 Image IMG_LIGHT_OFF_H + FROM_BOTTOM
380 ImageBitmap = Bitmap { File = "lightofffrombottom_22_h.bmp"; };
383 Image IMG_LIGHT_OFF_H + FROM_BOTTOM_RIGHT
385 ImageBitmap = Bitmap { File = "lightofffrombottomright_22_h.bmp"; };
389 Image IMG_LIGHT_ON + FROM_TOP_LEFT
391 ImageBitmap = Bitmap { File = "lightonfromtopleft_22.bmp"; };
394 Image IMG_LIGHT_ON + FROM_TOP
396 ImageBitmap = Bitmap { File = "lightonfromtop_22.bmp"; };
399 Image IMG_LIGHT_ON + FROM_TOP_RIGHT
401 ImageBitmap = Bitmap { File = "lightonfromtopright_22.bmp"; };
404 Image IMG_LIGHT_ON + FROM_LEFT
406 ImageBitmap = Bitmap { File = "lightonfromleft_22.bmp"; };
409 Image IMG_LIGHT_ON + FROM_RIGHT
411 ImageBitmap = Bitmap { File = "lightonfromright_22.bmp"; };
414 Image IMG_LIGHT_ON + FROM_BOTTOM_LEFT
416 ImageBitmap = Bitmap { File = "lightonfrombottomleft_22.bmp"; };
419 Image IMG_LIGHT_ON + FROM_BOTTOM
421 ImageBitmap = Bitmap { File = "lightonfrombottom_22.bmp"; };
424 Image IMG_LIGHT_ON + FROM_BOTTOM_RIGHT
426 ImageBitmap = Bitmap { File = "lightonfrombottomright_22.bmp"; };
430 Image IMG_LIGHT_ON_H + FROM_TOP_LEFT
432 ImageBitmap = Bitmap { File = "lightonfromtopleft_22_h.bmp"; };
435 Image IMG_LIGHT_ON_H + FROM_TOP
437 ImageBitmap = Bitmap { File = "lightonfromtop_22_h.bmp"; };
440 Image IMG_LIGHT_ON_H + FROM_TOP_RIGHT
442 ImageBitmap = Bitmap { File = "lightonfromtopright_22_h.bmp"; };
445 Image IMG_LIGHT_ON_H + FROM_LEFT
447 ImageBitmap = Bitmap { File = "lightonfromleft_22_h.bmp"; };
450 Image IMG_LIGHT_ON_H + FROM_RIGHT
452 ImageBitmap = Bitmap { File = "lightonfromright_22_h.bmp"; };
455 Image IMG_LIGHT_ON_H + FROM_BOTTOM_LEFT
457 ImageBitmap = Bitmap { File = "lightonfrombottomleft_22_h.bmp"; };
460 Image IMG_LIGHT_ON_H + FROM_BOTTOM
462 ImageBitmap = Bitmap { File = "lightonfrombottom_22_h.bmp"; };
465 Image IMG_LIGHT_ON_H + FROM_BOTTOM_RIGHT
467 ImageBitmap = Bitmap { File = "lightonfrombottomright_22_h.bmp"; };
471 Image IMG_LIGHT_PREVIEW + FROM_TOP_LEFT
473 ImageBitmap = Bitmap { File = "lightfromtopleft_22.bmp"; };
476 Image IMG_LIGHT_PREVIEW + FROM_TOP
478 ImageBitmap = Bitmap { File = "lightfromtop_22.bmp"; };
481 Image IMG_LIGHT_PREVIEW + FROM_TOP_RIGHT
483 ImageBitmap = Bitmap { File = "lightfromtopright_22.bmp"; };
486 Image IMG_LIGHT_PREVIEW + FROM_LEFT
488 ImageBitmap = Bitmap { File = "lightfromleft_22.bmp"; };
491 Image IMG_LIGHT_PREVIEW + FROM_RIGHT
493 ImageBitmap = Bitmap { File = "lightfromright_22.bmp"; };
496 Image IMG_LIGHT_PREVIEW + FROM_FRONT
498 ImageBitmap = Bitmap { File = "lightfromfront_22.bmp"; };
501 Image IMG_LIGHT_PREVIEW + FROM_BOTTOM_LEFT
503 ImageBitmap = Bitmap { File = "lightfrombottomleft_22.bmp"; };
506 Image IMG_LIGHT_PREVIEW + FROM_BOTTOM
508 ImageBitmap = Bitmap { File = "lightfrombottom_22.bmp"; };
511 Image IMG_LIGHT_PREVIEW + FROM_BOTTOM_RIGHT
513 ImageBitmap = Bitmap { File = "lightfrombottomright_22.bmp"; };
517 Image IMG_LIGHT_PREVIEW_H + FROM_TOP_LEFT
519 ImageBitmap = Bitmap { File = "lightfromtopleft_22_h.bmp"; };
522 Image IMG_LIGHT_PREVIEW_H + FROM_TOP
524 ImageBitmap = Bitmap { File = "lightfromtop_22_h.bmp"; };
527 Image IMG_LIGHT_PREVIEW_H + FROM_TOP_RIGHT
529 ImageBitmap = Bitmap { File = "lightfromtopright_22_h.bmp"; };
532 Image IMG_LIGHT_PREVIEW_H + FROM_LEFT
534 ImageBitmap = Bitmap { File = "lightfromleft_22_h.bmp"; };
537 Image IMG_LIGHT_PREVIEW_H + FROM_RIGHT
539 ImageBitmap = Bitmap { File = "lightfromright_22_h.bmp"; };
542 Image IMG_LIGHT_PREVIEW_H + FROM_FRONT
544 ImageBitmap = Bitmap { File = "lightfromfront_22_h.bmp"; };
547 Image IMG_LIGHT_PREVIEW_H + FROM_BOTTOM_LEFT
549 ImageBitmap = Bitmap { File = "lightfrombottomleft_22_h.bmp"; };
552 Image IMG_LIGHT_PREVIEW_H + FROM_BOTTOM
554 ImageBitmap = Bitmap { File = "lightfrombottom_22_h.bmp"; };
557 Image IMG_LIGHT_PREVIEW_H + FROM_BOTTOM_RIGHT
559 ImageBitmap = Bitmap { File = "lightfrombottomright_22_h.bmp"; };
563 Image IMG_LIGHTING_BRIGHT
565 ImageBitmap = Bitmap { File = "brightlit_16.bmp"; };
568 Image IMG_LIGHTING_NORMAL
570 ImageBitmap = Bitmap { File = "normallit_16.bmp"; };
573 Image IMG_LIGHTING_DIM
575 ImageBitmap = Bitmap { File = "dimlit_16.bmp"; };
579 Image IMG_LIGHTING_BRIGHT_H
581 ImageBitmap = Bitmap { File = "brightlit_16_h.bmp"; };
584 Image IMG_LIGHTING_NORMAL_H
586 ImageBitmap = Bitmap { File = "normallit_16_h.bmp"; };
589 Image IMG_LIGHTING_DIM_H
591 ImageBitmap = Bitmap { File = "dimlit_16_h.bmp"; };
597 Text [ en-US ] = "~Bright";
602 Text [ en-US ] = "~Normal";
607 Text [ en-US ] = "~Dim";
611 FloatingWindow RID_SVXFLOAT_EXTRUSION_SURFACE
621 Text [ en-US ] = "Extrusion Surface" ;
625 Text [ en-US ] = "~Wire Frame";
630 Text [ en-US ] = "~Matt";
635 Text [ en-US ] = "~Plastic";
640 Text [ en-US ] = "Me~tal";
645 ImageBitmap = Bitmap { File = "wireframe_16.bmp"; };
648 Image IMG_WIRE_FRAME_H
650 ImageBitmap = Bitmap { File = "wireframe_16_h.bmp"; };
655 ImageBitmap = Bitmap { File = "matte_16.bmp"; };
660 ImageBitmap = Bitmap { File = "matte_16_h.bmp"; };
665 ImageBitmap = Bitmap { File = "plastic_16.bmp"; };
670 ImageBitmap = Bitmap { File = "plastic_16_h.bmp"; };
675 ImageBitmap = Bitmap { File = "metal_16.bmp"; };
680 ImageBitmap = Bitmap { File = "metal_16_h.bmp"; };
687 #define HEIGHT (4 * 3 + 3 * 14)
689 ModalDialog RID_SVX_MDLG_EXTRUSION_DEPTH
696 Size = MAP_APPFONT( WIDTH, HEIGHT );
698 Text [ en-US ] = "Extrusion Depth" ;
702 Pos = MAP_APPFONT ( 3 , 3 ) ;
703 Size = MAP_APPFONT ( WIDTH - 50 - 12 , 8 ) ;
704 Text [ en-US ] = "~Value" ;
706 MetricField MTR_DEPTH
708 //HelpId = HID_SD_CTL_FAVORITES ;
710 Pos = MAP_APPFONT ( 3 , 14 ) ;
711 Size = MAP_APPFONT ( WIDTH - 50 - 12, 12 ) ;
717 StrictFormat = TRUE ;
724 Pos = MAP_APPFONT ( WIDTH - 50 - 3 , 1 * 3 + 0 * 14 ) ;
725 Size = MAP_APPFONT ( 50, 14 ) ;
729 CancelButton BTN_CANCEL
731 Pos = MAP_APPFONT ( WIDTH - 50 - 3 , 2 * 3 + 1 * 14 ) ;
732 Size = MAP_APPFONT ( 50, 14 ) ;
737 Pos = MAP_APPFONT ( WIDTH - 50 - 3 , 3 * 3 + 2 * 14 ) ;
738 Size = MAP_APPFONT ( 50, 14 ) ;
743 String RID_SVXSTR_EXTRUSION_COLOR
745 Text [ en-US ] = "Extrusion Color";
748 String RID_SVXSTR_DEPTH_0
750 Text [ en-US ] = "~0 cm";
753 String RID_SVXSTR_DEPTH_1
755 Text [ en-US ] = "~1 cm";
758 String RID_SVXSTR_DEPTH_2
760 Text [ en-US ] = "~2.5 cm";
763 String RID_SVXSTR_DEPTH_3
765 Text [ en-US ] = "~5 cm";
768 String RID_SVXSTR_DEPTH_4
770 Text [ en-US ] = "10 ~cm";
773 String RID_SVXSTR_DEPTH_0_INCH
775 Text [ en-US ] = "0 inch";
778 String RID_SVXSTR_DEPTH_1_INCH
780 Text [ en-US ] = "0.~5 inch";
783 String RID_SVXSTR_DEPTH_2_INCH
785 Text [ en-US ] = "~1 inch";
788 String RID_SVXSTR_DEPTH_3_INCH
790 Text [ en-US ] = "~2 inch";
793 String RID_SVXSTR_DEPTH_4_INCH
795 Text [ en-US ] = "~4 inch";