xref: /trunk/main/svx/source/dialog/contdlg.src (revision a3cbd3e50c1a12e759959b66e76b58b3aeb2b2af)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22// include ---------------------------------------------------------------
23#include "helpid.hrc"
24#include "contdlg.hrc"
25
26#define MASKCOLOR   MaskColor = Color { Red = 0xFFFF; Green = 0x0000; Blue = 0xFFFF; } ;
27
28// RID_SVXDLG_CONTOUR ----------------------------------------------------
29FloatingWindow RID_SVXDLG_CONTOUR
30{
31    HelpID = "svx:FloatingWindow:RID_SVXDLG_CONTOUR" ;
32    OutputSize = TRUE ;
33    Hide = TRUE ;
34    SVLook = TRUE ;
35    Pos = MAP_APPFONT ( 0, 0 ) ;
36    Size = MAP_APPFONT ( 270, 213 ) ;
37    Text [ en-US ] = "Contour Editor" ;
38    Sizeable = TRUE ;
39    Moveable = TRUE ;
40    Closeable = TRUE ;
41    Zoomable = TRUE ;
42    ToolBox TBX1
43    {
44        SVLook = TRUE ;
45        Pos = MAP_APPFONT ( 6, 6 ) ;
46        HelpId = HID_CONTDLG_TOOLBOX ;
47        ItemList =
48        {
49            ToolBoxItem
50            {
51                Identifier = TBI_APPLY ;
52                HelpId = HID_CONTDLG_APPLY ;
53                Text [ en-US ] = "Apply" ;
54            };
55            ToolBoxItem
56            {
57                Type = TOOLBOXITEM_SEPARATOR ;
58            };
59            ToolBoxItem
60            {
61                Identifier = TBI_WORKPLACE ;
62                HelpId = HID_CONTDLG_WORKPLACE ;
63                Text [ en-US ] = "Workspace" ;
64                AutoCheck = TRUE ;
65            };
66            ToolBoxItem
67            {
68                Type = TOOLBOXITEM_SEPARATOR ;
69            };
70            ToolBoxItem
71            {
72                Identifier = TBI_SELECT ;
73                HelpId = HID_CONTDLG_SELECT ;
74                RadioCheck = TRUE ;
75                AutoCheck = TRUE ;
76                Text [ en-US ] = "Select" ;
77            };
78            ToolBoxItem
79            {
80                Identifier = TBI_RECT ;
81                HelpId = HID_CONTDLG_RECT ;
82                RadioCheck = TRUE ;
83                AutoCheck = TRUE ;
84                Text [ en-US ] = "Rectangle" ;
85            };
86            ToolBoxItem
87            {
88                Identifier = TBI_CIRCLE ;
89                HelpId = HID_CONTDLG_CIRCLE ;
90                RadioCheck = TRUE ;
91                AutoCheck = TRUE ;
92                Text [ en-US ] = "Ellipse" ;
93            };
94            ToolBoxItem
95            {
96                Identifier = TBI_POLY ;
97                HelpId = HID_CONTDLG_POLY ;
98                RadioCheck = TRUE ;
99                AutoCheck = TRUE ;
100                Text [ en-US ] = "Polygon" ;
101            };
102            ToolBoxItem
103            {
104                Type = TOOLBOXITEM_SEPARATOR ;
105            };
106            ToolBoxItem
107            {
108                Identifier = TBI_POLYEDIT ;
109                HelpId = HID_CONTDLG_POLYEDIT ;
110                Text [ en-US ] = "Edit Points" ;
111                AutoCheck = TRUE ;
112            };
113            ToolBoxItem
114            {
115                Identifier = TBI_POLYMOVE ;
116                HelpId = HID_CONTDLG_POLYMOVE ;
117                Text [ en-US ] = "Move Points" ;
118                RadioCheck = TRUE ;
119                AutoCheck = TRUE ;
120            };
121            ToolBoxItem
122            {
123                Identifier = TBI_POLYINSERT ;
124                HelpId = HID_CONTDLG_POLYINSERT ;
125                Text [ en-US ] = "Insert Points" ;
126                RadioCheck = TRUE ;
127                AutoCheck = TRUE ;
128            };
129            ToolBoxItem
130            {
131                Identifier = TBI_POLYDELETE ;
132                HelpId = HID_CONTDLG_POLYDELETE ;
133                Text [ en-US ] = "Delete Points" ;
134            };
135            ToolBoxItem
136            {
137                Type = TOOLBOXITEM_SEPARATOR ;
138            };
139            ToolBoxItem
140            {
141                Identifier = TBI_AUTOCONTOUR ;
142                HelpId = HID_CONTDLG_AUTOCONTOUR ;
143                Text [ en-US ] = "AutoContour" ;
144            };
145            ToolBoxItem
146            {
147                Type = TOOLBOXITEM_SEPARATOR ;
148            };
149            ToolBoxItem
150            {
151                Identifier = TBI_UNDO ;
152                HelpId = HID_CONTDLG_UNDO ;
153
154                Text [ en-US ] = "Undo " ;
155            };
156            ToolBoxItem
157            {
158                Identifier = TBI_REDO ;
159                HelpId = HID_CONTDLG_REDO ;
160
161
162                Text [ en-US ] = "Redo " ;
163            };
164            ToolBoxItem
165            {
166                Identifier = TBI_PIPETTE ;
167                HelpId = HID_CONTDLG_PIPETTE ;
168                Text [ en-US ] = "Pipette" ;
169                AutoCheck = TRUE ;
170            };
171        };
172    };
173    MetricField MTF_TOLERANCE
174    {
175        HelpID = "svx:MetricField:RID_SVXDLG_CONTOUR:MTF_TOLERANCE" ;
176        Border = TRUE ;
177        Pos = MAP_APPFONT ( 0, 0 ) ;
178        Size = MAP_APPFONT ( 28, 12 ) ;
179        TabStop = TRUE ;
180        Repeat = TRUE ;
181        Spin = TRUE ;
182        Maximum = 99 ;
183        Last = 99 ;
184        SpinSize = 1 ;
185        Unit = FUNIT_PERCENT ;
186        QuickHelpText [ en-US ] = "Color Tolerance" ;
187    };
188    Control CTL_CONTOUR
189    {
190        Border = TRUE ;
191        SVLook = TRUE ;
192        Pos = MAP_APPFONT ( 6, 24 ) ;
193        HelpId = HID_CONTDLG_GRAPHWND ;
194    };
195
196#define CONTOURDLG_IDLIST       \
197        IdList =                \
198        {                       \
199            TBI_APPLY ;         \
200            TBI_WORKPLACE ;     \
201            TBI_SELECT ;        \
202            TBI_RECT ;          \
203            TBI_CIRCLE ;        \
204            TBI_POLY ;          \
205            TBI_POLYEDIT ;      \
206            TBI_POLYMOVE ;      \
207            TBI_POLYINSERT ;    \
208            TBI_POLYDELETE ;    \
209            TBI_AUTOCONTOUR ;   \
210            TBI_UNDO ;          \
211            TBI_REDO ;          \
212            TBI_PIPETTE ;       \
213        }; \
214        IdCount = { 14 ; };
215
216    ImageList CD_IMAPDLG
217    {
218        Prefix = "cd" ;
219        MASKCOLOR
220        CONTOURDLG_IDLIST
221    };
222    ImageList CDH_IMAPDLG
223    {
224        Prefix = "cdh" ;
225        MASKCOLOR
226        CONTOURDLG_IDLIST
227    };
228};
229/******************************************************************************/
230String STR_CONTOURDLG_MODIFY
231{
232    Text [ en-US ] = "The contour has been modified.\nDo you want to save the changes?" ;
233};
234String STR_CONTOURDLG_NEWPIPETTE
235{
236    Text [ en-US ] = "Do you want to create a new contour?" ;
237};
238String STR_CONTOURDLG_WORKPLACE
239{
240    Text [ en-US ] = "Setting a new workspace will\ncause the contour to be deleted.\nAre you sure you want to continue?" ;
241};
242String STR_CONTOURDLG_LINKED
243{
244    Text [ en-US ] = "This graphic object is linked to the document. Do you want to unlink the graphics in order to edit it?" ;
245};
246
247// ********************************************************************** EOF
248