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