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// include --------------------------------------------------------------- 23#include <sfx2/sfx.hrc> 24#include "doc.hrc" 25#include "new.hrc" 26#include <sfx2/sfxcommands.h> 27 28// pragma ---------------------------------------------------------------- 29 30// DLG_NEW_FILE ---------------------------------------------------------- 31ModalDialog DLG_NEW_FILE 32{ 33 HelpId = CMD_SID_NEWDOC ; 34 OutputSize = TRUE ; 35 SVLook = TRUE ; 36 Size = MAP_APPFONT ( 336, 96 ) ; 37 Text [ en-US ] = "New" ; 38 Moveable = TRUE ; 39 OKButton BT_OK 40 { 41 Pos = MAP_APPFONT ( 274, 6 ) ; 42 Size = MAP_APPFONT ( 56, 14 ) ; 43 DefButton = TRUE ; 44 }; 45 CancelButton BT_CANCEL 46 { 47 Pos = MAP_APPFONT ( 274, 23 ) ; 48 Size = MAP_APPFONT ( 56, 14 ) ; 49 }; 50 HelpButton BT_HELP 51 { 52 Pos = MAP_APPFONT ( 274, 43 ) ; 53 Size = MAP_APPFONT ( 56, 14 ) ; 54 }; 55 ListBox LB_REGION 56 { 57 HelpID = "sfx2:ListBox:DLG_NEW_FILE:LB_REGION" ; 58 Border = TRUE ; 59 Pos = MAP_APPFONT ( 6, 18 ) ; 60 Size = MAP_APPFONT ( 127, 72 ) ; 61 CurPos = 0 ; 62 }; 63 FixedText FT_REGION 64 { 65 Pos = MAP_APPFONT ( 6, 6 ) ; 66 Size = MAP_APPFONT ( 97, 10 ) ; 67 Text [ en-US ] = "~Categories" ; 68 Left = TRUE ; 69 }; 70 FixedText FT_TEMPLATE 71 { 72 Pos = MAP_APPFONT ( 139, 6 ) ; 73 Size = MAP_APPFONT ( 97, 10 ) ; 74 Text [ en-US ] = "T~emplates" ; 75 Left = TRUE ; 76 }; 77 ListBox LB_TEMPLATE 78 { 79 HelpID = "sfx2:ListBox:DLG_NEW_FILE:LB_TEMPLATE" ; 80 Border = TRUE ; 81 Pos = MAP_APPFONT ( 139, 18 ) ; 82 Size = MAP_APPFONT ( 127, 72 ) ; 83 CurPos = 0 ; 84 }; 85 MoreButton BT_MORE 86 { 87 HelpID = "sfx2:MoreButton:DLG_NEW_FILE:BT_MORE" ; 88 Pos = MAP_APPFONT ( 274, 70 ) ; 89 Size = MAP_APPFONT ( 56, 14 ) ; 90 Text [ en-US ] = "~More" ; 91 Delta = 148 ; 92 MapUnit = MAP_APPFONT ; 93 }; 94 Window WIN_PREVIEW 95 { 96 Border = TRUE ; 97 Pos = MAP_APPFONT ( 6, 110 ) ; 98 Size = MAP_APPFONT ( 127, 129 ) ; 99 Hide = TRUE ; 100 SVLook = FALSE ; 101 }; 102 CheckBox BTN_PREVIEW 103 { 104 HelpID = "sfx2:CheckBox:DLG_NEW_FILE:BTN_PREVIEW" ; 105 Pos = MAP_APPFONT ( 6, 96 ) ; 106 Size = MAP_APPFONT ( 97, 10 ) ; 107 Text [ en-US ] = "Pre~view" ; 108 Hide = TRUE ; 109 }; 110 FixedLine GB_DOCINFO 111 { 112 Pos = MAP_APPFONT ( 139, 97 ) ; 113 Size = MAP_APPFONT ( 186, 8 ) ; 114 Hide = TRUE ; 115 Text [ en-US ] = "Description" ; 116 }; 117 CheckBox CB_TEXT_STYLE 118 { 119 HelpID = "sfx2:CheckBox:DLG_NEW_FILE:CB_TEXT_STYLE" ; 120 Pos = MAP_APPFONT ( 6, 94 ) ; 121 Size = MAP_APPFONT ( 50, 10 ) ; 122 Hide = TRUE ; 123 Text [ en-US ] = "Te~xt" ; 124 }; 125 CheckBox CB_FRAME_STYLE 126 { 127 HelpID = "sfx2:CheckBox:DLG_NEW_FILE:CB_FRAME_STYLE" ; 128 Pos = MAP_APPFONT ( 60, 94 ) ; 129 Size = MAP_APPFONT ( 50, 10 ) ; 130 Hide = TRUE ; 131 Text [ en-US ] = "~Frame" ; 132 }; 133 CheckBox CB_PAGE_STYLE 134 { 135 HelpID = "sfx2:CheckBox:DLG_NEW_FILE:CB_PAGE_STYLE" ; 136 Pos = MAP_APPFONT ( 114, 94 ) ; 137 Size = MAP_APPFONT ( 50, 10 ) ; 138 Hide = TRUE ; 139 Text [ en-US ] = "~Pages" ; 140 }; 141 CheckBox CB_NUM_STYLE 142 { 143 HelpID = "sfx2:CheckBox:DLG_NEW_FILE:CB_NUM_STYLE" ; 144 Pos = MAP_APPFONT ( 168, 94 ) ; 145 Size = MAP_APPFONT ( 50, 10 ) ; 146 Hide = TRUE ; 147 Text [ en-US ] = "N~umbering" ; 148 }; 149 CheckBox CB_MERGE_STYLE 150 { 151 HelpID = "sfx2:CheckBox:DLG_NEW_FILE:CB_MERGE_STYLE" ; 152 Pos = MAP_APPFONT ( 222, 94 ) ; 153 Size = MAP_APPFONT ( 50, 10 ) ; 154 Hide = TRUE ; 155 Text [ en-US ] = "~Overwrite" ; 156 }; 157 PushButton PB_LOAD_FILE 158 { 159 HelpID = "sfx2:PushButton:DLG_NEW_FILE:PB_LOAD_FILE" ; 160 Pos = MAP_APPFONT ( 274, 92 ) ; 161 Size = MAP_APPFONT ( 56, 14 ) ; 162 Hide = TRUE ; 163 Text [ en-US ] = "From File..." ; 164 }; 165 String STR_LOAD_TEMPLATE 166 { 167 Text [ en-US ] = "Load Styles" ; 168 }; 169 FixedText FT_TITLE 170 { 171 Pos = MAP_APPFONT ( 145, 108 ) ; 172 Size = MAP_APPFONT ( 175, 10 ) ; 173 Text [ en-US ] = "~Title" ; 174 Hide = TRUE ; 175 }; 176 Edit ED_TITLE 177 { 178 HelpID = "sfx2:Edit:DLG_NEW_FILE:ED_TITLE" ; 179 Border = TRUE ; 180 Pos = MAP_APPFONT ( 145, 121 ) ; 181 Size = MAP_APPFONT ( 175, 12 ) ; 182 ReadOnly = TRUE ; 183 Hide = TRUE ; 184 }; 185 FixedText FT_THEMA 186 { 187 Pos = MAP_APPFONT ( 145, 135 ) ; 188 Size = MAP_APPFONT ( 175, 10 ) ; 189 Text [ en-US ] = "Subject" ; 190 Hide = TRUE ; 191 }; 192 Edit ED_THEMA 193 { 194 HelpID = "sfx2:Edit:DLG_NEW_FILE:ED_THEMA" ; 195 Border = TRUE ; 196 Pos = MAP_APPFONT ( 145, 148 ) ; 197 Size = MAP_APPFONT ( 175, 12 ) ; 198 ReadOnly = TRUE ; 199 Hide = TRUE ; 200 }; 201 FixedText FT_KEYWORDS 202 { 203 Pos = MAP_APPFONT ( 145, 162 ) ; 204 Size = MAP_APPFONT ( 175, 10 ) ; 205 Text [ en-US ] = "~Key words" ; 206 Hide = TRUE ; 207 }; 208 Edit ED_KEYWORDS 209 { 210 HelpID = "sfx2:Edit:DLG_NEW_FILE:ED_KEYWORDS" ; 211 Border = TRUE ; 212 Pos = MAP_APPFONT ( 145, 175 ) ; 213 Size = MAP_APPFONT ( 175, 12 ) ; 214 ReadOnly = TRUE ; 215 Hide = TRUE ; 216 }; 217 FixedText FT_DESC 218 { 219 Pos = MAP_APPFONT ( 145, 189 ) ; 220 Size = MAP_APPFONT ( 175, 10 ) ; 221 Text [ en-US ] = "~Description" ; 222 Hide = TRUE ; 223 }; 224 MultiLineEdit ED_DESC 225 { 226 HelpID = "sfx2:MultiLineEdit:DLG_NEW_FILE:ED_DESC" ; 227 Border = TRUE ; 228 Pos = MAP_APPFONT ( 144, 202 ) ; 229 Size = MAP_APPFONT ( 175, 32 ) ; 230 IgnoreTab = TRUE ; 231 ReadOnly = TRUE ; 232 Hide = TRUE ; 233 }; 234 ExtraData = 235 { 236 103; 237 44; 238 }; 239}; 240 241// ********************************************************************** EOF 242