[Libreoffice-commits] .: 10 commits - officecfg/registry postprocess/packcomponents scp2/source wizards/com wizards/Jar_letter.mk wizards/Module_wizards.mk wizards/Pyuno_letter.mk
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Oct 22 16:54:03 PDT 2012
officecfg/registry/data/org/openoffice/Office/Common.xcu | 2
postprocess/packcomponents/makefile.mk | 2
scp2/source/ooo/directory_ooo.scp | 6
scp2/source/ooo/file_ooo.scp | 7
wizards/Jar_letter.mk | 60
wizards/Module_wizards.mk | 2
wizards/Pyuno_letter.mk | 44
wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py | 4
wizards/com/sun/star/wizards/letter/CGLetter.java | 55
wizards/com/sun/star/wizards/letter/CGLetterWizard.java | 29
wizards/com/sun/star/wizards/letter/CGPaperElementLocation.java | 30
wizards/com/sun/star/wizards/letter/CallWizard.java | 228 -
wizards/com/sun/star/wizards/letter/CallWizard.py | 50
wizards/com/sun/star/wizards/letter/LetterDocument.java | 319 --
wizards/com/sun/star/wizards/letter/LetterWizardDialog.java | 883 -----
wizards/com/sun/star/wizards/letter/LetterWizardDialogConst.java | 82
wizards/com/sun/star/wizards/letter/LetterWizardDialogEvents.java | 79
wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.java | 1484 ----------
wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py | 17
wizards/com/sun/star/wizards/letter/LetterWizardDialogResources.java | 224 -
wizards/com/sun/star/wizards/letter/LocaleCodes.java | 192 -
wizards/com/sun/star/wizards/letter/MANIFEST.MF | 2
wizards/com/sun/star/wizards/letter/letter.component | 8
wizards/com/sun/star/wizards/text/TextDocument.py | 32
24 files changed, 120 insertions(+), 3721 deletions(-)
New commits:
commit 97bc32eb68c33a54764380fbd91141028b66f6e0
Author: Xisco Fauli <anistenis at gmail.com>
Date: Sun Oct 21 22:11:08 2012 +0200
pyletter: Don't need to lock controllers here
Change-Id: Ic3c313c8b58005fdd7ac09f7f74bae11f46cde07
diff --git a/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py b/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py
index 8e4d4ea..d8df8b6 100644
--- a/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py
+++ b/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py
@@ -395,11 +395,9 @@ class LetterWizardDialogImpl(LetterWizardDialog):
TextDocument.xTextDocument = \
self.myLetterDoc.loadAsPreview(
self.OfficialFiles.values()[selectedItemPos], False)
- self.myLetterDoc.xTextDocument.lockControllers()
self.initializeElements()
self.setPossibleSenderData(True)
self.setElements(False)
- self.myLetterDoc.xTextDocument.unlockControllers()
def lstPrivateStyleItemChanged(self):
selectedItemPos = self.lstPrivateStyle.SelectedItemPos
@@ -408,10 +406,8 @@ class LetterWizardDialogImpl(LetterWizardDialog):
TextDocument.xTextDocument = \
self.myLetterDoc.loadAsPreview(
self.PrivateFiles.values()[selectedItemPos], False)
- self.myLetterDoc.xTextDocument.lockControllers()
self.initializeElements()
self.setElements(True)
- self.myLetterDoc.xTextDocument.unlockControllers()
def numLogoHeightTextChanged(self):
self.BusCompanyLogo.iHeight = int(self.numLogoHeight.Value * 1000)
commit 62423956c33dec9dab66971eafee6df4e7212dd9
Author: Xisco Fauli <anistenis at gmail.com>
Date: Sun Oct 21 21:55:55 2012 +0200
pywizards: unused method
Change-Id: I2664413d974c1e6a8b84d1807ffe982008e5aae9
diff --git a/wizards/com/sun/star/wizards/text/TextDocument.py b/wizards/com/sun/star/wizards/text/TextDocument.py
index 6570aa4..df0de96 100644
--- a/wizards/com/sun/star/wizards/text/TextDocument.py
+++ b/wizards/com/sun/star/wizards/text/TextDocument.py
@@ -172,38 +172,6 @@ class TextDocument(object):
xTextCursor = oCursorContainer.createTextCursor()
return xTextCursor
- # Todo: This method is unsecure because the last index is not necessarily the last section
- # Todo: This Routine should be modified, because I cannot rely on the last Table in the document to be the last in the TextTables sequence
- # to make it really safe you must acquire the Tablenames before the insertion and after the insertion of the new Table. By comparing the
- # two sequences of tablenames you can find out the tablename of the last inserted Table
- # Todo: This method is unsecure because the last index is not necessarily the last section
-
- def getCharWidth(self, ScaleString):
- iScale = 200
- TextDocument.xTextDocument.lockControllers()
- iScaleLen = ScaleString.length()
- xTextCursor = createTextCursor(TextDocument.xTextDocument.Text)
- xTextCursor.gotoStart(False)
- com.sun.star.wizards.common.Helper.setUnoPropertyValue(
- xTextCursor, "PageDescName", "First Page")
- xTextCursor.String = ScaleString
- xViewCursor = TextDocument.xTextDocument.CurrentController
- xTextViewCursor = xViewCursor.ViewCursor
- xTextViewCursor.gotoStart(False)
- iFirstPos = xTextViewCursor.Position.X
- xTextViewCursor.gotoEnd(False)
- iLastPos = xTextViewCursor.Position.X
- iScale = (iLastPos - iFirstPos) / iScaleLen
- xTextCursor.gotoStart(False)
- xTextCursor.gotoEnd(True)
- xTextCursor.String = ""
- unlockallControllers()
- return iScale
-
- def unlockallControllers(self):
- while TextDocument.xTextDocument.hasControllersLocked():
- TextDocument.xTextDocument.unlockControllers()
-
def refresh(self):
TextDocument.xTextDocument.refresh()
commit ce6995cee86988a8a3c43b845845d5b2723ef14a
Author: Xisco Fauli <anistenis at gmail.com>
Date: Sun Oct 21 21:55:00 2012 +0200
pyletter: Don't need to lock controllers here
Change-Id: I8677489a99e4f8efabe10b47b8f86045816a118b
diff --git a/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py b/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py
index d87ec95..8e4d4ea 100644
--- a/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py
+++ b/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py
@@ -384,12 +384,10 @@ class LetterWizardDialogImpl(LetterWizardDialog):
TextDocument.xTextDocument = \
self.myLetterDoc.loadAsPreview(
self.BusinessFiles.values()[selectedItemPos], False)
- self.myLetterDoc.xTextDocument.lockControllers()
self.initializeElements()
self.chkBusinessPaperItemChanged()
self.setElements(False)
- self.myLetterDoc.xTextDocument.unlockControllers()
-
+
def lstPrivOfficialStyleItemChanged(self):
selectedItemPos = self.lstPrivOfficialStyle.SelectedItemPos
if LetterWizardDialogImpl.lstPrivOfficialStylePos != selectedItemPos:
commit 5a0b00d9e976e5d7ab9edbb9edaa148ca1a6f691
Author: Xisco Fauli <anistenis at gmail.com>
Date: Sun Oct 21 21:25:57 2012 +0200
pyletter: missed import
Change-Id: I0958429daedd8128359f1f10b2306cee555f8769
diff --git a/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py b/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py
index a7dc1a4..d87ec95 100644
--- a/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py
+++ b/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py
@@ -31,6 +31,7 @@ from ..ui.event.RadioDataAware import RadioDataAware
from ..text.TextDocument import TextDocument
from ..text.ViewHandler import ViewHandler
from ..text.TextFieldHandler import TextFieldHandler
+from ..document.OfficeDocument import OfficeDocument
from com.sun.star.awt.VclWindowPeerAttribute import YES_NO, DEF_NO
from com.sun.star.uno import RuntimeException
commit c06ee4c3d0b85b3452dfe7c5a46ea85799f54609
Author: Xisco Fauli <anistenis at gmail.com>
Date: Sun Oct 21 21:23:10 2012 +0200
pyletter: Fix avoid to load the same template when it's already selected
Change-Id: Ia52beb31dfd30dc1e4d914a41e858e3258b7629b
diff --git a/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py b/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py
index bf171c6..a7dc1a4 100644
--- a/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py
+++ b/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py
@@ -378,7 +378,7 @@ class LetterWizardDialogImpl(LetterWizardDialog):
def lstBusinessStyleItemChanged(self):
selectedItemPos = self.lstBusinessStyle.SelectedItemPos
- if LetterWizardDialogImpl.lstBusinessStylePos is not selectedItemPos:
+ if LetterWizardDialogImpl.lstBusinessStylePos != selectedItemPos:
LetterWizardDialogImpl.lstBusinessStylePos = selectedItemPos
TextDocument.xTextDocument = \
self.myLetterDoc.loadAsPreview(
@@ -391,7 +391,7 @@ class LetterWizardDialogImpl(LetterWizardDialog):
def lstPrivOfficialStyleItemChanged(self):
selectedItemPos = self.lstPrivOfficialStyle.SelectedItemPos
- if LetterWizardDialogImpl.lstPrivOfficialStylePos is not selectedItemPos:
+ if LetterWizardDialogImpl.lstPrivOfficialStylePos != selectedItemPos:
LetterWizardDialogImpl.lstPrivOfficialStylePos = selectedItemPos
TextDocument.xTextDocument = \
self.myLetterDoc.loadAsPreview(
@@ -404,7 +404,7 @@ class LetterWizardDialogImpl(LetterWizardDialog):
def lstPrivateStyleItemChanged(self):
selectedItemPos = self.lstPrivateStyle.SelectedItemPos
- if LetterWizardDialogImpl.lstPrivateStylePos is not selectedItemPos:
+ if LetterWizardDialogImpl.lstPrivateStylePos != selectedItemPos:
LetterWizardDialogImpl.lstPrivateStylePos = selectedItemPos
TextDocument.xTextDocument = \
self.myLetterDoc.loadAsPreview(
commit b8c3e47fd4dece8daf6b7aa016e3f3098827e897
Author: Xisco Fauli <anistenis at gmail.com>
Date: Sun Oct 21 21:19:19 2012 +0200
pyfax: Fix avoid to load the same template when it's already selected
Change-Id: If757247b527b92e5fed9b34d5608c37fe2d6fe04
diff --git a/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py b/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py
index 3c82a56..04767c9 100644
--- a/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py
+++ b/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py
@@ -449,7 +449,7 @@ class FaxWizardDialogImpl(FaxWizardDialog):
def lstBusinessStyleItemChanged(self):
selectedItemPos = self.lstBusinessStyle.SelectedItemPos
#avoid to load the same item again
- if FaxWizardDialogImpl.lstBusinessStylePos is not selectedItemPos:
+ if FaxWizardDialogImpl.lstBusinessStylePos != selectedItemPos:
FaxWizardDialogImpl.lstBusinessStylePos = selectedItemPos
TextDocument.xTextDocument = self.myFaxDoc.loadAsPreview(
self.BusinessFiles.values()[selectedItemPos], False)
@@ -474,7 +474,7 @@ class FaxWizardDialogImpl(FaxWizardDialog):
def lstPrivateStyleItemChanged(self):
selectedItemPos = self.lstPrivateStyle.SelectedItemPos
#avoid to load the same item again
- if FaxWizardDialogImpl.lstPrivateStylePos is not selectedItemPos:
+ if FaxWizardDialogImpl.lstPrivateStylePos != selectedItemPos:
FaxWizardDialogImpl.lstPrivateStylePos = selectedItemPos
TextDocument.xTextDocument = self.myFaxDoc.loadAsPreview(
self.PrivateFiles.values()[selectedItemPos], False)
commit c9b591bea076d0733833e18d886ee111d590f0ad
Author: Xisco Fauli <anistenis at gmail.com>
Date: Sun Oct 21 21:02:25 2012 +0200
pyletter: missed import
Change-Id: Ifdffb3323d7922b03f97a109781c1e2d36eb1bbc
diff --git a/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py b/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py
index eb29988..bf171c6 100644
--- a/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py
+++ b/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py
@@ -18,7 +18,7 @@
import traceback
from .LetterWizardDialog import LetterWizardDialog, Helper, \
PropertyNames, uno, HelpIds, HID
-from .LetterDocument import LetterDocument
+from .LetterDocument import LetterDocument, BusinessPaperObject
from .CGLetterWizard import CGLetterWizard
from ..common.NoValidPathException import NoValidPathException
from ..common.FileAccess import FileAccess
commit 65e104060b2bd46259f0307263aa3d8eba4c0ace
Author: Xisco Fauli <anistenis at gmail.com>
Date: Sun Oct 21 20:35:05 2012 +0200
pyletter: remove java letter wizard
Change-Id: I63a46f027c8e022dee35f57db19b2538be09b1fc
diff --git a/scp2/source/ooo/file_ooo.scp b/scp2/source/ooo/file_ooo.scp
index d45c574..e98d38f 100644
--- a/scp2/source/ooo/file_ooo.scp
+++ b/scp2/source/ooo/file_ooo.scp
@@ -430,7 +430,6 @@ End
#ifdef SOLAR_JAVA
STD_JAR_FILE( gid_File_Jar_Report, report )
STD_JAR_FILE( gid_File_Jar_Table, table )
-STD_JAR_FILE( gid_File_Jar_Letter, letter )
STD_JAR_FILE( gid_File_Jar_Form, form )
STD_JAR_FILE( gid_File_Jar_Agenda, agenda )
STD_JAR_FILE( gid_File_Jar_Query, query )
diff --git a/wizards/Jar_letter.mk b/wizards/Jar_letter.mk
deleted file mode 100644
index 4b09fa7..0000000
--- a/wizards/Jar_letter.mk
+++ /dev/null
@@ -1,60 +0,0 @@
-# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
-#*************************************************************************
-#
-# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-#
-# Copyright 2000, 2011 Oracle and/or its affiliates.
-#
-# OpenOffice.org - a multi-platform office productivity suite
-#
-# This file is part of OpenOffice.org.
-#
-# OpenOffice.org is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License version 3
-# only, as published by the Free Software Foundation.
-#
-# OpenOffice.org is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Lesser General Public License version 3 for more details
-# (a copy is included in the LICENSE file that accompanied this code).
-#
-# You should have received a copy of the GNU Lesser General Public License
-# version 3 along with OpenOffice.org. If not, see
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#*************************************************************************
-
-$(eval $(call gb_Jar_Jar,letter))
-
-$(eval $(call gb_Jar_use_jars,letter,\
- ridl \
- unoil \
- jurt \
- juh \
- java_uno \
- commonwizards \
-))
-
-$(eval $(call gb_Jar_set_manifest,letter,$(SRCDIR)/wizards/com/sun/star/wizards/letter/MANIFEST.MF))
-
-$(eval $(call gb_Jar_set_packageroot,letter,com))
-
-$(eval $(call gb_Jar_add_sourcefiles,letter,\
- wizards/com/sun/star/wizards/letter/CallWizard \
- wizards/com/sun/star/wizards/letter/CGLetter \
- wizards/com/sun/star/wizards/letter/CGLetterWizard \
- wizards/com/sun/star/wizards/letter/CGPaperElementLocation \
- wizards/com/sun/star/wizards/letter/LetterDocument \
- wizards/com/sun/star/wizards/letter/LetterWizardDialog \
- wizards/com/sun/star/wizards/letter/LetterWizardDialogConst \
- wizards/com/sun/star/wizards/letter/LetterWizardDialogEvents \
- wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl \
- wizards/com/sun/star/wizards/letter/LetterWizardDialogResources \
- wizards/com/sun/star/wizards/letter/LocaleCodes \
-))
-
-$(eval $(call gb_Jar_set_componentfile,letter,wizards/com/sun/star/wizards/letter/letter,OOO))
-
-# vim: set noet sw=4 ts=4:
diff --git a/wizards/Module_wizards.mk b/wizards/Module_wizards.mk
index cd37608..8a2088a 100644
--- a/wizards/Module_wizards.mk
+++ b/wizards/Module_wizards.mk
@@ -57,7 +57,6 @@ $(eval $(call gb_Module_add_targets,wizards,\
Jar_commonwizards \
Jar_agenda \
Jar_form \
- Jar_letter \
Jar_query \
Jar_report \
Jar_reportbuilder \
diff --git a/wizards/com/sun/star/wizards/letter/CGLetter.java b/wizards/com/sun/star/wizards/letter/CGLetter.java
deleted file mode 100644
index b5c4eda..0000000
--- a/wizards/com/sun/star/wizards/letter/CGLetter.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-package com.sun.star.wizards.letter;
-
-import com.sun.star.wizards.common.ConfigGroup;
-
-public class CGLetter extends ConfigGroup
-{
-
- public int cp_Style;
- public boolean cp_BusinessPaper;
- public CGPaperElementLocation cp_CompanyLogo = new CGPaperElementLocation();
- public CGPaperElementLocation cp_CompanyAddress = new CGPaperElementLocation();
- public boolean cp_PaperCompanyAddressReceiverField;
- public boolean cp_PaperFooter;
- public double cp_PaperFooterHeight;
- public boolean cp_PrintCompanyLogo;
- public boolean cp_PrintCompanyAddressReceiverField;
- public boolean cp_PrintLetterSigns;
- public boolean cp_PrintSubjectLine;
- public boolean cp_PrintSalutation;
- public boolean cp_PrintBendMarks;
- public boolean cp_PrintGreeting;
- public boolean cp_PrintFooter;
- public String cp_Salutation;
- public String cp_Greeting;
- public int cp_SenderAddressType;
- public String cp_SenderCompanyName;
- public String cp_SenderStreet;
- public String cp_SenderPostCode;
- public String cp_SenderState;
- public String cp_SenderCity;
- public int cp_ReceiverAddressType;
- public String cp_Footer;
- public boolean cp_FooterOnlySecondPage;
- public boolean cp_FooterPageNumbers;
- public int cp_CreationType;
- public String cp_TemplateName;
- public String cp_TemplatePath;
-}
diff --git a/wizards/com/sun/star/wizards/letter/CGLetterWizard.java b/wizards/com/sun/star/wizards/letter/CGLetterWizard.java
deleted file mode 100644
index 3f61c1b..0000000
--- a/wizards/com/sun/star/wizards/letter/CGLetterWizard.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-package com.sun.star.wizards.letter;
-
-import com.sun.star.wizards.common.ConfigGroup;
-
-public class CGLetterWizard extends ConfigGroup
-{
-
- public int cp_LetterType;
- public CGLetter cp_BusinessLetter = new CGLetter();
- public CGLetter cp_PrivateOfficialLetter = new CGLetter();
- public CGLetter cp_PrivateLetter = new CGLetter();
-}
diff --git a/wizards/com/sun/star/wizards/letter/CGPaperElementLocation.java b/wizards/com/sun/star/wizards/letter/CGPaperElementLocation.java
deleted file mode 100644
index 5b3d066..0000000
--- a/wizards/com/sun/star/wizards/letter/CGPaperElementLocation.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-package com.sun.star.wizards.letter;
-
-import com.sun.star.wizards.common.ConfigGroup;
-
-public class CGPaperElementLocation extends ConfigGroup
-{
-
- public boolean cp_Display;
- public double cp_Width;
- public double cp_Height;
- public double cp_X;
- public double cp_Y;
-}
diff --git a/wizards/com/sun/star/wizards/letter/CallWizard.java b/wizards/com/sun/star/wizards/letter/CallWizard.java
deleted file mode 100644
index 2276f03..0000000
--- a/wizards/com/sun/star/wizards/letter/CallWizard.java
+++ /dev/null
@@ -1,228 +0,0 @@
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-package com.sun.star.wizards.letter;
-
-import com.sun.star.beans.XPropertyAccess;
-import com.sun.star.comp.loader.FactoryHelper;
-import com.sun.star.lang.XInitialization;
-import com.sun.star.lang.XMultiServiceFactory;
-import com.sun.star.lang.XServiceInfo;
-import com.sun.star.lang.XSingleServiceFactory;
-import com.sun.star.lang.XTypeProvider;
-import com.sun.star.registry.XRegistryKey;
-import com.sun.star.task.XJob;
-import com.sun.star.task.XJobExecutor;
-import com.sun.star.uno.Type;
-import com.sun.star.wizards.common.PropertyNames;
-
-/**
- * This class capsulates the class, that implements the minimal component, a factory for
- * creating the service (<CODE>__getServiceFactory</CODE>).
- */
-public class CallWizard
-{
-
- /**
- * Gives a factory for creating the service. This method is called by the
- * <code>JavaLoader</code>
- *
- * <p></p>
- *
- * @param stringImplementationName The implementation name of the component.
- * @param xMSF The service manager, who gives access to every known service.
- * @param xregistrykey Makes structural information (except regarding tree
- * structures) of a single registry key accessible.
- *
- * @return Returns a <code>XSingleServiceFactory</code> for creating the component.
- *
- * @see com.sun.star.comp.loader.JavaLoader
- */
- public static XSingleServiceFactory __getServiceFactory(String stringImplementationName, XMultiServiceFactory xMSF, XRegistryKey xregistrykey)
- {
- XSingleServiceFactory xsingleservicefactory = null;
-
- if (stringImplementationName.equals(WizardImplementation.class.getName()))
- {
- xsingleservicefactory = FactoryHelper.getServiceFactory(WizardImplementation.class, WizardImplementation.__serviceName, xMSF, xregistrykey);
- }
-
- return xsingleservicefactory;
- }
-
- /**
- * This class implements the component. At least the interfaces XServiceInfo,
- * XTypeProvider, and XInitialization should be provided by the service.
- */
- public static class WizardImplementation implements XInitialization, XTypeProvider, XServiceInfo, XJobExecutor
- {
-
- /**
- * The constructor of the inner class has a XMultiServiceFactory parameter.
- *
- * @param xmultiservicefactoryInitialization A special service factory could be
- * introduced while initializing.
- */
- public WizardImplementation(XMultiServiceFactory xmultiservicefactoryInitialization)
- {
- xmultiservicefactory = xmultiservicefactoryInitialization;
-
- if (xmultiservicefactory != null)
- {
- }
- }
-
- /**
- * Execute Wizard
- *
- * @param str only valid parameter is 'start' at the moment.
- */
- public void trigger(String str)
- {
- if (str.equalsIgnoreCase(PropertyNames.START))
- {
- LetterWizardDialogImpl lw = new LetterWizardDialogImpl(xmultiservicefactory);
- if (!LetterWizardDialogImpl.running)
- {
- lw.startWizard(xmultiservicefactory, null);
- }
- }
- } //*******************************************
- /**
- * The service name, that must be used to get an instance of this service.
- */
- private static final String __serviceName = "com.sun.star.wizards.letter.CallWizard";
- /**
- * The service manager, that gives access to all registered services.
- */
- private XMultiServiceFactory xmultiservicefactory;
-
- /**
- * This method is a member of the interface for initializing an object directly
- * after its creation.
- *
- * @param object This array of arbitrary objects will be passed to the component
- * after its creation.
- *
- * @throws com.sun.star.uno.Exception Every exception will not be handled, but
- * will be passed to the caller.
- */
- public void initialize(Object[] object) throws com.sun.star.uno.Exception
- {
- }
-
- /**
- * This method returns an array of all supported service names.
- *
- * @return Array of supported service names.
- */
- public java.lang.String[] getSupportedServiceNames()
- {
- String[] stringSupportedServiceNames = new String[1];
- stringSupportedServiceNames[0] = __serviceName;
-
- return (stringSupportedServiceNames);
- }
-
- /**
- * This method returns true, if the given service will be supported by the
- * component.
- *
- * @param stringService Service name.
- *
- * @return True, if the given service name will be supported.
- */
- public boolean supportsService(String stringService)
- {
- boolean booleanSupportsService = false;
-
- if (stringService.equals(__serviceName))
- {
- booleanSupportsService = true;
- }
-
- return (booleanSupportsService);
- }
-
- /**
- * This method returns an array of bytes, that can be used to unambiguously
- * distinguish between two sets of types, e.g. to realise hashing functionality
- * when the object is introspected. Two objects that return the same ID also
- * have to return the same set of types in getTypes(). If an unique
- * implementation Id cannot be provided this method has to return an empty
- * sequence. Important: If the object aggregates other objects the ID has to be
- * unique for the whole combination of objects.
- *
- * @return Array of bytes, in order to distinguish between two sets.
- */
- public byte[] getImplementationId()
- {
- byte[] byteReturn =
- {
- };
-
- try
- {
- byteReturn = (PropertyNames.EMPTY_STRING + this.hashCode()).getBytes();
- }
- catch (Exception exception)
- {
- System.err.println(exception);
- }
-
- return (byteReturn);
- }
-
- /**
- * Return the class name of the component.
- *
- * @return Class name of the component.
- */
- public java.lang.String getImplementationName()
- {
- return (WizardImplementation.class.getName());
- }
-
- /**
- * Provides a sequence of all types (usually interface types) provided by the
- * object.
- *
- * @return Sequence of all types (usually interface types) provided by the
- * service.
- */
- public com.sun.star.uno.Type[] getTypes()
- {
- Type[] typeReturn =
- {
- };
-
- try
- {
- typeReturn = new Type[]
- {
- new Type(XPropertyAccess.class), new Type(XJob.class), new Type(XJobExecutor.class), new Type(XTypeProvider.class), new Type(XServiceInfo.class), new Type(XInitialization.class)
- };
- }
- catch (Exception exception)
- {
- System.err.println(exception);
- }
-
- return (typeReturn);
- }
- }
-}
diff --git a/wizards/com/sun/star/wizards/letter/LetterDocument.java b/wizards/com/sun/star/wizards/letter/LetterDocument.java
deleted file mode 100644
index fd2ca0c..0000000
--- a/wizards/com/sun/star/wizards/letter/LetterDocument.java
+++ /dev/null
@@ -1,319 +0,0 @@
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-package com.sun.star.wizards.letter;
-
-import com.sun.star.wizards.common.*;
-import com.sun.star.wizards.text.*;
-import com.sun.star.frame.XDesktop;
-import com.sun.star.frame.XTerminateListener;
-import com.sun.star.table.BorderLine;
-import com.sun.star.text.*;
-import com.sun.star.lang.XMultiServiceFactory;
-import com.sun.star.awt.XWindowPeer;
-import com.sun.star.uno.Exception;
-import com.sun.star.uno.UnoRuntime;
-import com.sun.star.drawing.XShape;
-import com.sun.star.beans.XPropertySet;
-import com.sun.star.style.NumberingType;
-import com.sun.star.style.ParagraphAdjust;
-import com.sun.star.style.XStyleFamiliesSupplier;
-import com.sun.star.style.XStyle;
-
-public class LetterDocument extends TextDocument
-{
-
- XDesktop xDesktop;
- boolean keepLogoFrame = true;
- boolean keepBendMarksFrame = true;
- boolean keepLetterSignsFrame = true;
- boolean keepSenderAddressRepeatedFrame = true;
- boolean keepAddressFrame = true;
-
- public LetterDocument(XMultiServiceFactory xMSF, XTerminateListener listener)
- {
- super(xMSF, listener, "WIZARD_LIVE_PREVIEW");
- }
-
- public XWindowPeer getWindowPeer()
- {
- return UnoRuntime.queryInterface(XWindowPeer.class, xTextDocument);
-}
-
- public void switchElement(String sElement, boolean bState)
- {
- try
- {
- TextSectionHandler mySectionHandler = new TextSectionHandler(xMSF, xTextDocument);
- Object oSection = mySectionHandler.xTextSectionsSupplier.getTextSections().getByName(sElement);
- Helper.setUnoPropertyValue(oSection, "IsVisible", Boolean.valueOf(bState));
-
- }
- catch (Exception exception)
- {
- exception.printStackTrace(System.err);
- }
- }
-
- public void updateDateFields()
- {
- TextFieldHandler FH = new TextFieldHandler(xMSFDoc, xTextDocument);
- FH.updateDateFields();
- }
-
- public void switchFooter(String sPageStyle, boolean bState, boolean bPageNumber, String sText)
- {
- if (xTextDocument != null)
- {
- try
- {
- xTextDocument.lockControllers();
- XStyleFamiliesSupplier xStyleFamiliesSupplier = UnoRuntime.queryInterface(XStyleFamiliesSupplier.class, xTextDocument);
- com.sun.star.container.XNameAccess xNameAccess = null;
- xNameAccess = xStyleFamiliesSupplier.getStyleFamilies();
-
- com.sun.star.container.XNameContainer xPageStyleCollection = null;
- xPageStyleCollection = UnoRuntime.queryInterface(com.sun.star.container.XNameContainer.class, xNameAccess.getByName("PageStyles"));
-
- XText xFooterText;
- XStyle xPageStyle = UnoRuntime.queryInterface(XStyle.class, xPageStyleCollection.getByName(sPageStyle));
-
- if (bState)
- {
- Helper.setUnoPropertyValue(xPageStyle, "FooterIsOn", Boolean.TRUE);
- xFooterText = UnoRuntime.queryInterface(XText.class, Helper.getUnoPropertyValue(xPageStyle, "FooterText"));
- xFooterText.setString(sText);
- if (bPageNumber)
- {
- //Adding the Page Number
- XTextCursor myCursor = xFooterText.createTextCursor();
- myCursor.gotoEnd(false);
- xFooterText.insertControlCharacter(myCursor, ControlCharacter.PARAGRAPH_BREAK, false);
- XPropertySet xCursorPSet = UnoRuntime.queryInterface(XPropertySet.class, myCursor);
- xCursorPSet.setPropertyValue("ParaAdjust", ParagraphAdjust.CENTER);
- XTextField xPageNumberField = UnoRuntime.queryInterface(XTextField.class, xMSFDoc.createInstance("com.sun.star.text.TextField.PageNumber"));
- XPropertySet xPSet = UnoRuntime.queryInterface(XPropertySet.class, xPageNumberField);
- xPSet.setPropertyValue("SubType", PageNumberType.CURRENT);
- xPSet.setPropertyValue("NumberingType", new Short(NumberingType.ARABIC));
- xFooterText.insertTextContent(xFooterText.getEnd(), xPageNumberField, false);
- }
- }
- else
- {
- Helper.setUnoPropertyValue(xPageStyle, "FooterIsOn", Boolean.FALSE);
- }
- xTextDocument.unlockControllers();
- }
- catch (Exception exception)
- {
- exception.printStackTrace(System.err);
- }
- }
- }
-
- public boolean hasElement(String sElement)
- {
- if (xTextDocument != null)
- {
- TextSectionHandler SH = new TextSectionHandler(xMSF, xTextDocument);
- return SH.hasTextSectionByName(sElement);
- }
- else
- {
- return false;
- }
- }
-
- public void switchUserField(String sFieldName, String sNewContent, boolean bState)
- {
- TextFieldHandler myFieldHandler = new TextFieldHandler(xMSF, xTextDocument);
- if (bState)
- {
- myFieldHandler.changeUserFieldContent(sFieldName, sNewContent);
- }
- else
- {
- myFieldHandler.changeUserFieldContent(sFieldName, PropertyNames.EMPTY_STRING);
- }
- }
-
- public void fillSenderWithUserData()
- {
- try
- {
- TextFieldHandler myFieldHandler = new TextFieldHandler(xMSFDoc, xTextDocument);
- Object oUserDataAccess = Configuration.getConfigurationRoot(xMSF, "org.openoffice.UserProfile/Data", false);
- myFieldHandler.changeUserFieldContent("Company", (String) Helper.getUnoObjectbyName(oUserDataAccess, "o"));
- myFieldHandler.changeUserFieldContent("Street", (String) Helper.getUnoObjectbyName(oUserDataAccess, "street"));
- myFieldHandler.changeUserFieldContent("PostCode", (String) Helper.getUnoObjectbyName(oUserDataAccess, "postalcode"));
- myFieldHandler.changeUserFieldContent("City", (String) Helper.getUnoObjectbyName(oUserDataAccess, "l"));
- myFieldHandler.changeUserFieldContent(PropertyNames.PROPERTY_STATE, (String) Helper.getUnoObjectbyName(oUserDataAccess, "st"));
- }
- catch (Exception exception)
- {
- exception.printStackTrace(System.err);
- }
- }
-
- public void killEmptyUserFields()
- {
- TextFieldHandler myFieldHandler = new TextFieldHandler(xMSF, xTextDocument);
- myFieldHandler.removeUserFieldByContent(PropertyNames.EMPTY_STRING);
- }
-
- public void killEmptyFrames()
- {
- try
- {
- if (!keepLogoFrame)
- {
- XTextFrame xTF = TextFrameHandler.getFrameByName("Company Logo", xTextDocument);
- if (xTF != null)
- {
- xTF.dispose();
- }
- }
- if (!keepBendMarksFrame)
- {
- XTextFrame xTF = TextFrameHandler.getFrameByName("Bend Marks", xTextDocument);
- if (xTF != null)
- {
- xTF.dispose();
- }
- }
- if (!keepLetterSignsFrame)
- {
- XTextFrame xTF = TextFrameHandler.getFrameByName("Letter Signs", xTextDocument);
- if (xTF != null)
- {
- xTF.dispose();
- }
- }
- if (!keepSenderAddressRepeatedFrame)
- {
- XTextFrame xTF = TextFrameHandler.getFrameByName("Sender Address Repeated", xTextDocument);
- if (xTF != null)
- {
- xTF.dispose();
- }
- }
- if (!keepAddressFrame)
- {
- XTextFrame xTF = TextFrameHandler.getFrameByName("Sender Address", xTextDocument);
- if (xTF != null)
- {
- xTF.dispose();
- }
- }
-
- }
- catch (Exception e)
- {
- e.printStackTrace();
- }
-
- }
-
- public class BusinessPaperObject
- {
-
- public int iWidth;
- public int iHeight;
- public int iXPos;
- public int iYPos;
- XTextFrame xFrame;
- XShape xShape;
-
- public BusinessPaperObject(String FrameText, int Width, int Height, int XPos, int YPos)
- {
-
- iWidth = Width;
- iHeight = Height;
- iXPos = XPos;
- iYPos = YPos;
-
- try
- {
- xFrame = UnoRuntime.queryInterface(XTextFrame.class, xMSFDoc.createInstance("com.sun.star.text.TextFrame"));
- xShape = UnoRuntime.queryInterface(XShape.class, xFrame);
-
- setFramePosition();
- Helper.setUnoPropertyValue(xShape, "AnchorType", TextContentAnchorType.AT_PAGE);
- Helper.setUnoPropertyValue(xShape, "SizeType", new Short(SizeType.FIX));
-
- Helper.setUnoPropertyValue(xFrame, "TextWrap", WrapTextMode.THROUGHT);
- Helper.setUnoPropertyValue(xFrame, "Opaque", Boolean.TRUE);
- Helper.setUnoPropertyValue(xFrame, "BackColor", 15790320);
-
- BorderLine myBorder = new BorderLine();
- myBorder.OuterLineWidth = 0;
- Helper.setUnoPropertyValue(xFrame, "LeftBorder", myBorder);
- Helper.setUnoPropertyValue(xFrame, "RightBorder", myBorder);
- Helper.setUnoPropertyValue(xFrame, "TopBorder", myBorder);
- Helper.setUnoPropertyValue(xFrame, "BottomBorder", myBorder);
- Helper.setUnoPropertyValue(xFrame, "Print", Boolean.FALSE);
-
- XTextCursor xTextCursor = xTextDocument.getText().createTextCursor();
- xTextCursor.gotoEnd(true);
- XText xText = xTextDocument.getText();
- xText.insertTextContent(xTextCursor, xFrame, false);
-
- XText xFrameText = xFrame.getText();
- XTextCursor xFrameCursor = xFrameText.createTextCursor();
- XPropertySet xCursorProps = UnoRuntime.queryInterface(XPropertySet.class, xFrameCursor);
- xCursorProps.setPropertyValue("CharWeight", new Float(com.sun.star.awt.FontWeight.BOLD));
- xCursorProps.setPropertyValue("CharColor", 16777215);
- xCursorProps.setPropertyValue("CharFontName", "Albany");
- xCursorProps.setPropertyValue("CharHeight", new Float(18));
-
- xFrameText.insertString(xFrameCursor, FrameText, false);
-
- }
- catch (Exception e)
- {
- e.printStackTrace(System.err);
- }
- }
-
- public void setFramePosition()
- {
- Helper.setUnoPropertyValue(xFrame, "HoriOrient", new Short(HoriOrientation.NONE));
- Helper.setUnoPropertyValue(xFrame, "VertOrient", new Short(VertOrientation.NONE));
- Helper.setUnoPropertyValue(xFrame, PropertyNames.PROPERTY_HEIGHT, new Integer(iHeight));
- Helper.setUnoPropertyValue(xFrame, PropertyNames.PROPERTY_WIDTH, new Integer(iWidth));
- Helper.setUnoPropertyValue(xFrame, "HoriOrientPosition", new Integer(iXPos));
- Helper.setUnoPropertyValue(xFrame, "VertOrientPosition", new Integer(iYPos));
- Helper.setUnoPropertyValue(xFrame, "HoriOrientRelation", new Short(RelOrientation.PAGE_FRAME));
- Helper.setUnoPropertyValue(xFrame, "VertOrientRelation", new Short(RelOrientation.PAGE_FRAME));
- }
-
- public void removeFrame()
- {
- if (xFrame != null)
- {
- try
- {
- xTextDocument.getText().removeTextContent(xFrame);
- }
- catch (Exception e)
- {
- e.printStackTrace(System.err);
- }
- }
- }
- }
-}
diff --git a/wizards/com/sun/star/wizards/letter/LetterWizardDialog.java b/wizards/com/sun/star/wizards/letter/LetterWizardDialog.java
deleted file mode 100644
index ef27af4..0000000
--- a/wizards/com/sun/star/wizards/letter/LetterWizardDialog.java
+++ /dev/null
@@ -1,883 +0,0 @@
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-package com.sun.star.wizards.letter;
-
-import com.sun.star.awt.*;
-import com.sun.star.lang.XMultiServiceFactory;
-import com.sun.star.wizards.common.*;
-import com.sun.star.wizards.ui.*;
-
-public abstract class LetterWizardDialog extends WizardDialog implements LetterWizardDialogConst, UIConsts
-{
- //GUI Components as Class members.
- XRadioButton optBusinessLetter;
- XListBox lstBusinessStyle;
- XCheckBox chkBusinessPaper;
- XRadioButton optPrivOfficialLetter;
- XListBox lstPrivOfficialStyle;
- XRadioButton optPrivateLetter;
- XListBox lstPrivateStyle;
- XFixedText lblBusinessStyle;
- XFixedText lblPrivOfficialStyle;
- XFixedText lblTitle1;
- XFixedText lblPrivateStyle;
- XFixedText lblIntroduction;
- //Image Control
- XControl ImageControl3;
- XCheckBox chkPaperCompanyLogo;
- XNumericField numLogoHeight;
- XNumericField numLogoX;
- XNumericField numLogoWidth;
- XNumericField numLogoY;
- XCheckBox chkPaperCompanyAddress;
- XNumericField numAddressHeight;
- XNumericField numAddressX;
- XNumericField numAddressWidth;
- XNumericField numAddressY;
- XCheckBox chkCompanyReceiver;
- XCheckBox chkPaperFooter;
- XNumericField numFooterHeight;
- XFixedText lblLogoHeight;
- XFixedText lblLogoWidth;
- //Fixed Line
- XControl FixedLine5;
- //Fixed Line
- XControl FixedLine6;
- XFixedText lblFooterHeight;
- XFixedText lblLogoX;
- XFixedText lblLogoY;
- XFixedText lblAddressHeight;
- XFixedText lblAddressWidth;
- XFixedText lblAddressX;
- XFixedText lblAddressY;
- XFixedText lblTitle2;
- XCheckBox chkUseLogo;
- XCheckBox chkUseAddressReceiver;
- XCheckBox chkUseSigns;
- XCheckBox chkUseSubject;
- XCheckBox chkUseSalutation;
- XComboBox lstSalutation;
- XCheckBox chkUseBendMarks;
- XCheckBox chkUseGreeting;
- XComboBox lstGreeting;
- XCheckBox chkUseFooter;
- XFixedText lblTitle3;
- XRadioButton optSenderPlaceholder;
- XRadioButton optSenderDefine;
- XTextComponent txtSenderName;
- XTextComponent txtSenderStreet;
- XTextComponent txtSenderPostCode;
- XTextComponent txtSenderState;
- XTextComponent txtSenderCity;
- XRadioButton optReceiverPlaceholder;
- XRadioButton optReceiverDatabase;
- XFixedText lblSenderAddress;
- //Fixed Line
- XControl FixedLine2;
- XFixedText lblReceiverAddress;
- XFixedText lblSenderName;
- XFixedText lblSenderStreet;
- XFixedText lblPostCodeCity;
- XFixedText lblTitle4;
- XTextComponent txtFooter;
- XCheckBox chkFooterNextPages;
- XCheckBox chkFooterPageNumbers;
- XFixedText lblFooter;
- XFixedText lblTitle5;
- XTextComponent txtTemplateName;
- //File Control
- XControl fileTemplatePath;
- XRadioButton optCreateLetter;
- XRadioButton optMakeChanges;
- XFixedText lblFinalExplanation1;
- XFixedText lblProceed;
- XFixedText lblFinalExplanation2;
- //Image Control
- XControl ImageControl2;
- XFixedText lblTemplateName;
- XFixedText lblTemplatePath;
- XFixedText lblTitle6;
- XFixedText Label9;
- //Font Descriptors as Class members.
- FontDescriptor fontDescriptor1 = new FontDescriptor();
- FontDescriptor fontDescriptor2 = new FontDescriptor();
- FontDescriptor fontDescriptor5 = new FontDescriptor();
- FontDescriptor fontDescriptor6 = new FontDescriptor(); //Resources Object
- LetterWizardDialogResources resources;
-
- public LetterWizardDialog(XMultiServiceFactory xmsf)
- {
- super(xmsf, HIDMAIN);
- //Load Resources
- resources = new LetterWizardDialogResources(xmsf);
-
-
- //set dialog properties...
- Helper.setUnoPropertyValues(xDialogModel,
- new String[]
- {
- 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
- },
- new Object[]
- {
- Boolean.TRUE, 210, Boolean.TRUE, "LetterWizardDialog", 104, 52, INTEGERS[1], new Short((short) 1), resources.resLetterWizardDialog_title, 310
- });
-
-
-
- //Set member- FontDescriptors...
- fontDescriptor1.Weight = 150;
- fontDescriptor1.Underline = com.sun.star.awt.FontUnderline.SINGLE;
- fontDescriptor2.Weight = 100;
- fontDescriptor5.Weight = 100;
- fontDescriptor6.Weight = 150;
- }
- //build components
- public void buildStep1()
- {
- optBusinessLetter = insertRadioButton("optBusinessLetter", OPTBUSINESSLETTER_ITEM_CHANGED,
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGERS[8], HelpIds.getHelpIdString(HID + 1), resources.resoptBusinessLetter_value, "optBusinessLetter", 97, 28, INTEGERS[1], new Short((short) 1), 184
- });
- optPrivOfficialLetter = insertRadioButton("optPrivOfficialLetter", OPTPRIVOFFICIALLETTER_ITEM_CHANGED,
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGERS[8], HelpIds.getHelpIdString(HID + 2), resources.resoptPrivOfficialLetter_value, "optPrivOfficialLetter", 97, 74, INTEGERS[1], new Short((short) 2), 184
- });
- optPrivateLetter = insertRadioButton("optPrivateLetter", OPTPRIVATELETTER_ITEM_CHANGED,
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGERS[8], HelpIds.getHelpIdString(HID + 3), resources.resoptPrivateLetter_value, "optPrivateLetter", 97, 106, INTEGERS[1], new Short((short) 3), 184
- });
- lstBusinessStyle = insertListBox("lstBusinessStyle", LSTBUSINESSSTYLE_ACTION_PERFORMED, LSTBUSINESSSTYLE_ITEM_CHANGED,
- new String[]
- {
- "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
- },
- new Object[]
- {
- Boolean.TRUE, INTEGER_12, HelpIds.getHelpIdString(HID + 4), "lstBusinessStyle", 180, INTEGER_40, INTEGERS[1], new Short((short) 4), 74
- });
- chkBusinessPaper = insertCheckBox("chkBusinessPaper", CHKBUSINESSPAPER_ITEM_CHANGED,
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGERS[8], HelpIds.getHelpIdString(HID + 5), resources.reschkBusinessPaper_value, "chkBusinessPaper", 110, 56, new Short((short) 0), INTEGERS[1], new Short((short) 5), 168
- });
- lstPrivOfficialStyle = insertListBox("lstPrivOfficialStyle", LSTPRIVOFFICIALSTYLE_ACTION_PERFORMED, LSTPRIVOFFICIALSTYLE_ITEM_CHANGED,
- new String[]
- {
- "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
- },
- new Object[]
- {
- Boolean.TRUE, INTEGER_12, HelpIds.getHelpIdString(HID + 6), "lstPrivOfficialStyle", 180, 86, INTEGERS[1], new Short((short) 6), 74
- });
- lstPrivateStyle = insertListBox("lstPrivateStyle", LSTPRIVATESTYLE_ACTION_PERFORMED, LSTPRIVATESTYLE_ITEM_CHANGED,
- new String[]
- {
- "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
- },
- new Object[]
- {
- Boolean.TRUE, INTEGER_12, HelpIds.getHelpIdString(HID + 7), "lstPrivateStyle", 180, 118, INTEGERS[1], new Short((short) 7), 74
- });
- lblBusinessStyle = insertLabel("lblBusinessStyle",
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGERS[8], resources.reslblBusinessStyle_value, "lblBusinessStyle", 110, 42, INTEGERS[1], new Short((short) 48), 60
- });
- lblPrivOfficialStyle = insertLabel("lblPrivOfficialStyle",
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGERS[8], resources.reslblPrivOfficialStyle_value, "lblPrivOfficialStyle", 110, 88, INTEGERS[1], new Short((short) 49), 60
- });
- lblTitle1 = insertLabel("lblTitle1",
- new String[]
- {
- 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
- },
- new Object[]
- {
- fontDescriptor6, INTEGER_16, resources.reslblTitle1_value, Boolean.TRUE, "lblTitle1", 91, INTEGERS[8], INTEGERS[1], new Short((short) 55), 212
- });
- lblPrivateStyle = insertLabel("lblPrivateStyle",
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGERS[8], resources.reslblPrivateStyle_value, "lblPrivateStyle", 110, 120, INTEGERS[1], new Short((short) 74), 60
- });
- lblIntroduction = insertLabel("lblIntroduction",
- new String[]
- {
- 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
- },
- new Object[]
- {
- 39, resources.reslblIntroduction_value, Boolean.TRUE, "lblIntroduction", 104, 145, INTEGERS[1], new Short((short) 80), 199
- });
- ImageControl3 = insertInfoImage(92, 145, 1);
-
-// ImageControl3 = insertImage("ImageControl3",
-// 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},
-// 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]}
-// );
- }
-
- public void buildStep2()
- {
- chkPaperCompanyLogo = insertCheckBox("chkPaperCompanyLogo", CHKPAPERCOMPANYLOGO_ITEM_CHANGED,
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGERS[8], HelpIds.getHelpIdString(HID + 8), resources.reschkPaperCompanyLogo_value, "chkPaperCompanyLogo", 97, 28, new Short((short) 0), INTEGERS[2], new Short((short) 8), 68
- });
- numLogoHeight = insertNumericField("numLogoHeight", NUMLOGOHEIGHT_TEXT_CHANGED,
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGER_12, HelpIds.getHelpIdString(HID + 9), "numLogoHeight", 138, INTEGER_40, Boolean.TRUE, INTEGERS[2], Boolean.TRUE, new Short((short) 9), INTEGERS[3], 30
- });
- numLogoX = insertNumericField("numLogoX", NUMLOGOX_TEXT_CHANGED,
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGER_12, HelpIds.getHelpIdString(HID + 10), "numLogoX", 266, INTEGER_40, Boolean.TRUE, INTEGERS[2], new Short((short) 10), INTEGERS[0], 30
- });
- numLogoWidth = insertNumericField("numLogoWidth", NUMLOGOWIDTH_TEXT_CHANGED,
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGER_12, HelpIds.getHelpIdString(HID + 11), "numLogoWidth", 138, 56, Boolean.TRUE, INTEGERS[2], new Short((short) 11), new Double(3.8), 30
- });
- numLogoY = insertNumericField("numLogoY", NUMLOGOY_TEXT_CHANGED,
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGER_12, HelpIds.getHelpIdString(HID + 12), "numLogoY", 266, 56, Boolean.TRUE, INTEGERS[2], new Short((short) 12), new Double(-3.4), 30
- });
- chkPaperCompanyAddress = insertCheckBox("chkPaperCompanyAddress", CHKPAPERCOMPANYADDRESS_ITEM_CHANGED,
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGERS[8], HelpIds.getHelpIdString(HID + 13), resources.reschkPaperCompanyAddress_value, "chkPaperCompanyAddress", 98, 84, new Short((short) 0), INTEGERS[2], new Short((short) 13), 68
- });
- numAddressHeight = insertNumericField("numAddressHeight", NUMADDRESSHEIGHT_TEXT_CHANGED,
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGER_12, HelpIds.getHelpIdString(HID + 14), "numAddressHeight", 138, 96, Boolean.TRUE, INTEGERS[2], Boolean.TRUE, new Short((short) 14), INTEGERS[3], 30
- });
- numAddressX = insertNumericField("numAddressX", NUMADDRESSX_TEXT_CHANGED,
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGER_12, HelpIds.getHelpIdString(HID + 15), "numAddressX", 266, 96, Boolean.TRUE, INTEGERS[2], new Short((short) 15), new Double(3.8), 30
- });
- numAddressWidth = insertNumericField("numAddressWidth", NUMADDRESSWIDTH_TEXT_CHANGED,
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGER_12, HelpIds.getHelpIdString(HID + 16), "numAddressWidth", 138, 112, Boolean.TRUE, INTEGERS[2], new Short((short) 16), new Double(13.8), 30
- });
- numAddressY = insertNumericField("numAddressY", NUMADDRESSY_TEXT_CHANGED,
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGER_12, HelpIds.getHelpIdString(HID + 17), "numAddressY", 266, 112, Boolean.TRUE, INTEGERS[2], new Short((short) 17), new Double(-3.4), 30
- });
- chkCompanyReceiver = insertCheckBox("chkCompanyReceiver", CHKCOMPANYRECEIVER_ITEM_CHANGED,
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGERS[8], HelpIds.getHelpIdString(HID + 18), resources.reschkCompanyReceiver_value, "chkCompanyReceiver", 103, 131, new Short((short) 0), INTEGERS[2], new Short((short) 18), 185
- });
- chkPaperFooter = insertCheckBox("chkPaperFooter", CHKPAPERFOOTER_ITEM_CHANGED,
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGERS[8], HelpIds.getHelpIdString(HID + 19), resources.reschkPaperFooter_value, "chkPaperFooter", 97, 158, new Short((short) 0), INTEGERS[2], new Short((short) 19), 68
- });
- numFooterHeight = insertNumericField("numFooterHeight", NUMFOOTERHEIGHT_TEXT_CHANGED,
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGER_12, HelpIds.getHelpIdString(HID + 20), "numFooterHeight", 236, 156, Boolean.TRUE, INTEGERS[2], new Short((short) 20), INTEGERS[5], 30
- });
- lblLogoHeight = insertLabel("lblLogoHeight",
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGERS[8], resources.reslblLogoHeight_value, "lblLogoHeight", 103, 42, INTEGERS[2], new Short((short) 68), 32
- });
- lblLogoWidth = insertLabel("lblLogoWidth",
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGERS[8], resources.reslblLogoWidth_value, "lblLogoWidth", 103, 58, INTEGERS[2], new Short((short) 69), 32
- });
- FixedLine5 = insertFixedLine("FixedLine5",
- new String[]
- {
- PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH
- },
- new Object[]
- {
- INTEGERS[2], "FixedLine5", 90, 78, INTEGERS[2], new Short((short) 70), 215
- });
- FixedLine6 = insertFixedLine("FixedLine6",
- new String[]
- {
- PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH
- },
- new Object[]
- {
- INTEGERS[2], "FixedLine6", 90, 150, INTEGERS[2], new Short((short) 71), 215
- });
- lblFooterHeight = insertLabel("lblFooterHeight",
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGERS[8], resources.reslblFooterHeight_value, "lblFooterHeight", 200, 158, INTEGERS[2], new Short((short) 72), 32
- });
- lblLogoX = insertLabel("lblLogoX",
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGERS[8], resources.reslblLogoX_value, "lblLogoX", 170, 42, INTEGERS[2], new Short((short) 84), 94
- });
- lblLogoY = insertLabel("lblLogoY",
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGERS[8], resources.reslblLogoY_value, "lblLogoY", 170, 58, INTEGERS[2], new Short((short) 85), 94
- });
- lblAddressHeight = insertLabel("lblAddressHeight",
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGERS[8], resources.reslblAddressHeight_value, "lblAddressHeight", 103, 98, INTEGERS[2], new Short((short) 86), 32
- });
- lblAddressWidth = insertLabel("lblAddressWidth",
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGERS[8], resources.reslblAddressWidth_value, "lblAddressWidth", 103, 114, INTEGERS[2], new Short((short) 87), 32
- });
- lblAddressX = insertLabel("lblAddressX",
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGERS[8], resources.reslblAddressX_value, "lblAddressX", 170, 98, INTEGERS[2], new Short((short) 88), 94
- });
- lblAddressY = insertLabel("lblAddressY",
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGERS[8], resources.reslblAddressY_value, "lblAddressY", 170, 114, INTEGERS[2], new Short((short) 89), 94
- });
- lblTitle2 = insertLabel("lblTitle2",
- new String[]
- {
- 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
- },
- new Object[]
- {
- fontDescriptor6, INTEGER_16, resources.reslblTitle2_value, Boolean.TRUE, "lblTitle2", 91, INTEGERS[8], INTEGERS[2], new Short((short) 91), 212
- });
- }
-
- public void buildStep3()
- {
- chkUseLogo = insertCheckBox("chkUseLogo", CHKUSELOGO_ITEM_CHANGED,
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGERS[8], HelpIds.getHelpIdString(HID + 22), resources.reschkUseLogo_value, "chkUseLogo", 97, 54, new Short((short) 0), INTEGERS[3], new Short((short) 22), 212
- });
- chkUseAddressReceiver = insertCheckBox("chkUseAddressReceiver", CHKUSEADDRESSRECEIVER_ITEM_CHANGED,
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGERS[8], HelpIds.getHelpIdString(HID + 23), resources.reschkUseAddressReceiver_value, "chkUseAddressReceiver", 97, 69, new Short((short) 0), INTEGERS[3], new Short((short) 23), 212
- });
- chkUseSigns = insertCheckBox("chkUseSigns", CHKUSESIGNS_ITEM_CHANGED,
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGERS[8], HelpIds.getHelpIdString(HID + 24), resources.reschkUseSigns_value, "chkUseSigns", 97, 82, new Short((short) 0), INTEGERS[3], new Short((short) 24), 212
- });
- chkUseSubject = insertCheckBox("chkUseSubject", CHKUSESUBJECT_ITEM_CHANGED,
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGERS[8], HelpIds.getHelpIdString(HID + 25), resources.reschkUseSubject_value, "chkUseSubject", 97, 98, new Short((short) 0), INTEGERS[3], new Short((short) 25), 212
- });
- chkUseSalutation = insertCheckBox("chkUseSalutation", CHKUSESALUTATION_ITEM_CHANGED,
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGERS[8], HelpIds.getHelpIdString(HID + 26), resources.reschkUseSalutation_value, "chkUseSalutation", 97, 113, new Short((short) 0), INTEGERS[3], new Short((short) 26), 66
- });
- lstSalutation = insertComboBox("lstSalutation", LSTSALUTATION_ACTION_PERFORMED, LSTSALUTATION_ITEM_CHANGED, LSTSALUTATION_TEXT_CHANGED,
- new String[]
- {
- "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
- },
- new Object[]
- {
- Boolean.TRUE, INTEGER_12, HelpIds.getHelpIdString(HID + 27), "lstSalutation", 210, 110, INTEGERS[3], new Short((short) 27), 74
- });
- chkUseBendMarks = insertCheckBox("chkUseBendMarks", CHKUSEBENDMARKS_ITEM_CHANGED,
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGERS[8], HelpIds.getHelpIdString(HID + 28), resources.reschkUseBendMarks_value, "chkUseBendMarks", 97, 127, new Short((short) 0), INTEGERS[3], new Short((short) 28), 212
- });
- chkUseGreeting = insertCheckBox("chkUseGreeting", CHKUSEGREETING_ITEM_CHANGED,
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGERS[8], HelpIds.getHelpIdString(HID + 29), resources.reschkUseGreeting_value, "chkUseGreeting", 97, 142, new Short((short) 0), INTEGERS[3], new Short((short) 29), 66
- });
- lstGreeting = insertComboBox("lstGreeting", LSTGREETING_ACTION_PERFORMED, LSTGREETING_ITEM_CHANGED, LSTGREETING_TEXT_CHANGED,
- new String[]
- {
- "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
- },
- new Object[]
- {
- Boolean.TRUE, INTEGER_12, HelpIds.getHelpIdString(HID + 30), "lstGreeting", 210, 141, INTEGERS[3], new Short((short) 30), 74
- });
- chkUseFooter = insertCheckBox("chkUseFooter", CHKUSEFOOTER_ITEM_CHANGED,
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGERS[8], HelpIds.getHelpIdString(HID + 31), resources.reschkUseFooter_value, "chkUseFooter", 97, 158, new Short((short) 0), INTEGERS[3], new Short((short) 31), 212
- });
- lblTitle3 = insertLabel("lblTitle3",
- new String[]
- {
- 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
- },
- new Object[]
- {
- fontDescriptor6, INTEGER_16, resources.reslblTitle3_value, Boolean.TRUE, "lblTitle3", 91, INTEGERS[8], INTEGERS[3], new Short((short) 90), 212
- });
- }
-
- public void buildStep4()
- {
- optSenderPlaceholder = insertRadioButton("optSenderPlaceholder", OPTSENDERPLACEHOLDER_ITEM_CHANGED,
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGERS[8], HelpIds.getHelpIdString(HID + 32), resources.resoptSenderPlaceholder_value, "optSenderPlaceholder", 104, 42, INTEGERS[4], new Short((short) 32), 149
- });
- optSenderDefine = insertRadioButton("optSenderDefine", OPTSENDERDEFINE_ITEM_CHANGED,
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGERS[8], HelpIds.getHelpIdString(HID + 33), resources.resoptSenderDefine_value, "optSenderDefine", 104, 54, INTEGERS[4], new Short((short) 33), 149
- });
- txtSenderName = insertTextField("txtSenderName", TXTSENDERNAME_TEXT_CHANGED,
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGER_12, HelpIds.getHelpIdString(HID + 34), "txtSenderName", 182, 67, INTEGERS[4], new Short((short) 34), 119
- });
- txtSenderStreet = insertTextField("txtSenderStreet", TXTSENDERSTREET_TEXT_CHANGED,
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGER_12, HelpIds.getHelpIdString(HID + 35), "txtSenderStreet", 182, 81, INTEGERS[4], new Short((short) 35), 119
- });
- txtSenderPostCode = insertTextField("txtSenderPostCode", TXTSENDERPOSTCODE_TEXT_CHANGED,
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGER_12, HelpIds.getHelpIdString(HID + 36), "txtSenderPostCode", 182, 95, INTEGERS[4], new Short((short) 36), 25
- });
- txtSenderState = insertTextField("txtSenderState", TXTSENDERSTATE_TEXT_CHANGED,
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGER_12, HelpIds.getHelpIdString(HID + 37), "txtSenderState", 211, 95, INTEGERS[4], new Short((short) 37), 21
- });
- txtSenderCity = insertTextField("txtSenderCity", TXTSENDERCITY_TEXT_CHANGED,
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGER_12, HelpIds.getHelpIdString(HID + 38), "txtSenderCity", 236, 95, INTEGERS[4], new Short((short) 38), 65
- });
- optReceiverPlaceholder = insertRadioButton("optReceiverPlaceholder", OPTRECEIVERPLACEHOLDER_ITEM_CHANGED,
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGERS[8], HelpIds.getHelpIdString(HID + 39), resources.resoptReceiverPlaceholder_value, "optReceiverPlaceholder", 104, 145, INTEGERS[4], new Short((short) 39), 200
- });
- optReceiverDatabase = insertRadioButton("optReceiverDatabase", OPTRECEIVERDATABASE_ITEM_CHANGED,
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGERS[8], HelpIds.getHelpIdString(HID + 40), resources.resoptReceiverDatabase_value, "optReceiverDatabase", 104, 157, INTEGERS[4], new Short((short) 40), 200
- });
- lblSenderAddress = insertLabel("lblSenderAddress",
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGERS[8], resources.reslblSenderAddress_value, "lblSenderAddress", 97, 28, INTEGERS[4], new Short((short) 64), 136
- });
- FixedLine2 = insertFixedLine("FixedLine2",
- new String[]
- {
- PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH
- },
- new Object[]
- {
- INTEGERS[5], "FixedLine2", 90, 126, INTEGERS[4], new Short((short) 75), 212
- });
- lblReceiverAddress = insertLabel("lblReceiverAddress",
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGERS[8], resources.reslblReceiverAddress_value, "lblReceiverAddress", 97, 134, INTEGERS[4], new Short((short) 76), 136
- });
- lblSenderName = insertLabel("lblSenderName",
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGERS[8], resources.reslblSenderName_value, "lblSenderName", 113, 69, INTEGERS[4], new Short((short) 77), 68
- });
- lblSenderStreet = insertLabel("lblSenderStreet",
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGERS[8], resources.reslblSenderStreet_value, "lblSenderStreet", 113, 82, INTEGERS[4], new Short((short) 78), 68
- });
- lblPostCodeCity = insertLabel("lblPostCodeCity",
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGERS[8], resources.reslblPostCodeCity_value, "lblPostCodeCity", 113, 97, INTEGERS[4], new Short((short) 79), 68
- });
- lblTitle4 = insertLabel("lblTitle4",
- new String[]
- {
- 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
- },
- new Object[]
- {
- fontDescriptor6, INTEGER_16, resources.reslblTitle4_value, Boolean.TRUE, "lblTitle4", 91, INTEGERS[8], INTEGERS[4], new Short((short) 92), 212
- });
- }
-
- public void buildStep5()
- {
- txtFooter = insertTextField("txtFooter", TXTFOOTER_TEXT_CHANGED,
- new String[]
- {
- 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
- },
- new Object[]
- {
- 47, HelpIds.getHelpIdString(HID + 41), Boolean.TRUE, "txtFooter", 97, INTEGER_40, INTEGERS[5], new Short((short) 41), 203
- });
- chkFooterNextPages = insertCheckBox("chkFooterNextPages", CHKFOOTERNEXTPAGES_ITEM_CHANGED,
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGERS[8], HelpIds.getHelpIdString(HID + 42), resources.reschkFooterNextPages_value, "chkFooterNextPages", 97, 92, new Short((short) 0), INTEGERS[5], new Short((short) 42), 202
- });
- chkFooterPageNumbers = insertCheckBox("chkFooterPageNumbers", CHKFOOTERPAGENUMBERS_ITEM_CHANGED,
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGERS[8], HelpIds.getHelpIdString(HID + 43), resources.reschkFooterPageNumbers_value, "chkFooterPageNumbers", 97, 106, new Short((short) 0), INTEGERS[5], new Short((short) 43), 201
- });
- lblFooter = insertLabel("lblFooter",
- new String[]
- {
- 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
- },
- new Object[]
- {
- fontDescriptor5, INTEGERS[8], resources.reslblFooter_value, "lblFooter", 97, 28, INTEGERS[5], new Short((short) 52), 116
- });
- lblTitle5 = insertLabel("lblTitle5",
- new String[]
- {
- 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
- },
- new Object[]
- {
- fontDescriptor6, INTEGER_16, resources.reslblTitle5_value, Boolean.TRUE, "lblTitle5", 91, INTEGERS[8], INTEGERS[5], new Short((short) 93), 212
- });
- }
-
- public void buildStep6()
- {
- txtTemplateName = insertTextField("txtTemplateName", TXTTEMPLATENAME_TEXT_CHANGED,
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGER_12, HelpIds.getHelpIdString(HID + 44), "txtTemplateName", 202, 56, INTEGERS[6], new Short((short) 44), resources.restxtTemplateName_value, 100
- });
- optCreateLetter = insertRadioButton("optCreateLetter", OPTCREATELETTER_ITEM_CHANGED,
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGERS[8], HelpIds.getHelpIdString(HID + 45), resources.resoptCreateLetter_value, "optCreateLetter", 104, 111, INTEGERS[6], new Short((short) 50), 198
- });
- optMakeChanges = insertRadioButton("optMakeChanges", OPTMAKECHANGES_ITEM_CHANGED,
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGERS[8], HelpIds.getHelpIdString(HID + 46), resources.resoptMakeChanges_value, "optMakeChanges", 104, 123, INTEGERS[6], new Short((short) 51), 198
- });
- lblFinalExplanation1 = insertLabel("lblFinalExplanation1",
- new String[]
- {
- 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
- },
- new Object[]
- {
- 26, resources.reslblFinalExplanation1_value, Boolean.TRUE, "lblFinalExplanation1", 97, 28, INTEGERS[6], new Short((short) 52), 205
- });
- lblProceed = insertLabel("lblProceed",
- new String[]
- {
- 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
- },
- new Object[]
- {
- INTEGERS[8], resources.reslblProceed_value, "lblProceed", 97, 100, INTEGERS[6], new Short((short) 53), 204
- });
- lblFinalExplanation2 = insertLabel("lblFinalExplanation2",
- new String[]
- {
- 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
- },
- new Object[]
- {
- 33, resources.reslblFinalExplanation2_value, Boolean.TRUE, "lblFinalExplanation2", 104, 145, INTEGERS[6], new Short((short) 54), 199
- });
- ImageControl2 = insertImage("ImageControl2",
- 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
- },
- new Object[]
- {
- new Short((short) 0), INTEGERS[10], "private:resource/dbu/image/19205", "ImageControl2", 92, 145, Boolean.FALSE, INTEGERS[6], new Short((short) 66), INTEGERS[10]
- });
- lblTemplateName = insertLabel("lblTemplateName",
- new String[]
... etc. - the rest is truncated
More information about the Libreoffice-commits
mailing list