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// includes ------------------------------------------------------------------ 25 26#include "templwin.hrc" 27#include <svtools/controldims.hrc> 28#include <svtools/helpid.hrc> 29#include <svtools/svtools.hrc> 30 31Control CTRL_FILEVIEW 32{ 33 Pos = MAP_APPFONT ( 0, 0 ) ; 34 Size = MAP_APPFONT ( 200, 180 ) ; 35}; 36 37String STR_SVT_NEWDOC 38{ 39 Text [ en-US ] = "New Document" ; 40}; 41 42Image IMG_SVT_NEWDOC 43{ 44 ImageBitmap = Bitmap { File = "new_doc.png" ; } ; 45}; 46 47Image IMG_SVT_NEWDOC_HC 48{ 49 ImageBitmap = Bitmap { File = "new_doc_h.png" ; } ; 50}; 51 52String STR_SVT_MYDOCS 53{ 54 Text [ en-US ] = "My Documents" ; 55}; 56 57Image IMG_SVT_MYDOCS 58{ 59 ImageBitmap = Bitmap { File = "my_docs.png" ; } ; 60}; 61 62Image IMG_SVT_MYDOCS_HC 63{ 64 ImageBitmap = Bitmap { File = "my_docs_h.png" ; } ; 65}; 66 67String STR_SVT_TEMPLATES 68{ 69 Text [ en-US ] = "Templates" ; 70}; 71 72Image IMG_SVT_TEMPLATES 73{ 74 ImageBitmap = Bitmap { File = "template.png" ; } ; 75}; 76 77Image IMG_SVT_TEMPLATES_HC 78{ 79 ImageBitmap = Bitmap { File = "template_h.png" ; } ; 80}; 81 82String STR_SVT_SAMPLES 83{ 84 Text [ en-US ] = "Samples" ; 85}; 86 87Image IMG_SVT_SAMPLES 88{ 89 ImageBitmap = Bitmap { File = "samples.png" ; } ; 90}; 91 92Image IMG_SVT_SAMPLES_HC 93{ 94 ImageBitmap = Bitmap { File = "samples_h.png" ; } ; 95}; 96 97ToolBox TB_SVT_FILEVIEW 98{ 99 Pos = MAP_APPFONT ( 0, 0 ) ; 100 Size = MAP_APPFONT ( 100, 12 ) ; 101 ItemList = 102 { 103 ToolBoxItem 104 { 105 Identifier = TI_DOCTEMPLATE_BACK; 106 HelpId = HID_TEMPLATEDLG_TB_BACK; 107 Text [ en-US ] = "Back" ; 108 }; 109 ToolBoxItem 110 { 111 Identifier = TI_DOCTEMPLATE_PREV; 112 HelpId = HID_TEMPLATEDLG_TB_PREV; 113 Text [ en-US ] = "Up One Level" ; 114 }; 115 ToolBoxItem 116 { 117 Type = TOOLBOXITEM_SEPARATOR ; 118 }; 119 ToolBoxItem 120 { 121 Identifier = TI_DOCTEMPLATE_PRINT; 122 HelpId = HID_TEMPLATEDLG_TB_PRINT; 123 Text [ en-US ] = "Print" ; 124 }; 125 }; 126}; 127 128Image IMG_SVT_DOCTEMPLATE_BACK_SMALL 129{ 130 ImageBitmap = Bitmap { File = "back_small.png" ; } ; 131}; 132Image IMG_SVT_DOCTEMPLATE_BACK_LARGE 133{ 134 ImageBitmap = Bitmap { File = "back_large.png" ; } ; 135}; 136Image IMG_SVT_DOCTEMPLATE_PREV_SMALL 137{ 138 ImageBitmap = Bitmap { File = "up_small.png" ; } ; 139}; 140Image IMG_SVT_DOCTEMPLATE_PREV_LARGE 141{ 142 ImageBitmap = Bitmap { File = "up_large.png" ; } ; 143}; 144Image IMG_SVT_DOCTEMPLATE_PRINT_SMALL 145{ 146 ImageBitmap = Bitmap { File = "sc05509.png" ; } ; 147}; 148Image IMG_SVT_DOCTEMPLATE_PRINT_LARGE 149{ 150 ImageBitmap = Bitmap { File = "lc05509.png" ; } ; 151}; 152Image IMG_SVT_DOCTEMPL_HC_BACK_SMALL 153{ 154 ImageBitmap = Bitmap { File = "back_small_h.png" ; } ; 155}; 156Image IMG_SVT_DOCTEMPL_HC_BACK_LARGE 157{ 158 ImageBitmap = Bitmap { File = "back_large_h.png" ; } ; 159}; 160Image IMG_SVT_DOCTEMPL_HC_PREV_SMALL 161{ 162 ImageBitmap = Bitmap { File = "up_small_h.png" ; } ; 163}; 164Image IMG_SVT_DOCTEMPL_HC_PREV_LARGE 165{ 166 ImageBitmap = Bitmap { File = "up_large_h.png" ; } ; 167}; 168Image IMG_SVT_DOCTEMPL_HC_PRINT_SMALL 169{ 170 ImageBitmap = Bitmap { File = "sch05509.png" ; } ; 171}; 172Image IMG_SVT_DOCTEMPL_HC_PRINT_LARGE 173{ 174 ImageBitmap = Bitmap { File = "lch05509.png" ; } ; 175}; 176 177ToolBox TB_SVT_FRAMEWIN 178{ 179 Pos = MAP_APPFONT ( 0, 0 ) ; 180 Size = MAP_APPFONT ( 100, 12 ) ; 181 ItemList = 182 { 183 ToolBoxItem 184 { 185 RadioCheck = TRUE ; 186 AutoCheck = TRUE ; 187 Identifier = TI_DOCTEMPLATE_DOCINFO; 188 HelpId = HID_TEMPLATEDLG_TB_DOCINFO; 189 Text [ en-US ] = "Document Properties" ; 190 }; 191 ToolBoxItem 192 { 193 RadioCheck = TRUE ; 194 AutoCheck = TRUE ; 195 Identifier = TI_DOCTEMPLATE_PREVIEW; 196 HelpId = HID_TEMPLATEDLG_TB_PREVIEW; 197 Text [ en-US ] = "Preview" ; 198 }; 199 }; 200}; 201 202Image IMG_SVT_DOCTEMPLATE_DOCINFO_SMALL 203{ 204 ImageBitmap = Bitmap { File = "info_small.png" ; } ; 205}; 206Image IMG_SVT_DOCTEMPLATE_DOCINFO_LARGE 207{ 208 ImageBitmap = Bitmap { File = "info_large.png" ; } ; 209}; 210Image IMG_SVT_DOCTEMPLATE_PREVIEW_SMALL 211{ 212 ImageBitmap = Bitmap { File = "preview_small.png" ; } ; 213}; 214Image IMG_SVT_DOCTEMPLATE_PREVIEW_LARGE 215{ 216 ImageBitmap = Bitmap { File = "preview_large.png" ; } ; 217}; 218Image IMG_SVT_DOCTEMPL_HC_DOCINFO_SMALL 219{ 220 ImageBitmap = Bitmap { File = "info_small_h.png" ; } ; 221}; 222Image IMG_SVT_DOCTEMPL_HC_DOCINFO_LARGE 223{ 224 ImageBitmap = Bitmap { File = "info_large_h.png" ; } ; 225}; 226Image IMG_SVT_DOCTEMPL_HC_PREVIEW_SMALL 227{ 228 ImageBitmap = Bitmap { File = "preview_small_h.png" ; } ; 229}; 230Image IMG_SVT_DOCTEMPL_HC_PREVIEW_LARGE 231{ 232 ImageBitmap = Bitmap { File = "preview_large_h.png" ; } ; 233}; 234 235ModalDialog DLG_DOCTEMPLATE 236{ 237 HelpId = HID_TEMPLATEDLG_DIALOG ; 238 OutputSize = TRUE ; 239 SVLook = TRUE ; 240 Size = MAP_APPFONT ( 320, 250 ) ; 241 Text [ en-US ] = "Templates and Documents" ; 242 Moveable = TRUE ; 243 FixedText FT_DOCTEMPLATE_LINK 244 { 245 Left = TRUE ; 246 Pos = MAP_APPFONT ( 6, 208 ) ; 247 Size = MAP_APPFONT ( 311, RSC_CD_FIXEDTEXT_HEIGHT ) ; 248 Text [ en-US ] = "~Get more templates online..." ; 249 }; 250 FixedLine FL_DOCTEMPLATE 251 { 252 Pos = MAP_APPFONT ( 0, 219 ) ; 253 Size = MAP_APPFONT ( 320, 8 ) ; 254 }; 255 PushButton BTN_DOCTEMPLATE_MANAGE 256 { 257 HelpID = "svtools:PushButton:DLG_DOCTEMPLATE:BTN_DOCTEMPLATE_MANAGE" ; 258 Pos = MAP_APPFONT ( 6, 230 ) ; 259 Size = MAP_APPFONT ( 50, 14 ) ; 260 Text [ en-US ] = "Organi~ze..." ; 261 }; 262 PushButton BTN_DOCTEMPLATE_EDIT 263 { 264 HelpID = "svtools:PushButton:DLG_DOCTEMPLATE:BTN_DOCTEMPLATE_EDIT" ; 265 Pos = MAP_APPFONT ( 59, 230 ) ; 266 Size = MAP_APPFONT ( 50, 14 ) ; 267 Text [ en-US ] = "~Edit" ; 268 }; 269 OKButton BTN_DOCTEMPLATE_OPEN 270 { 271 Pos = MAP_APPFONT ( 155, 230 ) ; 272 Size = MAP_APPFONT ( 50, 14 ) ; 273 DefButton = TRUE ; 274 Text [ en-US ] = "~Open" ; 275 }; 276 CancelButton BTN_DOCTEMPLATE_CANCEL 277 { 278 Pos = MAP_APPFONT ( 208, 230 ) ; 279 Size = MAP_APPFONT ( 50, 14 ) ; 280 }; 281 HelpButton BTN_DOCTEMPLATE_HELP 282 { 283 Pos = MAP_APPFONT ( 264, 230 ) ; 284 Size = MAP_APPFONT ( 50, 14 ) ; 285 }; 286}; 287 288StringArray STRARY_SVT_DOCINFO 289{ 290 ItemList [ en-US ] = 291 { 292 < "Title" ; DI_TITLE ; > ; 293 < "By" ; DI_FROM ; > ; 294 < "Date" ; DI_DATE ; > ; 295 < "Keywords"; DI_KEYWORDS ; > ; 296 < "Description" ; DI_DESCRIPTION ; > ; 297 < "Type" ; DI_MIMETYPE ; > ; 298 < "Modified on" ; DI_MODIFIEDDATE ; > ; 299 < "Modified by" ; DI_MODIFIEDBY ; > ; 300 < "Printed on" ; DI_PRINTDATE ; > ; 301 < "Printed by" ; DI_PRINTBY ; > ; 302 < "Subject" ; DI_THEME ; > ; 303 < "Size" ; DI_SIZE ; > ; 304 }; 305 }; 306 307String STR_SVT_NEWDOC_HELP 308{ 309 Text [ en-US ] = "Click here to create new documents." ; 310}; 311String STR_SVT_MYDOCS_HELP 312{ 313 Text [ en-US ] = "Contains your letters, reports and other documents." ; 314}; 315String STR_SVT_TEMPLATES_HELP 316{ 317 Text [ en-US ] = "Contains templates for creating new documents." ; 318}; 319String STR_SVT_SAMPLES_HELP 320{ 321 Text [ en-US ] = "Contains a selection of sample letters, reports and other documents." ; 322}; 323 324// ********************************************************************** EOF 325