1*8660f102SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*8660f102SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*8660f102SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*8660f102SAndrew Rist * distributed with this work for additional information 6*8660f102SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*8660f102SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*8660f102SAndrew Rist * "License"); you may not use this file except in compliance 9*8660f102SAndrew Rist * with the License. You may obtain a copy of the License at 10*8660f102SAndrew Rist * 11*8660f102SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*8660f102SAndrew Rist * 13*8660f102SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*8660f102SAndrew Rist * software distributed under the License is distributed on an 15*8660f102SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*8660f102SAndrew Rist * KIND, either express or implied. See the License for the 17*8660f102SAndrew Rist * specific language governing permissions and limitations 18*8660f102SAndrew Rist * under the License. 19*8660f102SAndrew Rist * 20*8660f102SAndrew Rist *************************************************************/ 21*8660f102SAndrew Rist 22*8660f102SAndrew Rist 23cdf0e10cSrcweir // #pragma ****************************************************************** 24cdf0e10cSrcweir 25cdf0e10cSrcweir // #include ***************************************************************** 26cdf0e10cSrcweir#include "envfmt.hrc" 27cdf0e10cSrcweir#include "helpid.h" 28cdf0e10cSrcweir // TP_ENV_FMT --------------------------------------------------------------- 29cdf0e10cSrcweirTabPage TP_ENV_FMT 30cdf0e10cSrcweir{ 31cdf0e10cSrcweir HelpID = HID_ENV_FMT ; 32cdf0e10cSrcweir Size = MAP_APPFONT ( 260 , 185 ) ; 33cdf0e10cSrcweir Hide = TRUE ; 34cdf0e10cSrcweir FixedLine FL_ADDRESSEE 35cdf0e10cSrcweir { 36cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; 37cdf0e10cSrcweir Size = MAP_APPFONT ( 248 , 8 ) ; 38cdf0e10cSrcweir Text [ en-US ] = "Addressee" ; 39cdf0e10cSrcweir }; 40cdf0e10cSrcweir FixedText TXT_ADDR_POS 41cdf0e10cSrcweir { 42cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 14 ) ; 43cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 8 ) ; 44cdf0e10cSrcweir Left = TRUE ; 45cdf0e10cSrcweir Text [ en-US ] = "Position"; 46cdf0e10cSrcweir }; 47cdf0e10cSrcweir FixedText TXT_ADDR_LEFT 48cdf0e10cSrcweir { 49cdf0e10cSrcweir Pos = MAP_APPFONT ( 18 , 27 ) ; 50cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 8 ) ; 51cdf0e10cSrcweir Left = TRUE ; 52cdf0e10cSrcweir Text [ en-US ] = "from left" ; 53cdf0e10cSrcweir }; 54cdf0e10cSrcweir MetricField FLD_ADDR_LEFT 55cdf0e10cSrcweir { 56cdf0e10cSrcweir HelpID = "sw:MetricField:TP_ENV_FMT:FLD_ADDR_LEFT"; 57cdf0e10cSrcweir Border = TRUE ; 58cdf0e10cSrcweir Pos = MAP_APPFONT ( 60 , 25 ) ; 59cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 12 ) ; 60cdf0e10cSrcweir TabStop = TRUE ; 61cdf0e10cSrcweir Left = TRUE ; 62cdf0e10cSrcweir Spin = TRUE ; 63cdf0e10cSrcweir DecimalDigits = 2 ; 64cdf0e10cSrcweir Unit = FUNIT_CM ; 65cdf0e10cSrcweir Minimum = 0 ; 66cdf0e10cSrcweir Maximum = 10000 ; 67cdf0e10cSrcweir First = 0 ; 68cdf0e10cSrcweir Last = 10000 ; 69cdf0e10cSrcweir SpinSize = 10 ; 70cdf0e10cSrcweir Repeat = TRUE ; 71cdf0e10cSrcweir }; 72cdf0e10cSrcweir FixedText TXT_ADDR_TOP 73cdf0e10cSrcweir { 74cdf0e10cSrcweir Pos = MAP_APPFONT ( 18 , 43 ) ; 75cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 8 ) ; 76cdf0e10cSrcweir Left = TRUE ; 77cdf0e10cSrcweir Text [ en-US ] = "from top" ; 78cdf0e10cSrcweir }; 79cdf0e10cSrcweir MetricField FLD_ADDR_TOP 80cdf0e10cSrcweir { 81cdf0e10cSrcweir HelpID = "sw:MetricField:TP_ENV_FMT:FLD_ADDR_TOP"; 82cdf0e10cSrcweir Border = TRUE ; 83cdf0e10cSrcweir Pos = MAP_APPFONT ( 60 , 41 ) ; 84cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 12 ) ; 85cdf0e10cSrcweir TabStop = TRUE ; 86cdf0e10cSrcweir Left = TRUE ; 87cdf0e10cSrcweir Spin = TRUE ; 88cdf0e10cSrcweir DecimalDigits = 2 ; 89cdf0e10cSrcweir Unit = FUNIT_CM ; 90cdf0e10cSrcweir Minimum = 0 ; 91cdf0e10cSrcweir Maximum = 10000 ; 92cdf0e10cSrcweir First = 0 ; 93cdf0e10cSrcweir Last = 10000 ; 94cdf0e10cSrcweir SpinSize = 10 ; 95cdf0e10cSrcweir Repeat = TRUE ; 96cdf0e10cSrcweir }; 97cdf0e10cSrcweir FixedText TXT_ADDR_FORMAT 98cdf0e10cSrcweir { 99cdf0e10cSrcweir Pos = MAP_APPFONT ( 149 , 27 ) ; 100cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 8 ) ; 101cdf0e10cSrcweir Left = TRUE ; 102cdf0e10cSrcweir Text [ en-US ] = "Format"; 103cdf0e10cSrcweir }; 104cdf0e10cSrcweir MenuButton BTN_ADDR_EDIT 105cdf0e10cSrcweir { 106cdf0e10cSrcweir HelpID = "sw:MenuButton:TP_ENV_FMT:BTN_ADDR_EDIT"; 107cdf0e10cSrcweir Pos = MAP_APPFONT ( 194 , 24 ) ; 108cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 109cdf0e10cSrcweir TabStop = TRUE ; 110cdf0e10cSrcweir Text [ en-US ] = "Edit" ; 111cdf0e10cSrcweir }; 112cdf0e10cSrcweir FixedLine FL_SENDER 113cdf0e10cSrcweir { 114cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 56 ) ; 115cdf0e10cSrcweir Size = MAP_APPFONT ( 248 , 8 ) ; 116cdf0e10cSrcweir Text [ en-US ] = "Sender" ; 117cdf0e10cSrcweir }; 118cdf0e10cSrcweir FixedText TXT_SEND_POS 119cdf0e10cSrcweir { 120cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 67 ) ; 121cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 8 ) ; 122cdf0e10cSrcweir Left = TRUE ; 123cdf0e10cSrcweir Text [ en-US ] = "Position"; 124cdf0e10cSrcweir }; 125cdf0e10cSrcweir FixedText TXT_SEND_LEFT 126cdf0e10cSrcweir { 127cdf0e10cSrcweir Pos = MAP_APPFONT ( 18 , 80 ) ; 128cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 8 ) ; 129cdf0e10cSrcweir Left = TRUE ; 130cdf0e10cSrcweir Text [ en-US ] = "from left" ; 131cdf0e10cSrcweir }; 132cdf0e10cSrcweir MetricField FLD_SEND_LEFT 133cdf0e10cSrcweir { 134cdf0e10cSrcweir HelpID = "sw:MetricField:TP_ENV_FMT:FLD_SEND_LEFT"; 135cdf0e10cSrcweir Border = TRUE ; 136cdf0e10cSrcweir Pos = MAP_APPFONT ( 60 , 78 ) ; 137cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 12 ) ; 138cdf0e10cSrcweir TabStop = TRUE ; 139cdf0e10cSrcweir Left = TRUE ; 140cdf0e10cSrcweir Spin = TRUE ; 141cdf0e10cSrcweir DecimalDigits = 2 ; 142cdf0e10cSrcweir Unit = FUNIT_CM ; 143cdf0e10cSrcweir Minimum = 0 ; 144cdf0e10cSrcweir Maximum = 10000 ; 145cdf0e10cSrcweir First = 0 ; 146cdf0e10cSrcweir Last = 10000 ; 147cdf0e10cSrcweir SpinSize = 10 ; 148cdf0e10cSrcweir Repeat = TRUE ; 149cdf0e10cSrcweir }; 150cdf0e10cSrcweir FixedText TXT_SEND_TOP 151cdf0e10cSrcweir { 152cdf0e10cSrcweir Pos = MAP_APPFONT ( 18 , 96 ) ; 153cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 8 ) ; 154cdf0e10cSrcweir Left = TRUE ; 155cdf0e10cSrcweir Text [ en-US ] = "from top" ; 156cdf0e10cSrcweir }; 157cdf0e10cSrcweir MetricField FLD_SEND_TOP 158cdf0e10cSrcweir { 159cdf0e10cSrcweir HelpID = "sw:MetricField:TP_ENV_FMT:FLD_SEND_TOP"; 160cdf0e10cSrcweir Border = TRUE ; 161cdf0e10cSrcweir Pos = MAP_APPFONT ( 60 , 94 ) ; 162cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 12 ) ; 163cdf0e10cSrcweir TabStop = TRUE ; 164cdf0e10cSrcweir Left = TRUE ; 165cdf0e10cSrcweir Spin = TRUE ; 166cdf0e10cSrcweir DecimalDigits = 2 ; 167cdf0e10cSrcweir Unit = FUNIT_CM ; 168cdf0e10cSrcweir Minimum = 0 ; 169cdf0e10cSrcweir Maximum = 10000 ; 170cdf0e10cSrcweir First = 0 ; 171cdf0e10cSrcweir Last = 10000 ; 172cdf0e10cSrcweir SpinSize = 10 ; 173cdf0e10cSrcweir Repeat = TRUE ; 174cdf0e10cSrcweir }; 175cdf0e10cSrcweir FixedText TXT_SEND_FORMAT 176cdf0e10cSrcweir { 177cdf0e10cSrcweir Pos = MAP_APPFONT ( 149 , 80 ) ; 178cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 8 ) ; 179cdf0e10cSrcweir Left = TRUE ; 180cdf0e10cSrcweir Text [ en-US ] = "Format"; 181cdf0e10cSrcweir }; 182cdf0e10cSrcweir MenuButton BTN_SEND_EDIT 183cdf0e10cSrcweir { 184cdf0e10cSrcweir HelpID = "sw:MenuButton:TP_ENV_FMT:BTN_SEND_EDIT"; 185cdf0e10cSrcweir Pos = MAP_APPFONT ( 194 , 77 ) ; 186cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 187cdf0e10cSrcweir Text [ en-US ] = "Edit" ; 188cdf0e10cSrcweir TabStop = TRUE ; 189cdf0e10cSrcweir }; 190cdf0e10cSrcweir FixedLine FL_SIZE 191cdf0e10cSrcweir { 192cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 109 ) ; 193cdf0e10cSrcweir Size = MAP_APPFONT ( 148 , 8 ) ; 194cdf0e10cSrcweir Text [ en-US ] = "Size" ; 195cdf0e10cSrcweir }; 196cdf0e10cSrcweir FixedText TXT_SIZE_FORMAT 197cdf0e10cSrcweir { 198cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 122 ) ; 199cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 8 ) ; 200cdf0e10cSrcweir Text [ en-US ] = "F~ormat" ; 201cdf0e10cSrcweir Left = TRUE ; 202cdf0e10cSrcweir }; 203cdf0e10cSrcweir ListBox BOX_SIZE_FORMAT 204cdf0e10cSrcweir { 205cdf0e10cSrcweir HelpID = "sw:ListBox:TP_ENV_FMT:BOX_SIZE_FORMAT"; 206cdf0e10cSrcweir Border = TRUE ; 207cdf0e10cSrcweir Pos = MAP_APPFONT ( 60 , 120 ) ; 208cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 72 ) ; 209cdf0e10cSrcweir TabStop = TRUE ; 210cdf0e10cSrcweir DropDown = TRUE ; 211cdf0e10cSrcweir }; 212cdf0e10cSrcweir FixedText TXT_SIZE_WIDTH 213cdf0e10cSrcweir { 214cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 138 ) ; 215cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 8 ) ; 216cdf0e10cSrcweir Text [ en-US ] = "~Width" ; 217cdf0e10cSrcweir Left = TRUE ; 218cdf0e10cSrcweir }; 219cdf0e10cSrcweir MetricField FLD_SIZE_WIDTH 220cdf0e10cSrcweir { 221cdf0e10cSrcweir HelpID = "sw:MetricField:TP_ENV_FMT:FLD_SIZE_WIDTH"; 222cdf0e10cSrcweir Border = TRUE ; 223cdf0e10cSrcweir Pos = MAP_APPFONT ( 60 , 136 ) ; 224cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 12 ) ; 225cdf0e10cSrcweir TabStop = TRUE ; 226cdf0e10cSrcweir Left = TRUE ; 227cdf0e10cSrcweir Spin = TRUE ; 228cdf0e10cSrcweir DecimalDigits = 2 ; 229cdf0e10cSrcweir Unit = FUNIT_CM ; 230cdf0e10cSrcweir Minimum = 500 ; 231cdf0e10cSrcweir Maximum = 10000 ; 232cdf0e10cSrcweir First = 500 ; 233cdf0e10cSrcweir Last = 10000 ; 234cdf0e10cSrcweir SpinSize = 10 ; 235cdf0e10cSrcweir Repeat = TRUE ; 236cdf0e10cSrcweir }; 237cdf0e10cSrcweir FixedText TXT_SIZE_HEIGHT 238cdf0e10cSrcweir { 239cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 154 ) ; 240cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 8 ) ; 241cdf0e10cSrcweir Left = TRUE ; 242cdf0e10cSrcweir Text [ en-US ] = "~Height" ; 243cdf0e10cSrcweir }; 244cdf0e10cSrcweir MetricField FLD_SIZE_HEIGHT 245cdf0e10cSrcweir { 246cdf0e10cSrcweir HelpID = "sw:MetricField:TP_ENV_FMT:FLD_SIZE_HEIGHT"; 247cdf0e10cSrcweir Border = TRUE ; 248cdf0e10cSrcweir Pos = MAP_APPFONT ( 60 , 152 ) ; 249cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 12 ) ; 250cdf0e10cSrcweir TabStop = TRUE ; 251cdf0e10cSrcweir Left = TRUE ; 252cdf0e10cSrcweir Spin = TRUE ; 253cdf0e10cSrcweir DecimalDigits = 2 ; 254cdf0e10cSrcweir Unit = FUNIT_CM ; 255cdf0e10cSrcweir Minimum = 500 ; 256cdf0e10cSrcweir Maximum = 10000 ; 257cdf0e10cSrcweir First = 500 ; 258cdf0e10cSrcweir Last = 10000 ; 259cdf0e10cSrcweir SpinSize = 10 ; 260cdf0e10cSrcweir Repeat = TRUE ; 261cdf0e10cSrcweir }; 262cdf0e10cSrcweir Window WIN_PREVIEW 263cdf0e10cSrcweir { 264cdf0e10cSrcweir Border = TRUE ; 265cdf0e10cSrcweir Pos = MAP_APPFONT ( 160 , 116 ) ; 266cdf0e10cSrcweir Size = MAP_APPFONT ( 84 , 63 ) ; 267cdf0e10cSrcweir }; 268cdf0e10cSrcweir}; 269cdf0e10cSrcweir // Menu ********************************************************************* 270cdf0e10cSrcweirMenu MNU_EDIT 271cdf0e10cSrcweir{ 272cdf0e10cSrcweir ItemList = 273cdf0e10cSrcweir { 274cdf0e10cSrcweir MenuItem 275cdf0e10cSrcweir { 276cdf0e10cSrcweir IDENTIFIER = MID_CHAR ; 277cdf0e10cSrcweir Text [ en-US ] = "C~haracter..." ; 278cdf0e10cSrcweir }; 279cdf0e10cSrcweir MenuItem 280cdf0e10cSrcweir { 281cdf0e10cSrcweir IDENTIFIER = MID_PARA ; 282cdf0e10cSrcweir Text [ en-US ] = "P~aragraph..." ; 283cdf0e10cSrcweir }; 284cdf0e10cSrcweir }; 285cdf0e10cSrcweir}; 286cdf0e10cSrcweir 287cdf0e10cSrcweir 288cdf0e10cSrcweir 289cdf0e10cSrcweir 290cdf0e10cSrcweir 291cdf0e10cSrcweir 292cdf0e10cSrcweir 293cdf0e10cSrcweir 294cdf0e10cSrcweir 295cdf0e10cSrcweir 296cdf0e10cSrcweir 297cdf0e10cSrcweir 298cdf0e10cSrcweir 299cdf0e10cSrcweir 300cdf0e10cSrcweir 301cdf0e10cSrcweir 302cdf0e10cSrcweir 303cdf0e10cSrcweir 304cdf0e10cSrcweir 305cdf0e10cSrcweir 306cdf0e10cSrcweir 307cdf0e10cSrcweir 308cdf0e10cSrcweir 309cdf0e10cSrcweir 310cdf0e10cSrcweir 311cdf0e10cSrcweir 312cdf0e10cSrcweir 313cdf0e10cSrcweir 314cdf0e10cSrcweir 315cdf0e10cSrcweir 316cdf0e10cSrcweir 317cdf0e10cSrcweir 318cdf0e10cSrcweir 319cdf0e10cSrcweir 320cdf0e10cSrcweir 321