1*a1b4a26bSAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 3*a1b4a26bSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*a1b4a26bSAndrew Rist * or more contributor license agreements. See the NOTICE file 5*a1b4a26bSAndrew Rist * distributed with this work for additional information 6*a1b4a26bSAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*a1b4a26bSAndrew Rist * to you under the Apache License, Version 2.0 (the 8*a1b4a26bSAndrew Rist * "License"); you may not use this file except in compliance 9*a1b4a26bSAndrew Rist * with the License. You may obtain a copy of the License at 10*a1b4a26bSAndrew Rist * 11*a1b4a26bSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*a1b4a26bSAndrew Rist * 13*a1b4a26bSAndrew Rist * Unless required by applicable law or agreed to in writing, 14*a1b4a26bSAndrew Rist * software distributed under the License is distributed on an 15*a1b4a26bSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*a1b4a26bSAndrew Rist * KIND, either express or implied. See the License for the 17*a1b4a26bSAndrew Rist * specific language governing permissions and limitations 18*a1b4a26bSAndrew Rist * under the License. 19*a1b4a26bSAndrew Rist * 20*a1b4a26bSAndrew Rist *************************************************************/ 21*a1b4a26bSAndrew Rist 22*a1b4a26bSAndrew Rist 23cdf0e10cSrcweir package com.sun.star.wizards.letter; 24cdf0e10cSrcweir 25cdf0e10cSrcweir import com.sun.star.awt.*; 26cdf0e10cSrcweir import com.sun.star.lang.XMultiServiceFactory; 27cdf0e10cSrcweir import com.sun.star.wizards.common.*; 28cdf0e10cSrcweir import com.sun.star.wizards.ui.*; 29cdf0e10cSrcweir 30cdf0e10cSrcweir public abstract class LetterWizardDialog extends WizardDialog implements LetterWizardDialogConst, UIConsts 31cdf0e10cSrcweir { 32cdf0e10cSrcweir //GUI Components as Class members. 33cdf0e10cSrcweir XRadioButton optBusinessLetter; 34cdf0e10cSrcweir XListBox lstBusinessStyle; 35cdf0e10cSrcweir XCheckBox chkBusinessPaper; 36cdf0e10cSrcweir XRadioButton optPrivOfficialLetter; 37cdf0e10cSrcweir XListBox lstPrivOfficialStyle; 38cdf0e10cSrcweir XRadioButton optPrivateLetter; 39cdf0e10cSrcweir XListBox lstPrivateStyle; 40cdf0e10cSrcweir XFixedText lblBusinessStyle; 41cdf0e10cSrcweir XFixedText lblPrivOfficialStyle; 42cdf0e10cSrcweir XFixedText lblTitle1; 43cdf0e10cSrcweir XFixedText lblPrivateStyle; 44cdf0e10cSrcweir XFixedText lblIntroduction; 45cdf0e10cSrcweir //Image Control 46cdf0e10cSrcweir XControl ImageControl3; 47cdf0e10cSrcweir XCheckBox chkPaperCompanyLogo; 48cdf0e10cSrcweir XNumericField numLogoHeight; 49cdf0e10cSrcweir XNumericField numLogoX; 50cdf0e10cSrcweir XNumericField numLogoWidth; 51cdf0e10cSrcweir XNumericField numLogoY; 52cdf0e10cSrcweir XCheckBox chkPaperCompanyAddress; 53cdf0e10cSrcweir XNumericField numAddressHeight; 54cdf0e10cSrcweir XNumericField numAddressX; 55cdf0e10cSrcweir XNumericField numAddressWidth; 56cdf0e10cSrcweir XNumericField numAddressY; 57cdf0e10cSrcweir XCheckBox chkCompanyReceiver; 58cdf0e10cSrcweir XCheckBox chkPaperFooter; 59cdf0e10cSrcweir XNumericField numFooterHeight; 60cdf0e10cSrcweir XFixedText lblLogoHeight; 61cdf0e10cSrcweir XFixedText lblLogoWidth; 62cdf0e10cSrcweir //Fixed Line 63cdf0e10cSrcweir XControl FixedLine5; 64cdf0e10cSrcweir //Fixed Line 65cdf0e10cSrcweir XControl FixedLine6; 66cdf0e10cSrcweir XFixedText lblFooterHeight; 67cdf0e10cSrcweir XFixedText lblLogoX; 68cdf0e10cSrcweir XFixedText lblLogoY; 69cdf0e10cSrcweir XFixedText lblAddressHeight; 70cdf0e10cSrcweir XFixedText lblAddressWidth; 71cdf0e10cSrcweir XFixedText lblAddressX; 72cdf0e10cSrcweir XFixedText lblAddressY; 73cdf0e10cSrcweir XFixedText lblTitle2; 74cdf0e10cSrcweir XListBox lstLetterNorm; 75cdf0e10cSrcweir XCheckBox chkUseLogo; 76cdf0e10cSrcweir XCheckBox chkUseAddressReceiver; 77cdf0e10cSrcweir XCheckBox chkUseSigns; 78cdf0e10cSrcweir XCheckBox chkUseSubject; 79cdf0e10cSrcweir XCheckBox chkUseSalutation; 80cdf0e10cSrcweir XComboBox lstSalutation; 81cdf0e10cSrcweir XCheckBox chkUseBendMarks; 82cdf0e10cSrcweir XCheckBox chkUseGreeting; 83cdf0e10cSrcweir XComboBox lstGreeting; 84cdf0e10cSrcweir XCheckBox chkUseFooter; 85cdf0e10cSrcweir XFixedText lblLetterNorm; 86cdf0e10cSrcweir XFixedText lblTitle3; 87cdf0e10cSrcweir XRadioButton optSenderPlaceholder; 88cdf0e10cSrcweir XRadioButton optSenderDefine; 89cdf0e10cSrcweir XTextComponent txtSenderName; 90cdf0e10cSrcweir XTextComponent txtSenderStreet; 91cdf0e10cSrcweir XTextComponent txtSenderPostCode; 92cdf0e10cSrcweir XTextComponent txtSenderState; 93cdf0e10cSrcweir XTextComponent txtSenderCity; 94cdf0e10cSrcweir XRadioButton optReceiverPlaceholder; 95cdf0e10cSrcweir XRadioButton optReceiverDatabase; 96cdf0e10cSrcweir XFixedText lblSenderAddress; 97cdf0e10cSrcweir //Fixed Line 98cdf0e10cSrcweir XControl FixedLine2; 99cdf0e10cSrcweir XFixedText lblReceiverAddress; 100cdf0e10cSrcweir XFixedText lblSenderName; 101cdf0e10cSrcweir XFixedText lblSenderStreet; 102cdf0e10cSrcweir XFixedText lblPostCodeCity; 103cdf0e10cSrcweir XFixedText lblTitle4; 104cdf0e10cSrcweir XTextComponent txtFooter; 105cdf0e10cSrcweir XCheckBox chkFooterNextPages; 106cdf0e10cSrcweir XCheckBox chkFooterPageNumbers; 107cdf0e10cSrcweir XFixedText lblFooter; 108cdf0e10cSrcweir XFixedText lblTitle5; 109cdf0e10cSrcweir XTextComponent txtTemplateName; 110cdf0e10cSrcweir //File Control 111cdf0e10cSrcweir XControl fileTemplatePath; 112cdf0e10cSrcweir XRadioButton optCreateLetter; 113cdf0e10cSrcweir XRadioButton optMakeChanges; 114cdf0e10cSrcweir XFixedText lblFinalExplanation1; 115cdf0e10cSrcweir XFixedText lblProceed; 116cdf0e10cSrcweir XFixedText lblFinalExplanation2; 117cdf0e10cSrcweir //Image Control 118cdf0e10cSrcweir XControl ImageControl2; 119cdf0e10cSrcweir XFixedText lblTemplateName; 120cdf0e10cSrcweir XFixedText lblTemplatePath; 121cdf0e10cSrcweir XFixedText lblTitle6; 122cdf0e10cSrcweir XFixedText Label9; 123cdf0e10cSrcweir //Font Descriptors as Class members. 124cdf0e10cSrcweir FontDescriptor fontDescriptor1 = new FontDescriptor(); 125cdf0e10cSrcweir FontDescriptor fontDescriptor2 = new FontDescriptor(); 126cdf0e10cSrcweir FontDescriptor fontDescriptor5 = new FontDescriptor(); 127cdf0e10cSrcweir FontDescriptor fontDescriptor6 = new FontDescriptor(); //Resources Object 128cdf0e10cSrcweir LetterWizardDialogResources resources; 129cdf0e10cSrcweir LetterWizardDialog(XMultiServiceFactory xmsf)130cdf0e10cSrcweir public LetterWizardDialog(XMultiServiceFactory xmsf) 131cdf0e10cSrcweir { 132cdf0e10cSrcweir super(xmsf, HIDMAIN); 133cdf0e10cSrcweir //Load Resources 134cdf0e10cSrcweir resources = new LetterWizardDialogResources(xmsf); 135cdf0e10cSrcweir 136cdf0e10cSrcweir 137cdf0e10cSrcweir //set dialog properties... 138cdf0e10cSrcweir Helper.setUnoPropertyValues(xDialogModel, 139cdf0e10cSrcweir new String[] 140cdf0e10cSrcweir { 141cdf0e10cSrcweir PropertyNames.PROPERTY_CLOSEABLE, PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_MOVEABLE, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_TITLE, PropertyNames.PROPERTY_WIDTH 142cdf0e10cSrcweir }, 143cdf0e10cSrcweir new Object[] 144cdf0e10cSrcweir { 145cdf0e10cSrcweir Boolean.TRUE, 210, Boolean.TRUE, "LetterWizardDialog", 104, 52, INTEGERS[1], new Short((short) 1), resources.resLetterWizardDialog_title, 310 146cdf0e10cSrcweir }); 147cdf0e10cSrcweir 148cdf0e10cSrcweir 149cdf0e10cSrcweir 150cdf0e10cSrcweir //Set member- FontDescriptors... 151cdf0e10cSrcweir fontDescriptor1.Weight = 150; 152cdf0e10cSrcweir fontDescriptor1.Underline = com.sun.star.awt.FontUnderline.SINGLE; 153cdf0e10cSrcweir fontDescriptor2.Weight = 100; 154cdf0e10cSrcweir fontDescriptor5.Weight = 100; 155cdf0e10cSrcweir fontDescriptor6.Weight = 150; 156cdf0e10cSrcweir } 157cdf0e10cSrcweir //build components buildStep1()158cdf0e10cSrcweir public void buildStep1() 159cdf0e10cSrcweir { 160cdf0e10cSrcweir optBusinessLetter = insertRadioButton("optBusinessLetter", OPTBUSINESSLETTER_ITEM_CHANGED, 161cdf0e10cSrcweir new String[] 162cdf0e10cSrcweir { 163cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 164cdf0e10cSrcweir }, 165cdf0e10cSrcweir new Object[] 166cdf0e10cSrcweir { 167cdf0e10cSrcweir INTEGERS[8], HelpIds.getHelpIdString(HID + 1), resources.resoptBusinessLetter_value, "optBusinessLetter", 97, 28, INTEGERS[1], new Short((short) 1), 184 168cdf0e10cSrcweir }); 169cdf0e10cSrcweir optPrivOfficialLetter = insertRadioButton("optPrivOfficialLetter", OPTPRIVOFFICIALLETTER_ITEM_CHANGED, 170cdf0e10cSrcweir new String[] 171cdf0e10cSrcweir { 172cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 173cdf0e10cSrcweir }, 174cdf0e10cSrcweir new Object[] 175cdf0e10cSrcweir { 176cdf0e10cSrcweir INTEGERS[8], HelpIds.getHelpIdString(HID + 2), resources.resoptPrivOfficialLetter_value, "optPrivOfficialLetter", 97, 74, INTEGERS[1], new Short((short) 2), 184 177cdf0e10cSrcweir }); 178cdf0e10cSrcweir optPrivateLetter = insertRadioButton("optPrivateLetter", OPTPRIVATELETTER_ITEM_CHANGED, 179cdf0e10cSrcweir new String[] 180cdf0e10cSrcweir { 181cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 182cdf0e10cSrcweir }, 183cdf0e10cSrcweir new Object[] 184cdf0e10cSrcweir { 185cdf0e10cSrcweir INTEGERS[8], HelpIds.getHelpIdString(HID + 3), resources.resoptPrivateLetter_value, "optPrivateLetter", 97, 106, INTEGERS[1], new Short((short) 3), 184 186cdf0e10cSrcweir }); 187cdf0e10cSrcweir lstBusinessStyle = insertListBox("lstBusinessStyle", LSTBUSINESSSTYLE_ACTION_PERFORMED, LSTBUSINESSSTYLE_ITEM_CHANGED, 188cdf0e10cSrcweir new String[] 189cdf0e10cSrcweir { 190cdf0e10cSrcweir "Dropdown", PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 191cdf0e10cSrcweir }, 192cdf0e10cSrcweir new Object[] 193cdf0e10cSrcweir { 194cdf0e10cSrcweir Boolean.TRUE, INTEGER_12, HelpIds.getHelpIdString(HID + 4), "lstBusinessStyle", 180, INTEGER_40, INTEGERS[1], new Short((short) 4), 74 195cdf0e10cSrcweir }); 196cdf0e10cSrcweir chkBusinessPaper = insertCheckBox("chkBusinessPaper", CHKBUSINESSPAPER_ITEM_CHANGED, 197cdf0e10cSrcweir new String[] 198cdf0e10cSrcweir { 199cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STATE, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 200cdf0e10cSrcweir }, 201cdf0e10cSrcweir new Object[] 202cdf0e10cSrcweir { 203cdf0e10cSrcweir INTEGERS[8], HelpIds.getHelpIdString(HID + 5), resources.reschkBusinessPaper_value, "chkBusinessPaper", 110, 56, new Short((short) 0), INTEGERS[1], new Short((short) 5), 168 204cdf0e10cSrcweir }); 205cdf0e10cSrcweir lstPrivOfficialStyle = insertListBox("lstPrivOfficialStyle", LSTPRIVOFFICIALSTYLE_ACTION_PERFORMED, LSTPRIVOFFICIALSTYLE_ITEM_CHANGED, 206cdf0e10cSrcweir new String[] 207cdf0e10cSrcweir { 208cdf0e10cSrcweir "Dropdown", PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 209cdf0e10cSrcweir }, 210cdf0e10cSrcweir new Object[] 211cdf0e10cSrcweir { 212cdf0e10cSrcweir Boolean.TRUE, INTEGER_12, HelpIds.getHelpIdString(HID + 6), "lstPrivOfficialStyle", 180, 86, INTEGERS[1], new Short((short) 6), 74 213cdf0e10cSrcweir }); 214cdf0e10cSrcweir lstPrivateStyle = insertListBox("lstPrivateStyle", LSTPRIVATESTYLE_ACTION_PERFORMED, LSTPRIVATESTYLE_ITEM_CHANGED, 215cdf0e10cSrcweir new String[] 216cdf0e10cSrcweir { 217cdf0e10cSrcweir "Dropdown", PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 218cdf0e10cSrcweir }, 219cdf0e10cSrcweir new Object[] 220cdf0e10cSrcweir { 221cdf0e10cSrcweir Boolean.TRUE, INTEGER_12, HelpIds.getHelpIdString(HID + 7), "lstPrivateStyle", 180, 118, INTEGERS[1], new Short((short) 7), 74 222cdf0e10cSrcweir }); 223cdf0e10cSrcweir lblBusinessStyle = insertLabel("lblBusinessStyle", 224cdf0e10cSrcweir new String[] 225cdf0e10cSrcweir { 226cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 227cdf0e10cSrcweir }, 228cdf0e10cSrcweir new Object[] 229cdf0e10cSrcweir { 230cdf0e10cSrcweir INTEGERS[8], resources.reslblBusinessStyle_value, "lblBusinessStyle", 110, 42, INTEGERS[1], new Short((short) 48), 60 231cdf0e10cSrcweir }); 232cdf0e10cSrcweir lblPrivOfficialStyle = insertLabel("lblPrivOfficialStyle", 233cdf0e10cSrcweir new String[] 234cdf0e10cSrcweir { 235cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 236cdf0e10cSrcweir }, 237cdf0e10cSrcweir new Object[] 238cdf0e10cSrcweir { 239cdf0e10cSrcweir INTEGERS[8], resources.reslblPrivOfficialStyle_value, "lblPrivOfficialStyle", 110, 88, INTEGERS[1], new Short((short) 49), 60 240cdf0e10cSrcweir }); 241cdf0e10cSrcweir lblTitle1 = insertLabel("lblTitle1", 242cdf0e10cSrcweir new String[] 243cdf0e10cSrcweir { 244cdf0e10cSrcweir PropertyNames.FONT_DESCRIPTOR, PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_MULTILINE, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 245cdf0e10cSrcweir }, 246cdf0e10cSrcweir new Object[] 247cdf0e10cSrcweir { 248cdf0e10cSrcweir fontDescriptor6, INTEGER_16, resources.reslblTitle1_value, Boolean.TRUE, "lblTitle1", 91, INTEGERS[8], INTEGERS[1], new Short((short) 55), 212 249cdf0e10cSrcweir }); 250cdf0e10cSrcweir lblPrivateStyle = insertLabel("lblPrivateStyle", 251cdf0e10cSrcweir new String[] 252cdf0e10cSrcweir { 253cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 254cdf0e10cSrcweir }, 255cdf0e10cSrcweir new Object[] 256cdf0e10cSrcweir { 257cdf0e10cSrcweir INTEGERS[8], resources.reslblPrivateStyle_value, "lblPrivateStyle", 110, 120, INTEGERS[1], new Short((short) 74), 60 258cdf0e10cSrcweir }); 259cdf0e10cSrcweir lblIntroduction = insertLabel("lblIntroduction", 260cdf0e10cSrcweir new String[] 261cdf0e10cSrcweir { 262cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_MULTILINE, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 263cdf0e10cSrcweir }, 264cdf0e10cSrcweir new Object[] 265cdf0e10cSrcweir { 266cdf0e10cSrcweir 39, resources.reslblIntroduction_value, Boolean.TRUE, "lblIntroduction", 104, 145, INTEGERS[1], new Short((short) 80), 199 267cdf0e10cSrcweir }); 268cdf0e10cSrcweir ImageControl3 = insertInfoImage(92, 145, 1); 269cdf0e10cSrcweir 270cdf0e10cSrcweir // ImageControl3 = insertImage("ImageControl3", 271cdf0e10cSrcweir // new String[] {PropertyNames.PROPERTY_BORDER, PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_IMAGEURL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, "ScaleImage", PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH}, 272cdf0e10cSrcweir // new Object[] { new Short((short)0), INTEGERS[10],"private:resource/dbu/image/19205","ImageControl3",92,145,Boolean.FALSE,INTEGERS[1],new Short((short)81),INTEGERS[10]} 273cdf0e10cSrcweir // ); 274cdf0e10cSrcweir } 275cdf0e10cSrcweir buildStep2()276cdf0e10cSrcweir public void buildStep2() 277cdf0e10cSrcweir { 278cdf0e10cSrcweir chkPaperCompanyLogo = insertCheckBox("chkPaperCompanyLogo", CHKPAPERCOMPANYLOGO_ITEM_CHANGED, 279cdf0e10cSrcweir new String[] 280cdf0e10cSrcweir { 281cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STATE, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 282cdf0e10cSrcweir }, 283cdf0e10cSrcweir new Object[] 284cdf0e10cSrcweir { 285cdf0e10cSrcweir INTEGERS[8], HelpIds.getHelpIdString(HID + 8), resources.reschkPaperCompanyLogo_value, "chkPaperCompanyLogo", 97, 28, new Short((short) 0), INTEGERS[2], new Short((short) 8), 68 286cdf0e10cSrcweir }); 287cdf0e10cSrcweir numLogoHeight = insertNumericField("numLogoHeight", NUMLOGOHEIGHT_TEXT_CHANGED, 288cdf0e10cSrcweir new String[] 289cdf0e10cSrcweir { 290cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, "Spin", PropertyNames.PROPERTY_STEP, "StrictFormat", PropertyNames.PROPERTY_TABINDEX, "Value", PropertyNames.PROPERTY_WIDTH 291cdf0e10cSrcweir }, 292cdf0e10cSrcweir new Object[] 293cdf0e10cSrcweir { 294cdf0e10cSrcweir INTEGER_12, HelpIds.getHelpIdString(HID + 9), "numLogoHeight", 138, INTEGER_40, Boolean.TRUE, INTEGERS[2], Boolean.TRUE, new Short((short) 9), INTEGERS[3], 30 295cdf0e10cSrcweir }); 296cdf0e10cSrcweir numLogoX = insertNumericField("numLogoX", NUMLOGOX_TEXT_CHANGED, 297cdf0e10cSrcweir new String[] 298cdf0e10cSrcweir { 299cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, "Spin", PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, "Value", PropertyNames.PROPERTY_WIDTH 300cdf0e10cSrcweir }, 301cdf0e10cSrcweir new Object[] 302cdf0e10cSrcweir { 303cdf0e10cSrcweir INTEGER_12, HelpIds.getHelpIdString(HID + 10), "numLogoX", 266, INTEGER_40, Boolean.TRUE, INTEGERS[2], new Short((short) 10), INTEGERS[0], 30 304cdf0e10cSrcweir }); 305cdf0e10cSrcweir numLogoWidth = insertNumericField("numLogoWidth", NUMLOGOWIDTH_TEXT_CHANGED, 306cdf0e10cSrcweir new String[] 307cdf0e10cSrcweir { 308cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, "Spin", PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, "Value", PropertyNames.PROPERTY_WIDTH 309cdf0e10cSrcweir }, 310cdf0e10cSrcweir new Object[] 311cdf0e10cSrcweir { 312cdf0e10cSrcweir INTEGER_12, HelpIds.getHelpIdString(HID + 11), "numLogoWidth", 138, 56, Boolean.TRUE, INTEGERS[2], new Short((short) 11), new Double(3.8), 30 313cdf0e10cSrcweir }); 314cdf0e10cSrcweir numLogoY = insertNumericField("numLogoY", NUMLOGOY_TEXT_CHANGED, 315cdf0e10cSrcweir new String[] 316cdf0e10cSrcweir { 317cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, "Spin", PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, "Value", PropertyNames.PROPERTY_WIDTH 318cdf0e10cSrcweir }, 319cdf0e10cSrcweir new Object[] 320cdf0e10cSrcweir { 321cdf0e10cSrcweir INTEGER_12, HelpIds.getHelpIdString(HID + 12), "numLogoY", 266, 56, Boolean.TRUE, INTEGERS[2], new Short((short) 12), new Double(-3.4), 30 322cdf0e10cSrcweir }); 323cdf0e10cSrcweir chkPaperCompanyAddress = insertCheckBox("chkPaperCompanyAddress", CHKPAPERCOMPANYADDRESS_ITEM_CHANGED, 324cdf0e10cSrcweir new String[] 325cdf0e10cSrcweir { 326cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STATE, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 327cdf0e10cSrcweir }, 328cdf0e10cSrcweir new Object[] 329cdf0e10cSrcweir { 330cdf0e10cSrcweir INTEGERS[8], HelpIds.getHelpIdString(HID + 13), resources.reschkPaperCompanyAddress_value, "chkPaperCompanyAddress", 98, 84, new Short((short) 0), INTEGERS[2], new Short((short) 13), 68 331cdf0e10cSrcweir }); 332cdf0e10cSrcweir numAddressHeight = insertNumericField("numAddressHeight", NUMADDRESSHEIGHT_TEXT_CHANGED, 333cdf0e10cSrcweir new String[] 334cdf0e10cSrcweir { 335cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, "Spin", PropertyNames.PROPERTY_STEP, "StrictFormat", PropertyNames.PROPERTY_TABINDEX, "Value", PropertyNames.PROPERTY_WIDTH 336cdf0e10cSrcweir }, 337cdf0e10cSrcweir new Object[] 338cdf0e10cSrcweir { 339cdf0e10cSrcweir INTEGER_12, HelpIds.getHelpIdString(HID + 14), "numAddressHeight", 138, 96, Boolean.TRUE, INTEGERS[2], Boolean.TRUE, new Short((short) 14), INTEGERS[3], 30 340cdf0e10cSrcweir }); 341cdf0e10cSrcweir numAddressX = insertNumericField("numAddressX", NUMADDRESSX_TEXT_CHANGED, 342cdf0e10cSrcweir new String[] 343cdf0e10cSrcweir { 344cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, "Spin", PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, "Value", PropertyNames.PROPERTY_WIDTH 345cdf0e10cSrcweir }, 346cdf0e10cSrcweir new Object[] 347cdf0e10cSrcweir { 348cdf0e10cSrcweir INTEGER_12, HelpIds.getHelpIdString(HID + 15), "numAddressX", 266, 96, Boolean.TRUE, INTEGERS[2], new Short((short) 15), new Double(3.8), 30 349cdf0e10cSrcweir }); 350cdf0e10cSrcweir numAddressWidth = insertNumericField("numAddressWidth", NUMADDRESSWIDTH_TEXT_CHANGED, 351cdf0e10cSrcweir new String[] 352cdf0e10cSrcweir { 353cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, "Spin", PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, "Value", PropertyNames.PROPERTY_WIDTH 354cdf0e10cSrcweir }, 355cdf0e10cSrcweir new Object[] 356cdf0e10cSrcweir { 357cdf0e10cSrcweir INTEGER_12, HelpIds.getHelpIdString(HID + 16), "numAddressWidth", 138, 112, Boolean.TRUE, INTEGERS[2], new Short((short) 16), new Double(13.8), 30 358cdf0e10cSrcweir }); 359cdf0e10cSrcweir numAddressY = insertNumericField("numAddressY", NUMADDRESSY_TEXT_CHANGED, 360cdf0e10cSrcweir new String[] 361cdf0e10cSrcweir { 362cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, "Spin", PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, "Value", PropertyNames.PROPERTY_WIDTH 363cdf0e10cSrcweir }, 364cdf0e10cSrcweir new Object[] 365cdf0e10cSrcweir { 366cdf0e10cSrcweir INTEGER_12, HelpIds.getHelpIdString(HID + 17), "numAddressY", 266, 112, Boolean.TRUE, INTEGERS[2], new Short((short) 17), new Double(-3.4), 30 367cdf0e10cSrcweir }); 368cdf0e10cSrcweir chkCompanyReceiver = insertCheckBox("chkCompanyReceiver", CHKCOMPANYRECEIVER_ITEM_CHANGED, 369cdf0e10cSrcweir new String[] 370cdf0e10cSrcweir { 371cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STATE, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 372cdf0e10cSrcweir }, 373cdf0e10cSrcweir new Object[] 374cdf0e10cSrcweir { 375cdf0e10cSrcweir INTEGERS[8], HelpIds.getHelpIdString(HID + 18), resources.reschkCompanyReceiver_value, "chkCompanyReceiver", 103, 131, new Short((short) 0), INTEGERS[2], new Short((short) 18), 185 376cdf0e10cSrcweir }); 377cdf0e10cSrcweir chkPaperFooter = insertCheckBox("chkPaperFooter", CHKPAPERFOOTER_ITEM_CHANGED, 378cdf0e10cSrcweir new String[] 379cdf0e10cSrcweir { 380cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STATE, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 381cdf0e10cSrcweir }, 382cdf0e10cSrcweir new Object[] 383cdf0e10cSrcweir { 384cdf0e10cSrcweir INTEGERS[8], HelpIds.getHelpIdString(HID + 19), resources.reschkPaperFooter_value, "chkPaperFooter", 97, 158, new Short((short) 0), INTEGERS[2], new Short((short) 19), 68 385cdf0e10cSrcweir }); 386cdf0e10cSrcweir numFooterHeight = insertNumericField("numFooterHeight", NUMFOOTERHEIGHT_TEXT_CHANGED, 387cdf0e10cSrcweir new String[] 388cdf0e10cSrcweir { 389cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, "Spin", PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, "Value", PropertyNames.PROPERTY_WIDTH 390cdf0e10cSrcweir }, 391cdf0e10cSrcweir new Object[] 392cdf0e10cSrcweir { 393cdf0e10cSrcweir INTEGER_12, HelpIds.getHelpIdString(HID + 20), "numFooterHeight", 236, 156, Boolean.TRUE, INTEGERS[2], new Short((short) 20), INTEGERS[5], 30 394cdf0e10cSrcweir }); 395cdf0e10cSrcweir lblLogoHeight = insertLabel("lblLogoHeight", 396cdf0e10cSrcweir new String[] 397cdf0e10cSrcweir { 398cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 399cdf0e10cSrcweir }, 400cdf0e10cSrcweir new Object[] 401cdf0e10cSrcweir { 402cdf0e10cSrcweir INTEGERS[8], resources.reslblLogoHeight_value, "lblLogoHeight", 103, 42, INTEGERS[2], new Short((short) 68), 32 403cdf0e10cSrcweir }); 404cdf0e10cSrcweir lblLogoWidth = insertLabel("lblLogoWidth", 405cdf0e10cSrcweir new String[] 406cdf0e10cSrcweir { 407cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 408cdf0e10cSrcweir }, 409cdf0e10cSrcweir new Object[] 410cdf0e10cSrcweir { 411cdf0e10cSrcweir INTEGERS[8], resources.reslblLogoWidth_value, "lblLogoWidth", 103, 58, INTEGERS[2], new Short((short) 69), 32 412cdf0e10cSrcweir }); 413cdf0e10cSrcweir FixedLine5 = insertFixedLine("FixedLine5", 414cdf0e10cSrcweir new String[] 415cdf0e10cSrcweir { 416cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 417cdf0e10cSrcweir }, 418cdf0e10cSrcweir new Object[] 419cdf0e10cSrcweir { 420cdf0e10cSrcweir INTEGERS[2], "FixedLine5", 90, 78, INTEGERS[2], new Short((short) 70), 215 421cdf0e10cSrcweir }); 422cdf0e10cSrcweir FixedLine6 = insertFixedLine("FixedLine6", 423cdf0e10cSrcweir new String[] 424cdf0e10cSrcweir { 425cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 426cdf0e10cSrcweir }, 427cdf0e10cSrcweir new Object[] 428cdf0e10cSrcweir { 429cdf0e10cSrcweir INTEGERS[2], "FixedLine6", 90, 150, INTEGERS[2], new Short((short) 71), 215 430cdf0e10cSrcweir }); 431cdf0e10cSrcweir lblFooterHeight = insertLabel("lblFooterHeight", 432cdf0e10cSrcweir new String[] 433cdf0e10cSrcweir { 434cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 435cdf0e10cSrcweir }, 436cdf0e10cSrcweir new Object[] 437cdf0e10cSrcweir { 438cdf0e10cSrcweir INTEGERS[8], resources.reslblFooterHeight_value, "lblFooterHeight", 200, 158, INTEGERS[2], new Short((short) 72), 32 439cdf0e10cSrcweir }); 440cdf0e10cSrcweir lblLogoX = insertLabel("lblLogoX", 441cdf0e10cSrcweir new String[] 442cdf0e10cSrcweir { 443cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 444cdf0e10cSrcweir }, 445cdf0e10cSrcweir new Object[] 446cdf0e10cSrcweir { 447cdf0e10cSrcweir INTEGERS[8], resources.reslblLogoX_value, "lblLogoX", 170, 42, INTEGERS[2], new Short((short) 84), 94 448cdf0e10cSrcweir }); 449cdf0e10cSrcweir lblLogoY = insertLabel("lblLogoY", 450cdf0e10cSrcweir new String[] 451cdf0e10cSrcweir { 452cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 453cdf0e10cSrcweir }, 454cdf0e10cSrcweir new Object[] 455cdf0e10cSrcweir { 456cdf0e10cSrcweir INTEGERS[8], resources.reslblLogoY_value, "lblLogoY", 170, 58, INTEGERS[2], new Short((short) 85), 94 457cdf0e10cSrcweir }); 458cdf0e10cSrcweir lblAddressHeight = insertLabel("lblAddressHeight", 459cdf0e10cSrcweir new String[] 460cdf0e10cSrcweir { 461cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 462cdf0e10cSrcweir }, 463cdf0e10cSrcweir new Object[] 464cdf0e10cSrcweir { 465cdf0e10cSrcweir INTEGERS[8], resources.reslblAddressHeight_value, "lblAddressHeight", 103, 98, INTEGERS[2], new Short((short) 86), 32 466cdf0e10cSrcweir }); 467cdf0e10cSrcweir lblAddressWidth = insertLabel("lblAddressWidth", 468cdf0e10cSrcweir new String[] 469cdf0e10cSrcweir { 470cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 471cdf0e10cSrcweir }, 472cdf0e10cSrcweir new Object[] 473cdf0e10cSrcweir { 474cdf0e10cSrcweir INTEGERS[8], resources.reslblAddressWidth_value, "lblAddressWidth", 103, 114, INTEGERS[2], new Short((short) 87), 32 475cdf0e10cSrcweir }); 476cdf0e10cSrcweir lblAddressX = insertLabel("lblAddressX", 477cdf0e10cSrcweir new String[] 478cdf0e10cSrcweir { 479cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 480cdf0e10cSrcweir }, 481cdf0e10cSrcweir new Object[] 482cdf0e10cSrcweir { 483cdf0e10cSrcweir INTEGERS[8], resources.reslblAddressX_value, "lblAddressX", 170, 98, INTEGERS[2], new Short((short) 88), 94 484cdf0e10cSrcweir }); 485cdf0e10cSrcweir lblAddressY = insertLabel("lblAddressY", 486cdf0e10cSrcweir new String[] 487cdf0e10cSrcweir { 488cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 489cdf0e10cSrcweir }, 490cdf0e10cSrcweir new Object[] 491cdf0e10cSrcweir { 492cdf0e10cSrcweir INTEGERS[8], resources.reslblAddressY_value, "lblAddressY", 170, 114, INTEGERS[2], new Short((short) 89), 94 493cdf0e10cSrcweir }); 494cdf0e10cSrcweir lblTitle2 = insertLabel("lblTitle2", 495cdf0e10cSrcweir new String[] 496cdf0e10cSrcweir { 497cdf0e10cSrcweir PropertyNames.FONT_DESCRIPTOR, PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_MULTILINE, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 498cdf0e10cSrcweir }, 499cdf0e10cSrcweir new Object[] 500cdf0e10cSrcweir { 501cdf0e10cSrcweir fontDescriptor6, INTEGER_16, resources.reslblTitle2_value, Boolean.TRUE, "lblTitle2", 91, INTEGERS[8], INTEGERS[2], new Short((short) 91), 212 502cdf0e10cSrcweir }); 503cdf0e10cSrcweir } 504cdf0e10cSrcweir buildStep3()505cdf0e10cSrcweir public void buildStep3() 506cdf0e10cSrcweir { 507cdf0e10cSrcweir lstLetterNorm = insertListBox("lstLetterNorm", LSTLETTERNORM_ACTION_PERFORMED, LSTLETTERNORM_ITEM_CHANGED, 508cdf0e10cSrcweir new String[] 509cdf0e10cSrcweir { 510cdf0e10cSrcweir "Dropdown", PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 511cdf0e10cSrcweir }, 512cdf0e10cSrcweir new Object[] 513cdf0e10cSrcweir { 514cdf0e10cSrcweir Boolean.TRUE, INTEGER_12, HelpIds.getHelpIdString(HID + 21), "lstLetterNorm", 210, 34, INTEGERS[3], new Short((short) 21), 74 515cdf0e10cSrcweir }); 516cdf0e10cSrcweir chkUseLogo = insertCheckBox("chkUseLogo", CHKUSELOGO_ITEM_CHANGED, 517cdf0e10cSrcweir new String[] 518cdf0e10cSrcweir { 519cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STATE, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 520cdf0e10cSrcweir }, 521cdf0e10cSrcweir new Object[] 522cdf0e10cSrcweir { 523cdf0e10cSrcweir INTEGERS[8], HelpIds.getHelpIdString(HID + 22), resources.reschkUseLogo_value, "chkUseLogo", 97, 54, new Short((short) 0), INTEGERS[3], new Short((short) 22), 212 524cdf0e10cSrcweir }); 525cdf0e10cSrcweir chkUseAddressReceiver = insertCheckBox("chkUseAddressReceiver", CHKUSEADDRESSRECEIVER_ITEM_CHANGED, 526cdf0e10cSrcweir new String[] 527cdf0e10cSrcweir { 528cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STATE, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 529cdf0e10cSrcweir }, 530cdf0e10cSrcweir new Object[] 531cdf0e10cSrcweir { 532cdf0e10cSrcweir INTEGERS[8], HelpIds.getHelpIdString(HID + 23), resources.reschkUseAddressReceiver_value, "chkUseAddressReceiver", 97, 69, new Short((short) 0), INTEGERS[3], new Short((short) 23), 212 533cdf0e10cSrcweir }); 534cdf0e10cSrcweir chkUseSigns = insertCheckBox("chkUseSigns", CHKUSESIGNS_ITEM_CHANGED, 535cdf0e10cSrcweir new String[] 536cdf0e10cSrcweir { 537cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STATE, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 538cdf0e10cSrcweir }, 539cdf0e10cSrcweir new Object[] 540cdf0e10cSrcweir { 541cdf0e10cSrcweir INTEGERS[8], HelpIds.getHelpIdString(HID + 24), resources.reschkUseSigns_value, "chkUseSigns", 97, 82, new Short((short) 0), INTEGERS[3], new Short((short) 24), 212 542cdf0e10cSrcweir }); 543cdf0e10cSrcweir chkUseSubject = insertCheckBox("chkUseSubject", CHKUSESUBJECT_ITEM_CHANGED, 544cdf0e10cSrcweir new String[] 545cdf0e10cSrcweir { 546cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STATE, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 547cdf0e10cSrcweir }, 548cdf0e10cSrcweir new Object[] 549cdf0e10cSrcweir { 550cdf0e10cSrcweir INTEGERS[8], HelpIds.getHelpIdString(HID + 25), resources.reschkUseSubject_value, "chkUseSubject", 97, 98, new Short((short) 0), INTEGERS[3], new Short((short) 25), 212 551cdf0e10cSrcweir }); 552cdf0e10cSrcweir chkUseSalutation = insertCheckBox("chkUseSalutation", CHKUSESALUTATION_ITEM_CHANGED, 553cdf0e10cSrcweir new String[] 554cdf0e10cSrcweir { 555cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STATE, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 556cdf0e10cSrcweir }, 557cdf0e10cSrcweir new Object[] 558cdf0e10cSrcweir { 559cdf0e10cSrcweir INTEGERS[8], HelpIds.getHelpIdString(HID + 26), resources.reschkUseSalutation_value, "chkUseSalutation", 97, 113, new Short((short) 0), INTEGERS[3], new Short((short) 26), 66 560cdf0e10cSrcweir }); 561cdf0e10cSrcweir lstSalutation = insertComboBox("lstSalutation", LSTSALUTATION_ACTION_PERFORMED, LSTSALUTATION_ITEM_CHANGED, LSTSALUTATION_TEXT_CHANGED, 562cdf0e10cSrcweir new String[] 563cdf0e10cSrcweir { 564cdf0e10cSrcweir "Dropdown", PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 565cdf0e10cSrcweir }, 566cdf0e10cSrcweir new Object[] 567cdf0e10cSrcweir { 568cdf0e10cSrcweir Boolean.TRUE, INTEGER_12, HelpIds.getHelpIdString(HID + 27), "lstSalutation", 210, 110, INTEGERS[3], new Short((short) 27), 74 569cdf0e10cSrcweir }); 570cdf0e10cSrcweir chkUseBendMarks = insertCheckBox("chkUseBendMarks", CHKUSEBENDMARKS_ITEM_CHANGED, 571cdf0e10cSrcweir new String[] 572cdf0e10cSrcweir { 573cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STATE, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 574cdf0e10cSrcweir }, 575cdf0e10cSrcweir new Object[] 576cdf0e10cSrcweir { 577cdf0e10cSrcweir INTEGERS[8], HelpIds.getHelpIdString(HID + 28), resources.reschkUseBendMarks_value, "chkUseBendMarks", 97, 127, new Short((short) 0), INTEGERS[3], new Short((short) 28), 212 578cdf0e10cSrcweir }); 579cdf0e10cSrcweir chkUseGreeting = insertCheckBox("chkUseGreeting", CHKUSEGREETING_ITEM_CHANGED, 580cdf0e10cSrcweir new String[] 581cdf0e10cSrcweir { 582cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STATE, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 583cdf0e10cSrcweir }, 584cdf0e10cSrcweir new Object[] 585cdf0e10cSrcweir { 586cdf0e10cSrcweir INTEGERS[8], HelpIds.getHelpIdString(HID + 29), resources.reschkUseGreeting_value, "chkUseGreeting", 97, 142, new Short((short) 0), INTEGERS[3], new Short((short) 29), 66 587cdf0e10cSrcweir }); 588cdf0e10cSrcweir lstGreeting = insertComboBox("lstGreeting", LSTGREETING_ACTION_PERFORMED, LSTGREETING_ITEM_CHANGED, LSTGREETING_TEXT_CHANGED, 589cdf0e10cSrcweir new String[] 590cdf0e10cSrcweir { 591cdf0e10cSrcweir "Dropdown", PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 592cdf0e10cSrcweir }, 593cdf0e10cSrcweir new Object[] 594cdf0e10cSrcweir { 595cdf0e10cSrcweir Boolean.TRUE, INTEGER_12, HelpIds.getHelpIdString(HID + 30), "lstGreeting", 210, 141, INTEGERS[3], new Short((short) 30), 74 596cdf0e10cSrcweir }); 597cdf0e10cSrcweir chkUseFooter = insertCheckBox("chkUseFooter", CHKUSEFOOTER_ITEM_CHANGED, 598cdf0e10cSrcweir new String[] 599cdf0e10cSrcweir { 600cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STATE, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 601cdf0e10cSrcweir }, 602cdf0e10cSrcweir new Object[] 603cdf0e10cSrcweir { 604cdf0e10cSrcweir INTEGERS[8], HelpIds.getHelpIdString(HID + 31), resources.reschkUseFooter_value, "chkUseFooter", 97, 158, new Short((short) 0), INTEGERS[3], new Short((short) 31), 212 605cdf0e10cSrcweir }); 606cdf0e10cSrcweir lblLetterNorm = insertLabel("lblLetterNorm", 607cdf0e10cSrcweir new String[] 608cdf0e10cSrcweir { 609cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_MULTILINE, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 610cdf0e10cSrcweir }, 611cdf0e10cSrcweir new Object[] 612cdf0e10cSrcweir { 613cdf0e10cSrcweir INTEGER_16, resources.reslblLetterNorm_value, Boolean.TRUE, "lblLetterNorm", 97, 28, INTEGERS[3], new Short((short) 50), 109 614cdf0e10cSrcweir }); 615cdf0e10cSrcweir lblTitle3 = insertLabel("lblTitle3", 616cdf0e10cSrcweir new String[] 617cdf0e10cSrcweir { 618cdf0e10cSrcweir PropertyNames.FONT_DESCRIPTOR, PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_MULTILINE, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 619cdf0e10cSrcweir }, 620cdf0e10cSrcweir new Object[] 621cdf0e10cSrcweir { 622cdf0e10cSrcweir fontDescriptor6, INTEGER_16, resources.reslblTitle3_value, Boolean.TRUE, "lblTitle3", 91, INTEGERS[8], INTEGERS[3], new Short((short) 90), 212 623cdf0e10cSrcweir }); 624cdf0e10cSrcweir } 625cdf0e10cSrcweir buildStep4()626cdf0e10cSrcweir public void buildStep4() 627cdf0e10cSrcweir { 628cdf0e10cSrcweir optSenderPlaceholder = insertRadioButton("optSenderPlaceholder", OPTSENDERPLACEHOLDER_ITEM_CHANGED, 629cdf0e10cSrcweir new String[] 630cdf0e10cSrcweir { 631cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 632cdf0e10cSrcweir }, 633cdf0e10cSrcweir new Object[] 634cdf0e10cSrcweir { 635cdf0e10cSrcweir INTEGERS[8], HelpIds.getHelpIdString(HID + 32), resources.resoptSenderPlaceholder_value, "optSenderPlaceholder", 104, 42, INTEGERS[4], new Short((short) 32), 149 636cdf0e10cSrcweir }); 637cdf0e10cSrcweir optSenderDefine = insertRadioButton("optSenderDefine", OPTSENDERDEFINE_ITEM_CHANGED, 638cdf0e10cSrcweir new String[] 639cdf0e10cSrcweir { 640cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 641cdf0e10cSrcweir }, 642cdf0e10cSrcweir new Object[] 643cdf0e10cSrcweir { 644cdf0e10cSrcweir INTEGERS[8], HelpIds.getHelpIdString(HID + 33), resources.resoptSenderDefine_value, "optSenderDefine", 104, 54, INTEGERS[4], new Short((short) 33), 149 645cdf0e10cSrcweir }); 646cdf0e10cSrcweir txtSenderName = insertTextField("txtSenderName", TXTSENDERNAME_TEXT_CHANGED, 647cdf0e10cSrcweir new String[] 648cdf0e10cSrcweir { 649cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 650cdf0e10cSrcweir }, 651cdf0e10cSrcweir new Object[] 652cdf0e10cSrcweir { 653cdf0e10cSrcweir INTEGER_12, HelpIds.getHelpIdString(HID + 34), "txtSenderName", 182, 67, INTEGERS[4], new Short((short) 34), 119 654cdf0e10cSrcweir }); 655cdf0e10cSrcweir txtSenderStreet = insertTextField("txtSenderStreet", TXTSENDERSTREET_TEXT_CHANGED, 656cdf0e10cSrcweir new String[] 657cdf0e10cSrcweir { 658cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 659cdf0e10cSrcweir }, 660cdf0e10cSrcweir new Object[] 661cdf0e10cSrcweir { 662cdf0e10cSrcweir INTEGER_12, HelpIds.getHelpIdString(HID + 35), "txtSenderStreet", 182, 81, INTEGERS[4], new Short((short) 35), 119 663cdf0e10cSrcweir }); 664cdf0e10cSrcweir txtSenderPostCode = insertTextField("txtSenderPostCode", TXTSENDERPOSTCODE_TEXT_CHANGED, 665cdf0e10cSrcweir new String[] 666cdf0e10cSrcweir { 667cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 668cdf0e10cSrcweir }, 669cdf0e10cSrcweir new Object[] 670cdf0e10cSrcweir { 671cdf0e10cSrcweir INTEGER_12, HelpIds.getHelpIdString(HID + 36), "txtSenderPostCode", 182, 95, INTEGERS[4], new Short((short) 36), 25 672cdf0e10cSrcweir }); 673cdf0e10cSrcweir txtSenderState = insertTextField("txtSenderState", TXTSENDERSTATE_TEXT_CHANGED, 674cdf0e10cSrcweir new String[] 675cdf0e10cSrcweir { 676cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 677cdf0e10cSrcweir }, 678cdf0e10cSrcweir new Object[] 679cdf0e10cSrcweir { 680cdf0e10cSrcweir INTEGER_12, HelpIds.getHelpIdString(HID + 37), "txtSenderState", 211, 95, INTEGERS[4], new Short((short) 37), 21 681cdf0e10cSrcweir }); 682cdf0e10cSrcweir txtSenderCity = insertTextField("txtSenderCity", TXTSENDERCITY_TEXT_CHANGED, 683cdf0e10cSrcweir new String[] 684cdf0e10cSrcweir { 685cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 686cdf0e10cSrcweir }, 687cdf0e10cSrcweir new Object[] 688cdf0e10cSrcweir { 689cdf0e10cSrcweir INTEGER_12, HelpIds.getHelpIdString(HID + 38), "txtSenderCity", 236, 95, INTEGERS[4], new Short((short) 38), 65 690cdf0e10cSrcweir }); 691cdf0e10cSrcweir optReceiverPlaceholder = insertRadioButton("optReceiverPlaceholder", OPTRECEIVERPLACEHOLDER_ITEM_CHANGED, 692cdf0e10cSrcweir new String[] 693cdf0e10cSrcweir { 694cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 695cdf0e10cSrcweir }, 696cdf0e10cSrcweir new Object[] 697cdf0e10cSrcweir { 698cdf0e10cSrcweir INTEGERS[8], HelpIds.getHelpIdString(HID + 39), resources.resoptReceiverPlaceholder_value, "optReceiverPlaceholder", 104, 145, INTEGERS[4], new Short((short) 39), 200 699cdf0e10cSrcweir }); 700cdf0e10cSrcweir optReceiverDatabase = insertRadioButton("optReceiverDatabase", OPTRECEIVERDATABASE_ITEM_CHANGED, 701cdf0e10cSrcweir new String[] 702cdf0e10cSrcweir { 703cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 704cdf0e10cSrcweir }, 705cdf0e10cSrcweir new Object[] 706cdf0e10cSrcweir { 707cdf0e10cSrcweir INTEGERS[8], HelpIds.getHelpIdString(HID + 40), resources.resoptReceiverDatabase_value, "optReceiverDatabase", 104, 157, INTEGERS[4], new Short((short) 40), 200 708cdf0e10cSrcweir }); 709cdf0e10cSrcweir lblSenderAddress = insertLabel("lblSenderAddress", 710cdf0e10cSrcweir new String[] 711cdf0e10cSrcweir { 712cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 713cdf0e10cSrcweir }, 714cdf0e10cSrcweir new Object[] 715cdf0e10cSrcweir { 716cdf0e10cSrcweir INTEGERS[8], resources.reslblSenderAddress_value, "lblSenderAddress", 97, 28, INTEGERS[4], new Short((short) 64), 136 717cdf0e10cSrcweir }); 718cdf0e10cSrcweir FixedLine2 = insertFixedLine("FixedLine2", 719cdf0e10cSrcweir new String[] 720cdf0e10cSrcweir { 721cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 722cdf0e10cSrcweir }, 723cdf0e10cSrcweir new Object[] 724cdf0e10cSrcweir { 725cdf0e10cSrcweir INTEGERS[5], "FixedLine2", 90, 126, INTEGERS[4], new Short((short) 75), 212 726cdf0e10cSrcweir }); 727cdf0e10cSrcweir lblReceiverAddress = insertLabel("lblReceiverAddress", 728cdf0e10cSrcweir new String[] 729cdf0e10cSrcweir { 730cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 731cdf0e10cSrcweir }, 732cdf0e10cSrcweir new Object[] 733cdf0e10cSrcweir { 734cdf0e10cSrcweir INTEGERS[8], resources.reslblReceiverAddress_value, "lblReceiverAddress", 97, 134, INTEGERS[4], new Short((short) 76), 136 735cdf0e10cSrcweir }); 736cdf0e10cSrcweir lblSenderName = insertLabel("lblSenderName", 737cdf0e10cSrcweir new String[] 738cdf0e10cSrcweir { 739cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 740cdf0e10cSrcweir }, 741cdf0e10cSrcweir new Object[] 742cdf0e10cSrcweir { 743cdf0e10cSrcweir INTEGERS[8], resources.reslblSenderName_value, "lblSenderName", 113, 69, INTEGERS[4], new Short((short) 77), 68 744cdf0e10cSrcweir }); 745cdf0e10cSrcweir lblSenderStreet = insertLabel("lblSenderStreet", 746cdf0e10cSrcweir new String[] 747cdf0e10cSrcweir { 748cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 749cdf0e10cSrcweir }, 750cdf0e10cSrcweir new Object[] 751cdf0e10cSrcweir { 752cdf0e10cSrcweir INTEGERS[8], resources.reslblSenderStreet_value, "lblSenderStreet", 113, 82, INTEGERS[4], new Short((short) 78), 68 753cdf0e10cSrcweir }); 754cdf0e10cSrcweir lblPostCodeCity = insertLabel("lblPostCodeCity", 755cdf0e10cSrcweir new String[] 756cdf0e10cSrcweir { 757cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 758cdf0e10cSrcweir }, 759cdf0e10cSrcweir new Object[] 760cdf0e10cSrcweir { 761cdf0e10cSrcweir INTEGERS[8], resources.reslblPostCodeCity_value, "lblPostCodeCity", 113, 97, INTEGERS[4], new Short((short) 79), 68 762cdf0e10cSrcweir }); 763cdf0e10cSrcweir lblTitle4 = insertLabel("lblTitle4", 764cdf0e10cSrcweir new String[] 765cdf0e10cSrcweir { 766cdf0e10cSrcweir PropertyNames.FONT_DESCRIPTOR, PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_MULTILINE, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 767cdf0e10cSrcweir }, 768cdf0e10cSrcweir new Object[] 769cdf0e10cSrcweir { 770cdf0e10cSrcweir fontDescriptor6, INTEGER_16, resources.reslblTitle4_value, Boolean.TRUE, "lblTitle4", 91, INTEGERS[8], INTEGERS[4], new Short((short) 92), 212 771cdf0e10cSrcweir }); 772cdf0e10cSrcweir } 773cdf0e10cSrcweir buildStep5()774cdf0e10cSrcweir public void buildStep5() 775cdf0e10cSrcweir { 776cdf0e10cSrcweir txtFooter = insertTextField("txtFooter", TXTFOOTER_TEXT_CHANGED, 777cdf0e10cSrcweir new String[] 778cdf0e10cSrcweir { 779cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_MULTILINE, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 780cdf0e10cSrcweir }, 781cdf0e10cSrcweir new Object[] 782cdf0e10cSrcweir { 783cdf0e10cSrcweir 47, HelpIds.getHelpIdString(HID + 41), Boolean.TRUE, "txtFooter", 97, INTEGER_40, INTEGERS[5], new Short((short) 41), 203 784cdf0e10cSrcweir }); 785cdf0e10cSrcweir chkFooterNextPages = insertCheckBox("chkFooterNextPages", CHKFOOTERNEXTPAGES_ITEM_CHANGED, 786cdf0e10cSrcweir new String[] 787cdf0e10cSrcweir { 788cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STATE, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 789cdf0e10cSrcweir }, 790cdf0e10cSrcweir new Object[] 791cdf0e10cSrcweir { 792cdf0e10cSrcweir INTEGERS[8], HelpIds.getHelpIdString(HID + 42), resources.reschkFooterNextPages_value, "chkFooterNextPages", 97, 92, new Short((short) 0), INTEGERS[5], new Short((short) 42), 202 793cdf0e10cSrcweir }); 794cdf0e10cSrcweir chkFooterPageNumbers = insertCheckBox("chkFooterPageNumbers", CHKFOOTERPAGENUMBERS_ITEM_CHANGED, 795cdf0e10cSrcweir new String[] 796cdf0e10cSrcweir { 797cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STATE, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 798cdf0e10cSrcweir }, 799cdf0e10cSrcweir new Object[] 800cdf0e10cSrcweir { 801cdf0e10cSrcweir INTEGERS[8], HelpIds.getHelpIdString(HID + 43), resources.reschkFooterPageNumbers_value, "chkFooterPageNumbers", 97, 106, new Short((short) 0), INTEGERS[5], new Short((short) 43), 201 802cdf0e10cSrcweir }); 803cdf0e10cSrcweir lblFooter = insertLabel("lblFooter", 804cdf0e10cSrcweir new String[] 805cdf0e10cSrcweir { 806cdf0e10cSrcweir PropertyNames.FONT_DESCRIPTOR, PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 807cdf0e10cSrcweir }, 808cdf0e10cSrcweir new Object[] 809cdf0e10cSrcweir { 810cdf0e10cSrcweir fontDescriptor5, INTEGERS[8], resources.reslblFooter_value, "lblFooter", 97, 28, INTEGERS[5], new Short((short) 52), 116 811cdf0e10cSrcweir }); 812cdf0e10cSrcweir lblTitle5 = insertLabel("lblTitle5", 813cdf0e10cSrcweir new String[] 814cdf0e10cSrcweir { 815cdf0e10cSrcweir PropertyNames.FONT_DESCRIPTOR, PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_MULTILINE, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 816cdf0e10cSrcweir }, 817cdf0e10cSrcweir new Object[] 818cdf0e10cSrcweir { 819cdf0e10cSrcweir fontDescriptor6, INTEGER_16, resources.reslblTitle5_value, Boolean.TRUE, "lblTitle5", 91, INTEGERS[8], INTEGERS[5], new Short((short) 93), 212 820cdf0e10cSrcweir }); 821cdf0e10cSrcweir } 822cdf0e10cSrcweir buildStep6()823cdf0e10cSrcweir public void buildStep6() 824cdf0e10cSrcweir { 825cdf0e10cSrcweir txtTemplateName = insertTextField("txtTemplateName", TXTTEMPLATENAME_TEXT_CHANGED, 826cdf0e10cSrcweir new String[] 827cdf0e10cSrcweir { 828cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, "Text", PropertyNames.PROPERTY_WIDTH 829cdf0e10cSrcweir }, 830cdf0e10cSrcweir new Object[] 831cdf0e10cSrcweir { 832cdf0e10cSrcweir INTEGER_12, HelpIds.getHelpIdString(HID + 44), "txtTemplateName", 202, 56, INTEGERS[6], new Short((short) 44), resources.restxtTemplateName_value, 100 833cdf0e10cSrcweir }); 834cdf0e10cSrcweir optCreateLetter = insertRadioButton("optCreateLetter", OPTCREATELETTER_ITEM_CHANGED, 835cdf0e10cSrcweir new String[] 836cdf0e10cSrcweir { 837cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 838cdf0e10cSrcweir }, 839cdf0e10cSrcweir new Object[] 840cdf0e10cSrcweir { 841cdf0e10cSrcweir INTEGERS[8], HelpIds.getHelpIdString(HID + 45), resources.resoptCreateLetter_value, "optCreateLetter", 104, 111, INTEGERS[6], new Short((short) 50), 198 842cdf0e10cSrcweir }); 843cdf0e10cSrcweir optMakeChanges = insertRadioButton("optMakeChanges", OPTMAKECHANGES_ITEM_CHANGED, 844cdf0e10cSrcweir new String[] 845cdf0e10cSrcweir { 846cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 847cdf0e10cSrcweir }, 848cdf0e10cSrcweir new Object[] 849cdf0e10cSrcweir { 850cdf0e10cSrcweir INTEGERS[8], HelpIds.getHelpIdString(HID + 46), resources.resoptMakeChanges_value, "optMakeChanges", 104, 123, INTEGERS[6], new Short((short) 51), 198 851cdf0e10cSrcweir }); 852cdf0e10cSrcweir lblFinalExplanation1 = insertLabel("lblFinalExplanation1", 853cdf0e10cSrcweir new String[] 854cdf0e10cSrcweir { 855cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_MULTILINE, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 856cdf0e10cSrcweir }, 857cdf0e10cSrcweir new Object[] 858cdf0e10cSrcweir { 859cdf0e10cSrcweir 26, resources.reslblFinalExplanation1_value, Boolean.TRUE, "lblFinalExplanation1", 97, 28, INTEGERS[6], new Short((short) 52), 205 860cdf0e10cSrcweir }); 861cdf0e10cSrcweir lblProceed = insertLabel("lblProceed", 862cdf0e10cSrcweir new String[] 863cdf0e10cSrcweir { 864cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 865cdf0e10cSrcweir }, 866cdf0e10cSrcweir new Object[] 867cdf0e10cSrcweir { 868cdf0e10cSrcweir INTEGERS[8], resources.reslblProceed_value, "lblProceed", 97, 100, INTEGERS[6], new Short((short) 53), 204 869cdf0e10cSrcweir }); 870cdf0e10cSrcweir lblFinalExplanation2 = insertLabel("lblFinalExplanation2", 871cdf0e10cSrcweir new String[] 872cdf0e10cSrcweir { 873cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_MULTILINE, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 874cdf0e10cSrcweir }, 875cdf0e10cSrcweir new Object[] 876cdf0e10cSrcweir { 877cdf0e10cSrcweir 33, resources.reslblFinalExplanation2_value, Boolean.TRUE, "lblFinalExplanation2", 104, 145, INTEGERS[6], new Short((short) 54), 199 878cdf0e10cSrcweir }); 879cdf0e10cSrcweir ImageControl2 = insertImage("ImageControl2", 880cdf0e10cSrcweir new String[] 881cdf0e10cSrcweir { 882cdf0e10cSrcweir PropertyNames.PROPERTY_BORDER, PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_IMAGEURL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, "ScaleImage", PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 883cdf0e10cSrcweir }, 884cdf0e10cSrcweir new Object[] 885cdf0e10cSrcweir { 886cdf0e10cSrcweir new Short((short) 0), INTEGERS[10], "private:resource/dbu/image/19205", "ImageControl2", 92, 145, Boolean.FALSE, INTEGERS[6], new Short((short) 66), INTEGERS[10] 887cdf0e10cSrcweir }); 888cdf0e10cSrcweir lblTemplateName = insertLabel("lblTemplateName", 889cdf0e10cSrcweir new String[] 890cdf0e10cSrcweir { 891cdf0e10cSrcweir PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 892cdf0e10cSrcweir }, 893cdf0e10cSrcweir new Object[] 894cdf0e10cSrcweir { 895cdf0e10cSrcweir INTEGERS[8], resources.reslblTemplateName_value, "lblTemplateName", 97, 58, INTEGERS[6], new Short((short) 82), 101 896cdf0e10cSrcweir }); 897cdf0e10cSrcweir lblTitle6 = insertLabel("lblTitle6", 898cdf0e10cSrcweir new String[] 899cdf0e10cSrcweir { 900cdf0e10cSrcweir PropertyNames.FONT_DESCRIPTOR, PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_MULTILINE, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH 901cdf0e10cSrcweir }, 902cdf0e10cSrcweir new Object[] 903cdf0e10cSrcweir { 904cdf0e10cSrcweir fontDescriptor6, INTEGER_16, resources.reslblTitle6_value, Boolean.TRUE, "lblTitle6", 91, INTEGERS[8], INTEGERS[6], new Short((short) 94), 212 905cdf0e10cSrcweir }); 906cdf0e10cSrcweir 907cdf0e10cSrcweir } 908cdf0e10cSrcweir } 909