13c07ef42SAndrew Rist/************************************************************** 252fa1ecbSmseidel * 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 1052fa1ecbSmseidel * 113c07ef42SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 1252fa1ecbSmseidel * 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. 1952fa1ecbSmseidel * 203c07ef42SAndrew Rist *************************************************************/ 213c07ef42SAndrew Rist 223c07ef42SAndrew Rist 23cdf0e10cSrcweir 2452fa1ecbSmseidel// 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{ 3352fa1ecbSmseidel Pos = MAP_APPFONT ( 0, 0 ) ; 3452fa1ecbSmseidel Size = MAP_APPFONT ( 200, 180 ) ; 35cdf0e10cSrcweir}; 36cdf0e10cSrcweir 37cdf0e10cSrcweirString STR_SVT_NEWDOC 38cdf0e10cSrcweir{ 3952fa1ecbSmseidel Text [ en-US ] = "New Document" ; 40cdf0e10cSrcweir}; 41cdf0e10cSrcweir 42cdf0e10cSrcweirImage IMG_SVT_NEWDOC 43cdf0e10cSrcweir{ 4452fa1ecbSmseidel ImageBitmap = Bitmap { File = "new_doc.png" ; } ; 45cdf0e10cSrcweir}; 46cdf0e10cSrcweir 47cdf0e10cSrcweirImage IMG_SVT_NEWDOC_HC 48cdf0e10cSrcweir{ 4952fa1ecbSmseidel ImageBitmap = Bitmap { File = "new_doc_h.png" ; } ; 50cdf0e10cSrcweir}; 51cdf0e10cSrcweir 52cdf0e10cSrcweirString STR_SVT_MYDOCS 53cdf0e10cSrcweir{ 5452fa1ecbSmseidel Text [ en-US ] = "My Documents" ; 55cdf0e10cSrcweir}; 56cdf0e10cSrcweir 57cdf0e10cSrcweirImage IMG_SVT_MYDOCS 58cdf0e10cSrcweir{ 5952fa1ecbSmseidel ImageBitmap = Bitmap { File = "my_docs.png" ; } ; 60cdf0e10cSrcweir}; 61cdf0e10cSrcweir 62cdf0e10cSrcweirImage IMG_SVT_MYDOCS_HC 63cdf0e10cSrcweir{ 6452fa1ecbSmseidel ImageBitmap = Bitmap { File = "my_docs_h.png" ; } ; 65cdf0e10cSrcweir}; 66cdf0e10cSrcweir 67cdf0e10cSrcweirString STR_SVT_TEMPLATES 68cdf0e10cSrcweir{ 6952fa1ecbSmseidel Text [ en-US ] = "Templates" ; 70cdf0e10cSrcweir}; 71cdf0e10cSrcweir 72cdf0e10cSrcweirImage IMG_SVT_TEMPLATES 73cdf0e10cSrcweir{ 7452fa1ecbSmseidel ImageBitmap = Bitmap { File = "template.png" ; } ; 75cdf0e10cSrcweir}; 76cdf0e10cSrcweir 77cdf0e10cSrcweirImage IMG_SVT_TEMPLATES_HC 78cdf0e10cSrcweir{ 7952fa1ecbSmseidel ImageBitmap = Bitmap { File = "template_h.png" ; } ; 80cdf0e10cSrcweir}; 81cdf0e10cSrcweir 82cdf0e10cSrcweirString STR_SVT_SAMPLES 83cdf0e10cSrcweir{ 8452fa1ecbSmseidel Text [ en-US ] = "Samples" ; 85cdf0e10cSrcweir}; 86cdf0e10cSrcweir 87cdf0e10cSrcweirImage IMG_SVT_SAMPLES 88cdf0e10cSrcweir{ 8952fa1ecbSmseidel ImageBitmap = Bitmap { File = "samples.png" ; } ; 90cdf0e10cSrcweir}; 91cdf0e10cSrcweir 92cdf0e10cSrcweirImage IMG_SVT_SAMPLES_HC 93cdf0e10cSrcweir{ 9452fa1ecbSmseidel ImageBitmap = Bitmap { File = "samples_h.png" ; } ; 95cdf0e10cSrcweir}; 96cdf0e10cSrcweir 97cdf0e10cSrcweirToolBox TB_SVT_FILEVIEW 98cdf0e10cSrcweir{ 9952fa1ecbSmseidel Pos = MAP_APPFONT ( 0, 0 ) ; 10052fa1ecbSmseidel 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{ 13052fa1ecbSmseidel ImageBitmap = Bitmap { File = "back_small.png" ; } ; 131cdf0e10cSrcweir}; 132cdf0e10cSrcweirImage IMG_SVT_DOCTEMPLATE_BACK_LARGE 133cdf0e10cSrcweir{ 13452fa1ecbSmseidel ImageBitmap = Bitmap { File = "back_large.png" ; } ; 135cdf0e10cSrcweir}; 136cdf0e10cSrcweirImage IMG_SVT_DOCTEMPLATE_PREV_SMALL 137cdf0e10cSrcweir{ 13852fa1ecbSmseidel ImageBitmap = Bitmap { File = "up_small.png" ; } ; 139cdf0e10cSrcweir}; 140cdf0e10cSrcweirImage IMG_SVT_DOCTEMPLATE_PREV_LARGE 141cdf0e10cSrcweir{ 14252fa1ecbSmseidel ImageBitmap = Bitmap { File = "up_large.png" ; } ; 143cdf0e10cSrcweir}; 144cdf0e10cSrcweirImage IMG_SVT_DOCTEMPLATE_PRINT_SMALL 145cdf0e10cSrcweir{ 14652fa1ecbSmseidel ImageBitmap = Bitmap { File = "sc05509.png" ; } ; 147cdf0e10cSrcweir}; 148cdf0e10cSrcweirImage IMG_SVT_DOCTEMPLATE_PRINT_LARGE 149cdf0e10cSrcweir{ 15052fa1ecbSmseidel ImageBitmap = Bitmap { File = "lc05509.png" ; } ; 151cdf0e10cSrcweir}; 152cdf0e10cSrcweirImage IMG_SVT_DOCTEMPL_HC_BACK_SMALL 153cdf0e10cSrcweir{ 15452fa1ecbSmseidel ImageBitmap = Bitmap { File = "back_small_h.png" ; } ; 155cdf0e10cSrcweir}; 156cdf0e10cSrcweirImage IMG_SVT_DOCTEMPL_HC_BACK_LARGE 157cdf0e10cSrcweir{ 15852fa1ecbSmseidel ImageBitmap = Bitmap { File = "back_large_h.png" ; } ; 159cdf0e10cSrcweir}; 160cdf0e10cSrcweirImage IMG_SVT_DOCTEMPL_HC_PREV_SMALL 161cdf0e10cSrcweir{ 16252fa1ecbSmseidel ImageBitmap = Bitmap { File = "up_small_h.png" ; } ; 163cdf0e10cSrcweir}; 164cdf0e10cSrcweirImage IMG_SVT_DOCTEMPL_HC_PREV_LARGE 165cdf0e10cSrcweir{ 16652fa1ecbSmseidel ImageBitmap = Bitmap { File = "up_large_h.png" ; } ; 167cdf0e10cSrcweir}; 168cdf0e10cSrcweirImage IMG_SVT_DOCTEMPL_HC_PRINT_SMALL 169cdf0e10cSrcweir{ 17052fa1ecbSmseidel ImageBitmap = Bitmap { File = "sch05509.png" ; } ; 171cdf0e10cSrcweir}; 172cdf0e10cSrcweirImage IMG_SVT_DOCTEMPL_HC_PRINT_LARGE 173cdf0e10cSrcweir{ 17452fa1ecbSmseidel ImageBitmap = Bitmap { File = "lch05509.png" ; } ; 175cdf0e10cSrcweir}; 176cdf0e10cSrcweir 177cdf0e10cSrcweirToolBox TB_SVT_FRAMEWIN 178cdf0e10cSrcweir{ 17952fa1ecbSmseidel Pos = MAP_APPFONT ( 0, 0 ) ; 18052fa1ecbSmseidel Size = MAP_APPFONT ( 100, 12 ) ; 181cdf0e10cSrcweir ItemList = 182cdf0e10cSrcweir { 183cdf0e10cSrcweir ToolBoxItem 184cdf0e10cSrcweir { 18552fa1ecbSmseidel RadioCheck = TRUE ; 18652fa1ecbSmseidel AutoCheck = TRUE ; 187cdf0e10cSrcweir Identifier = TI_DOCTEMPLATE_DOCINFO; 188cdf0e10cSrcweir HelpId = HID_TEMPLATEDLG_TB_DOCINFO; 189cdf0e10cSrcweir Text [ en-US ] = "Document Properties" ; 190cdf0e10cSrcweir }; 191cdf0e10cSrcweir ToolBoxItem 192cdf0e10cSrcweir { 19352fa1ecbSmseidel RadioCheck = TRUE ; 19452fa1ecbSmseidel 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{ 20452fa1ecbSmseidel ImageBitmap = Bitmap { File = "info_small.png" ; } ; 205cdf0e10cSrcweir}; 206cdf0e10cSrcweirImage IMG_SVT_DOCTEMPLATE_DOCINFO_LARGE 207cdf0e10cSrcweir{ 20852fa1ecbSmseidel ImageBitmap = Bitmap { File = "info_large.png" ; } ; 209cdf0e10cSrcweir}; 210cdf0e10cSrcweirImage IMG_SVT_DOCTEMPLATE_PREVIEW_SMALL 211cdf0e10cSrcweir{ 21252fa1ecbSmseidel ImageBitmap = Bitmap { File = "preview_small.png" ; } ; 213cdf0e10cSrcweir}; 214cdf0e10cSrcweirImage IMG_SVT_DOCTEMPLATE_PREVIEW_LARGE 215cdf0e10cSrcweir{ 21652fa1ecbSmseidel ImageBitmap = Bitmap { File = "preview_large.png" ; } ; 217cdf0e10cSrcweir}; 218cdf0e10cSrcweirImage IMG_SVT_DOCTEMPL_HC_DOCINFO_SMALL 219cdf0e10cSrcweir{ 22052fa1ecbSmseidel ImageBitmap = Bitmap { File = "info_small_h.png" ; } ; 221cdf0e10cSrcweir}; 222cdf0e10cSrcweirImage IMG_SVT_DOCTEMPL_HC_DOCINFO_LARGE 223cdf0e10cSrcweir{ 22452fa1ecbSmseidel ImageBitmap = Bitmap { File = "info_large_h.png" ; } ; 225cdf0e10cSrcweir}; 226cdf0e10cSrcweirImage IMG_SVT_DOCTEMPL_HC_PREVIEW_SMALL 227cdf0e10cSrcweir{ 22852fa1ecbSmseidel ImageBitmap = Bitmap { File = "preview_small_h.png" ; } ; 229cdf0e10cSrcweir}; 230cdf0e10cSrcweirImage IMG_SVT_DOCTEMPL_HC_PREVIEW_LARGE 231cdf0e10cSrcweir{ 23252fa1ecbSmseidel ImageBitmap = Bitmap { File = "preview_large_h.png" ; } ; 233cdf0e10cSrcweir}; 234cdf0e10cSrcweir 235cdf0e10cSrcweirModalDialog DLG_DOCTEMPLATE 236cdf0e10cSrcweir{ 237cdf0e10cSrcweir HelpId = HID_TEMPLATEDLG_DIALOG ; 238cdf0e10cSrcweir OutputSize = TRUE ; 239cdf0e10cSrcweir SVLook = TRUE ; 24052fa1ecbSmseidel Size = MAP_APPFONT ( 320, 250 ) ; 241cdf0e10cSrcweir Text [ en-US ] = "Templates and Documents" ; 242cdf0e10cSrcweir Moveable = TRUE ; 24352fa1ecbSmseidel FixedText FT_DOCTEMPLATE_LINK 24452fa1ecbSmseidel { 24552fa1ecbSmseidel Left = TRUE ; 24652fa1ecbSmseidel Pos = MAP_APPFONT ( 6, 208 ) ; 24752fa1ecbSmseidel Size = MAP_APPFONT ( 311, RSC_CD_FIXEDTEXT_HEIGHT ) ; 24852fa1ecbSmseidel Text [ en-US ] = "~Get more templates online..." ; 24952fa1ecbSmseidel }; 250cdf0e10cSrcweir FixedLine FL_DOCTEMPLATE 251cdf0e10cSrcweir { 25252fa1ecbSmseidel Pos = MAP_APPFONT ( 0, 219 ) ; 25352fa1ecbSmseidel Size = MAP_APPFONT ( 320, 8 ) ; 254cdf0e10cSrcweir }; 255cdf0e10cSrcweir PushButton BTN_DOCTEMPLATE_MANAGE 256cdf0e10cSrcweir { 25752fa1ecbSmseidel HelpID = "svtools:PushButton:DLG_DOCTEMPLATE:BTN_DOCTEMPLATE_MANAGE" ; 25852fa1ecbSmseidel Pos = MAP_APPFONT ( 6, 230 ) ; 25952fa1ecbSmseidel Size = MAP_APPFONT ( 50, 14 ) ; 26052fa1ecbSmseidel Text [ en-US ] = "Organi~ze..." ; 261cdf0e10cSrcweir }; 262cdf0e10cSrcweir PushButton BTN_DOCTEMPLATE_EDIT 263cdf0e10cSrcweir { 26452fa1ecbSmseidel HelpID = "svtools:PushButton:DLG_DOCTEMPLATE:BTN_DOCTEMPLATE_EDIT" ; 26552fa1ecbSmseidel Pos = MAP_APPFONT ( 59, 230 ) ; 26652fa1ecbSmseidel Size = MAP_APPFONT ( 50, 14 ) ; 26752fa1ecbSmseidel Text [ en-US ] = "~Edit" ; 268cdf0e10cSrcweir }; 269cdf0e10cSrcweir OKButton BTN_DOCTEMPLATE_OPEN 270cdf0e10cSrcweir { 27152fa1ecbSmseidel Pos = MAP_APPFONT ( 155, 230 ) ; 27252fa1ecbSmseidel Size = MAP_APPFONT ( 50, 14 ) ; 27352fa1ecbSmseidel DefButton = TRUE ; 27452fa1ecbSmseidel Text [ en-US ] = "~Open" ; 275cdf0e10cSrcweir }; 276cdf0e10cSrcweir CancelButton BTN_DOCTEMPLATE_CANCEL 277cdf0e10cSrcweir { 27852fa1ecbSmseidel Pos = MAP_APPFONT ( 208, 230 ) ; 27952fa1ecbSmseidel Size = MAP_APPFONT ( 50, 14 ) ; 280cdf0e10cSrcweir }; 281cdf0e10cSrcweir HelpButton BTN_DOCTEMPLATE_HELP 282cdf0e10cSrcweir { 28352fa1ecbSmseidel Pos = MAP_APPFONT ( 264, 230 ) ; 28452fa1ecbSmseidel Size = MAP_APPFONT ( 50, 14 ) ; 285cdf0e10cSrcweir }; 286cdf0e10cSrcweir}; 287cdf0e10cSrcweir 288cdf0e10cSrcweirStringArray STRARY_SVT_DOCINFO 289cdf0e10cSrcweir{ 290cdf0e10cSrcweir ItemList [ en-US ] = 291cdf0e10cSrcweir { 29252fa1ecbSmseidel < "Title" ; DI_TITLE ; > ; 29352fa1ecbSmseidel < "By" ; DI_FROM ; > ; 29452fa1ecbSmseidel < "Date" ; DI_DATE ; > ; 29552fa1ecbSmseidel < "Keywords"; DI_KEYWORDS ; > ; 29652fa1ecbSmseidel < "Description" ; DI_DESCRIPTION ; > ; 29752fa1ecbSmseidel < "Type" ; DI_MIMETYPE ; > ; 29852fa1ecbSmseidel < "Modified on" ; DI_MODIFIEDDATE ; > ; 29952fa1ecbSmseidel < "Modified by" ; DI_MODIFIEDBY ; > ; 30052fa1ecbSmseidel < "Printed on" ; DI_PRINTDATE ; > ; 30152fa1ecbSmseidel < "Printed by" ; DI_PRINTBY ; > ; 30252fa1ecbSmseidel < "Subject" ; DI_THEME ; > ; 30352fa1ecbSmseidel < "Size" ; DI_SIZE ; > ; 304cdf0e10cSrcweir }; 305cdf0e10cSrcweir }; 306cdf0e10cSrcweir 307cdf0e10cSrcweirString STR_SVT_NEWDOC_HELP 308cdf0e10cSrcweir{ 30952fa1ecbSmseidel Text [ en-US ] = "Click here to create new documents." ; 310cdf0e10cSrcweir}; 311cdf0e10cSrcweirString STR_SVT_MYDOCS_HELP 312cdf0e10cSrcweir{ 313*66248989Smseidel Text [ en-US ] = "Contains your letters, reports and other documents." ; 314cdf0e10cSrcweir}; 315cdf0e10cSrcweirString STR_SVT_TEMPLATES_HELP 316cdf0e10cSrcweir{ 317*66248989Smseidel Text [ en-US ] = "Contains templates for creating new documents." ; 318cdf0e10cSrcweir}; 319cdf0e10cSrcweirString STR_SVT_SAMPLES_HELP 320cdf0e10cSrcweir{ 321*66248989Smseidel Text [ en-US ] = "Contains a selection of sample letters, reports and other documents." ; 322cdf0e10cSrcweir}; 323cdf0e10cSrcweir 32452fa1ecbSmseidel// ********************************************************************** EOF 325