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