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