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