xref: /AOO41X/main/svx/source/dialog/ctredlin.src (revision 4d7c9de063a797b8b4f3d45e3561e82ad1f8ef1f)
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
2209a1d057SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#include "ctredlin.hrc"
25cdf0e10cSrcweir#include "helpid.hrc"
26cdf0e10cSrcweir
27cdf0e10cSrcweir#define MASKCOLOR   MaskColor = Color { Red = 0xFFFF; Green = 0x0000; Blue = 0xFFFF; } ;
28cdf0e10cSrcweir
29cdf0e10cSrcweirTabPage SID_REDLIN_FILTER_PAGE
30cdf0e10cSrcweir{
31cdf0e10cSrcweir    String STR_FILTER
32cdf0e10cSrcweir    {
33cdf0e10cSrcweir        Text [ en-US ] = "Filter" ;
34cdf0e10cSrcweir    };
35cdf0e10cSrcweir    HelpId = HID_REDLINING_FILTER_PAGE ;
36cdf0e10cSrcweir    OutputSize = TRUE ;
37cdf0e10cSrcweir    SVLook = TRUE ;
38cdf0e10cSrcweir    Size = MAP_APPFONT ( 261 , 86 ) ;
39cdf0e10cSrcweir    Hide = TRUE ;
40cdf0e10cSrcweir    CheckBox CB_DATE
41cdf0e10cSrcweir    {
42cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 8 ) ;
43cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 10 ) ;
44cdf0e10cSrcweir        TabStop = TRUE ;
45cdf0e10cSrcweir        HelpId = HID_REDLINING_FILTER_CB_DATE ;
46cdf0e10cSrcweir        Text [ en-US ] = "~Date" ;
47cdf0e10cSrcweir    };
48cdf0e10cSrcweir    ListBox LB_DATE
49cdf0e10cSrcweir    {
50cdf0e10cSrcweir        HelpId = HID_REDLINING_FILTER_LB_DATE ;
51cdf0e10cSrcweir        Border = TRUE ;
52cdf0e10cSrcweir        Disable = TRUE ;
53cdf0e10cSrcweir        Pos = MAP_APPFONT ( 60 , 6 ) ;
54cdf0e10cSrcweir        Size = MAP_APPFONT ( 78 , 99 ) ;
55cdf0e10cSrcweir        TabStop = TRUE ;
56cdf0e10cSrcweir        DropDown = TRUE ;
57cdf0e10cSrcweir        StringList [ en-US ] =
58cdf0e10cSrcweir        {
59cdf0e10cSrcweir            < "earlier than" ; Default ; > ;
60cdf0e10cSrcweir            < "since" ; Default ; > ;
61cdf0e10cSrcweir            < "equal to " ; Default ; > ;
62cdf0e10cSrcweir            < "not equal to" ; Default ; > ;
63cdf0e10cSrcweir            < "between" ; Default ; > ;
64cdf0e10cSrcweir            < "since saving" ; Default ; > ;
65cdf0e10cSrcweir        };
66cdf0e10cSrcweir    };
67cdf0e10cSrcweir    DateField DF_DATE
68cdf0e10cSrcweir    {
69cdf0e10cSrcweir        HelpId = HID_REDLINING_FILTER_DF_DATE ;
70cdf0e10cSrcweir        Disable = TRUE ;
71cdf0e10cSrcweir        Border = TRUE ;
72cdf0e10cSrcweir        Pos = MAP_APPFONT ( 144 , 6 ) ;
73cdf0e10cSrcweir        Size = MAP_APPFONT ( 57 , 12 ) ;
74cdf0e10cSrcweir        TabStop = TRUE ;
75cdf0e10cSrcweir        Spin = TRUE ;
76cdf0e10cSrcweir        Repeat = TRUE ;
77cdf0e10cSrcweir        Minimum = Date
78cdf0e10cSrcweir        {
79cdf0e10cSrcweir            Year = 1985 ;
80cdf0e10cSrcweir            Month = 12 ;
81cdf0e10cSrcweir            Day = 31 ;
82cdf0e10cSrcweir        };
83cdf0e10cSrcweir        Maximum = Date
84cdf0e10cSrcweir        {
85cdf0e10cSrcweir            Year = 2050 ;
86cdf0e10cSrcweir            Month = 12 ;
87cdf0e10cSrcweir            Day = 31 ;
88cdf0e10cSrcweir        };
89cdf0e10cSrcweir    };
90cdf0e10cSrcweir    TimeField TF_DATE
91cdf0e10cSrcweir    {
92cdf0e10cSrcweir        HelpId = HID_REDLINING_FILTER_TF_DATE ;
93cdf0e10cSrcweir        Disable = TRUE ;
94cdf0e10cSrcweir        Border = TRUE ;
95cdf0e10cSrcweir        Pos = MAP_APPFONT ( 203 , 6 ) ;
96cdf0e10cSrcweir        Size = MAP_APPFONT ( 35 , 12 ) ;
97cdf0e10cSrcweir        TabStop = TRUE ;
98cdf0e10cSrcweir        Repeat = TRUE ;
99cdf0e10cSrcweir        Spin = TRUE ;
100cdf0e10cSrcweir    };
101cdf0e10cSrcweir    ImageButton IB_CLOCK
102cdf0e10cSrcweir    {
103cdf0e10cSrcweir        HelpId = HID_REDLINING_FILTER_IB_CLOCK ;
104cdf0e10cSrcweir        Disable = TRUE ;
105cdf0e10cSrcweir        Pos = MAP_APPFONT ( 240 , 5 ) ;
106cdf0e10cSrcweir        Size = MAP_APPFONT ( 13 , 15 ) ;
107cdf0e10cSrcweir        TabStop = TRUE ;
108cdf0e10cSrcweir        ButtonImage = Image
109cdf0e10cSrcweir        {
110cdf0e10cSrcweir            ImageBitmap = Bitmap { File = "time.bmp" ; };
111cdf0e10cSrcweir            MASKCOLOR
112cdf0e10cSrcweir        };
113cdf0e10cSrcweir        //QuickHelpText [ en-US ] = "Set Date/Time" ;
114cdf0e10cSrcweir        QuickHelpText [ en-US ] = "Set Start Date/Time" ;
115cdf0e10cSrcweir    };
116cdf0e10cSrcweir    FixedText FT_DATE2
117cdf0e10cSrcweir    {
118cdf0e10cSrcweir        Pos = MAP_APPFONT ( 60 , 24 ) ;
119cdf0e10cSrcweir        Size = MAP_APPFONT ( 78 , 8 ) ;
120cdf0e10cSrcweir        Right = TRUE ;
121cdf0e10cSrcweir        Disable = TRUE ;
122cdf0e10cSrcweir        Text [ en-US ] = "and" ;
123cdf0e10cSrcweir    };
124cdf0e10cSrcweir    DateField DF_DATE2
125cdf0e10cSrcweir    {
126cdf0e10cSrcweir        HelpId = HID_REDLINING_FILTER_DF_DATE2 ;
127cdf0e10cSrcweir        Border = TRUE ;
128cdf0e10cSrcweir        Disable = TRUE ;
129cdf0e10cSrcweir        Pos = MAP_APPFONT ( 144 , 22 ) ;
130cdf0e10cSrcweir        Size = MAP_APPFONT ( 57 , 12 ) ;
131cdf0e10cSrcweir        TabStop = TRUE ;
132cdf0e10cSrcweir        Spin = TRUE ;
133cdf0e10cSrcweir        Repeat = TRUE ;
134cdf0e10cSrcweir        Minimum = Date
135cdf0e10cSrcweir        {
136cdf0e10cSrcweir            Year = 1985 ;
137cdf0e10cSrcweir            Month = 12 ;
138cdf0e10cSrcweir            Day = 31 ;
139cdf0e10cSrcweir        };
140cdf0e10cSrcweir        Maximum = Date
141cdf0e10cSrcweir        {
142cdf0e10cSrcweir            Year = 2050 ;
143cdf0e10cSrcweir            Month = 12 ;
144cdf0e10cSrcweir            Day = 31 ;
145cdf0e10cSrcweir        };
146cdf0e10cSrcweir    };
147cdf0e10cSrcweir    TimeField TF_DATE2
148cdf0e10cSrcweir    {
149cdf0e10cSrcweir        HelpId = HID_REDLINING_FILTER_TF_DATE2 ;
150cdf0e10cSrcweir        Border = TRUE ;
151cdf0e10cSrcweir        Disable = TRUE ;
152cdf0e10cSrcweir        Pos = MAP_APPFONT ( 203 , 22 ) ;
153cdf0e10cSrcweir        Size = MAP_APPFONT ( 35 , 12 ) ;
154cdf0e10cSrcweir        TabStop = TRUE ;
155cdf0e10cSrcweir        Spin = TRUE ;
156cdf0e10cSrcweir        Repeat = TRUE ;
157cdf0e10cSrcweir    };
158cdf0e10cSrcweir    ImageButton IB_CLOCK2
159cdf0e10cSrcweir    {
160cdf0e10cSrcweir        HelpId = HID_REDLINING_FILTER_IB_CLOCK2 ;
161cdf0e10cSrcweir        Disable = TRUE ;
162cdf0e10cSrcweir        Pos = MAP_APPFONT ( 240 , 21 ) ;
163cdf0e10cSrcweir        Size = MAP_APPFONT ( 13 , 15 ) ;
164cdf0e10cSrcweir        TabStop = TRUE ;
165cdf0e10cSrcweir        ButtonImage = Image
166cdf0e10cSrcweir        {
167cdf0e10cSrcweir            ImageBitmap = Bitmap { File = "time.bmp" ; };
168cdf0e10cSrcweir            MASKCOLOR
169cdf0e10cSrcweir        };
170cdf0e10cSrcweir        //QuickHelpText [ en-US ] = "Set Date/Time" ;
171cdf0e10cSrcweir        QuickHelpText [ en-US ] = "Set End Date/Time" ;
172cdf0e10cSrcweir    };
173cdf0e10cSrcweir    CheckBox CB_AUTOR
174cdf0e10cSrcweir    {
175cdf0e10cSrcweir        HelpId = HID_REDLINING_FILTER_CB_AUTOR ;
176cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 40 ) ;
177cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 10 ) ;
178cdf0e10cSrcweir        TabStop = TRUE ;
179cdf0e10cSrcweir        Text [ en-US ] = "~Author" ;
180cdf0e10cSrcweir    };
181cdf0e10cSrcweir    ListBox LB_AUTOR
182cdf0e10cSrcweir    {
183cdf0e10cSrcweir        HelpId = HID_REDLINING_FILTER_LB_AUTOR ;
184cdf0e10cSrcweir        Border = TRUE ;
185cdf0e10cSrcweir        Pos = MAP_APPFONT ( 60 , 38 ) ;
186cdf0e10cSrcweir        Size = MAP_APPFONT ( 178 , 100 ) ;
187cdf0e10cSrcweir        TabStop = TRUE ;
188cdf0e10cSrcweir        Disable = TRUE ;
189cdf0e10cSrcweir        DropDown = TRUE ;
190cdf0e10cSrcweir    };
191cdf0e10cSrcweir    CheckBox CB_RANGE
192cdf0e10cSrcweir    {
193cdf0e10cSrcweir        HelpId = HID_REDLINING_FILTER_CB_RANGE ;
194cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 56 ) ;
195cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 10 ) ;
196cdf0e10cSrcweir        TabStop = TRUE ;
197cdf0e10cSrcweir        Text [ en-US ] = "~Range" ;
198cdf0e10cSrcweir    };
199cdf0e10cSrcweir    Edit ED_RANGE
200cdf0e10cSrcweir    {
201cdf0e10cSrcweir        HelpId = HID_REDLINING_FILTER_ED_RANGE ;
202cdf0e10cSrcweir        Disable = TRUE ;
203cdf0e10cSrcweir        Border = TRUE ;
204cdf0e10cSrcweir        Pos = MAP_APPFONT ( 60 , 54 ) ;
205cdf0e10cSrcweir        Size = MAP_APPFONT ( 178 , 12 ) ;
206cdf0e10cSrcweir        TabStop = TRUE ;
207cdf0e10cSrcweir    };
208cdf0e10cSrcweir    String STR_ACTION
209cdf0e10cSrcweir    {
210cdf0e10cSrcweir        Text [ en-US ] = "A~ction" ;
211cdf0e10cSrcweir    };
212cdf0e10cSrcweir    ListBox LB_ACTION
213cdf0e10cSrcweir    {
214cdf0e10cSrcweir        HelpId = HID_REDLINING_FILTER_LB_ACTION ;
215cdf0e10cSrcweir        Border = TRUE ;
216cdf0e10cSrcweir        Hide = TRUE ;
217cdf0e10cSrcweir        Disable = TRUE ;
218cdf0e10cSrcweir        Pos = MAP_APPFONT ( 60 , 54 ) ;
219cdf0e10cSrcweir        Size = MAP_APPFONT ( 178 , 100 ) ;
220cdf0e10cSrcweir        TabStop = TRUE ;
221cdf0e10cSrcweir        DropDown = TRUE ;
222cdf0e10cSrcweir    };
223cdf0e10cSrcweir    PushButton BTN_REF
224cdf0e10cSrcweir    {
225cdf0e10cSrcweir        HelpId = HID_REDLINING_FILTER_BTN_REF ;
226cdf0e10cSrcweir        Pos = MAP_APPFONT ( 240 , 54 ) ;
227cdf0e10cSrcweir        Size = MAP_APPFONT ( 12 , 12 ) ;
228cdf0e10cSrcweir        Disable = TRUE ;
229cdf0e10cSrcweir        TabStop = TRUE ;
230cdf0e10cSrcweir        QuickHelpText [ en-US ] = "Set Reference" ;
231cdf0e10cSrcweir        Text [ en-US ] = "..." ;
232cdf0e10cSrcweir    };
233cdf0e10cSrcweir    CheckBox CB_COMMENT
234cdf0e10cSrcweir    {
235cdf0e10cSrcweir        HelpId = HID_REDLINING_FILTER_CB_COMMENT ;
236cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 72 ) ;
237cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 10 ) ;
238cdf0e10cSrcweir        TabStop = TRUE ;
239cdf0e10cSrcweir        Text [ en-US ] = "Comment";
240cdf0e10cSrcweir    };
241cdf0e10cSrcweir    Edit ED_COMMENT
242cdf0e10cSrcweir    {
243cdf0e10cSrcweir        HelpId = HID_REDLINING_FILTER_ED_COMMENT ;
244cdf0e10cSrcweir        Disable = TRUE ;
245cdf0e10cSrcweir        Border = TRUE ;
246cdf0e10cSrcweir        Pos = MAP_APPFONT ( 60 , 70 ) ;
247cdf0e10cSrcweir        Size = MAP_APPFONT ( 178 , 12 ) ;
248cdf0e10cSrcweir        TabStop = TRUE ;
249cdf0e10cSrcweir    };
250cdf0e10cSrcweir    Image IMG_TIME_H
251cdf0e10cSrcweir    {
252cdf0e10cSrcweir        ImageBitmap = Bitmap { File = "time_h.bmp" ; };
253cdf0e10cSrcweir        MASKCOLOR
254cdf0e10cSrcweir    };
255cdf0e10cSrcweir    String STR_DATE_COMBOX
256cdf0e10cSrcweir    {
257cdf0e10cSrcweir        Text [ en-US ] = "Date Condition" ;
258cdf0e10cSrcweir    };
259cdf0e10cSrcweir    String STR_DATE_SPIN
260cdf0e10cSrcweir    {
261cdf0e10cSrcweir        Text [ en-US ] = "Start Date" ;
262cdf0e10cSrcweir    };
263cdf0e10cSrcweir    String STR_DATE_SPIN1
264cdf0e10cSrcweir    {
265cdf0e10cSrcweir        Text [ en-US ] = "End Date" ;
266cdf0e10cSrcweir    };
267cdf0e10cSrcweir    String STR_DATE_TIME_SPIN
268cdf0e10cSrcweir    {
269cdf0e10cSrcweir        Text [ en-US ] = "Start Time" ;
270cdf0e10cSrcweir    };
271cdf0e10cSrcweir    String STR_DATE_TIME_SPIN1
272cdf0e10cSrcweir    {
273cdf0e10cSrcweir        Text [ en-US ] = "End Time" ;
274cdf0e10cSrcweir    };
275*9b8096d0SSteve Yin    String STR_TREE
276*9b8096d0SSteve Yin    {
277*9b8096d0SSteve Yin        Text [ en-US ] = "Changes" ;
278*9b8096d0SSteve Yin    };
279cdf0e10cSrcweir};
280cdf0e10cSrcweirTabPage SID_REDLIN_VIEW_PAGE
281cdf0e10cSrcweir{
282cdf0e10cSrcweir    HelpId = HID_REDLINING_VIEW_PAGE ;
283cdf0e10cSrcweir    OutputSize = TRUE ;
284cdf0e10cSrcweir    SVLook = TRUE ;
285cdf0e10cSrcweir    Size = MAP_APPFONT ( 270 , 126 ) ;
286cdf0e10cSrcweir    Hide = TRUE ;
287cdf0e10cSrcweir    String STR_VIEW
288cdf0e10cSrcweir    {
289cdf0e10cSrcweir        Text [ en-US ] = "List" ;
290cdf0e10cSrcweir    };
291cdf0e10cSrcweir    Control DG_VIEW
292cdf0e10cSrcweir    {
293cdf0e10cSrcweir        HelpId = HID_REDLINING_VIEW_DG_VIEW ;
294cdf0e10cSrcweir        Pos = MAP_APPFONT ( 3 , 1 ) ;
295cdf0e10cSrcweir        Size = MAP_APPFONT ( 221 , 65 ) ;
296cdf0e10cSrcweir        Border = TRUE ;
297cdf0e10cSrcweir    };
298cdf0e10cSrcweir    PushButton PB_ACCEPT
299cdf0e10cSrcweir    {
300cdf0e10cSrcweir        HelpId = HID_REDLINING_VIEW_PB_ACCEPT ;
301cdf0e10cSrcweir        Pos = MAP_APPFONT ( 3 , 69 ) ;
302cdf0e10cSrcweir        Size = MAP_APPFONT ( 60 , 14 ) ;
303cdf0e10cSrcweir        Text [ en-US ] = "~Accept" ;
304cdf0e10cSrcweir    };
305cdf0e10cSrcweir    PushButton PB_REJECT
306cdf0e10cSrcweir    {
307cdf0e10cSrcweir        HelpId = HID_REDLINING_VIEW_PB_REJECT ;
308cdf0e10cSrcweir        Pos = MAP_APPFONT ( 69 , 69 ) ;
309cdf0e10cSrcweir        Size = MAP_APPFONT ( 60 , 14 ) ;
310cdf0e10cSrcweir        Text [ en-US ] = "~Reject" ;
311cdf0e10cSrcweir    };
312cdf0e10cSrcweir    PushButton PB_ACCEPTALL
313cdf0e10cSrcweir    {
314cdf0e10cSrcweir        HelpId = HID_REDLINING_VIEW_PB_ACCEPTALL ;
315cdf0e10cSrcweir        Pos = MAP_APPFONT ( 141 , 69 ) ;
316cdf0e10cSrcweir        Size = MAP_APPFONT ( 60 , 14 ) ;
317cdf0e10cSrcweir        Text [ en-US ] = "A~ccept All" ;
318cdf0e10cSrcweir    };
319cdf0e10cSrcweir    PushButton PB_REJECTALL
320cdf0e10cSrcweir    {
321cdf0e10cSrcweir        HelpId = HID_REDLINING_VIEW_PB_REJECTALL ;
322cdf0e10cSrcweir        Pos = MAP_APPFONT ( 207 , 69 ) ;
323cdf0e10cSrcweir        Size = MAP_APPFONT ( 60 , 14 ) ;
324cdf0e10cSrcweir        Text [ en-US ] = "R~eject All" ;
325cdf0e10cSrcweir    };
326cdf0e10cSrcweir
327cdf0e10cSrcweir    PushButton PB_UNDO
328cdf0e10cSrcweir    {
329cdf0e10cSrcweir        HelpId = HID_REDLINING_VIEW_PB_UNDO ;
330cdf0e10cSrcweir        Hide = TRUE;
331cdf0e10cSrcweir        Pos  = MAP_APPFONT ( 279 , 69 ) ;
332cdf0e10cSrcweir        Size = MAP_APPFONT ( 60 , 14 ) ;
333cdf0e10cSrcweir        Text [ en-US ] = "Undo";
334cdf0e10cSrcweir    };
335cdf0e10cSrcweir    String STR_TITLE1
336cdf0e10cSrcweir    {
337cdf0e10cSrcweir        Text [ en-US ] = "Action" ;
338cdf0e10cSrcweir    };
339cdf0e10cSrcweir    String STR_TITLE2
340cdf0e10cSrcweir    {
341cdf0e10cSrcweir        Text [ en-US ] = "Position" ;
342cdf0e10cSrcweir    };
343cdf0e10cSrcweir    String STR_TITLE3
344cdf0e10cSrcweir    {
345cdf0e10cSrcweir        Text [ en-US ] = "Author" ;
346cdf0e10cSrcweir    };
347cdf0e10cSrcweir    String STR_TITLE4
348cdf0e10cSrcweir    {
349cdf0e10cSrcweir        Text [ en-US ] = "Date" ;
350cdf0e10cSrcweir    };
351cdf0e10cSrcweir    String STR_TITLE5
352cdf0e10cSrcweir    {
353cdf0e10cSrcweir        Text [ en-US ] = "Comment" ;
354cdf0e10cSrcweir    };
355cdf0e10cSrcweir};
356cdf0e10cSrcweir
357cdf0e10cSrcweir
358cdf0e10cSrcweir
359cdf0e10cSrcweir
360cdf0e10cSrcweir
361cdf0e10cSrcweir
362cdf0e10cSrcweir
363cdf0e10cSrcweir
364cdf0e10cSrcweir
365cdf0e10cSrcweir
366cdf0e10cSrcweir
367cdf0e10cSrcweir
368cdf0e10cSrcweir
369cdf0e10cSrcweir
370cdf0e10cSrcweir
371cdf0e10cSrcweir
372cdf0e10cSrcweir
373cdf0e10cSrcweir
374cdf0e10cSrcweir
375cdf0e10cSrcweir
376cdf0e10cSrcweir
377cdf0e10cSrcweir
378cdf0e10cSrcweir
379cdf0e10cSrcweir
380cdf0e10cSrcweir
381cdf0e10cSrcweir
382cdf0e10cSrcweir
383cdf0e10cSrcweir
384cdf0e10cSrcweir
385cdf0e10cSrcweir
386cdf0e10cSrcweir
387cdf0e10cSrcweir
388