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