summaryrefslogtreecommitdiff
path: root/wizards/com
diff options
context:
space:
mode:
Diffstat (limited to 'wizards/com')
-rw-r--r--wizards/com/sun/star/wizards/agenda/AgendaTemplate.java94
-rw-r--r--wizards/com/sun/star/wizards/agenda/AgendaWizardDialog.java114
-rw-r--r--wizards/com/sun/star/wizards/agenda/AgendaWizardDialogConst.java50
-rw-r--r--wizards/com/sun/star/wizards/agenda/AgendaWizardDialogImpl.java210
-rw-r--r--wizards/com/sun/star/wizards/agenda/AgendaWizardDialogResources.java70
-rw-r--r--wizards/com/sun/star/wizards/agenda/CGAgenda.java2
-rw-r--r--wizards/com/sun/star/wizards/agenda/CGTopic.java18
-rw-r--r--wizards/com/sun/star/wizards/agenda/CallWizard.java10
-rw-r--r--wizards/com/sun/star/wizards/agenda/TemplateConsts.java14
-rw-r--r--wizards/com/sun/star/wizards/agenda/TopicsControl.java82
-rw-r--r--wizards/com/sun/star/wizards/common/ConfigGroup.java6
-rw-r--r--wizards/com/sun/star/wizards/common/ConfigNode.java8
-rw-r--r--wizards/com/sun/star/wizards/common/ConfigSet.java4
-rw-r--r--wizards/com/sun/star/wizards/common/Configuration.java6
-rw-r--r--wizards/com/sun/star/wizards/common/DebugHelper.java2
-rw-r--r--wizards/com/sun/star/wizards/common/Desktop.java14
-rw-r--r--wizards/com/sun/star/wizards/common/FileAccess.java20
-rw-r--r--wizards/com/sun/star/wizards/common/Helper.java2
-rw-r--r--wizards/com/sun/star/wizards/common/IRenderer.java4
-rw-r--r--wizards/com/sun/star/wizards/common/Indexable.java2
-rw-r--r--wizards/com/sun/star/wizards/common/InvalidQueryException.java2
-rw-r--r--wizards/com/sun/star/wizards/common/JavaTools.java16
-rw-r--r--wizards/com/sun/star/wizards/common/NoValidPathException.java2
-rw-r--r--wizards/com/sun/star/wizards/common/NumberFormatter.java84
-rw-r--r--wizards/com/sun/star/wizards/common/NumericalHelper.java76
-rw-r--r--wizards/com/sun/star/wizards/common/Properties.java2
-rw-r--r--wizards/com/sun/star/wizards/common/PropertySetHelper.java6
-rw-r--r--wizards/com/sun/star/wizards/common/Resource.java2
-rw-r--r--wizards/com/sun/star/wizards/common/SystemDialog.java14
-rw-r--r--wizards/com/sun/star/wizards/common/TerminateWizardException.java2
-rw-r--r--wizards/com/sun/star/wizards/common/UCB.java66
-rw-r--r--wizards/com/sun/star/wizards/common/XMLHelper.java2
-rw-r--r--wizards/com/sun/star/wizards/common/XMLProvider.java2
-rw-r--r--wizards/com/sun/star/wizards/db/BlindtextCreator.java2
-rw-r--r--wizards/com/sun/star/wizards/db/ColumnPropertySet.java2
-rw-r--r--wizards/com/sun/star/wizards/db/CommandMetaData.java212
-rw-r--r--wizards/com/sun/star/wizards/db/CommandName.java2
-rw-r--r--wizards/com/sun/star/wizards/db/DBMetaData.java6
-rw-r--r--wizards/com/sun/star/wizards/db/FieldColumn.java2
-rw-r--r--wizards/com/sun/star/wizards/db/QueryMetaData.java18
-rw-r--r--wizards/com/sun/star/wizards/db/RecordParser.java2
-rw-r--r--wizards/com/sun/star/wizards/db/RelationController.java4
-rw-r--r--wizards/com/sun/star/wizards/db/SQLQueryComposer.java2
-rw-r--r--wizards/com/sun/star/wizards/db/TableDescriptor.java8
-rw-r--r--wizards/com/sun/star/wizards/db/TypeInspector.java12
-rw-r--r--wizards/com/sun/star/wizards/document/Control.java6
-rw-r--r--wizards/com/sun/star/wizards/document/DatabaseControl.java2
-rw-r--r--wizards/com/sun/star/wizards/document/FormHandler.java2
-rw-r--r--wizards/com/sun/star/wizards/document/GridControl.java2
-rw-r--r--wizards/com/sun/star/wizards/document/OfficeDocument.java4
-rw-r--r--wizards/com/sun/star/wizards/document/Shape.java2
-rw-r--r--wizards/com/sun/star/wizards/document/TimeStampControl.java4
-rw-r--r--wizards/com/sun/star/wizards/fax/CGFax.java2
-rw-r--r--wizards/com/sun/star/wizards/fax/CGFaxWizard.java2
-rw-r--r--wizards/com/sun/star/wizards/fax/CallWizard.java4
-rw-r--r--wizards/com/sun/star/wizards/fax/FaxDocument.java2
-rw-r--r--wizards/com/sun/star/wizards/fax/FaxWizardDialog.java6
-rw-r--r--wizards/com/sun/star/wizards/fax/FaxWizardDialogConst.java4
-rw-r--r--wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.java10
-rw-r--r--wizards/com/sun/star/wizards/fax/FaxWizardDialogResources.java4
-rw-r--r--wizards/com/sun/star/wizards/form/CallFormWizard.java2
-rw-r--r--wizards/com/sun/star/wizards/form/DataEntrySetter.java4
-rw-r--r--wizards/com/sun/star/wizards/form/FieldLinker.java6
-rw-r--r--wizards/com/sun/star/wizards/form/Finalizer.java2
-rw-r--r--wizards/com/sun/star/wizards/form/FormConfiguration.java2
-rw-r--r--wizards/com/sun/star/wizards/form/FormControlArranger.java8
-rw-r--r--wizards/com/sun/star/wizards/form/FormDocument.java2
-rw-r--r--wizards/com/sun/star/wizards/form/FormWizard.java4
-rw-r--r--wizards/com/sun/star/wizards/form/StyleApplier.java2
-rw-r--r--wizards/com/sun/star/wizards/form/UIControlArranger.java2
-rw-r--r--wizards/com/sun/star/wizards/letter/CGLetter.java2
-rw-r--r--wizards/com/sun/star/wizards/letter/CGLetterWizard.java2
-rw-r--r--wizards/com/sun/star/wizards/letter/CGPaperElementLocation.java2
-rw-r--r--wizards/com/sun/star/wizards/letter/CallWizard.java4
-rw-r--r--wizards/com/sun/star/wizards/letter/LetterDocument.java2
-rw-r--r--wizards/com/sun/star/wizards/letter/LetterWizardDialog.java4
-rwxr-xr-xwizards/com/sun/star/wizards/letter/LetterWizardDialogConst.java2
-rw-r--r--wizards/com/sun/star/wizards/letter/LetterWizardDialogEvents.java2
-rw-r--r--wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.java10
-rw-r--r--wizards/com/sun/star/wizards/letter/LetterWizardDialogResources.java2
-rw-r--r--wizards/com/sun/star/wizards/letter/LocaleCodes.java2
-rw-r--r--wizards/com/sun/star/wizards/query/CallQueryWizard.java2
-rw-r--r--wizards/com/sun/star/wizards/query/Finalizer.java2
-rw-r--r--wizards/com/sun/star/wizards/query/QuerySummary.java8
-rw-r--r--wizards/com/sun/star/wizards/query/QueryWizard.java8
-rw-r--r--wizards/com/sun/star/wizards/report/CallReportWizard.java2
-rw-r--r--wizards/com/sun/star/wizards/report/DBColumn.java2
-rw-r--r--wizards/com/sun/star/wizards/report/Dataimport.java10
-rw-r--r--wizards/com/sun/star/wizards/report/GroupFieldHandler.java2
-rwxr-xr-xwizards/com/sun/star/wizards/report/IReportBuilderLayouter.java6
-rwxr-xr-xwizards/com/sun/star/wizards/report/IReportDefinitionReadAccess.java2
-rw-r--r--wizards/com/sun/star/wizards/report/IReportDocument.java26
-rw-r--r--wizards/com/sun/star/wizards/report/RecordTable.java2
-rw-r--r--wizards/com/sun/star/wizards/report/ReportFinalizer.java2
-rw-r--r--wizards/com/sun/star/wizards/report/ReportImplementationHelper.java6
-rw-r--r--wizards/com/sun/star/wizards/report/ReportLayouter.java2
-rw-r--r--wizards/com/sun/star/wizards/report/ReportTextDocument.java2
-rw-r--r--wizards/com/sun/star/wizards/report/ReportTextImplementation.java14
-rw-r--r--wizards/com/sun/star/wizards/report/ReportWizard.java8
-rw-r--r--wizards/com/sun/star/wizards/reportbuilder/ReportBuilderImplementation.java10
-rw-r--r--wizards/com/sun/star/wizards/reportbuilder/layout/ColumnarSingleColumn.java2
-rw-r--r--wizards/com/sun/star/wizards/reportbuilder/layout/ColumnarThreeColumns.java4
-rw-r--r--wizards/com/sun/star/wizards/reportbuilder/layout/ColumnarTwoColumns.java2
-rw-r--r--wizards/com/sun/star/wizards/reportbuilder/layout/DesignTemplate.java6
-rw-r--r--wizards/com/sun/star/wizards/reportbuilder/layout/InBlocksLabelsAbove.java4
-rw-r--r--wizards/com/sun/star/wizards/reportbuilder/layout/InBlocksLabelsLeft.java4
-rw-r--r--wizards/com/sun/star/wizards/reportbuilder/layout/LayoutConstants.java2
-rw-r--r--wizards/com/sun/star/wizards/reportbuilder/layout/ReportBuilderLayouter.java30
-rw-r--r--wizards/com/sun/star/wizards/reportbuilder/layout/SectionEmptyObject.java4
-rw-r--r--wizards/com/sun/star/wizards/reportbuilder/layout/SectionLabel.java4
-rw-r--r--wizards/com/sun/star/wizards/reportbuilder/layout/SectionObject.java4
-rw-r--r--wizards/com/sun/star/wizards/reportbuilder/layout/SectionTextField.java4
-rw-r--r--wizards/com/sun/star/wizards/reportbuilder/layout/Tabular.java2
-rw-r--r--wizards/com/sun/star/wizards/table/CGCategory.java4
-rw-r--r--wizards/com/sun/star/wizards/table/CGTable.java2
-rw-r--r--wizards/com/sun/star/wizards/table/CallTableWizard.java2
-rw-r--r--wizards/com/sun/star/wizards/table/FieldDescription.java10
-rw-r--r--wizards/com/sun/star/wizards/table/FieldFormatter.java2
-rw-r--r--wizards/com/sun/star/wizards/table/Finalizer.java2
-rw-r--r--wizards/com/sun/star/wizards/table/PrimaryKeyHandler.java2
-rw-r--r--wizards/com/sun/star/wizards/table/ScenarioSelector.java6
-rw-r--r--wizards/com/sun/star/wizards/table/TableWizard.java2
-rw-r--r--wizards/com/sun/star/wizards/text/TextDocument.java2
-rw-r--r--wizards/com/sun/star/wizards/text/TextFieldHandler.java4
-rw-r--r--wizards/com/sun/star/wizards/text/TextFrameHandler.java2
-rw-r--r--wizards/com/sun/star/wizards/text/TextSectionHandler.java4
-rw-r--r--wizards/com/sun/star/wizards/text/TextStyleHandler.java2
-rw-r--r--wizards/com/sun/star/wizards/text/TextTableHandler.java2
-rw-r--r--wizards/com/sun/star/wizards/text/ViewHandler.java2
-rw-r--r--wizards/com/sun/star/wizards/ui/AggregateComponent.java4
-rw-r--r--wizards/com/sun/star/wizards/ui/ButtonList.java14
-rw-r--r--wizards/com/sun/star/wizards/ui/CommandFieldSelection.java4
-rw-r--r--wizards/com/sun/star/wizards/ui/ControlScroller.java6
-rw-r--r--wizards/com/sun/star/wizards/ui/DBLimitedFieldSelection.java2
-rw-r--r--wizards/com/sun/star/wizards/ui/DocumentPreview.java6
-rw-r--r--wizards/com/sun/star/wizards/ui/FieldSelection.java2
-rw-r--r--wizards/com/sun/star/wizards/ui/FilterComponent.java12
-rw-r--r--wizards/com/sun/star/wizards/ui/ImageList.java20
-rwxr-xr-xwizards/com/sun/star/wizards/ui/PathSelection.java2
-rw-r--r--wizards/com/sun/star/wizards/ui/PeerConfig.java20
-rw-r--r--wizards/com/sun/star/wizards/ui/SortingComponent.java10
-rw-r--r--wizards/com/sun/star/wizards/ui/TitlesComponent.java2
-rw-r--r--wizards/com/sun/star/wizards/ui/UnoDialog.java2
-rw-r--r--wizards/com/sun/star/wizards/ui/UnoDialog2.java2
-rw-r--r--wizards/com/sun/star/wizards/ui/WizardDialog.java4
-rw-r--r--wizards/com/sun/star/wizards/ui/XCommandSelectionListener.java2
-rw-r--r--wizards/com/sun/star/wizards/ui/XCompletion.java2
-rw-r--r--wizards/com/sun/star/wizards/ui/XFieldSelectionListener.java2
-rwxr-xr-xwizards/com/sun/star/wizards/ui/XPathSelectionListener.java2
-rw-r--r--wizards/com/sun/star/wizards/ui/event/AbstractListener.java2
-rw-r--r--wizards/com/sun/star/wizards/ui/event/CommonListener.java2
-rw-r--r--wizards/com/sun/star/wizards/ui/event/DataAware.java24
-rw-r--r--wizards/com/sun/star/wizards/ui/event/DataAwareFields.java14
-rw-r--r--wizards/com/sun/star/wizards/ui/event/EventNames.java2
-rw-r--r--wizards/com/sun/star/wizards/ui/event/ListModelBinder.java10
-rw-r--r--wizards/com/sun/star/wizards/ui/event/MethodInvocation.java6
-rw-r--r--wizards/com/sun/star/wizards/ui/event/RadioDataAware.java2
-rw-r--r--wizards/com/sun/star/wizards/ui/event/SimpleDataAware.java4
-rw-r--r--wizards/com/sun/star/wizards/ui/event/Task.java2
-rw-r--r--wizards/com/sun/star/wizards/ui/event/TaskEvent.java2
-rw-r--r--wizards/com/sun/star/wizards/ui/event/TaskListener.java2
-rw-r--r--wizards/com/sun/star/wizards/ui/event/UnoDataAware.java8
-rw-r--r--wizards/com/sun/star/wizards/web/AbstractErrorHandler.java12
-rw-r--r--wizards/com/sun/star/wizards/web/BackgroundsDialog.java18
-rw-r--r--wizards/com/sun/star/wizards/web/CallWizard.java4
-rw-r--r--wizards/com/sun/star/wizards/web/ErrorHandler.java6
-rw-r--r--wizards/com/sun/star/wizards/web/ExtensionVerifier.java4
-rw-r--r--wizards/com/sun/star/wizards/web/FTPDialog.java20
-rw-r--r--wizards/com/sun/star/wizards/web/FTPDialogResources.java6
-rw-r--r--wizards/com/sun/star/wizards/web/IconsDialog.java4
-rw-r--r--wizards/com/sun/star/wizards/web/ImageListDialog.java18
-rw-r--r--wizards/com/sun/star/wizards/web/LogTaskListener.java2
-rw-r--r--wizards/com/sun/star/wizards/web/Process.java52
-rw-r--r--wizards/com/sun/star/wizards/web/ProcessErrorHandler.java2
-rw-r--r--wizards/com/sun/star/wizards/web/ProcessErrors.java2
-rw-r--r--wizards/com/sun/star/wizards/web/ProcessStatusRenderer.java4
-rw-r--r--wizards/com/sun/star/wizards/web/StatusDialog.java6
-rw-r--r--wizards/com/sun/star/wizards/web/StylePreview.java12
-rw-r--r--wizards/com/sun/star/wizards/web/TOCPreview.java18
-rw-r--r--wizards/com/sun/star/wizards/web/WWD_Events.java46
-rw-r--r--wizards/com/sun/star/wizards/web/WWD_General.java26
-rw-r--r--wizards/com/sun/star/wizards/web/WWD_Startup.java2
-rw-r--r--wizards/com/sun/star/wizards/web/WWHID.java2
-rw-r--r--wizards/com/sun/star/wizards/web/WebWizard.java2
-rw-r--r--wizards/com/sun/star/wizards/web/WebWizardConst.java2
-rw-r--r--wizards/com/sun/star/wizards/web/WebWizardDialog.java12
-rw-r--r--wizards/com/sun/star/wizards/web/WebWizardDialogResources.java6
-rw-r--r--wizards/com/sun/star/wizards/web/data/CGArgument.java2
-rw-r--r--wizards/com/sun/star/wizards/web/data/CGContent.java2
-rw-r--r--wizards/com/sun/star/wizards/web/data/CGDesign.java2
-rw-r--r--wizards/com/sun/star/wizards/web/data/CGDocument.java8
-rw-r--r--wizards/com/sun/star/wizards/web/data/CGExporter.java2
-rw-r--r--wizards/com/sun/star/wizards/web/data/CGFilter.java4
-rw-r--r--wizards/com/sun/star/wizards/web/data/CGGeneralInfo.java2
-rw-r--r--wizards/com/sun/star/wizards/web/data/CGIconSet.java2
-rw-r--r--wizards/com/sun/star/wizards/web/data/CGImage.java2
-rw-r--r--wizards/com/sun/star/wizards/web/data/CGLayout.java2
-rw-r--r--wizards/com/sun/star/wizards/web/data/CGPublish.java2
-rw-r--r--wizards/com/sun/star/wizards/web/data/CGSession.java2
-rw-r--r--wizards/com/sun/star/wizards/web/data/CGSessionName.java2
-rw-r--r--wizards/com/sun/star/wizards/web/data/CGSettings.java2
-rw-r--r--wizards/com/sun/star/wizards/web/data/CGStyle.java4
-rw-r--r--wizards/com/sun/star/wizards/web/data/ConfigSetItem.java2
-rw-r--r--wizards/com/sun/star/wizards/web/data/TypeDetection.java10
-rw-r--r--wizards/com/sun/star/wizards/web/export/AbstractExporter.java2
-rw-r--r--wizards/com/sun/star/wizards/web/export/ConfiguredExporter.java2
-rw-r--r--wizards/com/sun/star/wizards/web/export/CopyExporter.java2
-rw-r--r--wizards/com/sun/star/wizards/web/export/Exporter.java8
-rw-r--r--wizards/com/sun/star/wizards/web/export/FilterExporter.java2
-rw-r--r--wizards/com/sun/star/wizards/web/export/ImpressHTMLExporter.java2
-rw-r--r--wizards/com/sun/star/wizards/web/status/ErrorLog.java2
-rw-r--r--wizards/com/sun/star/wizards/web/status/ErrorReporter.java2
-rw-r--r--wizards/com/sun/star/wizards/web/status/LogTaskListener.java2
-rw-r--r--wizards/com/sun/star/wizards/web/status/Task.java2
-rw-r--r--wizards/com/sun/star/wizards/web/status/TaskEvent.java2
-rw-r--r--wizards/com/sun/star/wizards/web/status/TaskListener.java2
216 files changed, 1106 insertions, 1106 deletions
diff --git a/wizards/com/sun/star/wizards/agenda/AgendaTemplate.java b/wizards/com/sun/star/wizards/agenda/AgendaTemplate.java
index 422f4c8134f9..c754c200d88d 100644
--- a/wizards/com/sun/star/wizards/agenda/AgendaTemplate.java
+++ b/wizards/com/sun/star/wizards/agenda/AgendaTemplate.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -65,13 +65,13 @@ import com.sun.star.wizards.ui.UnoDialog2;
import com.sun.star.wizards.ui.event.DataAware;
/**
- *
- * The classes here implement the whole document-functionality of the agenda wizard:
+ *
+ * The classes here implement the whole document-functionality of the agenda wizard:
* the live-preview and the final "creation" of the document, when the user clicks "finish". <br/>
* <br/>
* <h2>Some terminology:<h2/>
* items are names or headings. we don't make any distinction.
- *
+ *
* <br/>
* The Agenda Template is used as general "controller" of the whole document, whereas the
* two child-classes ItemsTable and TopicsTable control the item tables (note plural!) and the
@@ -105,7 +105,7 @@ import com.sun.star.wizards.ui.event.DataAware;
* Many methods here are synchronized, in order to avoid colission made by
* events fired too often.
* @author rpiterman
- *
+ *
*/
public class AgendaTemplate extends TextDocument implements TemplateConsts, DataAware.Listener
{
@@ -132,10 +132,10 @@ public class AgendaTemplate extends TextDocument implements TemplateConsts, Data
* The template-filename of the current template.
* Since we often re-link section and the break the link,
* inorder to restore them, we need a template to link to.
- * This is practically an identicall copy of the current template.
+ * This is practically an identicall copy of the current template.
*/
String template;
- /**
+ /**
* used for common operations on sections.
*/
TextSectionHandler textSectionHandler;
@@ -144,8 +144,8 @@ public class AgendaTemplate extends TextDocument implements TemplateConsts, Data
*/
XComponentLoader xComponentLoader;
/**
- * an array containing all ItemTable object (which control each an Items
- * Table in the document.
+ * an array containing all ItemTable object (which control each an Items
+ * Table in the document.
*/
ItemsTable[] itemsTables;
/**
@@ -167,8 +167,8 @@ public class AgendaTemplate extends TextDocument implements TemplateConsts, Data
* A temporary variable used to list all items and map them.
*/
List _allItems = new Vector();
- /**
- * keep a reference on some static items in the document,
+ /**
+ * keep a reference on some static items in the document,
* so when their content is changed (through the user), we
* can just reference them and set their text.
*/
@@ -364,7 +364,7 @@ public class AgendaTemplate extends TextDocument implements TemplateConsts, Data
}
/**
- * itemsCache is a Map containing all agenda item. These are object which
+ * itemsCache is a Map containing all agenda item. These are object which
* "write themselfs" to the table, given a table cursor.
* A cache is used in order to reuse the objects, instead of recreate them.
* This method fills the cache will all items objects (names and headings).
@@ -714,7 +714,7 @@ public class AgendaTemplate extends TextDocument implements TemplateConsts, Data
textSectionHandler.removeAllTextSections();
}
- /**
+ /**
* hidden sections exist when an item's section is hidden because the
* user specified not to display any items which it contains.
* When finishing the wizard removes this sections entireley from the document.
@@ -744,9 +744,9 @@ public class AgendaTemplate extends TextDocument implements TemplateConsts, Data
/**
* create the minutes for the given topics or remove the minutes section from the document.
- * If no topics are supplied, or the user
- * specified not to create minuts, the minutes section will be removed,
- * @param topicsData supplies PropertyValue arrays containing the values for the topics.
+ * If no topics are supplied, or the user
+ * specified not to create minuts, the minutes section will be removed,
+ * @param topicsData supplies PropertyValue arrays containing the values for the topics.
*/
public synchronized void createMinutes(List topicsData)
{
@@ -815,7 +815,7 @@ public class AgendaTemplate extends TextDocument implements TemplateConsts, Data
* now add minutes for each topic.
* The template contains *one* minutes section, so
* we first use the one available, and then add a new one...
- *
+ *
* topics data has *always* an empty topic at the end...
*/
for (int i = 0; i < topicsData.size() - 1; i++)
@@ -1028,9 +1028,9 @@ public class AgendaTemplate extends TextDocument implements TemplateConsts, Data
/* now go through all items that belong to this
* table. Check each one agains the model. If it should
* be display, call it's write method.
- * All items are of type AgendaItem which means they write
+ * All items are of type AgendaItem which means they write
* two cells to the table: a title (text) and a placeholder.
- * see AgendaItem class below.
+ * see AgendaItem class below.
*/
for (int i = 0; i < items.size(); i++)
{
@@ -1086,7 +1086,7 @@ public class AgendaTemplate extends TextDocument implements TemplateConsts, Data
int rowIndex = getRowIndex(cursor);
int rowsCount = getRowCount((XTextTable) UnoRuntime.queryInterface(XTextTable.class, table));
- /* now before deleteing i move the cursor up so it
+ /* now before deleteing i move the cursor up so it
* does not disappear, because it will crash office.
*/
cursor.gotoStart(false);
@@ -1109,7 +1109,7 @@ public class AgendaTemplate extends TextDocument implements TemplateConsts, Data
/**
* This class handles the preview of the topics table.
* You can call it the controller of the topics table.
- * It differs from ItemsTable in that it has no data model -
+ * It differs from ItemsTable in that it has no data model -
* the update is done programttically.<br/>
* <br/>
* The decision to make this class a class by its own
@@ -1117,7 +1117,7 @@ public class AgendaTemplate extends TextDocument implements TemplateConsts, Data
* since there is anyway only one instance of this class at runtime
* it could have also be implemented in the AgendaTemplate class
* but for clarity and separation I decided to make a sub class for it.
- *
+ *
* @author rp143992
*/
public class Topics
@@ -1147,7 +1147,7 @@ public class AgendaTemplate extends TextDocument implements TemplateConsts, Data
List topicCells = new Vector();
int rowsPerTopic;
/**
- * fields which hold the number of the
+ * fields which hold the number of the
* fillins in the cells vectors.
*/
int numCell = -1;
@@ -1167,7 +1167,7 @@ public class AgendaTemplate extends TextDocument implements TemplateConsts, Data
/**
* Analyze the structure of the Topics table.
* The structure Must be as follows:<br>
- * -One Header Row. <br>
+ * -One Header Row. <br>
* -arbitrary number of rows per topic <br>
* -arbitrary content in the topics row <br>
* -only soft formatting will be restored. <br>
@@ -1225,7 +1225,7 @@ public class AgendaTemplate extends TextDocument implements TemplateConsts, Data
}
/*
- * in the topics table, there are always one
+ * in the topics table, there are always one
* title row and three topics defined.
* So no mutter how many rows a topic takes - we
* can restore its structure and format.
@@ -1276,7 +1276,7 @@ public class AgendaTemplate extends TextDocument implements TemplateConsts, Data
- /* now that we know how the topics look like,
+ /* now that we know how the topics look like,
* we get the format of the first and last rows.
*/
@@ -1352,8 +1352,8 @@ public class AgendaTemplate extends TextDocument implements TemplateConsts, Data
/**
* check if the topic with the given index is written to the table.
* @param topic the topic number (0 base)
- * @return true if the topic is already written to the table. False if not.
- * (false would mean new rows must be added to the table in order to
+ * @return true if the topic is already written to the table. False if not.
+ * (false would mean new rows must be added to the table in order to
* be able to write this topic).
*/
private boolean isWritten(int topic)
@@ -1363,11 +1363,11 @@ public class AgendaTemplate extends TextDocument implements TemplateConsts, Data
/**
* rewrites a single cell containing.
- * This is used in order to refresh the topic/responsible/duration data in the
+ * This is used in order to refresh the topic/responsible/duration data in the
* preview document, in response to a change in the gui (by the user).
* Since the structure of the topics table is flexible, we don't reference a cell
* number. Rather, we use "what" argument to specify which cell should be redrawn.
- * The Topics object, which analyzed the structure of the topics table appon
+ * The Topics object, which analyzed the structure of the topics table appon
* initialization, refreshes the approperiate cell.
* @param topic index of the topic (0 based).
* @param what 0 for num, 1 for topic, 2 for responsible, 3 for duration
@@ -1425,10 +1425,10 @@ public class AgendaTemplate extends TextDocument implements TemplateConsts, Data
* writes the given topic.
* if the first topic was involved, reformat the
* first row.
- * If any rows were added to the table, reformat
- * the last row.
+ * If any rows were added to the table, reformat
+ * the last row.
* @param topic the index of the topic to write.
- * @param data the topic's data. (see TopicsControl
+ * @param data the topic's data. (see TopicsControl
* for explanation about the topics data model)
* @throws Exception if something goes wrong (though nothing should).
*/
@@ -1480,10 +1480,10 @@ public class AgendaTemplate extends TextDocument implements TemplateConsts, Data
* number of actuall topics it does *not* add
* new rows !
* Note also that the first topic will never be removed.
- * If the table contains no topics, the whole section will
+ * If the table contains no topics, the whole section will
* be removed uppon finishing.
* The reason for that is a "table-design" one: the first topic is
- * maintained in order to be able to add rows with a design of this topic,
+ * maintained in order to be able to add rows with a design of this topic,
* and not of the header row.
* @param topics the number of topics the table should contain.
* @throws Exception
@@ -1530,7 +1530,7 @@ public class AgendaTemplate extends TextDocument implements TemplateConsts, Data
/**
* returns a text element for the given cell,
* which will write the given text.
- * @param cell the topics cell number.
+ * @param cell the topics cell number.
* @param value the value to write.
* @return a TextElement object which will write the given value
* to the given cell.
@@ -1553,7 +1553,7 @@ public class AgendaTemplate extends TextDocument implements TemplateConsts, Data
* formats a series of cells from the given one,
* using the given List of TableCellFormatter objects,
* in the given order.
- * This method is used to format the first (header) and the last
+ * This method is used to format the first (header) and the last
* rows of the table.
* @param cursor a table cursor, pointing to the start cell to format
* @param formats a List containing TableCellFormatter objects. Each will format one cell in the direction specified.
@@ -1653,7 +1653,7 @@ public class AgendaTemplate extends TextDocument implements TemplateConsts, Data
}
/**
- * returns the rows count of this table, assuming
+ * returns the rows count of this table, assuming
* there is no vertical merged cells.
* @param table
* @return the rows count of the given table.
@@ -1667,11 +1667,11 @@ public class AgendaTemplate extends TextDocument implements TemplateConsts, Data
/*
* ===========================================================================================
- *
+ *
* End of AgendaTempalte class
- *
+ *
* ===========================================================================================
- *
+ *
*/
/*
* =================================
@@ -1679,7 +1679,7 @@ public class AgendaTemplate extends TextDocument implements TemplateConsts, Data
* =================================
*/
/**
- * Interface that is used for writing content to a Uno Text / TextRange
+ * Interface that is used for writing content to a Uno Text / TextRange
* @author rp143992
*
*/
@@ -1696,8 +1696,8 @@ interface AgendaElement
* =================================
*/
/**
- * Basic implementation of the AgendaElement interface -
- * writes nothing, but applies a ParaStyle to the given XText/XTextRange
+ * Basic implementation of the AgendaElement interface -
+ * writes nothing, but applies a ParaStyle to the given XText/XTextRange
* @author rp143992
*
* TODO To change the template for this generated type comment go to
@@ -1825,7 +1825,7 @@ class PlaceholderTextElement extends TextElement
* The PlaceHolder class
* =================================
*/
-/**
+/**
* An Agenda element which writes no text, but inserts a placeholder, and formats
* it using a ParaStyleName.
* @author rp143992
@@ -1869,7 +1869,7 @@ class PlaceholderElement extends ParaStyled
* =================================
*/
/**
- * An implementation of AgendaElement which
+ * An implementation of AgendaElement which
* gets as a parameter a table cursor, and writes
* a text to the cell marked by this table cursor, and
* a place holder to the next cell.
@@ -1956,6 +1956,6 @@ class TableCellFormatter
}
}
-
+
diff --git a/wizards/com/sun/star/wizards/agenda/AgendaWizardDialog.java b/wizards/com/sun/star/wizards/agenda/AgendaWizardDialog.java
index 55119ea28325..9df6bbef9a74 100644
--- a/wizards/com/sun/star/wizards/agenda/AgendaWizardDialog.java
+++ b/wizards/com/sun/star/wizards/agenda/AgendaWizardDialog.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -24,8 +24,8 @@
* for a copy of the LGPLv3 License.
*
************************************************************************/
-package com.sun.star.wizards.agenda;
-
+package com.sun.star.wizards.agenda;
+
import com.sun.star.awt.FontDescriptor;
import com.sun.star.awt.XButton;
import com.sun.star.awt.XCheckBox;
@@ -40,18 +40,18 @@ import com.sun.star.lang.XMultiServiceFactory;
import com.sun.star.wizards.common.Helper;
import com.sun.star.wizards.ui.UIConsts;
import com.sun.star.wizards.ui.WizardDialog;
-
+
/**
* This class is generated Automatically....
* bla bla bla
- */
+ */
public abstract class AgendaWizardDialog extends WizardDialog implements AgendaWizardDialogConst, UIConsts {
//GUI Components as Class members.
XFixedText lblTitle1;
XCheckBox chkMinutes;
XFixedText lblHelp1;
XFixedText lblPageDesign;
- XListBox listPageDesign;
+ XListBox listPageDesign;
//Image Control
XControl imgHelp1;
XControl imgHelp2;
@@ -89,8 +89,8 @@ public abstract class AgendaWizardDialog extends WizardDialog implements Agenda
XFixedText lblDuration;
//XFixedText lblHelp5;
XTextComponent txtTemplateName;
- XRadioButton optCreateAgenda;
- XRadioButton optMakeChanges;
+ XRadioButton optCreateAgenda;
+ XRadioButton optMakeChanges;
XFixedText lblProceed;
XFixedText lblTemplateName;
XFixedText lblTemplatePath;
@@ -103,10 +103,10 @@ public abstract class AgendaWizardDialog extends WizardDialog implements Agenda
XButton btnRemove;
XButton btnUp;
XButton btnDown;
-
+
final private String IMGHELP1_HID = "";
-
-
+
+
//Font Descriptors as Class members.
FontDescriptor fontDescriptor1 = new FontDescriptor();
FontDescriptor fontDescriptor2 = new FontDescriptor();
@@ -114,7 +114,7 @@ public abstract class AgendaWizardDialog extends WizardDialog implements Agenda
//Resources Object
AgendaWizardDialogResources resources;
-
+
private String[] PROPS_LIST = new String[] {"Dropdown", "Height", "HelpURL", "PositionX", "PositionY", "Step", "TabIndex", "Width"};
private String[] PROPS_LABEL_B = new String[] {"FontDescriptor", "Height", "Label", "MultiLine", "PositionX", "PositionY", "Step", "TabIndex", "Width"};
private String[] PROPS_CHECK = new String[] {"Height", "HelpURL", "Label", "PositionX", "PositionY", "State", "Step", "TabIndex", "Width"};
@@ -123,34 +123,34 @@ public abstract class AgendaWizardDialog extends WizardDialog implements Agenda
private String[] PROPS_TEXTAREA = new String[] {"Height", "Label", "MultiLine", "PositionX", "PositionY", "Step", "TabIndex", "Width"};
private String[] PROPS_TEXT = new String[] {"Height", "Label", "PositionX", "PositionY", "Step", "TabIndex", "Width"};
private String[] PROPS_IMAGE = new String[] {"Border", "Height", "HelpURL", "ImageURL", "PositionX", "PositionY", "ScaleImage", "Step", "TabIndex", "Width"};
-
+
private static final Short NO_BORDER = new Short((short)0);
-
+
public AgendaWizardDialog(XMultiServiceFactory xmsf) {
super(xmsf,HID);
//Load Resources
resources = new AgendaWizardDialogResources(xmsf);
-
+
//set dialog properties...
- Helper.setUnoPropertyValues(xDialogModel,
+ Helper.setUnoPropertyValues(xDialogModel,
new String[] { "Closeable","Height","Moveable","PositionX","PositionY","Step","TabIndex","Title","Width"},
new Object[] { Boolean.TRUE,new Integer(210),Boolean.TRUE,new Integer(200),new Integer(52),INTEGERS[1],new Short((short)1),resources.resAgendaWizardDialog_title,new Integer(310)}
);
-
+
//Set member- FontDescriptors...
fontDescriptor1.Weight = 150;
fontDescriptor1.Underline = com.sun.star.awt.FontUnderline.SINGLE;
fontDescriptor2.Weight = 100;
fontDescriptor4.Weight = 150;
}
-
+
//build components
public void buildStep1() {
- lblTitle1 = insertLabel("lblTitle1",
+ lblTitle1 = insertLabel("lblTitle1",
PROPS_LABEL_B,
new Object[] { fontDescriptor4,INTEGER_16,resources.reslblTitle1_value,Boolean.TRUE,new Integer(91),INTEGERS[8],INTEGERS[1],new Short((short)100),new Integer(212)}
);
- lblPageDesign = insertLabel("lblPageDesign",
+ lblPageDesign = insertLabel("lblPageDesign",
PROPS_TEXT,
new Object[] { INTEGERS[8],resources.reslblPageDesign_value,new Integer(97),new Integer(32),INTEGERS[1],new Short((short)101),new Integer(66)}
);
@@ -162,11 +162,11 @@ public abstract class AgendaWizardDialog extends WizardDialog implements Agenda
PROPS_CHECK,
new Object[] { INTEGERS[9],CHKMINUTES_HID,resources.reschkMinutes_value,new Integer(97),new Integer(50),new Short((short)0),INTEGERS[1],new Short((short)103),new Integer(203)}
);
- imgHelp1 = insertImage("imgHelp1",
+ imgHelp1 = insertImage("imgHelp1",
PROPS_IMAGE,
new Object[] { NO_BORDER, INTEGERS[10],IMGHELP1_HID, AgendaWizardDialogConst.INFO_IMAGE_URL, new Integer(92),new Integer(145), Boolean.FALSE, INTEGERS[1], new Short((short)104),INTEGERS[10]}
);
- lblHelp1 = insertLabel("lblHelp1",
+ lblHelp1 = insertLabel("lblHelp1",
PROPS_TEXTAREA,
new Object[] { new Integer(39),resources.reslblHelp1_value,Boolean.TRUE,new Integer(104),new Integer(145),INTEGERS[1],new Short((short)105),new Integer(199)}
);
@@ -174,11 +174,11 @@ public abstract class AgendaWizardDialog extends WizardDialog implements Agenda
}
public void buildStep2() {
- lblTitle2 = insertLabel("lblTitle2",
+ lblTitle2 = insertLabel("lblTitle2",
PROPS_LABEL_B,
new Object[] { fontDescriptor4,INTEGER_16,resources.reslblTitle2_value,Boolean.TRUE,new Integer(91),INTEGERS[8],INTEGERS[2],new Short((short)200),new Integer(212)}
);
- lblDate = insertLabel("lblDate",
+ lblDate = insertLabel("lblDate",
PROPS_TEXT,
new Object[] { INTEGERS[8],resources.reslblDate_value,new Integer(97),new Integer(32),INTEGERS[2],new Short((short)201),new Integer(66)}
);
@@ -186,7 +186,7 @@ public abstract class AgendaWizardDialog extends WizardDialog implements Agenda
PROPS_LIST,
new Object[] { Boolean.TRUE,INTEGER_12,TXTDATE_HID,new Integer(166),new Integer(30),INTEGERS[2],new Short((short)202),new Integer(70)}
);
- lblTime = insertLabel("lblTime",
+ lblTime = insertLabel("lblTime",
PROPS_TEXT,
new Object[] { INTEGERS[8],resources.reslblTime_value,new Integer(97),new Integer(50),INTEGERS[2],new Short((short)203),new Integer(66)}
);
@@ -194,8 +194,8 @@ public abstract class AgendaWizardDialog extends WizardDialog implements Agenda
new String[] {"Height", "HelpURL", "PositionX", "PositionY", "Step", "StrictFormat", "TabIndex", "Width"},
new Object[] { INTEGER_12,TXTTIME_HID,new Integer(166),new Integer(48),INTEGERS[2],Boolean.TRUE,new Short((short)204),new Integer(70)}
);
-
- lblTitle = insertLabel("lblTitle",
+
+ lblTitle = insertLabel("lblTitle",
PROPS_TEXT,
new Object[] { INTEGERS[8],resources.reslblTitle_value,new Integer(97),new Integer(68),INTEGERS[2],new Short((short)205),new Integer(66)}
);
@@ -203,7 +203,7 @@ public abstract class AgendaWizardDialog extends WizardDialog implements Agenda
new String[] {"Height", "HelpURL", "MultiLine", "PositionX", "PositionY", "Step", "TabIndex", "Width"},
new Object[] { new Integer(26),TXTTITLE_HID,Boolean.TRUE,new Integer(166),new Integer(66),INTEGERS[2],new Short((short)206),new Integer(138)}
);
- lblLocation = insertLabel("lblLocation",
+ lblLocation = insertLabel("lblLocation",
PROPS_TEXT,
new Object[] { INTEGERS[8],resources.reslblLocation_value,new Integer(97),new Integer(100),INTEGERS[2],new Short((short)207),new Integer(66)}
);
@@ -211,20 +211,20 @@ public abstract class AgendaWizardDialog extends WizardDialog implements Agenda
new String[] { "Height", "HelpURL", "MultiLine", "PositionX", "PositionY", "Step", "TabIndex", "Width"},
new Object[] { new Integer(34),CBLOCATION_HID,Boolean.TRUE,new Integer(166),new Integer(98),INTEGERS[2],new Short((short)208),new Integer(138)}
);
-
- imgHelp2 = insertImage("imgHelp2",
+
+ imgHelp2 = insertImage("imgHelp2",
PROPS_IMAGE,
new Object[] { NO_BORDER, INTEGERS[10],IMGHELP1_HID,AgendaWizardDialogConst.INFO_IMAGE_URL, new Integer(92),new Integer(145),Boolean.FALSE, INTEGERS[2],new Short((short)209),INTEGERS[10]}
);
- lblHelp2 = insertLabel("lblHelp2",
+ lblHelp2 = insertLabel("lblHelp2",
PROPS_TEXTAREA,
new Object[] { new Integer(39),resources.reslblHelp2_value,Boolean.TRUE,new Integer(104),new Integer(145),INTEGERS[2],new Short((short)210),new Integer(199)}
);
-
+
}
public void buildStep3() {
- lblTitle3 = insertLabel("lblTitle3",
+ lblTitle3 = insertLabel("lblTitle3",
PROPS_LABEL_B,
new Object[] { fontDescriptor4,INTEGER_16,resources.reslblTitle3_value,Boolean.TRUE,new Integer(91),INTEGERS[8],INTEGERS[3],new Short((short)300),new Integer(212)}
);
@@ -244,18 +244,18 @@ public abstract class AgendaWizardDialog extends WizardDialog implements Agenda
PROPS_CHECK,
new Object[] { INTEGERS[8],CHKNOTES_HID,resources.reschkNotes_value,new Integer(97),new Integer(74),new Short((short)1),INTEGERS[3],new Short((short)304),new Integer(160)}
);
- imgHelp3 = insertImage("imgHelp3",
+ imgHelp3 = insertImage("imgHelp3",
PROPS_IMAGE,
new Object[] { NO_BORDER, INTEGERS[10],IMGHELP1_HID,AgendaWizardDialogConst.INFO_IMAGE_URL, new Integer(92),new Integer(145),Boolean.FALSE, INTEGERS[3],new Short((short)305),INTEGERS[10]}
);
- lblHelp3 = insertLabel("lblHelp3",
+ lblHelp3 = insertLabel("lblHelp3",
PROPS_TEXTAREA,
new Object[] { new Integer(39),resources.reslblHelp3_value,Boolean.TRUE,new Integer(104),new Integer(145),INTEGERS[3],new Short((short)306),new Integer(199)}
);
}
public void buildStep4() {
- lblTitle5 = insertLabel("lblTitle5",
+ lblTitle5 = insertLabel("lblTitle5",
PROPS_LABEL_B,
new Object[] { fontDescriptor4,INTEGER_16,resources.reslblTitle5_value,Boolean.TRUE,new Integer(91),INTEGERS[8],INTEGERS[4],new Short((short)400),new Integer(212)}
);
@@ -287,38 +287,38 @@ public abstract class AgendaWizardDialog extends WizardDialog implements Agenda
PROPS_CHECK,
new Object[] { INTEGERS[8],CHKRESOURCEPERSONS_HID,resources.reschkResourcePersons_value,new Integer(97),new Integer(116),new Short((short)0),INTEGERS[4],new Short((short)407),new Integer(150)}
);
- imgHelp4 = insertImage("imgHelp4",
+ imgHelp4 = insertImage("imgHelp4",
PROPS_IMAGE,
new Object[] { NO_BORDER, INTEGERS[10],IMGHELP1_HID,AgendaWizardDialogConst.INFO_IMAGE_URL, new Integer(92),new Integer(145),Boolean.FALSE, INTEGERS[4],new Short((short)408),INTEGERS[10]}
);
- lblHelp4 = insertLabel("lblHelp4",
+ lblHelp4 = insertLabel("lblHelp4",
PROPS_TEXTAREA,
new Object[] { new Integer(39),resources.reslblHelp4_value,Boolean.TRUE,new Integer(104),new Integer(145),INTEGERS[4],new Short((short)409),new Integer(199)}
);
}
public void buildStep5() {
- lblTitle4 = insertLabel("lblTitle4",
+ lblTitle4 = insertLabel("lblTitle4",
PROPS_LABEL_B,
new Object[] { fontDescriptor4,INTEGER_16,resources.reslblTitle4_value,Boolean.TRUE,new Integer(91),INTEGERS[8],INTEGERS[5],new Short((short)500),new Integer(212)}
);
- lblTopic = insertLabel("lblTopic",
+ lblTopic = insertLabel("lblTopic",
PROPS_TEXT,
new Object[] { INTEGERS[8],resources.reslblTopic_value,new Integer(107),new Integer(28),INTEGERS[5],new Short((short)71),new Integer(501)}
);
- lblResponsible = insertLabel("lblResponsible",
+ lblResponsible = insertLabel("lblResponsible",
PROPS_TEXT,
new Object[] { INTEGERS[8],resources.reslblResponsible_value,new Integer(195),new Integer(28),INTEGERS[5],new Short((short)72),new Integer(502)}
);
- lblDuration = insertLabel("lblDuration",
+ lblDuration = insertLabel("lblDuration",
PROPS_TEXT,
new Object[] { INTEGERS[8],resources.reslblDuration_value,new Integer(267),new Integer(28),INTEGERS[5],new Short((short)73),new Integer(503)}
);
-
-
-
-
-
+
+
+
+
+
btnInsert = insertButton("btnInsert", BTNINSERT_ACTION_PERFORMED,
PROPS_BUTTON,
new Object[] { INTEGER_14,BTNINSERT_HID,resources.resButtonInsert,new Integer(92),new Integer(136),INTEGERS[5],new Short((short)580),INTEGER_40}
@@ -335,22 +335,22 @@ public abstract class AgendaWizardDialog extends WizardDialog implements Agenda
PROPS_BUTTON,
new Object[] { INTEGER_14,BTNDOWN_HID,resources.resButtonDown,new Integer(264),new Integer(136),INTEGERS[5],new Short((short)583),INTEGER_40}
);
-
-
+
+
}
public void buildStep6() {
- lblTitle6 = insertLabel("lblTitle6",
+ lblTitle6 = insertLabel("lblTitle6",
PROPS_LABEL_B,
new Object[] { fontDescriptor4,INTEGER_16,resources.reslblTitle6_value,Boolean.TRUE,new Integer(91),INTEGERS[8],INTEGERS[6],new Short((short)600),new Integer(212)}
);
- lblHelpPg6 = insertLabel("lblHelpPg6",
+ lblHelpPg6 = insertLabel("lblHelpPg6",
PROPS_TEXTAREA,
new Object[] { new Integer(24),resources.reslblHelpPg6_value,Boolean.TRUE,new Integer(97),new Integer(32),INTEGERS[6],new Short((short)601),new Integer(204)}
);
-
- lblTemplateName = insertLabel("lblTemplateName",
+
+ lblTemplateName = insertLabel("lblTemplateName",
PROPS_TEXT,
new Object[] { INTEGERS[8],resources.reslblTemplateName_value,new Integer(97),new Integer(62),INTEGERS[6],new Short((short)602),new Integer(101)}
);
@@ -358,7 +358,7 @@ public abstract class AgendaWizardDialog extends WizardDialog implements Agenda
PROPS_X,
new Object[] { INTEGER_12,TXTTEMPLATENAME_HID,new Integer(202),new Integer(60),INTEGERS[6],new Short((short)603),new Integer(100)}
);
- lblProceed = insertLabel("lblProceed",
+ lblProceed = insertLabel("lblProceed",
PROPS_TEXT,
new Object[] { INTEGERS[8],resources.reslblProceed_value,new Integer(97),new Integer(101),INTEGERS[6],new Short((short)607),new Integer(204)}
);
@@ -370,15 +370,15 @@ public abstract class AgendaWizardDialog extends WizardDialog implements Agenda
PROPS_BUTTON,
new Object[] { INTEGERS[8],OPTMAKECHANGES_HID,resources.resoptMakeChanges_value,new Integer(103),new Integer(125),INTEGERS[6],new Short((short)609),new Integer(198)}
);
- imgHelp6 = insertImage("imgHelp6",
+ imgHelp6 = insertImage("imgHelp6",
PROPS_IMAGE,
new Object[] { NO_BORDER, INTEGERS[10],IMGHELP1_HID,AgendaWizardDialogConst.INFO_IMAGE_URL, new Integer(92),new Integer(145),Boolean.FALSE, INTEGERS[6],new Short((short)610),INTEGERS[10]}
);
- lblHelp6 = insertLabel("lblHelp6",
+ lblHelp6 = insertLabel("lblHelp6",
PROPS_TEXTAREA,
new Object[] { new Integer(39),resources.reslblHelp6_value,Boolean.TRUE,new Integer(104),new Integer(145),INTEGERS[6],new Short((short)611),new Integer(199)}
);
-
+
}
} \ No newline at end of file
diff --git a/wizards/com/sun/star/wizards/agenda/AgendaWizardDialogConst.java b/wizards/com/sun/star/wizards/agenda/AgendaWizardDialogConst.java
index 08f2fabfb8d9..109818f88149 100644
--- a/wizards/com/sun/star/wizards/agenda/AgendaWizardDialogConst.java
+++ b/wizards/com/sun/star/wizards/agenda/AgendaWizardDialogConst.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -27,28 +27,28 @@
package com.sun.star.wizards.agenda;
public interface AgendaWizardDialogConst {
-
+
/**
* These are event method names, used with reflection
- * to call the methods under these names uppon
+ * to call the methods under these names uppon
* events.
*/
-
- final String LISTPAGEDESIGN_ACTION_PERFORMED = "pageDesignChanged";
- final String TXTTEMPLATENAME_TEXT_CHANGED = "templateTitleChanged";
- final String BTNTEMPLATEPATH_ACTION_PERFORMED = "saveAs";
- final String BTNINSERT_ACTION_PERFORMED = "insertRow";
- final String BTNREMOVE_ACTION_PERFORMED = "removeRow";
- final String BTNUP_ACTION_PERFORMED = "rowUp";
- final String BTNDOWN_ACTION_PERFORMED = "rowDown";
-
+
+ final String LISTPAGEDESIGN_ACTION_PERFORMED = "pageDesignChanged";
+ final String TXTTEMPLATENAME_TEXT_CHANGED = "templateTitleChanged";
+ final String BTNTEMPLATEPATH_ACTION_PERFORMED = "saveAs";
+ final String BTNINSERT_ACTION_PERFORMED = "insertRow";
+ final String BTNREMOVE_ACTION_PERFORMED = "removeRow";
+ final String BTNUP_ACTION_PERFORMED = "rowUp";
+ final String BTNDOWN_ACTION_PERFORMED = "rowDown";
+
final String INFO_IMAGE_URL = "private:resource/dbu/image/19205";
/* ====================================
* Help IDs
* ====================================
*/
- final int HID = 41051;
-
+ final int HID = 41051;
+
/*
* "HID:(hid)" - the dialog
* "HID:(hid+1) - the help button
@@ -57,19 +57,19 @@ public interface AgendaWizardDialogConst {
* "HID:(hid+4)" - the create button
* "HID:(hid+5)" - the cancel button
*/
-
+
final String LISTPAGEDESIGN_HID = "HID:" + (HID + 6);
final String CHKMINUTES_HID = "HID:" + (HID + 7);
final String TXTTIME_HID = "HID:" + (HID + 8);
final String TXTDATE_HID = "HID:" + (HID + 9);
final String TXTTITLE_HID = "HID:" + (HID + 10);
final String CBLOCATION_HID = "HID:" + (HID + 11);
-
+
final String CHKMEETINGTITLE_HID = "HID:" + (HID + 12);
final String CHKREAD_HID = "HID:" + (HID + 13);
final String CHKBRING_HID = "HID:" + (HID + 14);
final String CHKNOTES_HID = "HID:" + (HID + 15);
-
+
final String CHKCONVENEDBY_HID = "HID:" + (HID + 16);
final String CHKPRESIDING_HID = "HID:" + (HID + 17);
final String CHKNOTETAKER_HID = "HID:" + (HID + 18);
@@ -77,22 +77,22 @@ public interface AgendaWizardDialogConst {
final String CHKATTENDEES_HID = "HID:" + (HID + 20);
final String CHKOBSERVERS_HID = "HID:" + (HID + 21);
final String CHKRESOURCEPERSONS_HID = "HID:" + (HID + 22);
-
+
final String TXTTEMPLATENAME_HID = "HID:" + (HID + 23);
final String TXTTEMPLATEPATH_HID = "HID:" + (HID + 24);
final String BTNTEMPLATEPATH_HID = "HID:" + (HID + 25);
-
+
final String OPTCREATEAGENDA_HID = "HID:" + (HID + 26);
final String OPTMAKECHANGES_HID = "HID:" + (HID + 27);
-
+
final String BTNINSERT_HID = "HID:" + (HID + 28);
final String BTNREMOVE_HID = "HID:" + (HID + 29);
final String BTNUP_HID = "HID:" + (HID + 30);
final String BTNDOWN_HID = "HID:" + (HID + 31);
-
+
final int LAST_HID = HID + 32;
-
- /*
+
+ /*
* 32 : scroll bar
* 33 - 35 first topics row
* 36 - 38 second
@@ -101,7 +101,7 @@ public interface AgendaWizardDialogConst {
* 45 - 47
* total 5 rows / 3 controls.
*/
-
-
+
+
}
\ No newline at end of file
diff --git a/wizards/com/sun/star/wizards/agenda/AgendaWizardDialogImpl.java b/wizards/com/sun/star/wizards/agenda/AgendaWizardDialogImpl.java
index 64be1b074e04..7d68673f2a8e 100644
--- a/wizards/com/sun/star/wizards/agenda/AgendaWizardDialogImpl.java
+++ b/wizards/com/sun/star/wizards/agenda/AgendaWizardDialogImpl.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -24,8 +24,8 @@
* for a copy of the LGPLv3 License.
*
************************************************************************/
-
-package com.sun.star.wizards.agenda;
+
+package com.sun.star.wizards.agenda;
import java.util.Vector;
@@ -54,12 +54,12 @@ import com.sun.star.wizards.document.OfficeDocument;
import com.sun.star.wizards.text.ViewHandler;
import com.sun.star.wizards.ui.PathSelection;
import com.sun.star.wizards.ui.XPathSelectionListener;
-import com.sun.star.wizards.ui.event.DataAware;
+import com.sun.star.wizards.ui.event.DataAware;
import com.sun.star.wizards.ui.event.RadioDataAware;
import com.sun.star.wizards.ui.event.UnoDataAware;
/**
- * This class is the dialog implementation class -
+ * This class is the dialog implementation class -
* there is not much business logic here - but mostley
* event methods.
* Some event methods are also implemented in TopicsControl and TopicsControl.ControlRow.
@@ -71,7 +71,7 @@ public class AgendaWizardDialogImpl extends AgendaWizardDialog
* used to prevent a double start of the wizard.
*/
static boolean running;
-
+
/**
* the preview document controller.
*/
@@ -82,14 +82,14 @@ public class AgendaWizardDialogImpl extends AgendaWizardDialog
* the data model changes, except for topics).
*/
private CGAgenda agenda;
-
+
/**
- * the topics control, a gui element which
+ * the topics control, a gui element which
* manipulates the topics data according to the
- * user's input.
+ * user's input.
*/
private TopicsControl topicsControl;
-
+
/**
* an array with two array memebers:
* agendaTemplates[0] contains an array with
@@ -98,31 +98,31 @@ public class AgendaWizardDialogImpl extends AgendaWizardDialog
* corresponding URLs.
*/
private String[][] agendaTemplates;
-
+
PathSelection myPathSelection;
-
+
String sTemplatePath;
String sUserTemplatePath;
String sBitmapPath;
-
+
String sPath;
/** constructor */
- public AgendaWizardDialogImpl(XMultiServiceFactory xmsf)
+ public AgendaWizardDialogImpl(XMultiServiceFactory xmsf)
{
super(xmsf);
}
-
+
protected void enterStep(int OldStep, int NewStep) {}
protected void leaveStep(int OldStep, int NewStep) {}
-
+
/**
* read the configuration data, open the specified template,
* initialize the template controller (AgendaTemplate) and
- * set the status of the displayed template to the one
+ * set the status of the displayed template to the one
* read from the configuration.
* build the dialog.
- * Synchronize the dialog to the same status (read from
+ * Synchronize the dialog to the same status (read from
* the configuration).
* show the dialog.
*/
@@ -131,16 +131,16 @@ public class AgendaWizardDialogImpl extends AgendaWizardDialog
try {
// read configuration data.
agenda = new CGAgenda();
-
+
Object root = Configuration.getConfigurationRoot(xMSF, "/org.openoffice.Office.Writer/Wizards/Agenda", false);
agenda.readConfiguration(root,"cp_");
-
+
// initialize the agenda template
agendaTemplate = new AgendaTemplate(xMSF, agenda, resources, this);
initializeTemplates();
-
+
agendaTemplate.load(agendaTemplates[1][agenda.cp_AgendaType] , new Vector());
-
+
// build the dialog.
buildStep1();
buildStep2();
@@ -150,17 +150,17 @@ public class AgendaWizardDialogImpl extends AgendaWizardDialog
topicsControl = new TopicsControl(this,xMSF, agenda);
buildStep6();
drawNaviBar();
-
+
initializePaths();
-
+
//special Control for setting the save Path:
insertPathSelectionControl();
-
+
// create the peer
XWindow xw = agendaTemplate.xFrame.getContainerWindow();
XWindowPeer xWindowPeer = (XWindowPeer) UnoRuntime.queryInterface(XWindowPeer.class, xw);
this.createWindowPeer( xWindowPeer );
-
+
// initialize roadmap
this.addRoadmap();
this.insertRoadMapItems(
@@ -169,15 +169,15 @@ public class AgendaWizardDialogImpl extends AgendaWizardDialog
new boolean[] { true,true,true,true,true,true }
);
this.setMaxStep(6);
-
+
// synchronize GUI and CGAgenda object.
makeDA();
if(myPathSelection.xSaveTextBox.getText().equalsIgnoreCase("")) {myPathSelection.initializePath();}
executeDialog(agendaTemplate.xFrame);
- removeTerminateListener();
+ removeTerminateListener();
closeDocument();
- running = false;
+ running = false;
}
catch (Exception ex) {
@@ -186,21 +186,21 @@ public class AgendaWizardDialogImpl extends AgendaWizardDialog
running=false;
return;
}
-
-
+
+
}
-
+
private class myPathSelectionListener implements XPathSelectionListener {
public void validatePath() {
if (myPathSelection.usedPathPicker) {
- filenameChanged = true;
+ filenameChanged = true;
}
myPathSelection.usedPathPicker = false;
}
}
-
- public void insertPathSelectionControl() {
+
+ public void insertPathSelectionControl() {
myPathSelection = new PathSelection(xMSF, this, PathSelection.TransferMode.SAVE, PathSelection.DialogTypes.FILE);
myPathSelection.insert(6, 97, 70, 205, (short) 45, resources.reslblTemplatePath_value, true, "HID:" + ( HID + 24 ), "HID:" + ( HID + 25 ));
myPathSelection.sDefaultDirectory = sUserTemplatePath;
@@ -208,7 +208,7 @@ public class AgendaWizardDialogImpl extends AgendaWizardDialog
myPathSelection.sDefaultFilter = "writer8_template";
myPathSelection.addSelectionListener(new myPathSelectionListener());
}
-
+
private void initializePaths() {
try {
sTemplatePath = FileAccess.getOfficePath(xMSF, "Template", "share", "/wizard");
@@ -218,18 +218,18 @@ public class AgendaWizardDialogImpl extends AgendaWizardDialog
e.printStackTrace();
}
}
-
+
private void checkSavePath() {
- if (agenda.cp_TemplatePath == null ||
- agenda.cp_TemplatePath.equals("") ||
+ if (agenda.cp_TemplatePath == null ||
+ agenda.cp_TemplatePath.equals("") ||
!getFileAccess().exists(FileAccess.getParentDir(agenda.cp_TemplatePath),false) ||
!getFileAccess().isDirectory(FileAccess.getParentDir(agenda.cp_TemplatePath )))
{
- try {
- agenda.cp_TemplatePath =
+ try {
+ agenda.cp_TemplatePath =
FileAccess.connectURLs(
- FileAccess.getOfficePath(xMSF, "Work", "", "") ,
- resources.resDefaultFilename
+ FileAccess.getOfficePath(xMSF, "Work", "", "") ,
+ resources.resDefaultFilename
);
}
catch (Exception ex) {
@@ -237,30 +237,30 @@ public class AgendaWizardDialogImpl extends AgendaWizardDialog
}
}
}
-
+
/**
* bind controls to the agenda member (DataAware model)
*/
private void makeDA() {
-
+
setControlProperty("listPageDesign", "StringItemList", agendaTemplates[0]);
-
+
checkSavePath();
//setFilename(agenda.cp_TemplatePath);
-
+
UnoDataAware.attachListBox( agenda, "cp_AgendaType", listPageDesign , null, true ).updateUI();
UnoDataAware.attachCheckBox( agenda, "cp_IncludeMinutes", chkMinutes, null, true).updateUI();
-
+
UnoDataAware.attachEditControl(agenda, "cp_Title", txtTitle, agendaTemplate , true).updateUI();
UnoDataAware.attachDateControl(agenda, "cp_Date", txtDate, agendaTemplate , true).updateUI();
UnoDataAware.attachTimeControl(agenda, "cp_Time", txtTime, agendaTemplate , true).updateUI();
UnoDataAware.attachEditControl(agenda, "cp_Location", cbLocation, agendaTemplate , true).updateUI();
-
+
UnoDataAware.attachCheckBox(agenda,"cp_ShowMeetingType", chkMeetingTitle , new RedrawListener( TemplateConsts.FILLIN_MEETING_TYPE ) , true);
UnoDataAware.attachCheckBox(agenda,"cp_ShowRead", chkRead , new RedrawListener( TemplateConsts.FILLIN_READ ) , true).updateUI();
UnoDataAware.attachCheckBox(agenda,"cp_ShowBring", chkBring , new RedrawListener( TemplateConsts.FILLIN_BRING ) , true).updateUI();
UnoDataAware.attachCheckBox(agenda,"cp_ShowNotes", chkNotes , new RedrawListener( TemplateConsts.FILLIN_NOTES ) , true).updateUI();
-
+
UnoDataAware.attachCheckBox(agenda,"cp_ShowCalledBy", chkConvenedBy , new RedrawListener( TemplateConsts.FILLIN_CALLED_BY ) , true).updateUI();
UnoDataAware.attachCheckBox(agenda,"cp_ShowFacilitator", chkPresiding , new RedrawListener( TemplateConsts.FILLIN_FACILITATOR ) , true).updateUI();
UnoDataAware.attachCheckBox(agenda,"cp_ShowNotetaker", chkNoteTaker , new RedrawListener( TemplateConsts.FILLIN_NOTETAKER ) , true).updateUI();
@@ -268,11 +268,11 @@ public class AgendaWizardDialogImpl extends AgendaWizardDialog
UnoDataAware.attachCheckBox(agenda,"cp_ShowAttendees", chkAttendees , new RedrawListener( TemplateConsts.FILLIN_PARTICIPANTS ) , true).updateUI();
UnoDataAware.attachCheckBox(agenda,"cp_ShowObservers", chkObservers , new RedrawListener( TemplateConsts.FILLIN_OBSERVERS ) , true).updateUI();
UnoDataAware.attachCheckBox(agenda,"cp_ShowResourcePersons", chkResourcePersons , new RedrawListener( TemplateConsts.FILLIN_RESOURCE_PERSONS ) , true).updateUI();
-
+
UnoDataAware.attachEditControl(agenda, "cp_TemplateName", txtTemplateName, null, true).updateUI();
- RadioDataAware.attachRadioButtons( agenda, "cp_ProceedMethod",
+ RadioDataAware.attachRadioButtons( agenda, "cp_ProceedMethod",
new Object[] {optCreateAgenda, optMakeChanges} ,null,true).updateUI();
-
+
listPageDesign.addItemListener(new XItemListener() {
public void itemStateChanged(ItemEvent ie) {
pageDesignChanged(ie);
@@ -289,37 +289,37 @@ public class AgendaWizardDialogImpl extends AgendaWizardDialog
XMultiServiceFactory xLocMSF = Desktop.connect(ConnectStr);
AgendaWizardDialogImpl wizard = new AgendaWizardDialogImpl(xLocMSF);
wizard.startWizard();
-
+
}
catch (Exception exception) {
exception.printStackTrace();
}
}
-
+
/*
private void initializePaths() {
try {
-
+
sUserTemplatePath = FileAccess.getOfficePath(xMSF, "Template", "user");
sBitmapPath = FileAccess.combinePaths(xMSF, sTemplatePath, "/../wizard/bitmap");
} catch (NoValidPathException e) {
e.printStackTrace();
}
}*/
-
+
/**
* read the available agenda wizard templates.
*/
public boolean initializeTemplates() {
try {
String sTemplatePath = FileAccess.getOfficePath(xMSF, "Template", "share", "/wizard");
-
+
//sCurrentNorm = Norms[getCurrentLetter().cp_Norm];
String sAgendaPath = FileAccess.combinePaths(xMSF, sTemplatePath, "/wizard/agenda" );
-
+
agendaTemplates = FileAccess.getFolderTitles(xMSF, "aw" , sAgendaPath);
-
+
return true;
} catch (NoValidPathException nopathexception) {
nopathexception.printStackTrace();
@@ -329,35 +329,35 @@ public class AgendaWizardDialogImpl extends AgendaWizardDialog
return false;
}
}
-
+
/* ******************************
* Event methods
* ******************************
*/
-
+
/**
* first page, page design listbox changed.
*/
public void pageDesignChanged(ItemEvent ie) {
int selected = ie.Selected;
- try {
- agendaTemplate.load( agendaTemplates[1][selected] , topicsControl.getTopicsData());
+ try {
+ agendaTemplate.load( agendaTemplates[1][selected] , topicsControl.getTopicsData());
}
catch (Exception ex) {
SystemDialog.showMessageBox(xMSF, "ErrBox", VclWindowPeerAttribute.OK, resources.resErrOpenTemplate);
ex.printStackTrace();
}
}
-
+
/**
* last page, template title changed...
*/
public void templateTitleChanged() {
String title = (String)Helper.getUnoPropertyValue( getModel(txtTemplateName), "Text" );
- agendaTemplate.setTemplateTitle( title );
+ agendaTemplate.setTemplateTitle( title );
}
-
-
+
+
private FileAccess fileAccess1;
/** convenience method.
* instead of creating a FileAccess object every time
@@ -374,31 +374,31 @@ public class AgendaWizardDialogImpl extends AgendaWizardDialog
e.printStackTrace();
}
return fileAccess1;
-
+
}
/**
* indicates if the filename was changed by the user through
* the "save as" dialog.
* If it is so, one needs not warn the user
- * upon overwrite, since she was already warned.
+ * upon overwrite, since she was already warned.
*/
private boolean filenameChanged = false;
-
+
/**
* last page, "browse" ("...") button was clicked...
*/
public void saveAs() {
try {
-
+
checkSavePath();
-
+
SystemDialog saveAs = SystemDialog.createStoreDialog(xMSF);
saveAs.addFilterToDialog("ott","writer8_template",true);
// call the saveAs dialog.
String url = saveAs.callStoreDialog(
- FileAccess.getParentDir(agenda.cp_TemplatePath),
+ FileAccess.getParentDir(agenda.cp_TemplatePath),
FileAccess.getFilename(agenda.cp_TemplatePath));
-
+
if (url != null) {
agenda.cp_TemplatePath = url;
setFilename(url);
@@ -408,10 +408,10 @@ public class AgendaWizardDialogImpl extends AgendaWizardDialog
catch (Exception ex) {
ex.printStackTrace();
}
-
-
+
+
}
-
+
/**
* is called when the user
* changes the path through the "save as" dialog.
@@ -426,36 +426,36 @@ public class AgendaWizardDialogImpl extends AgendaWizardDialog
catch (Exception ex) {
ex.printStackTrace();
}
-
+
}
-
+
public void insertRow() {
topicsControl.insertRow();
}
-
+
public void removeRow() {
topicsControl.removeRow();
}
-
+
public void rowUp() {
topicsControl.rowUp();
}
-
+
public void rowDown() {
topicsControl.rowDown();
}
-
-
+
+
/* ************************
* Navigation bar methods
* ************************
*/
-
+
public void cancelWizard() {
xDialog.endExecute();
running = false;
}
-
+
public boolean finishWizard() {
boolean bSaveSuccess = false; // pesimistic :(
XTextDocument xTextDocument;
@@ -468,28 +468,28 @@ public class AgendaWizardDialogImpl extends AgendaWizardDialog
sPath = myPathSelection.getSelectedPath();
}
sPath = fileAccess.getURL(sPath);
-
+
//first, if the filename was not changed, thus
//it is coming from a saved session, check if the
// file exists and warn the user.
if (!filenameChanged)
if (fileAccess.exists(sPath, true)) {
-
+
int answer = SystemDialog.showMessageBox(xMSF, xControl.getPeer(), "MessBox", VclWindowPeerAttribute.YES_NO + VclWindowPeerAttribute.DEF_NO, resources.resFileExists);
if (answer == 3) // user said: no, do not overwrite....
return false;
}
agendaTemplate.xTextDocument.lockControllers();
-
+
xTextDocument = (XTextDocument)UnoRuntime.queryInterface(XTextDocument.class,agendaTemplate.document);
-
+
bSaveSuccess = OfficeDocument.store(xMSF, xTextDocument, sPath , "writer8_template", false, resources.resErrSaveTemplate );
} catch (Exception e) {
SystemDialog.showMessageBox(xMSF, xControl.getPeer(), "ErrBox", VclWindowPeerAttribute.OK, resources.resErrSaveTemplate);
//e.printStackTrace();
}
-
+
if (bSaveSuccess) {
try {
topicsControl.saveTopics(agenda);
@@ -500,9 +500,9 @@ public class AgendaWizardDialogImpl extends AgendaWizardDialog
catch (Exception ex) {
ex.printStackTrace();
}
-
+
agendaTemplate.finish( topicsControl.getTopicsData());
- try {
+ try {
XStorable xStoreable = (XStorable) UnoRuntime.queryInterface(XStorable.class, agendaTemplate.document);
xStoreable.store();
}
@@ -510,13 +510,13 @@ public class AgendaWizardDialogImpl extends AgendaWizardDialog
SystemDialog.showMessageBox(xMSF, "ErrBox", VclWindowPeerAttribute.OK, resources.resErrSaveTemplate);
ex.printStackTrace();
}
-
+
//xWindow.setVisible(false);
//running = false;
agendaTemplate.xTextDocument.unlockControllers();
//closeDocument();
//removeTerminateListener();
-
+
PropertyValue loadValues[] = new PropertyValue[2];
loadValues[0] = new PropertyValue();
loadValues[0].Name = "AsTemplate";
@@ -553,31 +553,31 @@ public class AgendaWizardDialogImpl extends AgendaWizardDialog
running = false;
return true;
}
-
+
private void closeDocument() {
try {
- //xComponent.dispose();
+ //xComponent.dispose();
XCloseable xCloseable = (XCloseable) UnoRuntime.queryInterface(XCloseable.class, agendaTemplate.xFrame);
xCloseable.close(false);
} catch (CloseVetoException e) {
e.printStackTrace();
}
}
-
+
/* ********************
* Sub Classes
- * ********************
+ * ********************
*/
-
+
/**
* this class is used to redraw an item's table when
* the user clicks one of the checkboxes in step 3 or 4.
*/
private class RedrawListener implements DataAware.Listener {
-
+
private String itemName;
-
+
public RedrawListener(String itemName_) {
itemName = itemName_;
}
@@ -591,7 +591,7 @@ public class AgendaWizardDialogImpl extends AgendaWizardDialog
agendaTemplate.xTextDocument.unlockControllers();
}
}
-
-
+
+
}
\ No newline at end of file
diff --git a/wizards/com/sun/star/wizards/agenda/AgendaWizardDialogResources.java b/wizards/com/sun/star/wizards/agenda/AgendaWizardDialogResources.java
index 21730c9aa040..ff6b38b50ce8 100644
--- a/wizards/com/sun/star/wizards/agenda/AgendaWizardDialogResources.java
+++ b/wizards/com/sun/star/wizards/agenda/AgendaWizardDialogResources.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -25,19 +25,19 @@
*
************************************************************************/
-package com.sun.star.wizards.agenda;
-
+package com.sun.star.wizards.agenda;
+
import com.sun.star.lang.XMultiServiceFactory;
import com.sun.star.wizards.common.Resource;
public class AgendaWizardDialogResources extends Resource {
-
+
final static String UNIT_NAME = "dbwizres";
final static String MODULE_NAME = "dbw";
final static int RID_AGENDAWIZARDDIALOG_START = 5000;
final static int RID_COMMON_START = 500;
-
-
+
+
String resAgendaWizardDialog_title;
String resoptMakeChanges_value;
String reslblTemplateName_value;
@@ -74,31 +74,31 @@ public class AgendaWizardDialogResources extends Resource {
String reschkBring_value;
String reschkNotes_value;
String reslblHelp3_value;
-
+
String reslblDate_value;
String reslblHelpPg6_value;
String reslblPageDesign_value;
-
+
String resDefaultFilename;
String resDefaultTitle;
-
+
String resErrSaveTemplate;
-
+
String resPlaceHolderTitle;
String resPlaceHolderDate;
String resPlaceHolderTime;
String resPlaceHolderLocation;
String resPlaceHolderHint;
-
+
String resStep1;
String resStep2;
String resStep3;
String resStep4;
String resStep5;
String resStep6;
-
+
String resErrOpenTemplate;
-
+
String itemMeetingType;
String itemRead;
String itemBring;
@@ -110,25 +110,25 @@ public class AgendaWizardDialogResources extends Resource {
String itemAttendees;
String itemObservers;
String itemResource;
-
+
String resButtonInsert;
String resButtonRemove;
String resButtonUp;
String resButtonDown;
-
-
-
-
- // *** common resources ***
-
+
+
+
+
+ // *** common resources ***
+
String resFileExists;
-
+
public AgendaWizardDialogResources(XMultiServiceFactory xmsf) {
super(xmsf,UNIT_NAME,MODULE_NAME);
-
+
/**
- * Delete the String, uncomment the getResText method
- *
+ * Delete the String, uncomment the getResText method
+ *
*/
resAgendaWizardDialog_title = getResText(RID_AGENDAWIZARDDIALOG_START + 1);
resoptMakeChanges_value = getResText(RID_AGENDAWIZARDDIALOG_START + 2);
@@ -172,27 +172,27 @@ public AgendaWizardDialogResources(XMultiServiceFactory xmsf) {
resDefaultFilename = getResText(RID_AGENDAWIZARDDIALOG_START + 41);
resDefaultFilename = resDefaultFilename.substring(0,resDefaultFilename.length()-4) + ".ott";
-
+
resDefaultTitle = getResText(RID_AGENDAWIZARDDIALOG_START + 42);
-
+
resErrSaveTemplate = getResText(RID_AGENDAWIZARDDIALOG_START + 43);
-
+
resPlaceHolderTitle = getResText(RID_AGENDAWIZARDDIALOG_START + 44);
resPlaceHolderDate = getResText(RID_AGENDAWIZARDDIALOG_START + 45);
resPlaceHolderTime = getResText(RID_AGENDAWIZARDDIALOG_START + 46);
resPlaceHolderLocation = getResText(RID_AGENDAWIZARDDIALOG_START + 47);
resPlaceHolderHint = getResText(RID_AGENDAWIZARDDIALOG_START + 48);
-
-
+
+
resStep1 = getResText(RID_AGENDAWIZARDDIALOG_START + 50);
resStep2 = getResText(RID_AGENDAWIZARDDIALOG_START + 51);
resStep3 = getResText(RID_AGENDAWIZARDDIALOG_START + 52);
resStep4 = getResText(RID_AGENDAWIZARDDIALOG_START + 53);
resStep5 = getResText(RID_AGENDAWIZARDDIALOG_START + 54);
resStep6 = getResText(RID_AGENDAWIZARDDIALOG_START + 55);
-
+
resErrOpenTemplate = getResText(RID_AGENDAWIZARDDIALOG_START + 56);
-
+
itemMeetingType = getResText(RID_AGENDAWIZARDDIALOG_START + 57);
itemBring = getResText(RID_AGENDAWIZARDDIALOG_START + 58);
itemRead = getResText(RID_AGENDAWIZARDDIALOG_START + 59);
@@ -205,17 +205,17 @@ public AgendaWizardDialogResources(XMultiServiceFactory xmsf) {
itemTimekeeper = getResText(RID_AGENDAWIZARDDIALOG_START + 65);
itemObservers = getResText(RID_AGENDAWIZARDDIALOG_START + 66);
itemResource = getResText(RID_AGENDAWIZARDDIALOG_START + 67);
-
+
resButtonInsert = getResText(RID_AGENDAWIZARDDIALOG_START + 68);
resButtonRemove = getResText(RID_AGENDAWIZARDDIALOG_START + 69);
resButtonUp = getResText(RID_AGENDAWIZARDDIALOG_START + 70);
resButtonDown = getResText(RID_AGENDAWIZARDDIALOG_START + 71);
-
+
/*
* Common resources
*/
-
+
resFileExists = getResText(RID_COMMON_START + 19);
-
+
}
}
diff --git a/wizards/com/sun/star/wizards/agenda/CGAgenda.java b/wizards/com/sun/star/wizards/agenda/CGAgenda.java
index b7dc1cc37c00..e645ff6c6262 100644
--- a/wizards/com/sun/star/wizards/agenda/CGAgenda.java
+++ b/wizards/com/sun/star/wizards/agenda/CGAgenda.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/agenda/CGTopic.java b/wizards/com/sun/star/wizards/agenda/CGTopic.java
index 74b818205b9f..68290e552a29 100644
--- a/wizards/com/sun/star/wizards/agenda/CGTopic.java
+++ b/wizards/com/sun/star/wizards/agenda/CGTopic.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -35,11 +35,11 @@ import com.sun.star.wizards.common.Indexable;
* CGTopic means: Configuration Group Topic.
* This object encapsulates a configuration group with topic information.
* Since the topics gui conftrol uses its own data model, there is
- * also code here to convert from the data model to CGTopic object (the constructor)
+ * also code here to convert from the data model to CGTopic object (the constructor)
* and vice versa (setDataToRow method - used when loading the last session...)
*/
public class CGTopic extends ConfigGroup implements Indexable {
-
+
/** sort order */
public int cp_Index;
/** topic name */
@@ -48,9 +48,9 @@ public class CGTopic extends ConfigGroup implements Indexable {
public String cp_Responsible;
/** time */
public String cp_Time;
-
+
public CGTopic() {}
-
+
/**
* create a new CGTopic object with data from the given row.
* the row object is a PropertyValue array, as used
@@ -65,11 +65,11 @@ public class CGTopic extends ConfigGroup implements Indexable {
cp_Responsible = (String)pv[2].Value;
cp_Time = (String)pv[3].Value;
}
-
+
/**
* copies the data in this CGTopic object
* to the given row.
- * @param row the row object (PropertyValue array) to
+ * @param row the row object (PropertyValue array) to
* copy the data to.
*/
public void setDataToRow(Object row) {
@@ -79,9 +79,9 @@ public class CGTopic extends ConfigGroup implements Indexable {
pv[2].Value = cp_Responsible;
pv[3].Value = cp_Time;
}
-
+
public int getIndex() {
return cp_Index;
}
-
+
}
diff --git a/wizards/com/sun/star/wizards/agenda/CallWizard.java b/wizards/com/sun/star/wizards/agenda/CallWizard.java
index 69b62c56e4f7..de5a16106d8b 100644
--- a/wizards/com/sun/star/wizards/agenda/CallWizard.java
+++ b/wizards/com/sun/star/wizards/agenda/CallWizard.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -51,7 +51,7 @@ 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.
@@ -112,8 +112,8 @@ public class CallWizard {
* Execute Wizard
*
* @param str only valid parameter is 'start' at the moment.
- */
-
+ */
+
public void trigger(String str) {
try {
if (str.equalsIgnoreCase("start")) {
@@ -151,7 +151,7 @@ public class CallWizard {
* will be passed to the caller.
*/
public void initialize(Object[] object) throws com.sun.star.uno.Exception {
-
+
}
/**
diff --git a/wizards/com/sun/star/wizards/agenda/TemplateConsts.java b/wizards/com/sun/star/wizards/agenda/TemplateConsts.java
index 44ce6a1e0f0e..5a6f3b59f821 100644
--- a/wizards/com/sun/star/wizards/agenda/TemplateConsts.java
+++ b/wizards/com/sun/star/wizards/agenda/TemplateConsts.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -48,7 +48,7 @@ public interface TemplateConsts
*/
public final static String SECTION_TOPICS = "AGENDA_TOPICS";
/**
- * the name of the parent minutes section.
+ * the name of the parent minutes section.
*/
public final static String SECTION_MINUTES_ALL = "MINUTES_ALL";
/**
@@ -58,9 +58,9 @@ public interface TemplateConsts
public final static String SECTION_MINUTES = "MINUTES"; //public final static String AGENDA_ITEM = "AGENDA_ITEM";
/**
* taged headings and names.
- * These will be searched in item tables (in the template) and will be
+ * These will be searched in item tables (in the template) and will be
* replaced with resource strings.
- *
+ *
* headings...
*/
public final static String FILLIN_MEETING_TYPE = "<meeting-type>";
@@ -80,7 +80,7 @@ public interface TemplateConsts
/**
* Styles (paragraph styles) used for agenda items.
* headings styles
- *
+ *
*/
public final static String STYLE_MEETING_TYPE = "MeetingType";
public final static String STYLE_BRING = "Bring";
@@ -97,9 +97,9 @@ public interface TemplateConsts
public final static String STYLE_OBSERVERS = "Observers";
public final static String STYLE_RESOURCE_PERSONS = "ResourcePersons";
/**
- * Styles (paragraph styles) used for the <b>text</b> of agenda items
+ * Styles (paragraph styles) used for the <b>text</b> of agenda items
* The agenda wizard creates fill-in fields with the given styles...)
- *
+ *
* headings fields styles
*/
public final static String STYLE_MEETING_TYPE_TEXT = "MeetingTypeText";
diff --git a/wizards/com/sun/star/wizards/agenda/TopicsControl.java b/wizards/com/sun/star/wizards/agenda/TopicsControl.java
index eb13e2f8b65c..db39ea99d2ac 100644
--- a/wizards/com/sun/star/wizards/agenda/TopicsControl.java
+++ b/wizards/com/sun/star/wizards/agenda/TopicsControl.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -53,13 +53,13 @@ import com.sun.star.wizards.ui.event.MethodInvocation;
* @author rpiterman
* This class implements the UI functionality of the topics scroller control.
* <br/>
- * During developement, there has been a few changes which were not *fully* done -
+ * During developement, there has been a few changes which were not *fully* done -
* mainly in converting the topics and time boxes from combobox and time box to normal textboxes,
- * so in the code they might be referenced as combobox or timebox. This should be
+ * so in the code they might be referenced as combobox or timebox. This should be
* rather understood as topicstextbox and timetextbox.
* <br/>
* <br/>
- * Important behaiviour of this control is that there is always a
+ * Important behaiviour of this control is that there is always a
* blank row at the end, in which the user can enter data.<br/>
* Once the row is not blank (thus, the user entered data...),
* a new blank row is added.<br/>
@@ -69,7 +69,7 @@ import com.sun.star.wizards.ui.event.MethodInvocation;
* The contorl shows 5 rows at a time.<br/>
* If, for example, only 2 rows exist (from which the 2ed one is empty...)
* then the other three rows, which do not exist in the data model, are disabled.
- * <br/>
+ * <br/>
* The following other functionality is implemented:
* <br/>
* 0. synchroniting data between controls, data model and live preview.
@@ -78,7 +78,7 @@ import com.sun.star.wizards.ui.event.MethodInvocation;
* 3. Removing rows and adding new rows.<br/>
* 4. Moving rows up and down. <br/>
* <br/>
- * This control relays on the ControlScroller control which uses the following
+ * This control relays on the ControlScroller control which uses the following
* Data model:<br/>
* 1. It uses a vector, whos members are arrays of PropertyValue.<br/>
* 2. Each array represents a row.<br/>
@@ -86,10 +86,10 @@ import com.sun.star.wizards.ui.event.MethodInvocation;
* 3. Each property Value represents a value for a single control with the following rules:<br/>
* 3. a. the Value of the property is used for as value of the controls (usually text).<br/>
* 3. b. the Name of the property is used to map values to UI controls in the following manner:<br/>
- * 3. b. 1. only the Name of the first X Rows is regarded, where X is the number of visible rows
+ * 3. b. 1. only the Name of the first X Rows is regarded, where X is the number of visible rows
* (in the agenda wizard this would be 5, since 5 topic rows are visible on the dialog).<br/>
- * 3. b. 2. The Names of the first X (or 5...) rows are the names of the UI Controls to
- * hold values. When the control scroller scrolls, it looks at the first 5 rows and uses
+ * 3. b. 2. The Names of the first X (or 5...) rows are the names of the UI Controls to
+ * hold values. When the control scroller scrolls, it looks at the first 5 rows and uses
* the names specified there to map the current values to the specified controls.
* <br/>
* This data model makes the following limitations on the implementation:
@@ -101,26 +101,26 @@ import com.sun.star.wizards.ui.event.MethodInvocation;
* <br/>
* To save the topics in the registry a ConfigSet of objects of type CGTopic is
* being used.
- * This one is not synchronized "live", since it is unnecessary... instead, it is
+ * This one is not synchronized "live", since it is unnecessary... instead, it is
* synchronized on call, before the settings should be saved.
*/
public class TopicsControl extends ControlScroller implements XFocusListener
{
/**
- * The name prefix of the number (label) controls
+ * The name prefix of the number (label) controls
*/
public static final String LABEL = "lblTopicCnt_";
/**
- * The name prefix of the topic (text) controls
+ * The name prefix of the topic (text) controls
*/
public static final String TOPIC = "txtTopicTopic_";
/**
- * The name prefix of the responsible (text) controls
+ * The name prefix of the responsible (text) controls
*/
public static final String RESP = "cbTopicResp_";
/**
- * The name prefix of the time (text) controls
+ * The name prefix of the time (text) controls
*/
public static final String TIME = "txtTopicTime_";
Object lastFocusControl;
@@ -229,10 +229,10 @@ public class TopicsControl extends ControlScroller implements XFocusListener
insertRowAtEnd();
}
- /**
- * Insert a blank (empty) row
+ /**
+ * Insert a blank (empty) row
* as last row of the control.
- * The control has always a blank row at the
+ * The control has always a blank row at the
* end, which enables the user to enter data...
*/
protected void insertRowAtEnd()
@@ -267,7 +267,7 @@ public class TopicsControl extends ControlScroller implements XFocusListener
/**
* overrides the parent class method to also enable the
* row whenever data is written to it.
- * @param guiRow
+ * @param guiRow
*/
protected void fillupControls(int guiRow)
{
@@ -305,7 +305,7 @@ public class TopicsControl extends ControlScroller implements XFocusListener
* in order to use the "move up", "down" "insert" and "remove" buttons,
* we track the last control the gained focus, in order to know which
* row should be handled.
- * @param fe
+ * @param fe
*/
public void focusGained(FocusEvent fe)
{
@@ -314,7 +314,7 @@ public class TopicsControl extends ControlScroller implements XFocusListener
}
/**
- * Sometimes I set the focus programatically to a control
+ * Sometimes I set the focus programatically to a control
* (for example when moving a row up or down, the focus should move
* with it).
* In such cases, no VCL event is being triggered so it must
@@ -355,7 +355,7 @@ public class TopicsControl extends ControlScroller implements XFocusListener
/**
* compolsary implementation of FocusListener.
- * @param fe
+ * @param fe
*/
public void focusLost(FocusEvent fe)
{
@@ -363,7 +363,7 @@ public class TopicsControl extends ControlScroller implements XFocusListener
/**
* compolsary implementation of FocusListener.
- * @param o
+ * @param o
*/
public void disposing(EventObject o)
{
@@ -387,7 +387,7 @@ public class TopicsControl extends ControlScroller implements XFocusListener
rowUp(lastFocusRow - nscrollvalue, lastFocusControl);
}
- /**
+ /**
* move the current row down.
*/
public void rowDown()
@@ -479,7 +479,7 @@ public class TopicsControl extends ControlScroller implements XFocusListener
* The index is important because it is used in the
* Name member of the PropertyValue objects.
* To know why see general class documentation above (data model explanation).
- * @param i the index of the new row
+ * @param i the index of the new row
* @return
*/
private PropertyValue[] newRow(int i)
@@ -496,8 +496,8 @@ public class TopicsControl extends ControlScroller implements XFocusListener
* Implementation of ControlScroller
* This is a UI method which inserts a new row to the control.
* It uses the child-class ControlRow. (see below).
- * @param _index
- * @param npos
+ * @param _index
+ * @param npos
* @see ControlRow
*/
protected void insertControlGroup(int _index, int npos)
@@ -509,10 +509,10 @@ public class TopicsControl extends ControlScroller implements XFocusListener
/**
* Implementation of ControlScroller
- * This is a UI method which makes a row visibele.
+ * This is a UI method which makes a row visibele.
* As far as I know it is never called.
- * @param _index
- * @param _bIsVisible
+ * @param _index
+ * @param _bIsVisible
* @see ControlRow
*/
protected void setControlGroupVisible(int _index, boolean _bIsVisible)
@@ -545,7 +545,7 @@ public class TopicsControl extends ControlScroller implements XFocusListener
private Object[] oldData;
/**
- * update the preview document and
+ * update the preview document and
* remove/insert rows if needed.
* @param guiRow
* @param column
@@ -652,7 +652,7 @@ public class TopicsControl extends ControlScroller implements XFocusListener
}
/**
- * If the user presses tab on the last control, and
+ * If the user presses tab on the last control, and
* there *are* more rows in the model, scroll down.
* @param event
*/
@@ -673,7 +673,7 @@ public class TopicsControl extends ControlScroller implements XFocusListener
}
/**
- * If the user presses shift-tab on the first control, and
+ * If the user presses shift-tab on the first control, and
* there *are* more rows in the model, scroll up.
* @param event
*/
@@ -707,7 +707,7 @@ public class TopicsControl extends ControlScroller implements XFocusListener
/**
* moves the given row one row down.
* @param guiRow the gui index of the row to move.
- * @param control the control to gain focus after moving.
+ * @param control the control to gain focus after moving.
*/
synchronized void rowDown(int guiRow, Object control)
{
@@ -851,9 +851,9 @@ public class TopicsControl extends ControlScroller implements XFocusListener
insertRowAtEnd();
/*
* if we did not change the last row but
- * we did change the one before - check if we
- * have two empty rows at the end.
- * If so, delete the last one...
+ * we did change the one before - check if we
+ * have two empty rows at the end.
+ * If so, delete the last one...
*/
}
else if ((row1 + nscrollvalue) + (row2 + nscrollvalue) == (scrollfields.size() * 2 - 5))
@@ -1027,7 +1027,7 @@ public class TopicsControl extends ControlScroller implements XFocusListener
/**
* needed to make this data poblic.
- * @return the List containing the topics data.
+ * @return the List containing the topics data.
*/
public List getTopicsData()
{
@@ -1057,7 +1057,7 @@ public class TopicsControl extends ControlScroller implements XFocusListener
};
/**
- *
+ *
* @author rp143992
* A class represting a single GUI row.
* Note that the instance methods of this class
@@ -1068,7 +1068,7 @@ public class TopicsControl extends ControlScroller implements XFocusListener
{
/**
- * the number (label) control
+ * the number (label) control
*/
Object label;
/**
@@ -1231,7 +1231,7 @@ public class TopicsControl extends ControlScroller implements XFocusListener
/**
* Impelementation of XKeyListener.
* Optionally performs the one of the following:
- * cursor up, or down, row up or down
+ * cursor up, or down, row up or down
*/
public void keyPressed(KeyEvent event)
{
@@ -1257,7 +1257,7 @@ public class TopicsControl extends ControlScroller implements XFocusListener
/**
* returns the column number of the given control.
* The given control must belong to this row or
- * an IllegalArgumentException will accure.
+ * an IllegalArgumentException will accure.
* @param control
* @return an int columnd number of the given control (0 to 3).
*/
diff --git a/wizards/com/sun/star/wizards/common/ConfigGroup.java b/wizards/com/sun/star/wizards/common/ConfigGroup.java
index 1b260132a5f4..56a4c0c632a2 100644
--- a/wizards/com/sun/star/wizards/common/ConfigGroup.java
+++ b/wizards/com/sun/star/wizards/common/ConfigGroup.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -80,8 +80,8 @@ public class ConfigGroup implements ConfigNode
/**
* convert the primitive type value of the
- * given Field object to the corresponding
- * Java Object value.
+ * given Field object to the corresponding
+ * Java Object value.
* @param field
* @return the value of the field as a Object.
* @throws IllegalAccessException
diff --git a/wizards/com/sun/star/wizards/common/ConfigNode.java b/wizards/com/sun/star/wizards/common/ConfigNode.java
index 23c0f9c5ba81..f6d9e2533c2b 100644
--- a/wizards/com/sun/star/wizards/common/ConfigNode.java
+++ b/wizards/com/sun/star/wizards/common/ConfigNode.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -27,8 +27,8 @@
package com.sun.star.wizards.common;
/**
- * This Interface specifies a method of an object which is
- * capable of reading adn writing its data out of the
+ * This Interface specifies a method of an object which is
+ * capable of reading adn writing its data out of the
* OO Configuration. <br/>
* There are 2 direct implementations: ConfigGroup and ConfigSet.
* The root is the first Java Object in the configuration hirarchie.
@@ -39,7 +39,7 @@ public interface ConfigNode
/**
* reads the object data out of the configuration.
- * @param configurationView is a ::com::sun::star::configuration::HierarchyElement
+ * @param configurationView is a ::com::sun::star::configuration::HierarchyElement
* which represents the node corresponding to the Object.
* @param param a free parameter. Since the intension of this interface is
* to be used in a tree like way, reading objects and subobjects and so on,
diff --git a/wizards/com/sun/star/wizards/common/ConfigSet.java b/wizards/com/sun/star/wizards/common/ConfigSet.java
index 216f91b5e430..72b4e2cbc2e1 100644
--- a/wizards/com/sun/star/wizards/common/ConfigSet.java
+++ b/wizards/com/sun/star/wizards/common/ConfigSet.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -399,7 +399,7 @@ public class ConfigSet implements ConfigNode, XMLProvider, ListModel
/**
* Set members might include a property
* which orders them.
- * This method reindexes the given member to be
+ * This method reindexes the given member to be
* the index number 0
* Do not forget to call commit() after calling this method.
* @param confView
diff --git a/wizards/com/sun/star/wizards/common/Configuration.java b/wizards/com/sun/star/wizards/common/Configuration.java
index 103fdc5848a2..2ee2fc51a696 100644
--- a/wizards/com/sun/star/wizards/common/Configuration.java
+++ b/wizards/com/sun/star/wizards/common/Configuration.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -44,8 +44,8 @@ import com.sun.star.util.XChangesBatch;
* For the get methods, two parameters must be given: name and parent, where name is the
* name of the property, parent is a HierarchyElement (::com::sun::star::configuration::HierarchyElement)<br/>
* The get and set methods support hieryrchical property names like "options/gridX". <br/>
- * NOTE: not yet supported, but sometime later,
- * If you will ommit the "parent" parameter, then the "name" parameter must be in hierarchy form from
+ * NOTE: not yet supported, but sometime later,
+ * If you will ommit the "parent" parameter, then the "name" parameter must be in hierarchy form from
* the root of the registry.
* @author rpiterman
*/
diff --git a/wizards/com/sun/star/wizards/common/DebugHelper.java b/wizards/com/sun/star/wizards/common/DebugHelper.java
index b560fb643a40..cb70ce050591 100644
--- a/wizards/com/sun/star/wizards/common/DebugHelper.java
+++ b/wizards/com/sun/star/wizards/common/DebugHelper.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/common/Desktop.java b/wizards/com/sun/star/wizards/common/Desktop.java
index 8902696c37b4..a9c04086ce08 100644
--- a/wizards/com/sun/star/wizards/common/Desktop.java
+++ b/wizards/com/sun/star/wizards/common/Desktop.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -266,7 +266,7 @@ public class Desktop
/**
* Checks if the passed Element Name already exists in the ElementContainer. If yes it appends a
- * suffix to make it unique
+ * suffix to make it unique
* @param xElementContainer
* @param sElementName
* @return a unique Name ready to be added to the container.
@@ -279,7 +279,7 @@ public class Desktop
/**
* Checks if the passed Element Name already exists in the ElementContainer. If yes it appends a
- * suffix to make it unique
+ * suffix to make it unique
* @param xElementContainer
* @param sElementName
* @return a unique Name ready to be added to the container.
@@ -295,7 +295,7 @@ public class Desktop
* suffix to make it unique
* @param _slist
* @param _sElementName
- * @param _sSuffixSeparator
+ * @param _sSuffixSeparator
* @return a unique Name not being in the passed list.
*/
public static String getUniqueName(String[] _slist, String _sElementName, String _sSuffixSeparator)
@@ -362,7 +362,7 @@ public class Desktop
/**
* @deprecated used to retrieve the most common paths used in the office application
* @author bc93774
- *
+ *
*/
public class OfficePathRetriever
{
@@ -467,10 +467,10 @@ public class Desktop
* 1. Check if the given desktop argument has a componentWindow.
* If it is null, the myFrame argument is taken.
* 2. Go up the tree of frames and search a frame with a component window.
- * 3. Get from the desktop all the components, and give the first one
+ * 3. Get from the desktop all the components, and give the first one
* which has a frame.
* @param xMSF
- * @param myFrame
+ * @param myFrame
* @param desktop
* @return
* @throws NoSuchElementException
diff --git a/wizards/com/sun/star/wizards/common/FileAccess.java b/wizards/com/sun/star/wizards/common/FileAccess.java
index 6278d7e71a97..8c87d094f82c 100644
--- a/wizards/com/sun/star/wizards/common/FileAccess.java
+++ b/wizards/com/sun/star/wizards/common/FileAccess.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -51,10 +51,10 @@ import com.sun.star.document.XDocumentProperties;
/**
* This class delivers static convenience methods
* to use with ucb SimpleFileAccess service.
- * You can also instanciate the class, to encapsulate
+ * You can also instanciate the class, to encapsulate
* some functionality of SimpleFileAccess. The instance
* keeps a reference to an XSimpleFileAccess and an
- * XFileIdentifierConverter, saves the permanent
+ * XFileIdentifierConverter, saves the permanent
* overhead of quering for those interfaces, and delivers
* conveneince methods for using them.
* These Convenince methods include mainly Exception-handling.
@@ -63,7 +63,7 @@ public class FileAccess
{
/**
- *
+ *
* @param xMSF
* @param sPath
* @param sAddPath
@@ -598,7 +598,7 @@ public class FileAccess
* @param xMSF
* @param FilterName the prefix of the filename. a "-" is added to the prefix !
* @param FolderName the folder (URL) to look for files...
- * @return an array with two array members. The first one, with document titles,
+ * @return an array with two array members. The first one, with document titles,
* the second with the corresponding URLs.
* @deprecated please use the getFolderTitles() with ArrayList
*/
@@ -699,7 +699,7 @@ public class FileAccess
}
/**
- *
+ *
* @param xMSF
* @param _sStartFilterName
* @param FolderNames
@@ -1004,7 +1004,7 @@ public class FileAccess
/**
* @author rpiterman
- * @param path
+ * @param path
* @param pathSeparator
* @return
*/
@@ -1061,8 +1061,8 @@ public class FileAccess
}
/**
- *
- * @param url
+ *
+ * @param url
* @return the parent dir of the given url.
* if the path points to file, gives the directory in which the file is.
*/
@@ -1166,7 +1166,7 @@ public class FileAccess
}
/**
- * shortens a filename to a user displayable representation.
+ * shortens a filename to a user displayable representation.
* @param path
* @param maxLength
* @return
diff --git a/wizards/com/sun/star/wizards/common/Helper.java b/wizards/com/sun/star/wizards/common/Helper.java
index 0df16b360de0..681f03b8ea35 100644
--- a/wizards/com/sun/star/wizards/common/Helper.java
+++ b/wizards/com/sun/star/wizards/common/Helper.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/common/IRenderer.java b/wizards/com/sun/star/wizards/common/IRenderer.java
index 1aa73eaa599b..f781bc845b49 100644
--- a/wizards/com/sun/star/wizards/common/IRenderer.java
+++ b/wizards/com/sun/star/wizards/common/IRenderer.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -31,7 +31,7 @@ package com.sun.star.wizards.common;
* A General interface which gives a string
* that represents the rendered argument object.
* Can be used to reference resources, internationalizartion
- * a.s.o
+ * a.s.o
*/
public interface IRenderer
{
diff --git a/wizards/com/sun/star/wizards/common/Indexable.java b/wizards/com/sun/star/wizards/common/Indexable.java
index d95640f1ec70..b5a5d53cfe61 100644
--- a/wizards/com/sun/star/wizards/common/Indexable.java
+++ b/wizards/com/sun/star/wizards/common/Indexable.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/common/InvalidQueryException.java b/wizards/com/sun/star/wizards/common/InvalidQueryException.java
index 325f6fdc3760..f36aba00f8f2 100644
--- a/wizards/com/sun/star/wizards/common/InvalidQueryException.java
+++ b/wizards/com/sun/star/wizards/common/InvalidQueryException.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/common/JavaTools.java b/wizards/com/sun/star/wizards/common/JavaTools.java
index 836b2a7ea242..439033ee2863 100644
--- a/wizards/com/sun/star/wizards/common/JavaTools.java
+++ b/wizards/com/sun/star/wizards/common/JavaTools.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -135,7 +135,7 @@ public class JavaTools
/**converts a list of Integer values included in an Integer vector to a list of int values
*
- *
+ *
* @param _aIntegerVector
* @return
*/
@@ -160,8 +160,8 @@ public class JavaTools
}
/**converts a list of Boolean values included in a Boolean vector to a list of boolean values
- *
- *
+ *
+ *
* @param _aBooleanVector
* @return
*/
@@ -523,8 +523,8 @@ public class JavaTools
{
retvector.add(baselist[i]);
// else
- // here you could call the method of a defined interface to notify the calling method
- // }
+ // here you could call the method of a defined interface to notify the calling method
+ // }
}
}
retarray = new String[retvector.size()];
@@ -548,7 +548,7 @@ public class JavaTools
{
retvector.add(baselist[i]);
// else
- // here you could call the method of a defined interface to notify the calling method
+ // here you could call the method of a defined interface to notify the calling method
}
}
retarray = new String[retvector.size()][2];
@@ -602,7 +602,7 @@ public class JavaTools
/**
* searches a multidimensional array for duplicate fields. According to the following example
* SlaveFieldName1 ;SlaveFieldName2; SlaveFieldName3
- * MasterFieldName1;MasterFieldName2;MasterFieldName3
+ * MasterFieldName1;MasterFieldName2;MasterFieldName3
* The entries SlaveFieldNameX and MasterFieldNameX are grouped together and then the created groups are compared
* If a group is duplicate the entry of the second group is returned.
* @param _scomplist
diff --git a/wizards/com/sun/star/wizards/common/NoValidPathException.java b/wizards/com/sun/star/wizards/common/NoValidPathException.java
index f4975d2fff0c..cdbe0065bb7f 100644
--- a/wizards/com/sun/star/wizards/common/NoValidPathException.java
+++ b/wizards/com/sun/star/wizards/common/NoValidPathException.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/common/NumberFormatter.java b/wizards/com/sun/star/wizards/common/NumberFormatter.java
index cb183eb29c25..dc20c4619bf6 100644
--- a/wizards/com/sun/star/wizards/common/NumberFormatter.java
+++ b/wizards/com/sun/star/wizards/common/NumberFormatter.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -51,15 +51,15 @@ public class NumberFormatter
public int iTextFormatKey = -1;
public int iTimeFormatKey = -1;
public int iLogicalFormatKey = -1;
- public long lDateCorrection;
+ public long lDateCorrection;
public XNumberFormatter xNumberFormatter;
public XNumberFormats xNumberFormats;
public XNumberFormatTypes xNumberFormatTypes;
public XPropertySet xNumberFormatSettings;
private boolean bNullDateCorrectionIsDefined = false;
- private Locale aLocale;
-
-
+ private Locale aLocale;
+
+
public NumberFormatter(XMultiServiceFactory _xMSF, XNumberFormatsSupplier _xNumberFormatsSupplier, Locale _aLocale) throws Exception
{
aLocale = _aLocale;
@@ -67,11 +67,11 @@ public class NumberFormatter
xNumberFormats = _xNumberFormatsSupplier.getNumberFormats();
xNumberFormatSettings = _xNumberFormatsSupplier.getNumberFormatSettings();
xNumberFormatter = (XNumberFormatter) UnoRuntime.queryInterface(XNumberFormatter.class, oNumberFormatter);
- xNumberFormatter.attachNumberFormatsSupplier(_xNumberFormatsSupplier);
+ xNumberFormatter.attachNumberFormatsSupplier(_xNumberFormatsSupplier);
xNumberFormatTypes = (XNumberFormatTypes) UnoRuntime.queryInterface(XNumberFormatTypes.class, xNumberFormats);
-
+
}
-
+
public NumberFormatter(XNumberFormatsSupplier _xNumberFormatsSupplier, Locale _aLocale) throws Exception
{
aLocale = _aLocale;
@@ -80,24 +80,24 @@ public class NumberFormatter
xNumberFormatTypes = (XNumberFormatTypes) UnoRuntime.queryInterface(XNumberFormatTypes.class, xNumberFormats);
}
-
+
/**
* @param _xMSF
* @param _xNumberFormatsSupplier
* @return
* @throws Exception
* @deprecated
- *
+ *
*/
public static XNumberFormatter createNumberFormatter(XMultiServiceFactory _xMSF, XNumberFormatsSupplier _xNumberFormatsSupplier) throws Exception
{
Object oNumberFormatter = _xMSF.createInstance("com.sun.star.util.NumberFormatter");
XNumberFormatter xNumberFormatter = (XNumberFormatter) UnoRuntime.queryInterface(XNumberFormatter.class, oNumberFormatter);
- xNumberFormatter.attachNumberFormatsSupplier(_xNumberFormatsSupplier);
+ xNumberFormatter.attachNumberFormatsSupplier(_xNumberFormatsSupplier);
return xNumberFormatter;
}
-
-
+
+
/**
* gives a key to pass to a NumberFormat object. <br/>
* example: <br/>
@@ -110,22 +110,22 @@ public class NumberFormatter
* @param numberFormatsSupplier
* @param type - a constant out of i18n.NumberFormatIndex enumeration.
* @return a key to use with a util.NumberFormat instance.
- *
+ *
*/
- public static int getNumberFormatterKey( Object numberFormatsSupplier, short type)
+ public static int getNumberFormatterKey( Object numberFormatsSupplier, short type)
{
Object numberFormatTypes = ((XNumberFormatsSupplier)UnoRuntime.queryInterface(XNumberFormatsSupplier.class,numberFormatsSupplier)).getNumberFormats();
Locale l = new Locale();
return ((XNumberFormatTypes)UnoRuntime.queryInterface(XNumberFormatTypes.class,numberFormatTypes)).getFormatIndex(type, l);
}
-
-
+
+
public String convertNumberToString(int _nkey, double _dblValue)
{
return xNumberFormatter.convertNumberToString(_nkey, _dblValue);
}
-
-
+
+
public static String convertNumberToString(XNumberFormatter _xNumberFormatter, int _nkey, double _dblValue)
{
return _xNumberFormatter.convertNumberToString(_nkey, _dblValue);
@@ -137,19 +137,19 @@ public class NumberFormatter
return convertStringToNumber(_nkey, _sString);
}
-
+
/**
* @param dateCorrection The lDateCorrection to set.
*/
- public void setNullDateCorrection(long dateCorrection)
+ public void setNullDateCorrection(long dateCorrection)
{
lDateCorrection = dateCorrection;
- }
-
-
+ }
+
+
public int defineNumberFormat(String _FormatString)
{
- try
+ try
{
int NewFormatKey = xNumberFormats.queryKey(_FormatString, aLocale, true);
if (NewFormatKey == -1)
@@ -165,13 +165,13 @@ public class NumberFormatter
}
}
-
+
/**
- * returns a numberformat for a FormatString.
+ * returns a numberformat for a FormatString.
* @param _FormatString
- * @param _aLocale
+ * @param _aLocale
* @return
- */
+ */
public int defineNumberFormat(String _FormatString, Locale _aLocale)
{
try
@@ -189,8 +189,8 @@ public class NumberFormatter
return -1;
}
}
-
-
+
+
public void setNumberFormat(XInterface _xFormatObject, int _FormatKey, NumberFormatter _oNumberFormatter)
{
@@ -243,7 +243,7 @@ public class NumberFormatter
}
}
-
+
public int setBooleanReportDisplayNumberFormat()
{
String FormatString = "[=1]" + '"' + (char)9745 + '"' + ";[=0]" + '"' + (char)58480 + '"' + ";0";
@@ -258,12 +258,12 @@ public class NumberFormatter
catch (Exception e)
{ //MalformedNumberFormat
e.printStackTrace();
- iLogicalFormatKey = xNumberFormatTypes.getStandardFormat(NumberFormat.LOGICAL, aLocale);
+ iLogicalFormatKey = xNumberFormatTypes.getStandardFormat(NumberFormat.LOGICAL, aLocale);
}
return iLogicalFormatKey;
- }
-
-
+ }
+
+
/**
* @return Returns the iDateFormatKey.
*/
@@ -271,7 +271,7 @@ public class NumberFormatter
{
if (iDateFormatKey == -1)
{
- iDateFormatKey = xNumberFormatTypes.getStandardFormat(NumberFormat.DATE, aLocale);
+ iDateFormatKey = xNumberFormatTypes.getStandardFormat(NumberFormat.DATE, aLocale);
}
return iDateFormatKey;
}
@@ -283,7 +283,7 @@ public class NumberFormatter
if (iDateTimeFormatKey == -1)
{
iDateTimeFormatKey = xNumberFormatTypes.getStandardFormat(NumberFormat.DATETIME, aLocale);
- }
+ }
return iDateTimeFormatKey;
}
/**
@@ -294,7 +294,7 @@ public class NumberFormatter
if (iLogicalFormatKey == -1)
{
iLogicalFormatKey = xNumberFormatTypes.getStandardFormat(NumberFormat.LOGICAL, aLocale);
- }
+ }
return iLogicalFormatKey;
}
/**
@@ -316,7 +316,7 @@ public class NumberFormatter
if (iTextFormatKey == -1)
{
iTextFormatKey = xNumberFormatTypes.getStandardFormat(NumberFormat.TEXT, aLocale);
- }
+ }
return iTextFormatKey;
}
/**
@@ -327,7 +327,7 @@ public class NumberFormatter
if (iTimeFormatKey == -1)
{
iTimeFormatKey = xNumberFormatTypes.getStandardFormat(NumberFormat.TIME, aLocale);
- }
+ }
return iTimeFormatKey;
- }
+ }
}
diff --git a/wizards/com/sun/star/wizards/common/NumericalHelper.java b/wizards/com/sun/star/wizards/common/NumericalHelper.java
index 109affffd5ef..9a5229367aa0 100644
--- a/wizards/com/sun/star/wizards/common/NumericalHelper.java
+++ b/wizards/com/sun/star/wizards/common/NumericalHelper.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -36,9 +36,9 @@ import com.sun.star.uno.TypeClass;
* Optional or named parameters in SO are of the Object type in Java.
* These objects must be converted to the right simple value type.
* Unfortunately, StarBasic does not know the original desired type,
- * and a value that should be a "Float" is delivered as "Byte". This class
+ * and a value that should be a "Float" is delivered as "Byte". This class
* handles the conversions of these types.<br>
- * This class does not log warnings (or throws Exceptions) when the precision
+ * This class does not log warnings (or throws Exceptions) when the precision
* of a value is lost.
*/
public class NumericalHelper
@@ -93,7 +93,7 @@ public class NumericalHelper
/**
* get a byte value from the object
- * @param aValue
+ * @param aValue
* @return a byte
* @throws com.sun.star.lang.IllegalArgumentException if the object cannot be converted
*/
@@ -151,7 +151,7 @@ public class NumericalHelper
/**
* get a char value from the object
- * @param aValue
+ * @param aValue
* @return a char
* @throws com.sun.star.lang.IllegalArgumentException if the object cannot be converted
*/
@@ -216,7 +216,7 @@ public class NumericalHelper
/**
* get a short value from the object
- * @param aValue
+ * @param aValue
* @return a short
* @throws com.sun.star.lang.IllegalArgumentException if the object cannot be converted
*/
@@ -340,7 +340,7 @@ public class NumericalHelper
/**
@param _aValue a object this can contain anything
@return true, if the parameter aValue is type of real numbers
-
+
see also http://en.wikipedia.org/wiki/Mathematics
*/
public static boolean isRealNumber(Object _aValue)
@@ -351,7 +351,7 @@ public class NumericalHelper
/**
@param aValue a object this can contain anything
* @return true, if the value is type of any integer values. double / float are not(!) integer values
- * @throws com.sun.star.lang.IllegalArgumentException
+ * @throws com.sun.star.lang.IllegalArgumentException
*/
public static boolean isInteger(Object aValue) throws com.sun.star.lang.IllegalArgumentException
{
@@ -414,8 +414,8 @@ public class NumericalHelper
// DebugHelper.exception(BasicErrorCode.SbERR_CONVERSION, "");
// return 0;
// }}
-//
-//
+//
+//
// public static String toStringWithErrorMessage(Object _aValue) throws com.sun.star.script.BasicErrorException{
// try {
// return toString(_aValue);
@@ -425,7 +425,7 @@ public class NumericalHelper
// return "";
// }}
//
-//
+//
// public static int toIntWithErrorMessage(Object _aValue, int _ndefaultValue) throws com.sun.star.script.BasicErrorException{
// try {
// return toInt(_aValue, _ndefaultValue);
@@ -438,14 +438,14 @@ public class NumericalHelper
// public static boolean toBooleanWithErrorMessage(Object _oObject, int _nTrueField, int _nFalseField) throws com.sun.star.script.BasicErrorException{
// return toBooleanWithErrorMessage(_oObject, new int[]{_nTrueField}, new int[]{_nFalseField});
// }
-//
-//
+//
+//
// public static boolean toBooleanWithErrorMessage(Object _oObject) throws com.sun.star.script.BasicErrorException{
// try{
// return toBoolean(_oObject);
// }
// catch (java.lang.Exception e){
-// DebugHelper.exception(BasicErrorCode.SbERR_BAD_ARGUMENT, "");
+// DebugHelper.exception(BasicErrorCode.SbERR_BAD_ARGUMENT, "");
// return false;
// }
// }
@@ -465,16 +465,16 @@ public class NumericalHelper
// return false;
// }
// }catch (java.lang.Exception e){
-// DebugHelper.exception(BasicErrorCode.SbERR_OUT_OF_RANGE, "");
+// DebugHelper.exception(BasicErrorCode.SbERR_OUT_OF_RANGE, "");
// return false;
// }}
-//
-//
+//
+//
// public static boolean toBooleanWithErrorMessage(Object _oObject, int _nTrueField, int _nFalseField, boolean _bdefaultValue) throws com.sun.star.script.BasicErrorException{
// return toBooleanWithErrorMessage(_oObject, new int[]{_nTrueField}, new int[]{_nFalseField}, _bdefaultValue);
// }
-//
-//
+//
+//
// public static boolean toBooleanWithErrorMessage(Object _oObject, int[] _nTrueFields, int[] _nFalseFields, boolean _bdefaultValue) throws com.sun.star.script.BasicErrorException{
// try{
// if ((_oObject == null) || (AnyConverter.isVoid(_oObject))){
@@ -494,12 +494,12 @@ public class NumericalHelper
// }
// }
// }catch (java.lang.Exception e){
-// DebugHelper.exception(BasicErrorCode.SbERR_OUT_OF_RANGE, "");
+// DebugHelper.exception(BasicErrorCode.SbERR_OUT_OF_RANGE, "");
// return false;
// }}
/**
* get an int value from the object
- * @param aValue
+ * @param aValue
* @return an int
* @throws com.sun.star.lang.IllegalArgumentException if the object cannot be converted
*/
@@ -555,7 +555,7 @@ public class NumericalHelper
/**
* get a long value from the object
- * @param aValue
+ * @param aValue
* @return a long
* @throws com.sun.star.lang.IllegalArgumentException if the object cannot be converted
*/
@@ -611,7 +611,7 @@ public class NumericalHelper
/**
* get a float value from the object
- * @param aValue
+ * @param aValue
* @return a float
* @throws com.sun.star.lang.IllegalArgumentException if the object cannot be converted
*/
@@ -667,7 +667,7 @@ public class NumericalHelper
/**
* get a double value from the object
- * @param aValue
+ * @param aValue
* @return a double
* @throws com.sun.star.lang.IllegalArgumentException if the object cannot be converted
*/
@@ -723,7 +723,7 @@ public class NumericalHelper
/**
* get a String value from the object
- * @param aValue
+ * @param aValue
* @return a String
* @throws com.sun.star.lang.IllegalArgumentException if the object cannot be converted
*/
@@ -773,7 +773,7 @@ public class NumericalHelper
/**
* get a boolean value from the object
- * @param aValue
+ * @param aValue
* @return a boolean
* @throws com.sun.star.lang.IllegalArgumentException if the object cannot be converted
*/
@@ -831,7 +831,7 @@ public class NumericalHelper
* get an int array from an object
* @param anArrayValue a value that is constructed into an array
* @return an integer array
- * @throws com.sun.star.lang.IllegalArgumentException
+ * @throws com.sun.star.lang.IllegalArgumentException
*/
public static int[] toIntArray(Object anArrayValue)
throws com.sun.star.lang.IllegalArgumentException
@@ -865,7 +865,7 @@ public class NumericalHelper
* get an byte array from an object
* @param anArrayValue a value that is constructed into an array
* @return a byte array
- * @throws com.sun.star.lang.IllegalArgumentException
+ * @throws com.sun.star.lang.IllegalArgumentException
*/
public static byte[] toByteArray(Object anArrayValue)
throws com.sun.star.lang.IllegalArgumentException
@@ -899,7 +899,7 @@ public class NumericalHelper
* get a short array from an object
* @param anArrayValue a value that is constructed into an array
* @return a short array
- * @throws com.sun.star.lang.IllegalArgumentException
+ * @throws com.sun.star.lang.IllegalArgumentException
*/
public static short[] toShortArray(Object anArrayValue)
throws com.sun.star.lang.IllegalArgumentException
@@ -933,7 +933,7 @@ public class NumericalHelper
* get a string array from an object
* @param anArrayValue a value that is constructed into an array
* @return a short array
- * @throws com.sun.star.lang.IllegalArgumentException
+ * @throws com.sun.star.lang.IllegalArgumentException
*/
public static String[] toStringArray(Object anArrayValue)
throws com.sun.star.lang.IllegalArgumentException
@@ -968,7 +968,7 @@ public class NumericalHelper
* @param _aValue a value that is constructed into an int
* @param _ndefaultValue the value that is returned, if conversion fails, or if 'aValue' is null
* @return an int value
- * @throws java.lang.Exception
+ * @throws java.lang.Exception
*/
public static int toInt(Object _aValue, int _ndefaultValue) throws Exception
{
@@ -1169,7 +1169,7 @@ public class NumericalHelper
// throws com.sun.star.script.BasicErrorException {
// return RomanNumbering.getRomanEquivalent(n);
// }
- /**
+ /**
* get the type object from the given object
* @param aValue an object representing a (numerical) value; can also be an 'any'
* @return a type object: the object together with the its type information
@@ -1285,7 +1285,7 @@ public class NumericalHelper
/**
* get the simple int type
* @param typeObject
- * @return
+ * @return
* @throws com.sun.star.lang.IllegalArgumentException
*/
static int getInt(TypeObject typeObject)
@@ -1301,7 +1301,7 @@ public class NumericalHelper
/**
* get the simple float type
- * @throws com.sun.star.lang.IllegalArgumentException
+ * @throws com.sun.star.lang.IllegalArgumentException
*/
static float getFloat(TypeObject typeObject)
throws com.sun.star.lang.IllegalArgumentException
@@ -1496,7 +1496,7 @@ public class NumericalHelper
// public static boolean isObjectNumericRepresentation(Object _oValue, NumberFormatter _oNumberFormatter, XPropertySet _xPropertySet) throws com.sun.star.script.BasicErrorException{
// try{
-// int nNumberFormat = AnyConverter.toInt(_xPropertySet.getPropertyValue("NumberFormat"));
+// int nNumberFormat = AnyConverter.toInt(_xPropertySet.getPropertyValue("NumberFormat"));
// if (AnyConverter.isString(_oValue)){
// String sCellContent = AnyConverter.toString(_oValue);
// try{
@@ -1511,9 +1511,9 @@ public class NumericalHelper
// }
// }
// catch (com.sun.star.uno.Exception e){
-// DebugHelper.exception(1 /*BasicErrorCode.SbERR_METHOD_FAILED*/, "");
+// DebugHelper.exception(1 /*BasicErrorCode.SbERR_METHOD_FAILED*/, "");
// return false;
-// }}
+// }}
/**
* Helper class for roman numbering
*/
@@ -1558,7 +1558,7 @@ public class NumericalHelper
}
String number = NumericalHelper.toString(new Integer(n));
/* converison idea: every digit is written with a maximum of two
- * different roman symbols, using three in total, e.g. CC, CD,
+ * different roman symbols, using three in total, e.g. CC, CD,
* DCC, CM for the hundreds (meaning 200, 400, 700 and 900).
* So every digit is converted seperately with regard to the
* special cases 4 and 9.
diff --git a/wizards/com/sun/star/wizards/common/Properties.java b/wizards/com/sun/star/wizards/common/Properties.java
index 6b4155d15adf..6f0a963c21a2 100644
--- a/wizards/com/sun/star/wizards/common/Properties.java
+++ b/wizards/com/sun/star/wizards/common/Properties.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/common/PropertySetHelper.java b/wizards/com/sun/star/wizards/common/PropertySetHelper.java
index aec166a5c1c5..a652b168ceba 100644
--- a/wizards/com/sun/star/wizards/common/PropertySetHelper.java
+++ b/wizards/com/sun/star/wizards/common/PropertySetHelper.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -79,10 +79,10 @@ public class PropertySetHelper
}
/**
- set a property,
+ set a property,
@param _sName name of the property to set
@param _aValue property value as object
- * @throws java.lang.Exception
+ * @throws java.lang.Exception
*/
public void setPropertyValue(String _sName, Object _aValue) throws java.lang.Exception
{
diff --git a/wizards/com/sun/star/wizards/common/Resource.java b/wizards/com/sun/star/wizards/common/Resource.java
index 8dc660b21d07..39607a2f8781 100644
--- a/wizards/com/sun/star/wizards/common/Resource.java
+++ b/wizards/com/sun/star/wizards/common/Resource.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/common/SystemDialog.java b/wizards/com/sun/star/wizards/common/SystemDialog.java
index ac3a38c9cf7d..4f75435d7b8d 100644
--- a/wizards/com/sun/star/wizards/common/SystemDialog.java
+++ b/wizards/com/sun/star/wizards/common/SystemDialog.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -146,10 +146,10 @@ public class SystemDialog
}
/**
- *
+ *
* @param displayDir
* @param defaultName
- * given url to a local path.
+ * given url to a local path.
* @return
*/
public String callStoreDialog(String displayDir, String defaultName)
@@ -333,11 +333,11 @@ public class SystemDialog
*/
/**
* @param windowServiceName one of the following strings:
- * "ErrorBox", "WarningBox", "MessBox", "InfoBox", "QueryBox".
- * There are other values possible, look
- * under src/toolkit/source/awt/vcltoolkit.cxx
+ * "ErrorBox", "WarningBox", "MessBox", "InfoBox", "QueryBox".
+ * There are other values possible, look
+ * under src/toolkit/source/awt/vcltoolkit.cxx
* @param windowAttribute see com.sun.star.awt.VclWindowPeerAttribute
- * @return 0 = cancel, 1 = ok, 2 = yes, 3 = no(I'm not sure here)
+ * @return 0 = cancel, 1 = ok, 2 = yes, 3 = no(I'm not sure here)
* other values check for yourself ;-)
*/
public static int showMessageBox(XMultiServiceFactory xMSF, String windowServiceName, int windowAttribute, String MessageText)
diff --git a/wizards/com/sun/star/wizards/common/TerminateWizardException.java b/wizards/com/sun/star/wizards/common/TerminateWizardException.java
index 124d98f9ff31..f71a47b27fda 100644
--- a/wizards/com/sun/star/wizards/common/TerminateWizardException.java
+++ b/wizards/com/sun/star/wizards/common/TerminateWizardException.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/common/UCB.java b/wizards/com/sun/star/wizards/common/UCB.java
index 5e3ad00698df..e068f01eb9d7 100644
--- a/wizards/com/sun/star/wizards/common/UCB.java
+++ b/wizards/com/sun/star/wizards/common/UCB.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -56,18 +56,18 @@ public class UCB
private Object ucb;
private FileAccess fa;
-
+
public UCB(XMultiServiceFactory xmsf) throws Exception
{
String[] keys = new String[2];
keys[ 0 ] = "Local";
keys[ 1 ] = "Office";
- ucb = xmsf.createInstanceWithArguments(
+ ucb = xmsf.createInstanceWithArguments(
"com.sun.star.ucb.UniversalContentBroker", keys );
fa = new FileAccess(xmsf);
}
-
- public void deleteDirContent(String dir)
+
+ public void deleteDirContent(String dir)
throws Exception
{
if (!fa.exists(dir,true))
@@ -80,18 +80,18 @@ public class UCB
delete(FileAccess.connectURLs(dir ,(String)l.get(i)));
}
}
-
+
public void delete(String filename) throws Exception
{
//System.out.println("UCB.delete(" + filename);
executeCommand( getContent(filename),"delete",Boolean.TRUE);
}
-
+
public void copy(String sourceDir, String targetDir) throws Exception
{
copy(sourceDir,targetDir,(Verifier)null);
}
-
+
public void copy(String sourceDir, String targetDir, Verifier verifier) throws Exception
{
List files = listFiles(sourceDir,verifier);
@@ -99,9 +99,9 @@ public class UCB
{
copy(sourceDir, (String)files.get(i), targetDir);
}
-
+
}
-
+
public void copy(String sourceDir, String filename, String targetDir, String targetName) throws Exception
{
if (!fa.exists(targetDir,true))
@@ -111,7 +111,7 @@ public class UCB
//System.out.println("UCB.copy(" + sourceDir + ", " + filename + ", " + targetDir+ ", " + targetName);
executeCommand(ucb, "globalTransfer", copyArg(sourceDir,filename, targetDir,targetName));
}
-
+
/**
* @deprecated
* @param sourceDir
@@ -134,7 +134,7 @@ public class UCB
*/
public GlobalTransferCommandArgument copyArg(String sourceDir, String sourceFilename, String targetDir, String targetFilename)
{
-
+
GlobalTransferCommandArgument aArg = new GlobalTransferCommandArgument();
aArg.Operation = TransferCommandOperation.COPY;
aArg.SourceURL = fa.getURL(sourceDir,sourceFilename);
@@ -144,10 +144,10 @@ public class UCB
aArg.NameClash = NameClash.OVERWRITE;
return aArg;
}
-
+
public Object executeCommand(Object xContent, String aCommandName, Object aArgument)
- throws com.sun.star.ucb.CommandAbortedException,
- com.sun.star.uno.Exception
+ throws com.sun.star.ucb.CommandAbortedException,
+ com.sun.star.uno.Exception
{
XCommandProcessor xCmdProcessor = (XCommandProcessor)UnoRuntime.queryInterface(
XCommandProcessor.class, xContent);
@@ -163,22 +163,22 @@ public class UCB
Object xContent = getContent(path);
OpenCommandArgument2 aArg = new OpenCommandArgument2();
- aArg.Mode = OpenMode.ALL;
- aArg.Priority = 32768;
+ aArg.Mode = OpenMode.ALL;
+ aArg.Priority = 32768;
// Fill info for the properties wanted.
aArg.Properties = new Property[] {new Property()};
-
+
aArg.Properties[0].Name = "Title";
aArg.Properties[0].Handle = -1;
-
+
XDynamicResultSet xSet;
xSet = (XDynamicResultSet)UnoRuntime.queryInterface(
XDynamicResultSet.class,executeCommand(xContent, "open", aArg));
XResultSet xResultSet = xSet.getStaticResultSet();
-
+
List files = new Vector();
if (xResultSet.first())
@@ -197,17 +197,17 @@ public class UCB
{
; //ignore
}
- else
+ else
{
files.add(aTitle);
}
}
while (xResultSet.next()); // next child
}
-
+
if (verifier != null)
{
- for (int i = 0; i<files.size(); i++)
+ for (int i = 0; i<files.size(); i++)
{
if (!verifier.verify(files.get(i)))
{
@@ -215,18 +215,18 @@ public class UCB
}
}
}
-
+
return files;
}
-
- public Object getContentProperty(Object content, String propName, Class type)
- throws Exception
+
+ public Object getContentProperty(Object content, String propName, Class type)
+ throws Exception
{
Property[] pv = new Property[1];
pv[0] = new Property();
pv[0].Name = propName;
pv[0].Handle = -1;
-
+
Object row = executeCommand(content,"getPropertyValues",pv);
XRow xrow = (XRow)UnoRuntime.queryInterface(XRow.class,row);
if (type.equals(String.class))
@@ -249,21 +249,21 @@ public class UCB
{
return null;
}
-
+
}
-
+
public Object getContent(String path) throws Exception
{
//System.out.println("Getting Content for : " + path);
XContentIdentifier id = ((XContentIdentifierFactory) UnoRuntime.queryInterface(XContentIdentifierFactory.class, ucb)).createContentIdentifier(path);
-
+
return ((XContentProvider)UnoRuntime.queryInterface(
XContentProvider.class,ucb)).queryContent(id);
}
-
+
public static interface Verifier
{
- public boolean verify(Object object);
+ public boolean verify(Object object);
}
}
diff --git a/wizards/com/sun/star/wizards/common/XMLHelper.java b/wizards/com/sun/star/wizards/common/XMLHelper.java
index 326ba03fbeea..d67b7f6d0d35 100644
--- a/wizards/com/sun/star/wizards/common/XMLHelper.java
+++ b/wizards/com/sun/star/wizards/common/XMLHelper.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/common/XMLProvider.java b/wizards/com/sun/star/wizards/common/XMLProvider.java
index f5c2fd662d31..bfe8efea31e8 100644
--- a/wizards/com/sun/star/wizards/common/XMLProvider.java
+++ b/wizards/com/sun/star/wizards/common/XMLProvider.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/db/BlindtextCreator.java b/wizards/com/sun/star/wizards/db/BlindtextCreator.java
index b52381def054..742a28be94db 100644
--- a/wizards/com/sun/star/wizards/db/BlindtextCreator.java
+++ b/wizards/com/sun/star/wizards/db/BlindtextCreator.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/db/ColumnPropertySet.java b/wizards/com/sun/star/wizards/db/ColumnPropertySet.java
index 204ba2328321..fdd2fc98f7d2 100644
--- a/wizards/com/sun/star/wizards/db/ColumnPropertySet.java
+++ b/wizards/com/sun/star/wizards/db/ColumnPropertySet.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/db/CommandMetaData.java b/wizards/com/sun/star/wizards/db/CommandMetaData.java
index ad54020e8645..4df1fc8378a8 100644
--- a/wizards/com/sun/star/wizards/db/CommandMetaData.java
+++ b/wizards/com/sun/star/wizards/db/CommandMetaData.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -69,22 +69,22 @@ public class CommandMetaData extends DBMetaData
private XIndexAccess xIndexKeys;
- public CommandMetaData(XMultiServiceFactory xMSF, Locale _aLocale, NumberFormatter oNumberFormatter)
+ public CommandMetaData(XMultiServiceFactory xMSF, Locale _aLocale, NumberFormatter oNumberFormatter)
{
super(xMSF, _aLocale, oNumberFormatter);
}
-
- public CommandMetaData(XMultiServiceFactory xMSF)
+
+ public CommandMetaData(XMultiServiceFactory xMSF)
{
super(xMSF);
}
- public void initializeFieldColumns(boolean _bgetDefaultValue, String _CommandName, String[] _FieldNames)
+ public void initializeFieldColumns(boolean _bgetDefaultValue, String _CommandName, String[] _FieldNames)
{
this.setCommandName(_CommandName);
FieldColumns = new FieldColumn[_FieldNames.length];
- for (int i = 0; i < _FieldNames.length; i++)
+ for (int i = 0; i < _FieldNames.length; i++)
{
FieldColumns[i] = new FieldColumn(this, _FieldNames[i], this.getCommandName(), false);
// if (_bgetDefaultValue)
@@ -94,22 +94,22 @@ public class CommandMetaData extends DBMetaData
}
}
-
+
public void initializeFieldColumns(String[] _FieldNames, XNameAccess _xColumns)
{
FieldColumns = new FieldColumn[_FieldNames.length];
- for (int i = 0; i < _FieldNames.length; i++)
+ for (int i = 0; i < _FieldNames.length; i++)
{
FieldColumns[i] = new FieldColumn(this,_xColumns, _FieldNames[i] );
}
}
-
-
- public void initializeFieldColumns(String[] _FieldNames, String _CommandName)
+
+
+ public void initializeFieldColumns(String[] _FieldNames, String _CommandName)
{
this.setCommandName(_CommandName);
FieldColumns = new FieldColumn[_FieldNames.length];
- for (int i = 0; i < _FieldNames.length; i++)
+ for (int i = 0; i < _FieldNames.length; i++)
{
FieldColumns[i] = new FieldColumn(this, _FieldNames[i], _CommandName, false);
if (FieldTitleSet != null)
@@ -122,37 +122,37 @@ public class CommandMetaData extends DBMetaData
FieldColumns[i].setFieldTitle( _FieldNames[i] );
FieldTitleSet.put(_FieldNames[i], _FieldNames[i]);
}
- }
+ }
}
}
}
-
+
public Map getFieldTitleSet()
{
return FieldTitleSet;
}
-
-
- public XPropertySet getColumnObjectByFieldName(String _FieldName, boolean _bgetByDisplayName)
+
+
+ public XPropertySet getColumnObjectByFieldName(String _FieldName, boolean _bgetByDisplayName)
{
- try
+ try
{
FieldColumn CurFieldColumn = null;
if (_bgetByDisplayName)
{
- CurFieldColumn = this.getFieldColumnByDisplayName(_FieldName);
+ CurFieldColumn = this.getFieldColumnByDisplayName(_FieldName);
}
else
{
- CurFieldColumn = this.getFieldColumnByFieldName(_FieldName);
+ CurFieldColumn = this.getFieldColumnByFieldName(_FieldName);
}
String CurCommandName = CurFieldColumn.getCommandName();
CommandObject oCommand = getTableByName(CurCommandName);
Object oColumn = oCommand.getColumns().getByName(CurFieldColumn.getFieldName());
XPropertySet xColumn = UnoRuntime.queryInterface( XPropertySet.class, oColumn );
return xColumn;
- }
- catch (Exception exception)
+ }
+ catch (Exception exception)
{
exception.printStackTrace(System.out);
return null;
@@ -170,12 +170,12 @@ public class CommandMetaData extends DBMetaData
sSortFieldName[0] = _fieldnames[i];
int index = JavaTools.FieldInTable(SortFieldNames, _fieldnames[i]);
if (index > -1)
-
+
{
sSortFieldName[1] = SortFieldNames[index][1];
}
else
-
+
{
sSortFieldName[1] = "ASC";
}
@@ -205,13 +205,13 @@ public class CommandMetaData extends DBMetaData
{
if (FieldColumns.length > 0)
{
- for (int i = 0; i < FieldColumns.length; i++)
+ for (int i = 0; i < FieldColumns.length; i++)
{
if (FieldColumns[i].getFieldName().equals(_FieldName))
-
+
{
if (FieldColumns[i].getCommandName().equals(_CommandName))
- {
+ {
return FieldColumns[i];
}
}
@@ -222,9 +222,9 @@ public class CommandMetaData extends DBMetaData
- public FieldColumn getFieldColumnByFieldName(String _FieldName)
+ public FieldColumn getFieldColumnByFieldName(String _FieldName)
{
- for (int i = 0; i < FieldColumns.length; i++)
+ for (int i = 0; i < FieldColumns.length; i++)
{
String sFieldName = FieldColumns[i].getFieldName();
if (sFieldName.equals(_FieldName))
@@ -243,10 +243,10 @@ public class CommandMetaData extends DBMetaData
throw new com.sun.star.uno.RuntimeException();
}
-
- public FieldColumn getFieldColumnByDisplayName(String _DisplayName)
+
+ public FieldColumn getFieldColumnByDisplayName(String _DisplayName)
{
- for (int i = 0; i < FieldColumns.length; i++)
+ for (int i = 0; i < FieldColumns.length; i++)
{
String sDisplayName = FieldColumns[i].getDisplayFieldName();
if (sDisplayName.equals(_DisplayName))
@@ -265,10 +265,10 @@ public class CommandMetaData extends DBMetaData
throw new com.sun.star.uno.RuntimeException();
}
-
- public FieldColumn getFieldColumnByTitle(String _FieldTitle)
+
+ public FieldColumn getFieldColumnByTitle(String _FieldTitle)
{
- for (int i = 0; i < FieldColumns.length; i++)
+ for (int i = 0; i < FieldColumns.length; i++)
{
if (FieldColumns[i].getFieldTitle().equals(_FieldTitle))
{
@@ -277,7 +277,7 @@ public class CommandMetaData extends DBMetaData
}
// throw new com.sun.star.uno.RuntimeException();
// LLA: Group works with fields direct
- for (int i = 0; i < FieldColumns.length; i++)
+ for (int i = 0; i < FieldColumns.length; i++)
{
if (FieldColumns[i].getFieldName().equals(_FieldTitle))
{
@@ -288,24 +288,24 @@ public class CommandMetaData extends DBMetaData
}
- public boolean getFieldNamesOfCommand(String _commandname, int _commandtype, boolean _bAppendMode)
+ public boolean getFieldNamesOfCommand(String _commandname, int _commandtype, boolean _bAppendMode)
{
- try
+ try
{
// Object oField;
java.util.Vector<String> ResultFieldNames = new java.util.Vector<String>(10);
String[] FieldNames;
CommandObject oCommand = this.getCommandByName(_commandname, _commandtype);
FieldNames = oCommand.getColumns().getElementNames();
- if (FieldNames.length > 0)
+ if (FieldNames.length > 0)
{
- for (int n = 0; n < FieldNames.length; n++)
+ for (int n = 0; n < FieldNames.length; n++)
{
final String sFieldName = FieldNames[n];
Object oField = oCommand.getColumns().getByName(sFieldName);
int iType = AnyConverter.toInt(Helper.getUnoPropertyValue(oField, "Type"));
// BinaryFieldTypes are not included in the WidthList
- if (JavaTools.FieldInIntTable(WidthList, iType) >= 0)
+ if (JavaTools.FieldInIntTable(WidthList, iType) >= 0)
{
// if (_bAppendMode)
// ResultFieldNames.addElement(_commandname + "." + FieldNames[n]);
@@ -323,8 +323,8 @@ public class CommandMetaData extends DBMetaData
ResultFieldNames.copyInto(m_aAllFieldNames);
return true;
}
- }
- catch (Exception exception)
+ }
+ catch (Exception exception)
{
exception.printStackTrace(System.out);
}
@@ -334,11 +334,11 @@ public class CommandMetaData extends DBMetaData
showMessageBox("ErrorBox", VclWindowPeerAttribute.OK, sMsgNoFieldsFromCommand);
return false;
}
-
-
-
-
-
+
+
+
+
+
public String[] getOrderableColumns(String[] _fieldnames)
{
@@ -362,14 +362,14 @@ public class CommandMetaData extends DBMetaData
/**
* @return Returns the command.
*/
- public String getCommandName()
+ public String getCommandName()
{
return Command;
}
/**
* @param _command The command to set.
*/
- public void setCommandName(String _command)
+ public void setCommandName(String _command)
{
Command = _command;
}
@@ -377,7 +377,7 @@ public class CommandMetaData extends DBMetaData
/**
* @return Returns the commandType.
*/
- public int getCommandType()
+ public int getCommandType()
{
return CommandType;
}
@@ -385,15 +385,15 @@ public class CommandMetaData extends DBMetaData
/**
* @param _commandType The commandType to set.
*/
- public void setCommandType(int _commandType)
+ public void setCommandType(int _commandType)
{
CommandType = _commandType;
}
- public boolean isnumeric(FieldColumn _oFieldColumn)
+ public boolean isnumeric(FieldColumn _oFieldColumn)
{
- try
+ try
{
CommandObject oTable = super.getTableByName(_oFieldColumn.getCommandName());
Object oField = oTable.getColumns().getByName(_oFieldColumn.getFieldName());
@@ -408,19 +408,19 @@ public class CommandMetaData extends DBMetaData
return false;
}
}
- catch (Exception exception)
+ catch (Exception exception)
{
exception.printStackTrace(System.out);
return false;
}
}
- public String[] setNumericFields()
+ public String[] setNumericFields()
{
- try
+ try
{
Vector<String> numericfieldsvector = new java.util.Vector<String>();
- for (int i = 0; i < FieldColumns.length; i++)
+ for (int i = 0; i < FieldColumns.length; i++)
{
if (isnumeric(FieldColumns[i]))
{
@@ -431,7 +431,7 @@ public class CommandMetaData extends DBMetaData
numericfieldsvector.toArray(NumericFieldNames);
return NumericFieldNames;
}
- catch (Exception exception)
+ catch (Exception exception)
{
exception.printStackTrace(System.out);
return new String[]{};
@@ -441,39 +441,39 @@ public class CommandMetaData extends DBMetaData
public String[] getFieldNames(String[] _sDisplayFieldNames, String _sCommandName)
{
Vector<String> sFieldNamesVector = new java.util.Vector<String>();
- for (int i = 0; i < FieldColumns.length; i++)
+ for (int i = 0; i < FieldColumns.length; i++)
{
- if (_sCommandName.equals(FieldColumns[i].getCommandName()))
+ if (_sCommandName.equals(FieldColumns[i].getCommandName()))
{
- if (JavaTools.FieldInList(_sDisplayFieldNames, FieldColumns[i].getDisplayFieldName()) > -1)
+ if (JavaTools.FieldInList(_sDisplayFieldNames, FieldColumns[i].getDisplayFieldName()) > -1)
{
sFieldNamesVector.addElement(FieldColumns[i].getFieldName());
}
}
}
String[] sFieldNames = new String[sFieldNamesVector.size()];
- sFieldNamesVector.toArray(sFieldNames);
+ sFieldNamesVector.toArray(sFieldNames);
return sFieldNames;
}
-
+
public String[] getFieldNames()
{
String[] sFieldNames = new String[FieldColumns.length];
- for (int i = 0; i < FieldColumns.length; i++)
+ for (int i = 0; i < FieldColumns.length; i++)
{
sFieldNames[i] = FieldColumns[i].getFieldName();
}
return sFieldNames;
}
-
+
public String[] getDisplayFieldNames()
{
String[] sDisplayFieldNames = new String[FieldColumns.length];
- for (int i = 0; i < FieldColumns.length; i++)
+ for (int i = 0; i < FieldColumns.length; i++)
{
- sDisplayFieldNames[i] = FieldColumns[i].getDisplayFieldName();
+ sDisplayFieldNames[i] = FieldColumns[i].getDisplayFieldName();
}
return sDisplayFieldNames;
}
@@ -481,10 +481,10 @@ public class CommandMetaData extends DBMetaData
public String[] setNonAggregateFieldNames()
{
- try
+ try
{
Vector<String> nonaggregatefieldsvector = new java.util.Vector<String>();
- for (int i = 0; i < FieldColumns.length; i++)
+ for (int i = 0; i < FieldColumns.length; i++)
{
if (JavaTools.FieldInTable(AggregateFieldNames, FieldColumns[i].getDisplayFieldName()) == -1)
{
@@ -494,8 +494,8 @@ public class CommandMetaData extends DBMetaData
NonAggregateFieldNames = new String[nonaggregatefieldsvector.size()];
nonaggregatefieldsvector.toArray(NonAggregateFieldNames);
return NonAggregateFieldNames;
- }
- catch (Exception exception)
+ }
+ catch (Exception exception)
{
exception.printStackTrace(System.out);
return new String[]{};
@@ -507,15 +507,15 @@ public class CommandMetaData extends DBMetaData
* @param _DisplayFieldNames
* @return
*/
- public boolean hasNumericalFields(String[] _DisplayFieldNames)
+ public boolean hasNumericalFields(String[] _DisplayFieldNames)
{
- if (_DisplayFieldNames != null)
+ if (_DisplayFieldNames != null)
{
- if (_DisplayFieldNames.length > 0)
+ if (_DisplayFieldNames.length > 0)
{
for (int i = 0; i < _DisplayFieldNames.length; i++)
- {
+ {
if (isnumeric(getFieldColumnByDisplayName(_DisplayFieldNames[i])))
{
return true;
@@ -526,7 +526,7 @@ public class CommandMetaData extends DBMetaData
return false;
}
- public String getFieldTitle(String FieldName)
+ public String getFieldTitle(String FieldName)
{
String FieldTitle = FieldName;
if (this.FieldTitleSet != null)
@@ -540,7 +540,7 @@ public class CommandMetaData extends DBMetaData
return FieldTitle;
}
-
+
public void setFieldTitles(String[] sFieldTitles)
{
int nFieldColLength = FieldColumns.length;
@@ -550,11 +550,11 @@ public class CommandMetaData extends DBMetaData
{
FieldColumns[i].setFieldTitle(sFieldTitles[i]);
}
-
+
}
}
-
-
+
+
public String[] getFieldTitles()
{
String[] sFieldTitles = new String[FieldColumns.length];
@@ -564,20 +564,20 @@ public class CommandMetaData extends DBMetaData
}
return sFieldTitles;
}
-
-
- public void setGroupFieldNames(String[] GroupFieldNames)
+
+
+ public void setGroupFieldNames(String[] GroupFieldNames)
{
this.GroupFieldNames = GroupFieldNames;
}
-
- public String[] getGroupFieldNames()
+
+ public String[] getGroupFieldNames()
{
return GroupFieldNames;
}
- public void createRecordFieldNames()
+ public void createRecordFieldNames()
{
String CurFieldName;
int GroupFieldCount;
@@ -587,10 +587,10 @@ public class CommandMetaData extends DBMetaData
RecordFieldNames = new String[TotFieldCount - GroupFieldCount];
int a = 0;
- for (int i = 0; i < TotFieldCount; i++)
+ for (int i = 0; i < TotFieldCount; i++)
{
CurFieldName = FieldColumns[i].getFieldName();
- if (JavaTools.FieldInList(GroupFieldNames, CurFieldName) < 0)
+ if (JavaTools.FieldInList(GroupFieldNames, CurFieldName) < 0)
{
RecordFieldNames[a] = CurFieldName;
// a += 1;
@@ -612,7 +612,7 @@ public class CommandMetaData extends DBMetaData
}
/**@deprecated use 'RelationController' class instead
- *
+ *
* @param _stablename
* @param _ncommandtype
* @return
@@ -620,7 +620,7 @@ public class CommandMetaData extends DBMetaData
public String[] getReferencedTables(String _stablename, int _ncommandtype)
{
String[] sTotReferencedTables = new String[]{};
- try
+ try
{
if (_ncommandtype == com.sun.star.sdb.CommandType.TABLE)
{
@@ -651,8 +651,8 @@ public class CommandMetaData extends DBMetaData
}
}
}
- }
- catch (Exception e)
+ }
+ catch (Exception e)
{
e.printStackTrace(System.out);
}
@@ -660,14 +660,14 @@ public class CommandMetaData extends DBMetaData
}
/**@deprecated use 'RelationController' class instead
- *
+ *
* @param _sreferencedtablename
* @return
*/
public String[][] getKeyColumns(String _sreferencedtablename)
{
String[][] skeycolumnnames = null;
- try
+ try
{
for (int i = 0; i < xIndexKeys.getCount(); i++)
{
@@ -695,8 +695,8 @@ public class CommandMetaData extends DBMetaData
}
}
}
- }
- catch (Exception e)
+ }
+ catch (Exception e)
{
e.printStackTrace();
}
@@ -706,12 +706,12 @@ public class CommandMetaData extends DBMetaData
public void openFormDocument(boolean _bReadOnly)
{
- try
+ try
{
Object oEmbeddedFactory = super.xMSF.createInstance("com.sun.star.embed.OOoEmbeddedObjectFactory");
int iEntryInitMode = EntryInitModes.DEFAULT_INIT; //TRUNCATE_INIT???
- }
- catch (Exception e)
+ }
+ catch (Exception e)
{
e.printStackTrace(System.out);
}
@@ -720,14 +720,14 @@ public class CommandMetaData extends DBMetaData
public void setCommandComposingAttributes()
{
- try
+ try
{
boolean bCatalogAtStart2 = xDBMetaData.isCatalogAtStart();
sCatalogSep = xDBMetaData.getCatalogSeparator();
sIdentifierQuote = xDBMetaData.getIdentifierQuoteString();
bCommandComposerAttributesalreadyRetrieved = true;
- }
- catch (SQLException e)
+ }
+ catch (SQLException e)
{
e.printStackTrace(System.out);
}
@@ -737,7 +737,7 @@ public class CommandMetaData extends DBMetaData
/**
* @return Returns the bCatalogAtStart.
*/
- public boolean isCatalogAtStart()
+ public boolean isCatalogAtStart()
{
if (!bCommandComposerAttributesalreadyRetrieved)
{
@@ -749,7 +749,7 @@ public class CommandMetaData extends DBMetaData
/**
* @return Returns the sCatalogSep.
*/
- public String getCatalogSeparator()
+ public String getCatalogSeparator()
{
if (!bCommandComposerAttributesalreadyRetrieved)
{
@@ -761,7 +761,7 @@ public class CommandMetaData extends DBMetaData
/**
* @return Returns the sIdentifierQuote.
*/
- public String getIdentifierQuote()
+ public String getIdentifierQuote()
{
if (!bCommandComposerAttributesalreadyRetrieved)
{
diff --git a/wizards/com/sun/star/wizards/db/CommandName.java b/wizards/com/sun/star/wizards/db/CommandName.java
index aa8a4f9c7ea9..4174545ff8f2 100644
--- a/wizards/com/sun/star/wizards/db/CommandName.java
+++ b/wizards/com/sun/star/wizards/db/CommandName.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/db/DBMetaData.java b/wizards/com/sun/star/wizards/db/DBMetaData.java
index 323ded34385a..2fceae708564 100644
--- a/wizards/com/sun/star/wizards/db/DBMetaData.java
+++ b/wizards/com/sun/star/wizards/db/DBMetaData.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -424,7 +424,7 @@ public class DBMetaData
// NumericTypes are all types where aggregate functions can be performed on.
// Similarly to a major competitor date/time/timmestamp fields are not included
-
+
}
public boolean isBinaryDataType(int _itype)
@@ -923,7 +923,7 @@ public class DBMetaData
* adds the passed document as a report or a form to the database. Afterwards the document is deleted.
* the document may not be open
* @param _xComponent
- * @param _xDocNameAccess
+ * @param _xDocNameAccess
* @param _bcreateTemplate describes the type of the document: "form" or "report"
*/
public void addDatabaseDocument(XComponent _xComponent, XHierarchicalNameAccess _xDocNameAccess, boolean i_createTemplate)
diff --git a/wizards/com/sun/star/wizards/db/FieldColumn.java b/wizards/com/sun/star/wizards/db/FieldColumn.java
index 041aab5f5300..406fb05e48d2 100644
--- a/wizards/com/sun/star/wizards/db/FieldColumn.java
+++ b/wizards/com/sun/star/wizards/db/FieldColumn.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/db/QueryMetaData.java b/wizards/com/sun/star/wizards/db/QueryMetaData.java
index bad14c2faa20..a15fe42ae786 100644
--- a/wizards/com/sun/star/wizards/db/QueryMetaData.java
+++ b/wizards/com/sun/star/wizards/db/QueryMetaData.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -92,14 +92,14 @@ public class QueryMetaData extends CommandMetaData
{
return this.GroupByFilterConditions;
}
-// public void addFieldColumn(String _FieldName, String _sCommandName){
-// FieldColumn oFieldColumn = getFieldColumn(_FieldName, _sCommandName);
-// if (oFieldColumn == null){
-// FieldColumn[] LocFieldColumns = new FieldColumn[FieldColumns.length + 1];
-// System.arraycopy(FieldColumns, 0, LocFieldColumns, 0, FieldColumns.length);
-// LocFieldColumns[FieldColumns.length] = new FieldColumn(this, _FieldName, _sCommandName);
-// FieldColumns = LocFieldColumns;
-// }
+// public void addFieldColumn(String _FieldName, String _sCommandName){
+// FieldColumn oFieldColumn = getFieldColumn(_FieldName, _sCommandName);
+// if (oFieldColumn == null){
+// FieldColumn[] LocFieldColumns = new FieldColumn[FieldColumns.length + 1];
+// System.arraycopy(FieldColumns, 0, LocFieldColumns, 0, FieldColumns.length);
+// LocFieldColumns[FieldColumns.length] = new FieldColumn(this, _FieldName, _sCommandName);
+// FieldColumns = LocFieldColumns;
+// }
// }
public void addSeveralFieldColumns(String[] _FieldNames, String _sCommandName)
{
diff --git a/wizards/com/sun/star/wizards/db/RecordParser.java b/wizards/com/sun/star/wizards/db/RecordParser.java
index 6c8ddb5b2c36..75d7c3365400 100644
--- a/wizards/com/sun/star/wizards/db/RecordParser.java
+++ b/wizards/com/sun/star/wizards/db/RecordParser.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/db/RelationController.java b/wizards/com/sun/star/wizards/db/RelationController.java
index acf47581d3e2..cf7793b9c248 100644
--- a/wizards/com/sun/star/wizards/db/RelationController.java
+++ b/wizards/com/sun/star/wizards/db/RelationController.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -140,7 +140,7 @@ public class RelationController extends CommandName
{
aSlaveFieldNamesVector.add(sForeignColumnName);
aMasterFieldNamesVector.add(sPrimaryColumnName);
- bleaveLoop = true; //Only one relation may exist between two tables...
+ bleaveLoop = true; //Only one relation may exist between two tables...
}
}
diff --git a/wizards/com/sun/star/wizards/db/SQLQueryComposer.java b/wizards/com/sun/star/wizards/db/SQLQueryComposer.java
index 235da2d7c04a..b474c6a5b5d2 100644
--- a/wizards/com/sun/star/wizards/db/SQLQueryComposer.java
+++ b/wizards/com/sun/star/wizards/db/SQLQueryComposer.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/db/TableDescriptor.java b/wizards/com/sun/star/wizards/db/TableDescriptor.java
index 8e3b740417c4..241de89f3934 100644
--- a/wizards/com/sun/star/wizards/db/TableDescriptor.java
+++ b/wizards/com/sun/star/wizards/db/TableDescriptor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -256,7 +256,7 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen
XPropertySet xColPropertySet = getByIndex(i);
if (!isColunnNameDuplicate(xNameAccessColumns, xColPropertySet))
{
- xAppendColumns.appendByDescriptor(xColPropertySet); //xColPropertySet.setPropertyValue("Type", new Integer(32423))
+ xAppendColumns.appendByDescriptor(xColPropertySet); //xColPropertySet.setPropertyValue("Type", new Integer(32423))
}
else
{
@@ -857,5 +857,5 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen
}
return bhastoinsert;
}
-}
-
+}
+
diff --git a/wizards/com/sun/star/wizards/db/TypeInspector.java b/wizards/com/sun/star/wizards/db/TypeInspector.java
index 1f22801fd8c5..ab677bfcb22d 100644
--- a/wizards/com/sun/star/wizards/db/TypeInspector.java
+++ b/wizards/com/sun/star/wizards/db/TypeInspector.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -419,21 +419,21 @@ public class TypeInspector
return (getAutoIncrementIndex(_xColPropertySet) != INVALID);
}
- /** finds the first available DataType that can be used as a primary key in a table.
+ /** finds the first available DataType that can be used as a primary key in a table.
* @return The first datatype that also supports Autoincrmentation is taken according to the following list:
*1) INTEGER
*2) FLOAT
*3) REAL
*4) DOUBLE
*5) NUMERIC
- *6) DECIMAL *
- * If no appropriate datatype is found ther first available numeric type after DataType.INTEGER
+ *6) DECIMAL *
+ * If no appropriate datatype is found ther first available numeric type after DataType.INTEGER
* according to the 'convertDataType' method is returned
*/
- /**TODO the fallback order is the same as implemented in the method 'convertDataType'.
+ /**TODO the fallback order is the same as implemented in the method 'convertDataType'.
* It's not very elegant to have the same intelligence
* on several spots in the class!!
- *
+ *
*/
public TypeInfo findAutomaticPrimaryKeyType()
{
diff --git a/wizards/com/sun/star/wizards/document/Control.java b/wizards/com/sun/star/wizards/document/Control.java
index fb4191277b8c..ca5168d004ee 100644
--- a/wizards/com/sun/star/wizards/document/Control.java
+++ b/wizards/com/sun/star/wizards/document/Control.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -273,9 +273,9 @@ public class Control extends Shape
}
}
- /** the peer should be retrieved every time before it is used because it
+ /** the peer should be retrieved every time before it is used because it
* might be disposed otherwise
- *
+ *
* @return
*/
public XLayoutConstrains getPeer()
diff --git a/wizards/com/sun/star/wizards/document/DatabaseControl.java b/wizards/com/sun/star/wizards/document/DatabaseControl.java
index b0b1523840a9..c0dff49dc813 100644
--- a/wizards/com/sun/star/wizards/document/DatabaseControl.java
+++ b/wizards/com/sun/star/wizards/document/DatabaseControl.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/document/FormHandler.java b/wizards/com/sun/star/wizards/document/FormHandler.java
index 7b558d67cd9f..90f05bd203d8 100644
--- a/wizards/com/sun/star/wizards/document/FormHandler.java
+++ b/wizards/com/sun/star/wizards/document/FormHandler.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/document/GridControl.java b/wizards/com/sun/star/wizards/document/GridControl.java
index 66bae37e1ed3..8243e6a929be 100644
--- a/wizards/com/sun/star/wizards/document/GridControl.java
+++ b/wizards/com/sun/star/wizards/document/GridControl.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/document/OfficeDocument.java b/wizards/com/sun/star/wizards/document/OfficeDocument.java
index 4cb78cd967c3..b0a01beac42e 100644
--- a/wizards/com/sun/star/wizards/document/OfficeDocument.java
+++ b/wizards/com/sun/star/wizards/document/OfficeDocument.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -123,7 +123,7 @@ public class OfficeDocument
* @param desktop
* @param frame
* @param sDocumentType e.g. swriter, scalc, ( simpress, scalc : not tested)
- * @return the document Component (implements XComponent) object ( XTextDocument, or XSpreadsheedDocument )
+ * @return the document Component (implements XComponent) object ( XTextDocument, or XSpreadsheedDocument )
*/
public static Object createNewDocument(XFrame frame, String sDocumentType, boolean preview, boolean readonly)
{
diff --git a/wizards/com/sun/star/wizards/document/Shape.java b/wizards/com/sun/star/wizards/document/Shape.java
index b2ef1a27e662..5252317b6f42 100644
--- a/wizards/com/sun/star/wizards/document/Shape.java
+++ b/wizards/com/sun/star/wizards/document/Shape.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/document/TimeStampControl.java b/wizards/com/sun/star/wizards/document/TimeStampControl.java
index 88733ee883c1..8645f3125a67 100644
--- a/wizards/com/sun/star/wizards/document/TimeStampControl.java
+++ b/wizards/com/sun/star/wizards/document/TimeStampControl.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -46,7 +46,7 @@ public class TimeStampControl extends DatabaseControl
DatabaseControl oDateControl;
DatabaseControl oTimeControl;
-// XShape xGroupShape;
+// XShape xGroupShape;
Resource oResource;
private String sDateAppendix; // = GetResText(RID_FORM + 4)
private String sTimeAppendix; // = GetResText(RID_FORM + 5)
diff --git a/wizards/com/sun/star/wizards/fax/CGFax.java b/wizards/com/sun/star/wizards/fax/CGFax.java
index 067c4dce09f1..301a792796df 100644
--- a/wizards/com/sun/star/wizards/fax/CGFax.java
+++ b/wizards/com/sun/star/wizards/fax/CGFax.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/fax/CGFaxWizard.java b/wizards/com/sun/star/wizards/fax/CGFaxWizard.java
index 232d4ee8c163..9daf3ded5a5c 100644
--- a/wizards/com/sun/star/wizards/fax/CGFaxWizard.java
+++ b/wizards/com/sun/star/wizards/fax/CGFaxWizard.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/fax/CallWizard.java b/wizards/com/sun/star/wizards/fax/CallWizard.java
index b20dc0890e56..0d04b0b94ca3 100644
--- a/wizards/com/sun/star/wizards/fax/CallWizard.java
+++ b/wizards/com/sun/star/wizards/fax/CallWizard.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -53,7 +53,7 @@ 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.
diff --git a/wizards/com/sun/star/wizards/fax/FaxDocument.java b/wizards/com/sun/star/wizards/fax/FaxDocument.java
index 8eafbed257d1..862f6b663099 100644
--- a/wizards/com/sun/star/wizards/fax/FaxDocument.java
+++ b/wizards/com/sun/star/wizards/fax/FaxDocument.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/fax/FaxWizardDialog.java b/wizards/com/sun/star/wizards/fax/FaxWizardDialog.java
index 8c81ba5e5fec..27cd3e244617 100644
--- a/wizards/com/sun/star/wizards/fax/FaxWizardDialog.java
+++ b/wizards/com/sun/star/wizards/fax/FaxWizardDialog.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -204,7 +204,7 @@ public abstract class FaxWizardDialog extends WizardDialog implements FaxWizardD
new Integer(39), resources.reslblIntroduction_value, Boolean.TRUE, new Integer(104), new Integer(145), INTEGERS[1], new Short((short) 55), new Integer(199)
});
ImageControl3 = insertInfoImage(92, 145, 1);
-// ImageControl3 = insertImage("ImageControl3",
+// ImageControl3 = insertImage("ImageControl3",
// new String[] {"Border", "Height", "ImageURL", "PositionX", "PositionY", "ScaleImage", "Step", "TabIndex", "Width"},
// new Object[] { new Short((short)0),INTEGERS[10],"private:resource/dbu/image/19205",new Integer(92),new Integer(145),Boolean.FALSE,INTEGERS[1],new Short((short)56),INTEGERS[10]}
// );
@@ -609,7 +609,7 @@ public abstract class FaxWizardDialog extends WizardDialog implements FaxWizardD
INTEGERS[8], resources.reslblTemplateName_value, new Integer(97), new Integer(58), INTEGERS[5], new Short((short) 57), new Integer(101)
});
/*
- lblTemplatePath = insertLabel("lblTemplatePath",
+ lblTemplatePath = insertLabel("lblTemplatePath",
new String[] {"Height", "Label", "PositionX", "PositionY", "Step", "TabIndex", "Width"},
new Object[] { INTEGERS[8],resources.reslblTemplatePath_value,new Integer(97),new Integer(77),INTEGERS[5],new Short((short)58),new Integer(71)}
);
diff --git a/wizards/com/sun/star/wizards/fax/FaxWizardDialogConst.java b/wizards/com/sun/star/wizards/fax/FaxWizardDialogConst.java
index 743173373b54..af3abb57fc5a 100644
--- a/wizards/com/sun/star/wizards/fax/FaxWizardDialogConst.java
+++ b/wizards/com/sun/star/wizards/fax/FaxWizardDialogConst.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -76,7 +76,7 @@ public interface FaxWizardDialogConst
* Help IDs
* ====================================
*/
- public final static int HID = 41119; //TODO enter first hid here
+ public final static int HID = 41119; //TODO enter first hid here
public static final int HIDMAIN = 41180;
public final String OPTBUSINESSFAX_HID = "HID:" + (HID + 1);
public final String LSTBUSINESSSTYLE_HID = "HID:" + (HID + 2);
diff --git a/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.java b/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.java
index e9a39eb5d5ef..63c4b0c119ce 100644
--- a/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.java
+++ b/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -300,7 +300,7 @@ public class FaxWizardDialogImpl extends FaxWizardDialog
{
try
{
- //xComponent.dispose();
+ //xComponent.dispose();
XCloseable xCloseable = (XCloseable) UnoRuntime.queryInterface(XCloseable.class, myFaxDoc.xFrame);
xCloseable.close(false);
}
@@ -686,7 +686,7 @@ public class FaxWizardDialogImpl extends FaxWizardDialog
TextFieldHandler myFieldHandler = new TextFieldHandler(myFaxDoc.xMSF, xTextDocument);
myFieldHandler.changeUserFieldContent("Fax", txtSenderFax.getText());
}
- //switch Elements on/off -------------------------------------------------------
+ //switch Elements on/off -------------------------------------------------------
public void setElements()
{
//UI relevant:
@@ -767,7 +767,7 @@ public class FaxWizardDialogImpl extends FaxWizardDialog
myFaxDoc.switchFooter("Standard", bFooterPossible, (chkFooterPageNumbers.getState() != 0), txtFooter.getText());
}
- //enable/disable roadmap item for footer page
+ //enable/disable roadmap item for footer page
XInterface BPaperItem = getRoadmapItemByID(RM_FOOTER);
Helper.setUnoPropertyValue(BPaperItem, "Enabled", new Boolean(bFooterPossible));
@@ -870,4 +870,4 @@ public class FaxWizardDialogImpl extends FaxWizardDialog
-
+
diff --git a/wizards/com/sun/star/wizards/fax/FaxWizardDialogResources.java b/wizards/com/sun/star/wizards/fax/FaxWizardDialogResources.java
index 0043d25590d8..d25c3cddb97b 100644
--- a/wizards/com/sun/star/wizards/fax/FaxWizardDialogResources.java
+++ b/wizards/com/sun/star/wizards/fax/FaxWizardDialogResources.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -93,7 +93,7 @@ public class FaxWizardDialogResources extends Resource
super(xmsf, UNIT_NAME, MODULE_NAME);
/**
* Delete the String, uncomment the getResText method
- *
+ *
*/
resFaxWizardDialog_title = getResText(RID_FAXWIZARDDIALOG_START + 1);
resLabel9_value = getResText(RID_FAXWIZARDDIALOG_START + 2);
diff --git a/wizards/com/sun/star/wizards/form/CallFormWizard.java b/wizards/com/sun/star/wizards/form/CallFormWizard.java
index 9a8e73951c69..4d730225dfc5 100644
--- a/wizards/com/sun/star/wizards/form/CallFormWizard.java
+++ b/wizards/com/sun/star/wizards/form/CallFormWizard.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/form/DataEntrySetter.java b/wizards/com/sun/star/wizards/form/DataEntrySetter.java
index 2844e0b53104..07649cacc301 100644
--- a/wizards/com/sun/star/wizards/form/DataEntrySetter.java
+++ b/wizards/com/sun/star/wizards/form/DataEntrySetter.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -51,7 +51,7 @@ public class DataEntrySetter
this.CurUnoDialog = _CurUnoDialog;
curtabindex = (short) (FormWizard.SODATA_PAGE * 100);
Integer IDataStep = new Integer(FormWizard.SODATA_PAGE);
- String sNewDataOnly = CurUnoDialog.m_oResource.getResText(UIConsts.RID_FORM + 44); //
+ String sNewDataOnly = CurUnoDialog.m_oResource.getResText(UIConsts.RID_FORM + 44); //
String sDisplayAllData = CurUnoDialog.m_oResource.getResText(UIConsts.RID_FORM + 46); //
String sNoModification = CurUnoDialog.m_oResource.getResText(UIConsts.RID_FORM + 47); // AllowUpdates
String sNoDeletion = CurUnoDialog.m_oResource.getResText(UIConsts.RID_FORM + 48); // AllowDeletes
diff --git a/wizards/com/sun/star/wizards/form/FieldLinker.java b/wizards/com/sun/star/wizards/form/FieldLinker.java
index f5555421a4b3..3396f9433d6d 100644
--- a/wizards/com/sun/star/wizards/form/FieldLinker.java
+++ b/wizards/com/sun/star/wizards/form/FieldLinker.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -263,7 +263,7 @@ public class FieldLinker extends DBLimitedFieldSelection
/**
* @return the LinkFieldnames of the joins. When no LinkFieldNames were selected the returned Array is empty.
* When Joins were assigned duplicate a null value is returned
- *
+ *
*/
public String[][] getLinkFieldNames()
{
@@ -288,7 +288,7 @@ public class FieldLinker extends DBLimitedFieldSelection
return null;
}
return LinkFieldNames;
-
+
}
public void enable(boolean _bdoenable)
diff --git a/wizards/com/sun/star/wizards/form/Finalizer.java b/wizards/com/sun/star/wizards/form/Finalizer.java
index fa1f9ce56074..f1d4ce9835aa 100644
--- a/wizards/com/sun/star/wizards/form/Finalizer.java
+++ b/wizards/com/sun/star/wizards/form/Finalizer.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/form/FormConfiguration.java b/wizards/com/sun/star/wizards/form/FormConfiguration.java
index 8e2c36ae0966..0c293a850ed6 100644
--- a/wizards/com/sun/star/wizards/form/FormConfiguration.java
+++ b/wizards/com/sun/star/wizards/form/FormConfiguration.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/form/FormControlArranger.java b/wizards/com/sun/star/wizards/form/FormControlArranger.java
index 9a0c58fd41b8..cc9449bfa717 100644
--- a/wizards/com/sun/star/wizards/form/FormControlArranger.java
+++ b/wizards/com/sun/star/wizards/form/FormControlArranger.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -100,7 +100,7 @@ public class FormControlArranger
setFormSize(_FormSize);
}
// Note: on all Controls except for the checkbox the Label has to be set
- // a bit under the DBControl because its Height is also smaller
+ // a bit under the DBControl because its Height is also smaller
private int getLabelDiffHeight(int _index)
{
if (curDBControl != null)
@@ -264,7 +264,7 @@ public class FormControlArranger
}
/**
- *
+ *
* @param StartIndex
* @param EndIndex
* @param nDist
@@ -498,7 +498,7 @@ public class FormControlArranger
break;
}
// if ((nYRefPos + nDBHeight) > nMaxDBYPos)
-// nMaxDBYPos = nYRefPos + nDBHeight;
+// nMaxDBYPos = nYRefPos + nDBHeight;
}
private void repositionColumnarLeftControls(int LastIndex)
diff --git a/wizards/com/sun/star/wizards/form/FormDocument.java b/wizards/com/sun/star/wizards/form/FormDocument.java
index ae1a795368e4..cd82625e3de7 100644
--- a/wizards/com/sun/star/wizards/form/FormDocument.java
+++ b/wizards/com/sun/star/wizards/form/FormDocument.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/form/FormWizard.java b/wizards/com/sun/star/wizards/form/FormWizard.java
index eb25fb65c78d..c3a58e0ab5e4 100644
--- a/wizards/com/sun/star/wizards/form/FormWizard.java
+++ b/wizards/com/sun/star/wizards/form/FormWizard.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -289,7 +289,7 @@ public class FormWizard extends DatabaseObjectWizard
FormName = curFinalizer.getName();
if (curFormDocument.finalizeForms(CurDataEntrySetter, curFieldLinker, curFormConfiguration))
{
-
+
if (curFinalizer.finish())
{
m_success = true;
diff --git a/wizards/com/sun/star/wizards/form/StyleApplier.java b/wizards/com/sun/star/wizards/form/StyleApplier.java
index 79e0321a3c0b..09a9f1aad0c7 100644
--- a/wizards/com/sun/star/wizards/form/StyleApplier.java
+++ b/wizards/com/sun/star/wizards/form/StyleApplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/form/UIControlArranger.java b/wizards/com/sun/star/wizards/form/UIControlArranger.java
index b596efe143ea..61d634a113bf 100644
--- a/wizards/com/sun/star/wizards/form/UIControlArranger.java
+++ b/wizards/com/sun/star/wizards/form/UIControlArranger.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/letter/CGLetter.java b/wizards/com/sun/star/wizards/letter/CGLetter.java
index 986d43bac5bb..28b72b38d7e8 100644
--- a/wizards/com/sun/star/wizards/letter/CGLetter.java
+++ b/wizards/com/sun/star/wizards/letter/CGLetter.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/letter/CGLetterWizard.java b/wizards/com/sun/star/wizards/letter/CGLetterWizard.java
index 0a6cfd90ab42..9cb9a25bdc0b 100644
--- a/wizards/com/sun/star/wizards/letter/CGLetterWizard.java
+++ b/wizards/com/sun/star/wizards/letter/CGLetterWizard.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/letter/CGPaperElementLocation.java b/wizards/com/sun/star/wizards/letter/CGPaperElementLocation.java
index 7c8b28bc93ed..be7ab49346bb 100644
--- a/wizards/com/sun/star/wizards/letter/CGPaperElementLocation.java
+++ b/wizards/com/sun/star/wizards/letter/CGPaperElementLocation.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/letter/CallWizard.java b/wizards/com/sun/star/wizards/letter/CallWizard.java
index f3508512807d..d203856d653a 100644
--- a/wizards/com/sun/star/wizards/letter/CallWizard.java
+++ b/wizards/com/sun/star/wizards/letter/CallWizard.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -53,7 +53,7 @@ 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.
diff --git a/wizards/com/sun/star/wizards/letter/LetterDocument.java b/wizards/com/sun/star/wizards/letter/LetterDocument.java
index 0c981c6e066e..6ed28c29ed9f 100644
--- a/wizards/com/sun/star/wizards/letter/LetterDocument.java
+++ b/wizards/com/sun/star/wizards/letter/LetterDocument.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/letter/LetterWizardDialog.java b/wizards/com/sun/star/wizards/letter/LetterWizardDialog.java
index e0b8a8c2579e..03638d368dea 100644
--- a/wizards/com/sun/star/wizards/letter/LetterWizardDialog.java
+++ b/wizards/com/sun/star/wizards/letter/LetterWizardDialog.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -272,7 +272,7 @@ public abstract class LetterWizardDialog extends WizardDialog implements LetterW
});
ImageControl3 = insertInfoImage(92, 145, 1);
-// ImageControl3 = insertImage("ImageControl3",
+// ImageControl3 = insertImage("ImageControl3",
// new String[] {"Border", "Height", "ImageURL", "Name", "PositionX", "PositionY", "ScaleImage", "Step", "TabIndex", "Width"},
// new Object[] { new Short((short)0), INTEGERS[10],"private:resource/dbu/image/19205","ImageControl3",new Integer(92),new Integer(145),Boolean.FALSE,INTEGERS[1],new Short((short)81),INTEGERS[10]}
// );
diff --git a/wizards/com/sun/star/wizards/letter/LetterWizardDialogConst.java b/wizards/com/sun/star/wizards/letter/LetterWizardDialogConst.java
index b94ac6f0c0ac..15ddf29c3f88 100755
--- a/wizards/com/sun/star/wizards/letter/LetterWizardDialogConst.java
+++ b/wizards/com/sun/star/wizards/letter/LetterWizardDialogConst.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/letter/LetterWizardDialogEvents.java b/wizards/com/sun/star/wizards/letter/LetterWizardDialogEvents.java
index 0a6407dbde1d..02bebe1cfca3 100644
--- a/wizards/com/sun/star/wizards/letter/LetterWizardDialogEvents.java
+++ b/wizards/com/sun/star/wizards/letter/LetterWizardDialogEvents.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.java b/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.java
index 2842cf63a19c..c0f56cd13b52 100644
--- a/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.java
+++ b/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -359,7 +359,7 @@ public class LetterWizardDialogImpl extends LetterWizardDialog
{
try
{
- //xComponent.dispose();
+ //xComponent.dispose();
XCloseable xCloseable = (XCloseable) UnoRuntime.queryInterface(XCloseable.class, myLetterDoc.xFrame);
xCloseable.close(false);
}
@@ -750,7 +750,7 @@ public class LetterWizardDialogImpl extends LetterWizardDialog
}
}
- //switch Elements on/off -------------------------------------------------------
+ //switch Elements on/off -------------------------------------------------------
public void chkUseLogoItemChanged()
{
try
@@ -824,7 +824,7 @@ public class LetterWizardDialogImpl extends LetterWizardDialog
myLetterDoc.switchFooter("Standard", bFooterPossible, (chkFooterPageNumbers.getState() != 0), txtFooter.getText());
}
- //enable/disable roadmap item for footer page
+ //enable/disable roadmap item for footer page
XInterface BPaperItem = getRoadmapItemByID(RM_FOOTER);
Helper.setUnoPropertyValue(BPaperItem, "Enabled", new Boolean(bFooterPossible));
@@ -1079,7 +1079,7 @@ public class LetterWizardDialogImpl extends LetterWizardDialog
public void lstLetterNormItemChanged()
{
- //when the norm changes, the correct template needs to be reloaded
+ //when the norm changes, the correct template needs to be reloaded
sCurrentNorm = Norms[getCurrentLetter().cp_Norm];
initializeTemplates(xMSF);
if (optBusinessLetter.getState())
diff --git a/wizards/com/sun/star/wizards/letter/LetterWizardDialogResources.java b/wizards/com/sun/star/wizards/letter/LetterWizardDialogResources.java
index 01731d989ebc..dc652bc02781 100644
--- a/wizards/com/sun/star/wizards/letter/LetterWizardDialogResources.java
+++ b/wizards/com/sun/star/wizards/letter/LetterWizardDialogResources.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/letter/LocaleCodes.java b/wizards/com/sun/star/wizards/letter/LocaleCodes.java
index 82994f40dc6b..b9dec8147358 100644
--- a/wizards/com/sun/star/wizards/letter/LocaleCodes.java
+++ b/wizards/com/sun/star/wizards/letter/LocaleCodes.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/query/CallQueryWizard.java b/wizards/com/sun/star/wizards/query/CallQueryWizard.java
index ec6ab3895fca..f108bc36519d 100644
--- a/wizards/com/sun/star/wizards/query/CallQueryWizard.java
+++ b/wizards/com/sun/star/wizards/query/CallQueryWizard.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/query/Finalizer.java b/wizards/com/sun/star/wizards/query/Finalizer.java
index 35d1edf37bde..592c3e64a495 100644
--- a/wizards/com/sun/star/wizards/query/Finalizer.java
+++ b/wizards/com/sun/star/wizards/query/Finalizer.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/query/QuerySummary.java b/wizards/com/sun/star/wizards/query/QuerySummary.java
index f570970e0fe8..47f5abf51140 100644
--- a/wizards/com/sun/star/wizards/query/QuerySummary.java
+++ b/wizards/com/sun/star/wizards/query/QuerySummary.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -83,13 +83,13 @@ public class QuerySummary extends QueryMetaData
}) + sReturnChar;
sFilterFraction = combineFilterNameFraction(this.getFilterConditions(), RID_QUERY + 53, RID_QUERY + 54) + sReturnChar;
// if (xDBMetaData.getNumericFunctions().length() > 0)
- // sAggregateFraction = combinePartString(RID_QUERY + 55, AggregateFieldNames, RID_QUERY + 56, RID_QUERY + 95, new String[]{ "<CALCULATEDFUNCTION>", "<FIELDNAME>"}) + sReturnChar;
+ // sAggregateFraction = combinePartString(RID_QUERY + 55, AggregateFieldNames, RID_QUERY + 56, RID_QUERY + 95, new String[]{ "<CALCULATEDFUNCTION>", "<FIELDNAME>"}) + sReturnChar;
if (xDBMetaData.supportsGroupBy())
{
sGroupByFraction = combinePartString(RID_QUERY + 57, GroupFieldNames, RID_QUERY + 58) + sReturnChar;
sHavingFraction = combineFilterNameFraction(getGroupByFilterConditions(), RID_QUERY + 59, RID_QUERY + 60);
}
- // TODO: remove the last return from the string
+ // TODO: remove the last return from the string
sSummary = sFieldNamesFraction + sSortingFraction + sFilterFraction + sAggregateFraction + sGroupByFraction + sHavingFraction;
sSummary = JavaTools.replaceSubString(sSummary, "", "~");
}
@@ -171,7 +171,7 @@ public class QuerySummary extends QueryMetaData
}
return _basestring;
}
- // TODO: How can you merge the following two methods to a single one in a smarter way??
+ // TODO: How can you merge the following two methods to a single one in a smarter way??
public String combinePartString(int _InitResID, String[] _FieldNames, int _AlternativeResID)
{
if (_FieldNames != null)
diff --git a/wizards/com/sun/star/wizards/query/QueryWizard.java b/wizards/com/sun/star/wizards/query/QueryWizard.java
index a0970534d657..8184c13c142c 100644
--- a/wizards/com/sun/star/wizards/query/QueryWizard.java
+++ b/wizards/com/sun/star/wizards/query/QueryWizard.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -153,7 +153,7 @@ public class QueryWizard extends DatabaseObjectWizard
curproperties[0] = Properties.createProperty( "DatabaseLocation", settings[ IDX_LOCATION ] );
else
curproperties[0] = Properties.createProperty( "DataSourceName", settings[ IDX_DSN ] );
-
+
QueryWizard CurQueryWizard = new QueryWizard( serviceFactory, curproperties );
CurQueryWizard.startQueryWizard();
}
@@ -338,8 +338,8 @@ public class QueryWizard extends DatabaseObjectWizard
public boolean finishWizard()
{
int ncurStep = getCurrentStep();
- if ( ( ncurStep == SOSUMMARY_PAGE )
- || ( switchToStep( ncurStep, SOSUMMARY_PAGE ) )
+ if ( ( ncurStep == SOSUMMARY_PAGE )
+ || ( switchToStep( ncurStep, SOSUMMARY_PAGE ) )
)
{
m_createdQuery = m_finalizer.finish();
diff --git a/wizards/com/sun/star/wizards/report/CallReportWizard.java b/wizards/com/sun/star/wizards/report/CallReportWizard.java
index 89aa7f471705..78b67263ede1 100644
--- a/wizards/com/sun/star/wizards/report/CallReportWizard.java
+++ b/wizards/com/sun/star/wizards/report/CallReportWizard.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/report/DBColumn.java b/wizards/com/sun/star/wizards/report/DBColumn.java
index eb6ce3229ac4..e9e4fcff69ce 100644
--- a/wizards/com/sun/star/wizards/report/DBColumn.java
+++ b/wizards/com/sun/star/wizards/report/DBColumn.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/report/Dataimport.java b/wizards/com/sun/star/wizards/report/Dataimport.java
index 8547758a08e6..9b1d993c82bc 100644
--- a/wizards/com/sun/star/wizards/report/Dataimport.java
+++ b/wizards/com/sun/star/wizards/report/Dataimport.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -80,11 +80,11 @@ public class Dataimport extends UnoDialog2 implements com.sun.star.awt.XActionLi
CurReportDocument.StopProcess();
}
-// public static void main(String args[])
+// public static void main(String args[])
// {
// String ConnectStr = "uno:socket,host=localhost,port=8100;urp,negotiate=0,forcesynchronous=1;StarOffice.NamingService";
// XMultiServiceFactory xMSF = null;
-// try
+// try
// {
// xMSF = com.sun.star.wizards.common.Desktop.connect(ConnectStr);
// if (xMSF != null)
@@ -103,11 +103,11 @@ public class Dataimport extends UnoDialog2 implements com.sun.star.awt.XActionLi
// CurDataimport.createReport(xMSF, oTextDocument.xTextDocument, curproperties);
//
// }
-// catch (Exception e)
+// catch (Exception e)
// {
// e.printStackTrace(System.out);
// }
-// catch (java.lang.Exception javaexception)
+// catch (java.lang.Exception javaexception)
// {
// javaexception.printStackTrace(System.out);
// }
diff --git a/wizards/com/sun/star/wizards/report/GroupFieldHandler.java b/wizards/com/sun/star/wizards/report/GroupFieldHandler.java
index 82e478bac781..fcfb08d7c999 100644
--- a/wizards/com/sun/star/wizards/report/GroupFieldHandler.java
+++ b/wizards/com/sun/star/wizards/report/GroupFieldHandler.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/report/IReportBuilderLayouter.java b/wizards/com/sun/star/wizards/report/IReportBuilderLayouter.java
index 6422befd65f0..b9e8794ed671 100755
--- a/wizards/com/sun/star/wizards/report/IReportBuilderLayouter.java
+++ b/wizards/com/sun/star/wizards/report/IReportBuilderLayouter.java
@@ -1,8 +1,8 @@
/*
* ***********************************************************************
- *
+ *
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -96,7 +96,7 @@ public interface IReportBuilderLayouter
/**
* Insert the names of the groups, the group names are names out of the field names.
- *
+ *
* If a group name is given here, it will not shown in the fields/titles, but must be in the field string list.
* @param _aGroupFieldNames
*/
diff --git a/wizards/com/sun/star/wizards/report/IReportDefinitionReadAccess.java b/wizards/com/sun/star/wizards/report/IReportDefinitionReadAccess.java
index 59fd096fe363..1c71d5e34641 100755
--- a/wizards/com/sun/star/wizards/report/IReportDefinitionReadAccess.java
+++ b/wizards/com/sun/star/wizards/report/IReportDefinitionReadAccess.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/report/IReportDocument.java b/wizards/com/sun/star/wizards/report/IReportDocument.java
index 702a776f9c98..b15339573ece 100644
--- a/wizards/com/sun/star/wizards/report/IReportDocument.java
+++ b/wizards/com/sun/star/wizards/report/IReportDocument.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -38,7 +38,7 @@ import java.util.Vector;
/**
* New Interface which gives us the possibility to switch on the fly between the old
* Wizard and the new Sun Report Builder Wizard, which use the same UI.
- *
+ *
* @author ll93751
*/
public interface IReportDocument
@@ -53,7 +53,7 @@ public interface IReportDocument
// -------------------------------------------------------------------------
// Access Helper
- // -------------------------------------------------------------------------
+ // -------------------------------------------------------------------------
/**
* Gives access to the DB Values
* @return
@@ -69,7 +69,7 @@ public interface IReportDocument
public com.sun.star.awt.XWindowPeer getWizardParent();
/**
- *
+ *
* @return the Frame of the document Window or Report Builder Window
*/
public com.sun.star.frame.XFrame getFrame();
@@ -78,10 +78,10 @@ public interface IReportDocument
// -------------------------------------------------------------------------
// First step: After entering the table name, select fields
- // -------------------------------------------------------------------------
+ // -------------------------------------------------------------------------
/**
* Is called after first step, set Tablename and the fields, which should occur in the Report.
- * @param _aType
+ * @param _aType
* @param TableName
* @param FieldNames
*/
@@ -99,7 +99,7 @@ public interface IReportDocument
// -------------------------------------------------------------------------
// Second step: Label field titles
- // -------------------------------------------------------------------------
+ // -------------------------------------------------------------------------
/**
* Set new names for the titles
* @param sFieldTitles
@@ -117,7 +117,7 @@ public interface IReportDocument
public void liveupdate_changeUserFieldContent(final String FieldName, final String TitleName);
// -------------------------------------------------------------------------
// Third step: Grouping
- // -------------------------------------------------------------------------
+ // -------------------------------------------------------------------------
/* Grouping Page */
// Document should not hold the grouping information!
/**
@@ -148,7 +148,7 @@ public interface IReportDocument
public void setGrouping(String[] aGroupList);
// -------------------------------------------------------------------------
// Fourth step: Sorting
- // -------------------------------------------------------------------------
+ // -------------------------------------------------------------------------
/**
* Set the list how to sort
* @param aSort
@@ -156,7 +156,7 @@ public interface IReportDocument
public void setSorting(String[][] aSort);
// -------------------------------------------------------------------------
// Fivth step: Templates / Layout
- // -------------------------------------------------------------------------
+ // -------------------------------------------------------------------------
/* Template Page */
public void setPageOrientation(int nOrientation) throws com.sun.star.lang.IllegalArgumentException;
@@ -187,7 +187,7 @@ public interface IReportDocument
public void layout_setupRecordSection(String TemplateName);
// -------------------------------------------------------------------------
// finishing
- // -------------------------------------------------------------------------
+ // -------------------------------------------------------------------------
// preview (update titlenames)
// addTextListener
/**
@@ -229,7 +229,7 @@ public interface IReportDocument
public void dispose();
// -------------------------------------------------------------------------
// Garbage dump
- // -------------------------------------------------------------------------
+ // -------------------------------------------------------------------------
/* DataImport */
// ???
// public void addTextSectionCopies();
@@ -262,7 +262,7 @@ public interface IReportDocument
/**
* check internal invariants
- * @throws a
+ * @throws a
*/
public void checkInvariants() throws java.lang.Exception;
}
diff --git a/wizards/com/sun/star/wizards/report/RecordTable.java b/wizards/com/sun/star/wizards/report/RecordTable.java
index b4af7f7fa94b..97570a481eeb 100644
--- a/wizards/com/sun/star/wizards/report/RecordTable.java
+++ b/wizards/com/sun/star/wizards/report/RecordTable.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/report/ReportFinalizer.java b/wizards/com/sun/star/wizards/report/ReportFinalizer.java
index 1482e118e516..05253f45d0b5 100644
--- a/wizards/com/sun/star/wizards/report/ReportFinalizer.java
+++ b/wizards/com/sun/star/wizards/report/ReportFinalizer.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/report/ReportImplementationHelper.java b/wizards/com/sun/star/wizards/report/ReportImplementationHelper.java
index a8d26d68cd41..a215bd98369d 100644
--- a/wizards/com/sun/star/wizards/report/ReportImplementationHelper.java
+++ b/wizards/com/sun/star/wizards/report/ReportImplementationHelper.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -42,9 +42,9 @@ public class ReportImplementationHelper
protected int m_nDefaultPageOrientation;
/**
- *
+ *
* @param _aMSF
- * @param _nOrientation
+ * @param _nOrientation
*/
public ReportImplementationHelper(XMultiServiceFactory _aMSF, int _nOrientation)
{
diff --git a/wizards/com/sun/star/wizards/report/ReportLayouter.java b/wizards/com/sun/star/wizards/report/ReportLayouter.java
index d1532b47dc4a..d05bc2cf4845 100644
--- a/wizards/com/sun/star/wizards/report/ReportLayouter.java
+++ b/wizards/com/sun/star/wizards/report/ReportLayouter.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/report/ReportTextDocument.java b/wizards/com/sun/star/wizards/report/ReportTextDocument.java
index 3ab9e704b9b9..9ba3d039f6ea 100644
--- a/wizards/com/sun/star/wizards/report/ReportTextDocument.java
+++ b/wizards/com/sun/star/wizards/report/ReportTextDocument.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/report/ReportTextImplementation.java b/wizards/com/sun/star/wizards/report/ReportTextImplementation.java
index 05f7ad2a6a5b..3219ea8f9857 100644
--- a/wizards/com/sun/star/wizards/report/ReportTextImplementation.java
+++ b/wizards/com/sun/star/wizards/report/ReportTextImplementation.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -406,7 +406,7 @@ public class ReportTextImplementation extends ReportImplementationHelper impleme
catch (Exception exception)
{
}
-// catch (java.lang.Exception javaexception)
+// catch (java.lang.Exception javaexception)
// {
// javaexception.printStackTrace(System.out);
// }
@@ -434,18 +434,18 @@ public class ReportTextImplementation extends ReportImplementationHelper impleme
}
DataVector.removeAllElements();
}
-// public void updateProgressDisplay(int iCounter)
+// public void updateProgressDisplay(int iCounter)
// {
-// try
+// try
// {
-// if (iCounter % 10 == 0)
+// if (iCounter % 10 == 0)
// {
// sProgressCurRecord = JavaTools.replaceSubString(sProgressBaseCurRecord, String.valueOf(iCounter), "<COUNT>");
// setControlProperty("lblCurProgress", "Label", sProgressCurRecord);
// super.xReschedule.reschedule();
// }
-// }
-// catch (java.lang.Exception jexception)
+// }
+// catch (java.lang.Exception jexception)
// {
// jexception.printStackTrace(System.out);
// }
diff --git a/wizards/com/sun/star/wizards/report/ReportWizard.java b/wizards/com/sun/star/wizards/report/ReportWizard.java
index 2bffd2b4bea3..dd545a14796b 100644
--- a/wizards/com/sun/star/wizards/report/ReportWizard.java
+++ b/wizards/com/sun/star/wizards/report/ReportWizard.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -428,7 +428,7 @@ private static void initializeLogger(XMultiServiceFactory _xMSF)
System.out.println("Can't get singleton from logging");
}
final XLoggerPool xLoggerPool = UnoRuntime.queryInterface( XLoggerPool.class, aLoggerPool );
- m_xLogger = xLoggerPool.getNamedLogger("com.sun.star.wizards.ReportBuilder");
+ m_xLogger = xLoggerPool.getNamedLogger("com.sun.star.wizards.ReportBuilder");
}
public static XLogger getLogger()
@@ -466,7 +466,7 @@ public static XLogger getLogger()
}
}
}
-
+
try
{
if (m_reportDocument == null)
@@ -750,7 +750,7 @@ public static XLogger getLogger()
// long nTime = aDate.getTime();
// Long aLong = new Long(nTime);
// String aStr = aLong.toString();
-//
+//
// Date aNewDate = new Date(1202382900000L);
//// aNewDate.
// String aDateStr = aNewDate.toString();
diff --git a/wizards/com/sun/star/wizards/reportbuilder/ReportBuilderImplementation.java b/wizards/com/sun/star/wizards/reportbuilder/ReportBuilderImplementation.java
index 6a90214696a5..aa3357ff4ceb 100644
--- a/wizards/com/sun/star/wizards/reportbuilder/ReportBuilderImplementation.java
+++ b/wizards/com/sun/star/wizards/reportbuilder/ReportBuilderImplementation.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -152,7 +152,7 @@ public class ReportBuilderImplementation extends ReportImplementationHelper
catch (com.sun.star.uno.Exception e)
{
ReportWizard.getLogger().log(com.sun.star.logging.LogLevel.SEVERE, "Problems with initialize the ReportDefinition" + e.getMessage());
-
+
}
switchOffPropertyBrowser();
@@ -328,7 +328,7 @@ public class ReportBuilderImplementation extends ReportImplementationHelper
/**
* Change the current Layouter by a new one with the given Name _sName.
- * If there exist no other layouter with the given name, nothing happens, the layouter will not change to
+ * If there exist no other layouter with the given name, nothing happens, the layouter will not change to
* an illegal one.
* @param _sName Name of the other layouter.
*/
@@ -642,7 +642,7 @@ public class ReportBuilderImplementation extends ReportImplementationHelper
String[] a = new String[getLayoutMap().size()];
String[] b = new String[getLayoutMap().size()];
- // run through the whole layoutmap and
+ // run through the whole layoutmap and
final Set aKeys = getLayoutMap().keySet();
final Iterator aKeyIterator = aKeys.iterator();
int i = 0;
@@ -745,4 +745,4 @@ public class ReportBuilderImplementation extends ReportImplementationHelper
}
-
+
diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/ColumnarSingleColumn.java b/wizards/com/sun/star/wizards/reportbuilder/layout/ColumnarSingleColumn.java
index ccb74ebf6f07..c12e1db4e36c 100644
--- a/wizards/com/sun/star/wizards/reportbuilder/layout/ColumnarSingleColumn.java
+++ b/wizards/com/sun/star/wizards/reportbuilder/layout/ColumnarSingleColumn.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/ColumnarThreeColumns.java b/wizards/com/sun/star/wizards/reportbuilder/layout/ColumnarThreeColumns.java
index 2dc468fb09e7..90bf347e2a03 100644
--- a/wizards/com/sun/star/wizards/reportbuilder/layout/ColumnarThreeColumns.java
+++ b/wizards/com/sun/star/wizards/reportbuilder/layout/ColumnarThreeColumns.java
@@ -1,8 +1,8 @@
/*
* ***********************************************************************
- *
+ *
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/ColumnarTwoColumns.java b/wizards/com/sun/star/wizards/reportbuilder/layout/ColumnarTwoColumns.java
index d79713524021..4ef9ccdf98c5 100644
--- a/wizards/com/sun/star/wizards/reportbuilder/layout/ColumnarTwoColumns.java
+++ b/wizards/com/sun/star/wizards/reportbuilder/layout/ColumnarTwoColumns.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/DesignTemplate.java b/wizards/com/sun/star/wizards/reportbuilder/layout/DesignTemplate.java
index 55fdafe6c79a..307bb61bf373 100644
--- a/wizards/com/sun/star/wizards/reportbuilder/layout/DesignTemplate.java
+++ b/wizards/com/sun/star/wizards/reportbuilder/layout/DesignTemplate.java
@@ -1,8 +1,8 @@
/*
* ***********************************************************************
- *
+ *
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -282,7 +282,7 @@ public class DesignTemplate
/**
* create a new DesignTemplate by try to load a otr file from the given path.
* Internally we store the loaded ReportDefinition.
- *
+ *
* @param _xMSF
* @param _sPath
* @return
diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/InBlocksLabelsAbove.java b/wizards/com/sun/star/wizards/reportbuilder/layout/InBlocksLabelsAbove.java
index 9fd891a446f2..a26278d581b7 100644
--- a/wizards/com/sun/star/wizards/reportbuilder/layout/InBlocksLabelsAbove.java
+++ b/wizards/com/sun/star/wizards/reportbuilder/layout/InBlocksLabelsAbove.java
@@ -1,8 +1,8 @@
/*
* ***********************************************************************
- *
+ *
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/InBlocksLabelsLeft.java b/wizards/com/sun/star/wizards/reportbuilder/layout/InBlocksLabelsLeft.java
index c03cf7cec909..9dae19223bc7 100644
--- a/wizards/com/sun/star/wizards/reportbuilder/layout/InBlocksLabelsLeft.java
+++ b/wizards/com/sun/star/wizards/reportbuilder/layout/InBlocksLabelsLeft.java
@@ -1,8 +1,8 @@
/*
* ***********************************************************************
- *
+ *
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/LayoutConstants.java b/wizards/com/sun/star/wizards/reportbuilder/layout/LayoutConstants.java
index c31ce4b5f277..d5261c62dc33 100644
--- a/wizards/com/sun/star/wizards/reportbuilder/layout/LayoutConstants.java
+++ b/wizards/com/sun/star/wizards/reportbuilder/layout/LayoutConstants.java
@@ -2,7 +2,7 @@
* ***********************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/ReportBuilderLayouter.java b/wizards/com/sun/star/wizards/reportbuilder/layout/ReportBuilderLayouter.java
index a10affa9ea2c..237802ab31cb 100644
--- a/wizards/com/sun/star/wizards/reportbuilder/layout/ReportBuilderLayouter.java
+++ b/wizards/com/sun/star/wizards/reportbuilder/layout/ReportBuilderLayouter.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -97,7 +97,7 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter
/**
* The Constructor is protected, this is a abstract class, use Tabular or other to create an instance.
* @param _xDefinitionAccess
- * @param _aResource
+ * @param _aResource
*/
protected ReportBuilderLayouter(IReportDefinitionReadAccess _xDefinitionAccess, Resource _aResource)
{
@@ -126,7 +126,7 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter
/**
* Layout the complete report new, by all information we know until this time.
- *
+ *
* If there are some information less, it is no problem for this function, they will be leaved out.
* It is possible to call this function after every change, but be careful, could take a little bit longer.
*/
@@ -192,7 +192,7 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter
// -------------------------------------------------------------------------
/**
* Remove all fields
- * @param _xSectionToClear
+ * @param _xSectionToClear
*/
private void emptySection(XSection _xSectionToClear)
{
@@ -227,7 +227,7 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter
// {
// }
/**
- *
+ *
* @param _nGroupCount
* @return the left indent in 1/100mm
*/
@@ -707,14 +707,14 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter
// -------------------------------------------------------------------------
/**
* Insert a already formatted field name into a given section
- *
+ *
* Use 'convertToFieldName(dbfield)' to convert a dbfield name in the right.
- *
+ *
* @param _xSection in which section the formatted field will store
* @param _sFormattedfield as String a dbfield or an other function
* @param _aRect .X, .Y are the absolute position (1/100mm) where the formatted field will set
* @param _nWidth the width of the field in 1/100mm
- * @param _aSO
+ * @param _aSO
* @return a new Rectangle with the new Rect.X position, Rect.Y will not change.
*/
protected Rectangle insertFormattedField(XSection _xSection, String _sFormattedfield, Rectangle _aRect, int _nWidth, SectionObject _aSO)
@@ -749,7 +749,7 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter
}
}
_aRect.Height = nHeight;
-
+
final XReportControlModel xReportControlModel = (XReportControlModel) UnoRuntime.queryInterface(XReportControlModel.class, aField);
if (xReportControlModel != null)
{
@@ -781,7 +781,7 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter
if (xImageControl != null)
{
// xImageControl.setScaleImage(true);
-
+
xImageControl.setScaleMode(com.sun.star.awt.ImageScaleMode.Isotropic);
}
}
@@ -1010,7 +1010,7 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter
// {
// GregorianCalendar aCalendar = new GregorianCalendar();
// StringBuffer aBuf = new StringBuffer();
-//
+//
// Locale aLocale = new Locale("en","US");
// SimpleDateFormat aFormat = new SimpleDateFormat(_sFormat, aLocale);
// aBuf = aFormat.format(aCalendar.getTime(), aBuf, new FieldPosition(0) );
@@ -1038,14 +1038,14 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter
//// long nTime = aDate.getTime();
//// Long aLong = new Long(nTime);
//// String aStr = aLong.toString();
-////
+////
//// Date aNewDate = new Date(1202382900000L);
////// aNewDate.
//// String aDateStr = aNewDate.toString();
////// Datetime aNewTime = new Time(1202382900);
////// String aTimeStr = aNewTime.toString();
////
-//
+//
// }
protected void clearPageFooter()
{
@@ -1094,7 +1094,7 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter
/**
* Returns the width and height of a given string (_sText) in 1/100mm drawn in the given font descriptor.
* TODO: This function is a performance leak, we could store already calculated values in a map, to build a cache. Access should be much faster then.
- *
+ *
* @param _sText
* @param _aFont
* @return width of given text in 1/100mm
@@ -1648,7 +1648,7 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter
// {
// ex.printStackTrace();
// }
-//
+//
// }
}
diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/SectionEmptyObject.java b/wizards/com/sun/star/wizards/reportbuilder/layout/SectionEmptyObject.java
index 8df754795e63..f97f0744913b 100644
--- a/wizards/com/sun/star/wizards/reportbuilder/layout/SectionEmptyObject.java
+++ b/wizards/com/sun/star/wizards/reportbuilder/layout/SectionEmptyObject.java
@@ -1,8 +1,8 @@
/*
* ***********************************************************************
- *
+ *
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/SectionLabel.java b/wizards/com/sun/star/wizards/reportbuilder/layout/SectionLabel.java
index ae3766fd3391..5a7ed7f83d0c 100644
--- a/wizards/com/sun/star/wizards/reportbuilder/layout/SectionLabel.java
+++ b/wizards/com/sun/star/wizards/reportbuilder/layout/SectionLabel.java
@@ -1,8 +1,8 @@
/*
* ***********************************************************************
- *
+ *
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/SectionObject.java b/wizards/com/sun/star/wizards/reportbuilder/layout/SectionObject.java
index fa33e85d39cb..f07254edc979 100644
--- a/wizards/com/sun/star/wizards/reportbuilder/layout/SectionObject.java
+++ b/wizards/com/sun/star/wizards/reportbuilder/layout/SectionObject.java
@@ -1,8 +1,8 @@
/*
* ***********************************************************************
- *
+ *
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/SectionTextField.java b/wizards/com/sun/star/wizards/reportbuilder/layout/SectionTextField.java
index 2a11fcd56f04..11d3e676298f 100644
--- a/wizards/com/sun/star/wizards/reportbuilder/layout/SectionTextField.java
+++ b/wizards/com/sun/star/wizards/reportbuilder/layout/SectionTextField.java
@@ -1,8 +1,8 @@
/*
* ***********************************************************************
- *
+ *
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/Tabular.java b/wizards/com/sun/star/wizards/reportbuilder/layout/Tabular.java
index 0fe168b28263..d5018e4e09c9 100644
--- a/wizards/com/sun/star/wizards/reportbuilder/layout/Tabular.java
+++ b/wizards/com/sun/star/wizards/reportbuilder/layout/Tabular.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/table/CGCategory.java b/wizards/com/sun/star/wizards/table/CGCategory.java
index ea74b33f09ad..739645b4e29f 100644
--- a/wizards/com/sun/star/wizards/table/CGCategory.java
+++ b/wizards/com/sun/star/wizards/table/CGCategory.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -60,7 +60,7 @@ public class CGCategory
{
try
{
- oconfigView = Configuration.getConfigurationRoot(xMSF, CGROOTPATH, false); //business/Tables
+ oconfigView = Configuration.getConfigurationRoot(xMSF, CGROOTPATH, false); //business/Tables
xNameAccessCurBusinessNode = Configuration.getChildNodebyName(
UnoRuntime.queryInterface(XNameAccess.class, oconfigView),
category);
diff --git a/wizards/com/sun/star/wizards/table/CGTable.java b/wizards/com/sun/star/wizards/table/CGTable.java
index a1878bdeb02f..12198c9a96f2 100644
--- a/wizards/com/sun/star/wizards/table/CGTable.java
+++ b/wizards/com/sun/star/wizards/table/CGTable.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/table/CallTableWizard.java b/wizards/com/sun/star/wizards/table/CallTableWizard.java
index 4aeb66cf66ca..4b992a5ea463 100644
--- a/wizards/com/sun/star/wizards/table/CallTableWizard.java
+++ b/wizards/com/sun/star/wizards/table/CallTableWizard.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/table/FieldDescription.java b/wizards/com/sun/star/wizards/table/FieldDescription.java
index d26e58783aba..fbb2dbfd715f 100644
--- a/wizards/com/sun/star/wizards/table/FieldDescription.java
+++ b/wizards/com/sun/star/wizards/table/FieldDescription.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -132,7 +132,7 @@ public class FieldDescription
try
{
xPropertySet = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, _xNameAccessFieldNode);
-// Integer Index = (Integer) xPropertySet.getPropertyValue("Index");
+// Integer Index = (Integer) xPropertySet.getPropertyValue("Index");
if (propertyexists("Name"))
{
aPropertyValues.addElement(Properties.createProperty("Name", Name));
@@ -144,16 +144,16 @@ public class FieldDescription
if (propertyexists("Scale"))
{
aPropertyValues.addElement(Properties.createProperty("Scale", (Integer) xPropertySet.getPropertyValue("Scale")));
-// Scale =
+// Scale =
}
if (propertyexists("Precision"))
{
aPropertyValues.addElement(Properties.createProperty("Precision", (Integer) xPropertySet.getPropertyValue("Precision")));
-// Precision = (Integer) xPropertySet.getPropertyValue("Precision");
+// Precision = (Integer) xPropertySet.getPropertyValue("Precision");
}
if (propertyexists("DefaultValue"))
{
- aPropertyValues.addElement(Properties.createProperty("DefaultValue", (Boolean) xPropertySet.getPropertyValue("DefaultValue")));// DefaultValue = (Boolean) xPropertySet.getPropertyValue("DefaultValue");
+ aPropertyValues.addElement(Properties.createProperty("DefaultValue", (Boolean) xPropertySet.getPropertyValue("DefaultValue")));// DefaultValue = (Boolean) xPropertySet.getPropertyValue("DefaultValue");
//Type = new Integer(4); // TODO wo ist der Fehler?(Integer) xPropertySet.getPropertyValue("Type");
}
}
diff --git a/wizards/com/sun/star/wizards/table/FieldFormatter.java b/wizards/com/sun/star/wizards/table/FieldFormatter.java
index 205413bd50f3..3c9a8997e01f 100644
--- a/wizards/com/sun/star/wizards/table/FieldFormatter.java
+++ b/wizards/com/sun/star/wizards/table/FieldFormatter.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/table/Finalizer.java b/wizards/com/sun/star/wizards/table/Finalizer.java
index 43c6787a294c..94636532ed07 100644
--- a/wizards/com/sun/star/wizards/table/Finalizer.java
+++ b/wizards/com/sun/star/wizards/table/Finalizer.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/table/PrimaryKeyHandler.java b/wizards/com/sun/star/wizards/table/PrimaryKeyHandler.java
index d8ecf13a9ad9..6f7ecb289080 100644
--- a/wizards/com/sun/star/wizards/table/PrimaryKeyHandler.java
+++ b/wizards/com/sun/star/wizards/table/PrimaryKeyHandler.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/table/ScenarioSelector.java b/wizards/com/sun/star/wizards/table/ScenarioSelector.java
index 4f985c18e055..6f6ae92fce23 100644
--- a/wizards/com/sun/star/wizards/table/ScenarioSelector.java
+++ b/wizards/com/sun/star/wizards/table/ScenarioSelector.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -58,7 +58,7 @@ public class ScenarioSelector extends FieldSelection implements XItemListener, X
{
final static int PRIVATE = 0;
final static int BUSINESS = 1;
-
+
private XFixedText lblExplanation;
private XFixedText lblCategories;
private XRadioButton optBusiness;
@@ -329,7 +329,7 @@ public class ScenarioSelector extends FieldSelection implements XItemListener, X
{
int selindex = JavaTools.FieldInList(NewItems, SelItems[i]);
super.xSelectedFieldsListBox.removeItems((short) selindex, (short) 1);
- /**TODO In this context the items should be better placed at their original position.
+ /**TODO In this context the items should be better placed at their original position.
* but how is this position retrieved?
*/
super.xFieldsListBox.addItem(SelItems[i], xFieldsListBox.getItemCount());
diff --git a/wizards/com/sun/star/wizards/table/TableWizard.java b/wizards/com/sun/star/wizards/table/TableWizard.java
index 1444cc946675..607f5b739667 100644
--- a/wizards/com/sun/star/wizards/table/TableWizard.java
+++ b/wizards/com/sun/star/wizards/table/TableWizard.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/text/TextDocument.java b/wizards/com/sun/star/wizards/text/TextDocument.java
index 4fe2e9f0d710..0dd48f6608d8 100644
--- a/wizards/com/sun/star/wizards/text/TextDocument.java
+++ b/wizards/com/sun/star/wizards/text/TextDocument.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/text/TextFieldHandler.java b/wizards/com/sun/star/wizards/text/TextFieldHandler.java
index 5d8c677c621e..8994bfd1860b 100644
--- a/wizards/com/sun/star/wizards/text/TextFieldHandler.java
+++ b/wizards/com/sun/star/wizards/text/TextFieldHandler.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -59,7 +59,7 @@ public class TextFieldHandler
/**
* Creates a new instance of TextFieldHandler
* @param xMSF
- * @param xTextDocument
+ * @param xTextDocument
*/
public TextFieldHandler(XMultiServiceFactory xMSF, XTextDocument xTextDocument)
{
diff --git a/wizards/com/sun/star/wizards/text/TextFrameHandler.java b/wizards/com/sun/star/wizards/text/TextFrameHandler.java
index 562444a1ad84..93e48a247f52 100644
--- a/wizards/com/sun/star/wizards/text/TextFrameHandler.java
+++ b/wizards/com/sun/star/wizards/text/TextFrameHandler.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/text/TextSectionHandler.java b/wizards/com/sun/star/wizards/text/TextSectionHandler.java
index 42fd75879c3c..dadf928a504b 100644
--- a/wizards/com/sun/star/wizards/text/TextSectionHandler.java
+++ b/wizards/com/sun/star/wizards/text/TextSectionHandler.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -233,7 +233,7 @@ public class TextSectionHandler
{
XTextCursor xTextCursor = xText.createTextCursor();
xText.insertControlCharacter(xTextCursor, ControlCharacter.PARAGRAPH_BREAK, false);
- // Helper.setUnoPropertyValue(xTextCursor, "PageDescName", "First Page");
+ // Helper.setUnoPropertyValue(xTextCursor, "PageDescName", "First Page");
xTextCursor.collapseToEnd();
}
XTextCursor xSecondTextCursor = xText.createTextCursor();
diff --git a/wizards/com/sun/star/wizards/text/TextStyleHandler.java b/wizards/com/sun/star/wizards/text/TextStyleHandler.java
index e6c952e65785..e50a923ad719 100644
--- a/wizards/com/sun/star/wizards/text/TextStyleHandler.java
+++ b/wizards/com/sun/star/wizards/text/TextStyleHandler.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/text/TextTableHandler.java b/wizards/com/sun/star/wizards/text/TextTableHandler.java
index d3646a7cfa37..7b70e2348b6d 100644
--- a/wizards/com/sun/star/wizards/text/TextTableHandler.java
+++ b/wizards/com/sun/star/wizards/text/TextTableHandler.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/text/ViewHandler.java b/wizards/com/sun/star/wizards/text/ViewHandler.java
index e29ad10cfbb1..117fc159bbc4 100644
--- a/wizards/com/sun/star/wizards/text/ViewHandler.java
+++ b/wizards/com/sun/star/wizards/text/ViewHandler.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/ui/AggregateComponent.java b/wizards/com/sun/star/wizards/ui/AggregateComponent.java
index 55a6b35dc7e9..55ae228032a1 100644
--- a/wizards/com/sun/star/wizards/ui/AggregateComponent.java
+++ b/wizards/com/sun/star/wizards/ui/AggregateComponent.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -357,7 +357,7 @@ public class AggregateComponent extends ControlScroller
ControlRow oControlRow = (ControlRow) ControlRowVector.elementAt(i);
// if (i == _index)
// oControlRow.settovoid();
-// else
+// else
oControlRow.setVisible(false);
}
}
diff --git a/wizards/com/sun/star/wizards/ui/ButtonList.java b/wizards/com/sun/star/wizards/ui/ButtonList.java
index 634261145079..e14a06b4ee0a 100644
--- a/wizards/com/sun/star/wizards/ui/ButtonList.java
+++ b/wizards/com/sun/star/wizards/ui/ButtonList.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -93,7 +93,7 @@ public class ButtonList implements XItemEventBroadcaster, XActionListener
{
m_aControlName = _sName;
}
-
+
/** Setter for property m_aButtonSize.
* @param imageSize New value of property m_aButtonSize.
*/
@@ -354,7 +354,7 @@ public class ButtonList implements XItemEventBroadcaster, XActionListener
}
/**
- *
+ *
* @param i
* @return the Object in the list model corresponding to the given image index.
*/
@@ -372,7 +372,7 @@ public class ButtonList implements XItemEventBroadcaster, XActionListener
}
/**
- *
+ *
* @param i
* @return the index in the listModel for the given image index.
*/
@@ -451,7 +451,7 @@ public class ButtonList implements XItemEventBroadcaster, XActionListener
*/
private void fireItemSelected()
{
-// java.awt.event.ItemEvent event = new java.awt.event.ItemEvent(this, 0,
+// java.awt.event.ItemEvent event = new java.awt.event.ItemEvent(this, 0,
// getSelectedObject(), java.awt.event.ItemEvent.SELECTED);
java.util.ArrayList list;
synchronized(this)
@@ -755,9 +755,9 @@ public class ButtonList implements XItemEventBroadcaster, XActionListener
{
/**
- *
+ *
* @param listItem
- * @return two resource ids for an image referenced in the imaglist resourcefile of the
+ * @return two resource ids for an image referenced in the imaglist resourcefile of the
* wizards project; The second one of them is designed to be used for High Contrast Mode.
*/
public Object[] getImageUrls(Object listItem);
diff --git a/wizards/com/sun/star/wizards/ui/CommandFieldSelection.java b/wizards/com/sun/star/wizards/ui/CommandFieldSelection.java
index ddca1039706a..5bb10f184d86 100644
--- a/wizards/com/sun/star/wizards/ui/CommandFieldSelection.java
+++ b/wizards/com/sun/star/wizards/ui/CommandFieldSelection.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -278,7 +278,7 @@ public class CommandFieldSelection extends FieldSelection implements Comparator
}
/** returns the selected entry index in the commandListbox
- *
+ *
* @return
* @throws com.sun.star.wizards.common.TerminateWizardException
*/
diff --git a/wizards/com/sun/star/wizards/ui/ControlScroller.java b/wizards/com/sun/star/wizards/ui/ControlScroller.java
index f42fe81134a9..037ad93fff1d 100644
--- a/wizards/com/sun/star/wizards/ui/ControlScroller.java
+++ b/wizards/com/sun/star/wizards/ui/ControlScroller.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -389,7 +389,7 @@ public abstract class ControlScroller
* the control in guiRow and column
* @param guiRow 0 based row index
* @param column 0 based column index
- * @return the propertyValue object corresponding to
+ * @return the propertyValue object corresponding to
* this control.
*/
protected PropertyValue fieldInfo(int guiRow, int column)
@@ -496,7 +496,7 @@ public abstract class ControlScroller
protected abstract void initializeScrollFields();
- /** inserts a group of controls into the component. The group may either be a row or a column of controls
+ /** inserts a group of controls into the component. The group may either be a row or a column of controls
* The controls should be put on Step 99 (means made invisible at first). All the controlrows that are needed are than
* made visible automatically when calling "initialize(_fieldcount)"
* @author bc93774
diff --git a/wizards/com/sun/star/wizards/ui/DBLimitedFieldSelection.java b/wizards/com/sun/star/wizards/ui/DBLimitedFieldSelection.java
index 341ab73828c5..0bd88031781d 100644
--- a/wizards/com/sun/star/wizards/ui/DBLimitedFieldSelection.java
+++ b/wizards/com/sun/star/wizards/ui/DBLimitedFieldSelection.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/ui/DocumentPreview.java b/wizards/com/sun/star/wizards/ui/DocumentPreview.java
index 173fae87f01b..f077660d41ed 100644
--- a/wizards/com/sun/star/wizards/ui/DocumentPreview.java
+++ b/wizards/com/sun/star/wizards/ui/DocumentPreview.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -67,7 +67,7 @@ public class DocumentPreview
/*********************************************************************
main
-
+
- create new frame with window inside
- load a component as preview into this frame
*/
@@ -138,7 +138,7 @@ public class DocumentPreview
/*********************************************************************
create a new frame with a new container window inside,
which isnt part of the global frame tree.
-
+
Attention:
a) This frame wont be destroyed by the office. It must be closed by you!
Do so - please call XCloseable::close().
diff --git a/wizards/com/sun/star/wizards/ui/FieldSelection.java b/wizards/com/sun/star/wizards/ui/FieldSelection.java
index 803f85948721..021526622680 100644
--- a/wizards/com/sun/star/wizards/ui/FieldSelection.java
+++ b/wizards/com/sun/star/wizards/ui/FieldSelection.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/ui/FilterComponent.java b/wizards/com/sun/star/wizards/ui/FilterComponent.java
index 50b855ab3693..8b75d0531e1c 100644
--- a/wizards/com/sun/star/wizards/ui/FilterComponent.java
+++ b/wizards/com/sun/star/wizards/ui/FilterComponent.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -242,7 +242,7 @@ public class FilterComponent
{
final String serviceName = "com.sun.star.beans.PropertyBag";
final XPropertyContainer column = (XPropertyContainer) UnoRuntime.queryInterface(XPropertyContainer.class, oQueryMetaData.xMSF.createInstance(serviceName));
-
+
column.addProperty("Type", PropertyAttribute.BOUND, DataType.VARCHAR);
column.addProperty("Name", PropertyAttribute.BOUND, "");
column.addProperty("Value", (short)( PropertyAttribute.MAYBEVOID | PropertyAttribute.REMOVABLE ), null );
@@ -388,7 +388,7 @@ public class FilterComponent
* @param iWidth
* @param FilterCount
* @param _oQueryMetaData
- * @param _firstHelpID
+ * @param _firstHelpID
*/
public FilterComponent(WizardDialog CurUnoDialog, XMultiServiceFactory _xMSF, int iStep, int iPosX, int iPosY, int iWidth, int FilterCount, QueryMetaData _oQueryMetaData, int _firstHelpID)
{
@@ -525,8 +525,8 @@ public class FilterComponent
}
// -------------------------------------------------------------------------
- //
- //
+ //
+ //
// -------------------------------------------------------------------------
final class ControlRow
{
@@ -719,7 +719,7 @@ public class FilterComponent
/**
* @returns true if the current condition is complete, all needed fields are filled with values.
- * So we can enable the next.
+ * So we can enable the next.
*/
boolean isConditionComplete()
{
diff --git a/wizards/com/sun/star/wizards/ui/ImageList.java b/wizards/com/sun/star/wizards/ui/ImageList.java
index dcd378369c5f..0fb4a4e93d4e 100644
--- a/wizards/com/sun/star/wizards/ui/ImageList.java
+++ b/wizards/com/sun/star/wizards/ui/ImageList.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -190,7 +190,7 @@ public class ImageList implements XItemEventBroadcaster, ListDataListener
//XWindow win = (XWindow)UnoRuntime.queryInterface(XWindow.class,lblContainer);
/*dialog.xWindow.addWindowListener(uiEventListener);
String dName = (String)Helper.getUnoPropertyValue(dialog.xDialogModel,"Name");
-
+
uiEventListener.add(dName,EventNames.EVENT_WINDOW_SHOWN,"disableContainerMouseEvents",this);
*/
int selectionWidth = rowSelect ?
@@ -502,7 +502,7 @@ public class ImageList implements XItemEventBroadcaster, ListDataListener
}
/**
- *
+ *
* @param i
* @return the Object in the list model corresponding to the given image index.
*/
@@ -520,7 +520,7 @@ public class ImageList implements XItemEventBroadcaster, ListDataListener
}
/**
- *
+ *
* @param i
* @return the index in the listModel for the given image index.
*/
@@ -598,7 +598,7 @@ public class ImageList implements XItemEventBroadcaster, ListDataListener
*/
private void fireItemSelected()
{
-// java.awt.event.ItemEvent event = new java.awt.event.ItemEvent(this, 0,
+// java.awt.event.ItemEvent event = new java.awt.event.ItemEvent(this, 0,
// getSelectedObject(), java.awt.event.ItemEvent.SELECTED);
java.util.ArrayList list;
synchronized(this)
@@ -878,15 +878,15 @@ public class ImageList implements XItemEventBroadcaster, ListDataListener
System.out.println("mouse enter");
int i = getImageFromEvent(event);
//TODO what is when the image does not display an image?
- if (getIndexFor(i) != selected)
+ if (getIndexFor(i) != selected)
setBorder(m_aImages[i],imageBorderMO);
}
-
+
public void mouseExitImage(Object event) {
//System.out.println("mouse exit");
int i = getImageFromEvent(event);
//TODO what is when the image does not display an image?
- if (getIndexFor(i) != selected)
+ if (getIndexFor(i) != selected)
setBorder(m_aImages[i],imageBorder);
}
*/
@@ -930,9 +930,9 @@ public class ImageList implements XItemEventBroadcaster, ListDataListener
{
/**
- *
+ *
* @param listItem
- * @return two resource ids for an image referenced in the imaglist resourcefile of the
+ * @return two resource ids for an image referenced in the imaglist resourcefile of the
* wizards project; The second one of them is designed to be used for High Contrast Mode.
*/
public Object[] getImageUrls(Object listItem);
diff --git a/wizards/com/sun/star/wizards/ui/PathSelection.java b/wizards/com/sun/star/wizards/ui/PathSelection.java
index 4cb101382c6d..501e99d67171 100755
--- a/wizards/com/sun/star/wizards/ui/PathSelection.java
+++ b/wizards/com/sun/star/wizards/ui/PathSelection.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/ui/PeerConfig.java b/wizards/com/sun/star/wizards/ui/PeerConfig.java
index d3871ee62a5b..3175d6475988 100644
--- a/wizards/com/sun/star/wizards/ui/PeerConfig.java
+++ b/wizards/com/sun/star/wizards/ui/PeerConfig.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -160,9 +160,9 @@ public class PeerConfig implements XWindowListener
}
/**
- *
+ *
* @param oAPIControl an API control that the interface XControl can be derived from
- * @param _saccessname
+ * @param _saccessname
*/
public void setAccessibleName(Object oAPIControl, String _saccessname)
{
@@ -188,10 +188,10 @@ public class PeerConfig implements XWindowListener
}
/**
- *
+ *
* @param oAPIControl an API control that the interface XControl can be derived from
- * @param _propnames
- * @param _propvalues
+ * @param _propnames
+ * @param _propvalues
*/
public void setPeerProperties(Object oAPIControl, String[] _propnames, Object[] _propvalues)
{
@@ -221,7 +221,7 @@ public class PeerConfig implements XWindowListener
/**
* Assigns an image to the property 'ImageUrl' of a dialog control. The image id must be assigned in a resource file
* within the wizards project
- * wizards project
+ * wizards project
* @param _ocontrolmodel
* @param _nResId
* @param _nhcResId
@@ -233,7 +233,7 @@ public class PeerConfig implements XWindowListener
}
/**
- * Assigns an image to the property 'ImageUrl' of a dialog control. The image ids that the Resource urls point to
+ * Assigns an image to the property 'ImageUrl' of a dialog control. The image ids that the Resource urls point to
* may be assigned in a Resource file outside the wizards project
* @param _ocontrolmodel
* @param _sResourceUrl
@@ -248,10 +248,10 @@ public class PeerConfig implements XWindowListener
/**
* Assigns an image to the property 'ImageUrl' of a dialog control. The image id must be assigned in a resource file
* within the wizards project
- * wizards project
+ * wizards project
* @param _ocontrolmodel
* @param _oResource
- * @param _oHCResource
+ * @param _oHCResource
*/
public void setImageUrl(Object _ocontrolmodel, Object _oResource, Object _oHCResource)
{
diff --git a/wizards/com/sun/star/wizards/ui/SortingComponent.java b/wizards/com/sun/star/wizards/ui/SortingComponent.java
index 29b646d3e852..3e4b45c2c239 100644
--- a/wizards/com/sun/star/wizards/ui/SortingComponent.java
+++ b/wizards/com/sun/star/wizards/ui/SortingComponent.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -130,7 +130,7 @@ public class SortingComponent
}, new Object[]
{
new Boolean(bDoEnable), new Integer(10), HIDString, sSortDescend[i], IOptButtonPosX, new Integer(iCurPosY + 24), new Short((short) 0), IStep, new Short(curtabindex++), new String("DESC"), IOptButtonWidth
- }); //, new Short((short) (19+i*4))
+ }); //, new Short((short) (19+i*4))
iCurPosY = iCurPosY + 36;
FirstHelpIndex += 3;
}
@@ -205,9 +205,9 @@ public class SortingComponent
}
/**
- * sets the controls of a Sorting criterion to readonly or not.
+ * sets the controls of a Sorting criterion to readonly or not.
* @param _index index of the Sorting criterion
- * @param _breadonly
+ * @param _breadonly
*/
public void setReadOnly(int _index, boolean _breadonly)
{
@@ -215,7 +215,7 @@ public class SortingComponent
}
/**
- *
+ *
* @param _index the first Sorting criterion in which 'ReadOnly is set to 'false'
* @param _bcomplete
*/
diff --git a/wizards/com/sun/star/wizards/ui/TitlesComponent.java b/wizards/com/sun/star/wizards/ui/TitlesComponent.java
index d4091c964e14..f42dac35a046 100644
--- a/wizards/com/sun/star/wizards/ui/TitlesComponent.java
+++ b/wizards/com/sun/star/wizards/ui/TitlesComponent.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/ui/UnoDialog.java b/wizards/com/sun/star/wizards/ui/UnoDialog.java
index 5a181b84c4b5..63b62bdb735d 100644
--- a/wizards/com/sun/star/wizards/ui/UnoDialog.java
+++ b/wizards/com/sun/star/wizards/ui/UnoDialog.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/ui/UnoDialog2.java b/wizards/com/sun/star/wizards/ui/UnoDialog2.java
index 184a4a354b0c..61e63aee2450 100644
--- a/wizards/com/sun/star/wizards/ui/UnoDialog2.java
+++ b/wizards/com/sun/star/wizards/ui/UnoDialog2.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/ui/WizardDialog.java b/wizards/com/sun/star/wizards/ui/WizardDialog.java
index f17c44b82aa5..5a8434148b89 100644
--- a/wizards/com/sun/star/wizards/ui/WizardDialog.java
+++ b/wizards/com/sun/star/wizards/ui/WizardDialog.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -435,7 +435,7 @@ public abstract class WizardDialog extends UnoDialog2 implements VetoableChangeL
*/
/**
- *
+ *
* @param _ndialogpage
* @param ooldValue
* @param onewValue
diff --git a/wizards/com/sun/star/wizards/ui/XCommandSelectionListener.java b/wizards/com/sun/star/wizards/ui/XCommandSelectionListener.java
index 24fbd10eb9dd..73a7c7a87048 100644
--- a/wizards/com/sun/star/wizards/ui/XCommandSelectionListener.java
+++ b/wizards/com/sun/star/wizards/ui/XCommandSelectionListener.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/ui/XCompletion.java b/wizards/com/sun/star/wizards/ui/XCompletion.java
index 545345731e39..a3f2416826c1 100644
--- a/wizards/com/sun/star/wizards/ui/XCompletion.java
+++ b/wizards/com/sun/star/wizards/ui/XCompletion.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/ui/XFieldSelectionListener.java b/wizards/com/sun/star/wizards/ui/XFieldSelectionListener.java
index b47ad2363709..28916f1b89a8 100644
--- a/wizards/com/sun/star/wizards/ui/XFieldSelectionListener.java
+++ b/wizards/com/sun/star/wizards/ui/XFieldSelectionListener.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/ui/XPathSelectionListener.java b/wizards/com/sun/star/wizards/ui/XPathSelectionListener.java
index 5c76c092a46f..4b582127bb2f 100755
--- a/wizards/com/sun/star/wizards/ui/XPathSelectionListener.java
+++ b/wizards/com/sun/star/wizards/ui/XPathSelectionListener.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/ui/event/AbstractListener.java b/wizards/com/sun/star/wizards/ui/event/AbstractListener.java
index ebbcba96f58c..4265f39b50c2 100644
--- a/wizards/com/sun/star/wizards/ui/event/AbstractListener.java
+++ b/wizards/com/sun/star/wizards/ui/event/AbstractListener.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/ui/event/CommonListener.java b/wizards/com/sun/star/wizards/ui/event/CommonListener.java
index 18f33af2cef8..0899d3117af6 100644
--- a/wizards/com/sun/star/wizards/ui/event/CommonListener.java
+++ b/wizards/com/sun/star/wizards/ui/event/CommonListener.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/ui/event/DataAware.java b/wizards/com/sun/star/wizards/ui/event/DataAware.java
index b81b8e71bcdb..dc095206eafa 100644
--- a/wizards/com/sun/star/wizards/ui/event/DataAware.java
+++ b/wizards/com/sun/star/wizards/ui/event/DataAware.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -44,7 +44,7 @@ import java.util.Iterator;
* in child classes, the updateData() will be binded to UI event calls.
* <br><br>
* This class holds references to a Data Object and a Value object.
- * The Value object "knows" how to get and set a value from the
+ * The Value object "knows" how to get and set a value from the
* Data Object.
*/
public abstract class DataAware {
@@ -60,7 +60,7 @@ public abstract class DataAware {
* from/to the data object.
*/
protected Value value;
-
+
/**
* creates a DataAware object for the given data object and Value object.
* @param dataObject_
@@ -89,7 +89,7 @@ public abstract class DataAware {
*/
public void setDataObject(Object obj, boolean updateUI) {
- if (obj != null && !value.isAssignable(obj.getClass()))
+ if (obj != null && !value.isAssignable(obj.getClass()))
throw new ClassCastException("can not cast new DataObject to original Class");
dataObject = obj;
@@ -112,14 +112,14 @@ public abstract class DataAware {
/**
* gets the current value from the data obejct.
- * this method delegates the job to
+ * this method delegates the job to
* the value object.
* @return the current value of the data object.
*/
protected Object getFromData() {
return value.get(getDataObject());
}
-
+
/**
* sets the given value to the UI control
* @param newValue the value to set to the ui control.
@@ -221,10 +221,10 @@ public abstract class DataAware {
for (Iterator i = dataAwares.iterator(); i.hasNext();)
((DataAware) i.next()).setDataObject(dataObject, updateUI);
}
-
+
/**
* Value objects read and write a value from and
- * to an object. Typically using reflection and JavaBeans properties
+ * to an object. Typically using reflection and JavaBeans properties
* or directly using memeber reflection API.
* DataAware delegates the handling of the DataObject
* to a Value object.
@@ -254,7 +254,7 @@ public abstract class DataAware {
*/
public boolean isAssignable(Class type);
}
-
+
/**
* implementation of Value, handling JavaBeans properties through
* reflection.
@@ -282,7 +282,7 @@ public abstract class DataAware {
getMethod = createGetMethod(propertyName, propertyOwner);
setMethod = createSetMethod(propertyName, propertyOwner, getMethod.getReturnType());
}
-
+
/**
* called from the constructor, and creates a get method reflection object
* for the given property and object.
@@ -306,7 +306,7 @@ public abstract class DataAware {
}
return m;
}
-
+
/* (non-Javadoc)
* @see com.sun.star.wizards.ui.event.DataAware.Value#get(java.lang.Object)
*/
@@ -328,7 +328,7 @@ public abstract class DataAware {
return new short[0];
}
return null;
-
+
}
protected Method createSetMethod(String propName, Object obj, Class paramClass) {
diff --git a/wizards/com/sun/star/wizards/ui/event/DataAwareFields.java b/wizards/com/sun/star/wizards/ui/event/DataAwareFields.java
index 74881d7b1f23..1e058374d760 100644
--- a/wizards/com/sun/star/wizards/ui/event/DataAwareFields.java
+++ b/wizards/com/sun/star/wizards/ui/event/DataAwareFields.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -31,12 +31,12 @@ import java.lang.reflect.Field;
import com.sun.star.uno.Any;
/**
- * This class is a factory for Value objects for different types of
- * memebers.
- * Other than some Value implementations classes this class contains static
+ * This class is a factory for Value objects for different types of
+ * memebers.
+ * Other than some Value implementations classes this class contains static
* type conversion methods and factory methods.
- *
- * @see com.sun.star.wizards.ui.event.DataAware.Value
+ *
+ * @see com.sun.star.wizards.ui.event.DataAware.Value
*/
public class DataAwareFields
{
@@ -47,7 +47,7 @@ public class DataAwareFields
/**
* returns a Value Object which sets and gets values
* and converting them to other types, according to the "value" argument.
- *
+ *
* @param owner
* @param fieldname
* @param value
diff --git a/wizards/com/sun/star/wizards/ui/event/EventNames.java b/wizards/com/sun/star/wizards/ui/event/EventNames.java
index 50aa32dc57aa..ee1a0ace9cdd 100644
--- a/wizards/com/sun/star/wizards/ui/event/EventNames.java
+++ b/wizards/com/sun/star/wizards/ui/event/EventNames.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/ui/event/ListModelBinder.java b/wizards/com/sun/star/wizards/ui/event/ListModelBinder.java
index b2dc75f22f48..db209161fffa 100644
--- a/wizards/com/sun/star/wizards/ui/event/ListModelBinder.java
+++ b/wizards/com/sun/star/wizards/ui/event/ListModelBinder.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -138,7 +138,7 @@ public class ListModelBinder implements ListDataListener
insert(i);
/*int insertedItems = lde.getIndex1() - lde.getIndex0() + 1;
-
+
for (int i = 0; i<selected.length; i++)
if (selected[i].intValue() >= lde.getIndex0())
selected[i] = new Short((short)(selected[i].shortValue() + insertedItems));
@@ -161,12 +161,12 @@ public class ListModelBinder implements ListDataListener
if (s>=lde.getIndex0() && s<==lde.getIndex1()) {
selected[i] = null;
removed++;
+ }
}
- }
-
+
Short[] newSelected = (removed > 0 ? new Short[selected.length - removed] : selected;
if (removed>0)
-
+
if (selected[i].intValue() >= lde.getIndex0())
*/
}
diff --git a/wizards/com/sun/star/wizards/ui/event/MethodInvocation.java b/wizards/com/sun/star/wizards/ui/event/MethodInvocation.java
index c45a496c7849..617c55882e3f 100644
--- a/wizards/com/sun/star/wizards/ui/event/MethodInvocation.java
+++ b/wizards/com/sun/star/wizards/ui/event/MethodInvocation.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -31,7 +31,7 @@ import java.lang.reflect.Method;
/**
* Encapsulate a Method invocation.
- * In the constructor one defines a method, a target object and an optional
+ * In the constructor one defines a method, a target object and an optional
* Parameter.
* Then one calls "invoke", with or without a parameter. <br/>
* Limitations: I do not check anything myself. If the param is not ok, from the
@@ -80,7 +80,7 @@ public class MethodInvocation
}
/**
- * Returns the result of calling the method on the object, or null, if no result.
+ * Returns the result of calling the method on the object, or null, if no result.
*/
public Object invoke(Object param) throws IllegalAccessException, InvocationTargetException
{
diff --git a/wizards/com/sun/star/wizards/ui/event/RadioDataAware.java b/wizards/com/sun/star/wizards/ui/event/RadioDataAware.java
index 7dddea572503..3954b2eea671 100644
--- a/wizards/com/sun/star/wizards/ui/event/RadioDataAware.java
+++ b/wizards/com/sun/star/wizards/ui/event/RadioDataAware.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/ui/event/SimpleDataAware.java b/wizards/com/sun/star/wizards/ui/event/SimpleDataAware.java
index 8a9c2200d76d..5c102903272f 100644
--- a/wizards/com/sun/star/wizards/ui/event/SimpleDataAware.java
+++ b/wizards/com/sun/star/wizards/ui/event/SimpleDataAware.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -72,7 +72,7 @@ public class SimpleDataAware extends DataAware
else if (value.equals("")) return Boolean.FALSE;
else return Boolean.TRUE;
}
-
+
public void disableControls(Object[] controls) {
disableObjects = controls;
}
diff --git a/wizards/com/sun/star/wizards/ui/event/Task.java b/wizards/com/sun/star/wizards/ui/event/Task.java
index 16feacd5e1fa..1d67ecb956c6 100644
--- a/wizards/com/sun/star/wizards/ui/event/Task.java
+++ b/wizards/com/sun/star/wizards/ui/event/Task.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/ui/event/TaskEvent.java b/wizards/com/sun/star/wizards/ui/event/TaskEvent.java
index 1c54cfea2fa6..af840c3b4bb4 100644
--- a/wizards/com/sun/star/wizards/ui/event/TaskEvent.java
+++ b/wizards/com/sun/star/wizards/ui/event/TaskEvent.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/ui/event/TaskListener.java b/wizards/com/sun/star/wizards/ui/event/TaskListener.java
index 114747c30776..cfbc16c9c845 100644
--- a/wizards/com/sun/star/wizards/ui/event/TaskListener.java
+++ b/wizards/com/sun/star/wizards/ui/event/TaskListener.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/ui/event/UnoDataAware.java b/wizards/com/sun/star/wizards/ui/event/UnoDataAware.java
index 632609d85f05..010773216183 100644
--- a/wizards/com/sun/star/wizards/ui/event/UnoDataAware.java
+++ b/wizards/com/sun/star/wizards/ui/event/UnoDataAware.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -36,10 +36,10 @@ import com.sun.star.wizards.common.Helper;
*
* This class suppoprts imple cases where a UI control can
* be directly synchronized with a data property.
- * Such controls are: the different text controls
- * (synchronizing the "Text" , "Value", "Date", "Time" property),
+ * Such controls are: the different text controls
+ * (synchronizing the "Text" , "Value", "Date", "Time" property),
* Checkbox controls, Dropdown listbox controls (synchronizing the
- * SelectedItems[] property.
+ * SelectedItems[] property.
* For those controls, static convenience methods are offered, to simplify use.
*/
public class UnoDataAware extends DataAware
diff --git a/wizards/com/sun/star/wizards/web/AbstractErrorHandler.java b/wizards/com/sun/star/wizards/web/AbstractErrorHandler.java
index 6a6c5a0c220f..b6a4855673f6 100644
--- a/wizards/com/sun/star/wizards/web/AbstractErrorHandler.java
+++ b/wizards/com/sun/star/wizards/web/AbstractErrorHandler.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -34,8 +34,8 @@ import com.sun.star.wizards.common.SystemDialog;
/**
* An abstract implementation of ErrorHandler, which
* uses a renderer method geMessageFor(Exception, Object, int, int)
- * (in this class still abstract...)
- * to render the errors, and displays
+ * (in this class still abstract...)
+ * to render the errors, and displays
* error messeges.
*/
public abstract class AbstractErrorHandler implements ErrorHandler
@@ -100,7 +100,7 @@ public abstract class AbstractErrorHandler implements ErrorHandler
/**
* display a message
* @deprecated
- * @param xmsf
+ * @param xmsf
* @param message the message to display
* @param errorType an int constant from the ErrorHandler interface.
* @return
@@ -159,7 +159,7 @@ public abstract class AbstractErrorHandler implements ErrorHandler
/**
* @param errorType
- * @return the Uno attributes for each error type.
+ * @return the Uno attributes for each error type.
*/
private static int getAttributeFor(int errorType)
{
@@ -227,7 +227,7 @@ public abstract class AbstractErrorHandler implements ErrorHandler
* @param ex the exception
* @param arg a free argument
* @param ix a free argument
- * @param type the error type (from the int constants
+ * @param type the error type (from the int constants
* in ErrorHandler interface)
* @return a Strings which will be displayed in the message box,
* and which describes the error, and the needed action from the user.
diff --git a/wizards/com/sun/star/wizards/web/BackgroundsDialog.java b/wizards/com/sun/star/wizards/web/BackgroundsDialog.java
index 70c40fbc6072..5663182af030 100644
--- a/wizards/com/sun/star/wizards/web/BackgroundsDialog.java
+++ b/wizards/com/sun/star/wizards/web/BackgroundsDialog.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -88,7 +88,7 @@ public class BackgroundsDialog extends ImageListDialog
/**
* trigered when the user clicks the "other" button.
- * opens a "file open" dialog, adds the selected
+ * opens a "file open" dialog, adds the selected
* image to the list and to the web wizard configuration,
* and then jumps to the new image, selecting it in the list.
* @see add(String)
@@ -106,7 +106,7 @@ public class BackgroundsDialog extends ImageListDialog
}
/**
- * adds the given image to the image list (to the model)
+ * adds the given image to the image list (to the model)
* and to the web wizard configuration.
* @param s
* @return
@@ -141,9 +141,9 @@ public class BackgroundsDialog extends ImageListDialog
}
/**
- * an ImageList Imagerenderer implemtation.
+ * an ImageList Imagerenderer implemtation.
* The image URL is the object given from the list model.
- * the image name, got from the "render" method is
+ * the image name, got from the "render" method is
* the filename portion of the url.
* @author rpiterman
*
@@ -177,13 +177,13 @@ public class BackgroundsDialog extends ImageListDialog
}
/**
- * This is a list model for the image list of the
+ * This is a list model for the image list of the
* backgrounds dialog.
* It takes the Backgrounds config set as an argument,
* and "parses" it to a list of files:
* It goes through each image in the set, and checks it:
* if it is a directory it lists all image files in this directory.
- * if it is a file, it adds the file to the list.
+ * if it is a file, it adds the file to the list.
* @author rpiterman
*/
private class Model extends DefaultListModel
@@ -272,8 +272,8 @@ public class BackgroundsDialog extends ImageListDialog
/**
* adds the given image url to the list.
- * if and only if it ends with jpg, jpeg or gif
- * (case insensitive)
+ * if and only if it ends with jpg, jpeg or gif
+ * (case insensitive)
* @param filename image url.
*/
private void add(String filename)
diff --git a/wizards/com/sun/star/wizards/web/CallWizard.java b/wizards/com/sun/star/wizards/web/CallWizard.java
index f0318e5f2e18..4b9d7a3680e4 100644
--- a/wizards/com/sun/star/wizards/web/CallWizard.java
+++ b/wizards/com/sun/star/wizards/web/CallWizard.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -54,7 +54,7 @@ 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.
diff --git a/wizards/com/sun/star/wizards/web/ErrorHandler.java b/wizards/com/sun/star/wizards/web/ErrorHandler.java
index f330532a3058..aa9495e5cde0 100644
--- a/wizards/com/sun/star/wizards/web/ErrorHandler.java
+++ b/wizards/com/sun/star/wizards/web/ErrorHandler.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -52,7 +52,7 @@ public interface ErrorHandler
public static int DEF_YES = VclWindowPeerAttribute.DEF_YES;
public static int DEF_NO = VclWindowPeerAttribute.DEF_NO;
/**
- * Error type for fatal errors which should abort application
+ * Error type for fatal errors which should abort application
* execution. Should actually never be used :-)
*/
public static final int ERROR_FATAL = 0;
@@ -101,7 +101,7 @@ public interface ErrorHandler
*/
public static final int ERROR_WARNING = 8;
/**
- * An error type which just tells the user something
+ * An error type which just tells the user something
* ( like "you look tired! you should take a bath! and so on)
*/
public static final int ERROR_MESSAGE = 9;
diff --git a/wizards/com/sun/star/wizards/web/ExtensionVerifier.java b/wizards/com/sun/star/wizards/web/ExtensionVerifier.java
index 8bc036131b70..2b7158b5ad31 100644
--- a/wizards/com/sun/star/wizards/web/ExtensionVerifier.java
+++ b/wizards/com/sun/star/wizards/web/ExtensionVerifier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -50,7 +50,7 @@ public class ExtensionVerifier implements UCB.Verifier
/**
* @return true if the given object is
* a String which does not end with the
- * given extension.
+ * given extension.
*/
public boolean verify(Object object)
{
diff --git a/wizards/com/sun/star/wizards/web/FTPDialog.java b/wizards/com/sun/star/wizards/web/FTPDialog.java
index 976e57790ab2..8f5303a4a4b5 100644
--- a/wizards/com/sun/star/wizards/web/FTPDialog.java
+++ b/wizards/com/sun/star/wizards/web/FTPDialog.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -56,7 +56,7 @@ import com.sun.star.wizards.web.data.CGSettings;
/**
* This is the FTP Dialog. <br/>
- * The Dialog enables the user:
+ * The Dialog enables the user:
* (*) entering FTP server and user information.
* (*) testing the connection.
* (*) choosing a directory on the server.
@@ -75,7 +75,7 @@ public class FTPDialog extends UnoDialog2 implements UIConsts, WWHID
/**
* A Constant used for the setLabel(int) method to change the
- * status-display. "unknown" is the status when the user first
+ * status-display. "unknown" is the status when the user first
* opens the dialog, or changes the servername/username/password.
*/
private final static int STATUS_UNKONWN = 0;
@@ -123,7 +123,7 @@ public class FTPDialog extends UnoDialog2 implements UIConsts, WWHID
*/
private final static String ICON_UNKNOWN = "ftpunknown.gif";
/**
- * The icon url for an icon representing the "connecting" state.
+ * The icon url for an icon representing the "connecting" state.
*/
private final static String ICON_CONNECTING = "ftpconnecting.gif"; //GUI Components as Class members.
//Fixed Line
@@ -178,7 +178,7 @@ public class FTPDialog extends UnoDialog2 implements UIConsts, WWHID
* @param xmsf
* @param p the publishert object that contains the data
* for this dialog
- * @throws Exception
+ * @throws Exception
*/
public FTPDialog(XMultiServiceFactory xmsf, CGPublish p) throws Exception
{
@@ -408,8 +408,8 @@ public class FTPDialog extends UnoDialog2 implements UIConsts, WWHID
}
/**
- * extract the hostname out of the url used by the
- * publisher. This url does not include the username:password string.
+ * extract the hostname out of the url used by the
+ * publisher. This url does not include the username:password string.
* @param ftpUrl
* @return
*/
@@ -616,7 +616,7 @@ public class FTPDialog extends UnoDialog2 implements UIConsts, WWHID
/**
* changes the status label to disconnected status, and
* disables the ok and choose-dir buttons.
- * This method is called also when the hostname, username
+ * This method is called also when the hostname, username
* and passwordtext fields change.
*/
public void disconnect()
@@ -693,7 +693,7 @@ public class FTPDialog extends UnoDialog2 implements UIConsts, WWHID
}
/**
- * changes the text of the status label and
+ * changes the text of the status label and
* (TODO) the status image.
* @param label
* @param color
@@ -713,7 +713,7 @@ public class FTPDialog extends UnoDialog2 implements UIConsts, WWHID
}
/**
- * called when the user clicks
+ * called when the user clicks
* the choose-dir button. ("...")
* Opens the pickFolder dialog.
* checks if the returned folder is an ftp folder.
diff --git a/wizards/com/sun/star/wizards/web/FTPDialogResources.java b/wizards/com/sun/star/wizards/web/FTPDialogResources.java
index b9a5fe7548d6..83b12084a6bf 100644
--- a/wizards/com/sun/star/wizards/web/FTPDialogResources.java
+++ b/wizards/com/sun/star/wizards/web/FTPDialogResources.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -65,8 +65,8 @@ public class FTPDialogResources extends Resource
super(xmsf, UNIT_NAME, MODULE_NAME);
/**
- * Delete the String, uncomment the getResText method
- *
+ * Delete the String, uncomment the getResText method
+ *
*/
resFTPDialog_title = getResText(RID_FTPDIALOG_START + 0);
reslblUsername_value = getResText(RID_FTPDIALOG_START + 1);
diff --git a/wizards/com/sun/star/wizards/web/IconsDialog.java b/wizards/com/sun/star/wizards/web/IconsDialog.java
index 6228180a75f4..59d205674737 100644
--- a/wizards/com/sun/star/wizards/web/IconsDialog.java
+++ b/wizards/com/sun/star/wizards/web/IconsDialog.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -41,7 +41,7 @@ import com.sun.star.wizards.web.data.CGIconSet;
* This class simulates a model, though it does not functions really as one,
* since it does not cast events.
* It also implements the ImageList.ImageRenderer interface, to handle
- * its own objects.
+ * its own objects.
*/
public class IconsDialog extends ImageListDialog implements ImageList.IImageRenderer, ListModel
{
diff --git a/wizards/com/sun/star/wizards/web/ImageListDialog.java b/wizards/com/sun/star/wizards/web/ImageListDialog.java
index 976d61222e72..a31f8ed73368 100644
--- a/wizards/com/sun/star/wizards/web/ImageListDialog.java
+++ b/wizards/com/sun/star/wizards/web/ImageListDialog.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -45,7 +45,7 @@ import com.sun.star.wizards.ui.ImageList.Counter;
* The model and the renderer are
* still abstract in this class.
* To use the class one should extend it,
- * in the constructor then set the imageList
+ * in the constructor then set the imageList
* properties (member name il) like image size, grid size,
* model renderer aso, and then call "build".
* This class uses a counter renderer which
@@ -58,9 +58,9 @@ import com.sun.star.wizards.ui.ImageList.Counter;
* so dialogs which do not need those, should set the corresponding
* members showDeselectButton and/or showOtherButton to false.
* <br/>
- * the consturctor should recieve, among others, an Array of String resources - see
+ * the consturctor should recieve, among others, an Array of String resources - see
* constructor documentation for details.
- *
+ *
* @author rpiterman
*/
public abstract class ImageListDialog extends UnoDialog2 implements UIConsts
@@ -94,12 +94,12 @@ public abstract class ImageListDialog extends UnoDialog2 implements UIConsts
private int hid;
/**
- *
+ *
* @param xmsf
* @param resources_ a string array with the following strings :
* dialog title, label text, ok, cancel, help, deselect, other.
- * <br/> if "deselect" and "other" are not displayed,
- * the array can also be shorter. but if "other" is displayed
+ * <br/> if "deselect" and "other" are not displayed,
+ * the array can also be shorter. but if "other" is displayed
* and "deselect" not, both must be there :-(
*/
public ImageListDialog(
@@ -116,7 +116,7 @@ public abstract class ImageListDialog extends UnoDialog2 implements UIConsts
* adds the controls to the dialog, depending on
* the size of the image list.
* This method should be called by subclasses after setting
- * the il ImageList member properties
+ * the il ImageList member properties
*/
protected void build()
{
@@ -198,7 +198,7 @@ public abstract class ImageListDialog extends UnoDialog2 implements UIConsts
il.tabIndex = 1;
il.create(this);
- /*lblContainer = insertLabel("lblContainer",
+ /*lblContainer = insertLabel("lblContainer",
new String[] {"Height", "Name", "PositionX", "PositionY", "TabIndex", "Width"},
new Object[] { new Integer(176),"lblContainer",new Integer(6),new Integer(17),new Short((short)5),new Integer(214)}
);*/
diff --git a/wizards/com/sun/star/wizards/web/LogTaskListener.java b/wizards/com/sun/star/wizards/web/LogTaskListener.java
index f1814f9e4cb6..bb97fdf83819 100644
--- a/wizards/com/sun/star/wizards/web/LogTaskListener.java
+++ b/wizards/com/sun/star/wizards/web/LogTaskListener.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/web/Process.java b/wizards/com/sun/star/wizards/web/Process.java
index d1ae8e23763e..0bcb3e245c20 100644
--- a/wizards/com/sun/star/wizards/web/Process.java
+++ b/wizards/com/sun/star/wizards/web/Process.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -76,7 +76,7 @@ import com.sun.star.wizards.web.export.Exporter;
* all preparations are done in WWD_Events.finishWizard methods.
* <br/>
* <br/>
- *
+ *
* note on error handling: <br/>
* on "catch" clauses I tries to decide whether the
* exception is fatal or not. For fatal exception an error message
@@ -84,7 +84,7 @@ import com.sun.star.wizards.web.export.Exporter;
* and a false is returned.
* In less-fatal errors, the errorHandler "should decide" which means,
* the user is given the option to "OK" or to "Cancel" and depending
- * on that interaction I cary on.
+ * on that interaction I cary on.
*/
public class Process implements WebWizardConst, ProcessErrors
{
@@ -105,8 +105,8 @@ public class Process implements WebWizardConst, ProcessErrors
private UCB ucb;
public Task myTask;
/**
- * This is a cache for exporters, so I do not need to
- * instanciate the same exporter more than once.
+ * This is a cache for exporters, so I do not need to
+ * instanciate the same exporter more than once.
*/
private Map exporters = new Hashtable(3);
private boolean result;
@@ -131,7 +131,7 @@ public class Process implements WebWizardConst, ProcessErrors
/**
* @return to how many destinations should the
- * generated site be published.
+ * generated site be published.
*/
private int countPublish()
{
@@ -203,7 +203,7 @@ public class Process implements WebWizardConst, ProcessErrors
if (!result)
{
- myTask.fail(); //this is a bug protection.
+ myTask.fail(); //this is a bug protection.
}
while (myTask.getStatus() < myTask.getMax())
{
@@ -273,13 +273,13 @@ public class Process implements WebWizardConst, ProcessErrors
// * @return true if should continue
// */
// private boolean cleanup(String dir) {
-//
+//
// boolean success = true;
//
// if (dir != null && fileAccess.exists(dir,false)) {
//
// String[] files = fileAccess.listFiles(dir,true);
-//
+//
// for (int i = 0; i < files.length; i++) {
// if (fileAccess.isDirectory(files[i]))
// success = success && cleanup(files[i]);
@@ -291,7 +291,7 @@ public class Process implements WebWizardConst, ProcessErrors
// return success && fileAccess.delete(dir);
// }
/**
- * This method is used to copy style files to a target
+ * This method is used to copy style files to a target
* Directory: css and background.
* Note that this method is static since it is
* also used when displaying a "preview"
@@ -319,7 +319,7 @@ public class Process implements WebWizardConst, ProcessErrors
}
/**
- * Copy "static" files (which are always the same,
+ * Copy "static" files (which are always the same,
* thus not user-input-dependant) to a target directory.
* Note that this method is static since it is
* also used when displaying a "preview"
@@ -427,7 +427,7 @@ public class Process implements WebWizardConst, ProcessErrors
try
{
/*
- * here I create the DOM of the TOC to pass to the XSL
+ * here I create the DOM of the TOC to pass to the XSL
*/
Document doc = (Document) settings.cp_DefaultSession.createDOM();
generate(xmsf, layout, doc, fileAccess, targetDir, task);
@@ -439,7 +439,7 @@ public class Process implements WebWizardConst, ProcessErrors
return false;
}
- /* copy files which are not xsl from layout directory to
+ /* copy files which are not xsl from layout directory to
* website root.
*/
try
@@ -507,7 +507,7 @@ public class Process implements WebWizardConst, ProcessErrors
throws Exception
{
/*
- * a map that contains xsl templates. the keys are the xsl file names.
+ * a map that contains xsl templates. the keys are the xsl file names.
*/
Map templates = layout.getTemplates(xmsf);
@@ -565,7 +565,7 @@ public class Process implements WebWizardConst, ProcessErrors
* In the present situation, where we only use a "flat" list of
* documents, instead of the original plan to use a tree,
* the recursion is not implemented.
- * @param content the content ( directory-like, contains documents)
+ * @param content the content ( directory-like, contains documents)
* @param dir (target directory for exporting this content.
* @param task
* @return true if should continue
@@ -626,7 +626,7 @@ public class Process implements WebWizardConst, ProcessErrors
}
catch (SecurityException sx)
{
- // nonfatal
+ // nonfatal
if (!error(sx, item, ERROR_EXPORT_SECURITY, ErrorHandler.ERROR_NORMAL_IGNORE))
{
return false;
@@ -674,7 +674,7 @@ public class Process implements WebWizardConst, ProcessErrors
error(ex, doc, ERROR_DOC_VALIDATE, ErrorHandler.ERROR_PROCESS_FATAL);
return false;
}
- //get the exporter specified for this document
+ //get the exporter specified for this document
}
CGExporter exporter = (CGExporter) settings.cp_Exporters.getElement(doc.cp_Exporter);
@@ -683,15 +683,15 @@ public class Process implements WebWizardConst, ProcessErrors
{
/*
- * here I calculate the destination filename.
- * I take the original filename (docFilename), substract the extension, (docExt) -> (fn)
+ * here I calculate the destination filename.
+ * I take the original filename (docFilename), substract the extension, (docExt) -> (fn)
* and find an available filename which starts with
* this filename, but with the new extension. (destExt)
*/
String docFilename = FileAccess.getFilename(doc.cp_URL);
String docExt = FileAccess.getExtension(docFilename);
- String fn = doc.localFilename.substring(0, doc.localFilename.length() - docExt.length() - 1); //filename without extension
+ String fn = doc.localFilename.substring(0, doc.localFilename.length() - docExt.length() - 1); //filename without extension
/*
* the copyExporter does not change
@@ -711,7 +711,7 @@ public class Process implements WebWizardConst, ProcessErrors
}
/*
- * if two files with the same name
+ * if two files with the same name
* need to be exported ? So here
* i get a new filename, so I do not
* overwrite files...
@@ -734,9 +734,9 @@ public class Process implements WebWizardConst, ProcessErrors
task.advance(true);
}
/*
- * getExporter(..) throws
+ * getExporter(..) throws
* IllegalAccessException, InstantiationException, ClassNotFoundException
- * export() throws Exception
+ * export() throws Exception
*/
catch (Exception ex)
{
@@ -762,7 +762,7 @@ public class Process implements WebWizardConst, ProcessErrors
/**
* submit an error.
- * @param ex the exception
+ * @param ex the exception
* @param arg1 error argument
* @param arg2 error argument 2
* @param errType error type
@@ -789,7 +789,7 @@ public class Process implements WebWizardConst, ProcessErrors
}
/**
- * creates an instance of the exporter class
+ * creates an instance of the exporter class
* as specified by the
* exporter object.
* @param export specifies the exporter to be created
@@ -811,7 +811,7 @@ public class Process implements WebWizardConst, ProcessErrors
/**
* searches the an exporter for the given CGExporter object
* in the cache.
- * If its not there, creates it, stores it in the cache and
+ * If its not there, creates it, stores it in the cache and
* returns it.
* @param export specifies the needed exporter.
* @return an Exporter instance
diff --git a/wizards/com/sun/star/wizards/web/ProcessErrorHandler.java b/wizards/com/sun/star/wizards/web/ProcessErrorHandler.java
index 96106986515c..75f08ed9068c 100644
--- a/wizards/com/sun/star/wizards/web/ProcessErrorHandler.java
+++ b/wizards/com/sun/star/wizards/web/ProcessErrorHandler.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/web/ProcessErrors.java b/wizards/com/sun/star/wizards/web/ProcessErrors.java
index ca6da968654f..e3fb9f627080 100644
--- a/wizards/com/sun/star/wizards/web/ProcessErrors.java
+++ b/wizards/com/sun/star/wizards/web/ProcessErrors.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/web/ProcessStatusRenderer.java b/wizards/com/sun/star/wizards/web/ProcessStatusRenderer.java
index 3fa3726f2e8f..4cbfde68194c 100644
--- a/wizards/com/sun/star/wizards/web/ProcessStatusRenderer.java
+++ b/wizards/com/sun/star/wizards/web/ProcessStatusRenderer.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -34,7 +34,7 @@ import com.sun.star.wizards.common.IRenderer;
/**
* @author rpiterman
* recieves status calls from the status dialog which
- * apears when the user clicks "create".
+ * apears when the user clicks "create".
* allocates strings from the resources to
* display the current task status.
* (renders the state to resource strings)
diff --git a/wizards/com/sun/star/wizards/web/StatusDialog.java b/wizards/com/sun/star/wizards/web/StatusDialog.java
index ab1e7a0b6bc7..279b10f6cc68 100644
--- a/wizards/com/sun/star/wizards/web/StatusDialog.java
+++ b/wizards/com/sun/star/wizards/web/StatusDialog.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -222,7 +222,7 @@ public class StatusDialog extends UnoDialog2 implements TaskListener
}
/**
- * changes the displayed text.
+ * changes the displayed text.
* A renderer is used to render
* the task's subtask name to a resource string.
*/
@@ -296,7 +296,7 @@ public class StatusDialog extends UnoDialog2 implements TaskListener
/**
* sets a method to be invoced when the
- *
+ *
*/
public void setFinishedMethod(MethodInvocation mi)
{
diff --git a/wizards/com/sun/star/wizards/web/StylePreview.java b/wizards/com/sun/star/wizards/web/StylePreview.java
index 93507929d84b..a59ffbdb5f01 100644
--- a/wizards/com/sun/star/wizards/web/StylePreview.java
+++ b/wizards/com/sun/star/wizards/web/StylePreview.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -32,10 +32,10 @@ import com.sun.star.wizards.web.data.CGStyle;
/**
* @author rpiterman
- * the style preview, which is a OOo Document Preview in
+ * the style preview, which is a OOo Document Preview in
* an Image Control.
* This class copies the files needed for this
- * preview from the web wizard work directory
+ * preview from the web wizard work directory
* to a given temporary directory, and updates them
* on request, according to the current style/background selection
* of the user.
@@ -48,7 +48,7 @@ public class StylePreview
* the destination html url.
*/
public String htmlFilename;
- /**
+ /**
* the destination css url
*/
private String cssFilename;
@@ -67,7 +67,7 @@ public class StylePreview
/**
* copies the html file to the temp directory, and calculates the
- * destination names of the background and css files.
+ * destination names of the background and css files.
* @param wwRoot is the root directory of the web wizard files (
* usually [oo]/share/template/[lang]/wizard/web
*/
@@ -113,7 +113,7 @@ public class StylePreview
//copy the background image to the temp directory.
fileAccess.copy(background, backgroundFilename);
}
- //copy the actual css to the temp directory
+ //copy the actual css to the temp directory
fileAccess.copy(css, cssFilename);
}
diff --git a/wizards/com/sun/star/wizards/web/TOCPreview.java b/wizards/com/sun/star/wizards/web/TOCPreview.java
index 1fb70a11d4b5..110a34e27fb6 100644
--- a/wizards/com/sun/star/wizards/web/TOCPreview.java
+++ b/wizards/com/sun/star/wizards/web/TOCPreview.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -44,12 +44,12 @@ import com.sun.star.wizards.web.data.CGSettings;
* @author rpiterman
* This class both copies necessary files to
* a temporary directory, generates a temporary TOC page,
- * and opens the generated html document in a web browser,
+ * and opens the generated html document in a web browser,
* by default "index.html" (unchangeable).
* <br/>
- * Since the files are both static and dynamic (some are always the same,
- * while other change according to user choices)
- * I divide this tasks to two: all necessary
+ * Since the files are both static and dynamic (some are always the same,
+ * while other change according to user choices)
+ * I divide this tasks to two: all necessary
* static files, which should not regularily update are copied upon
* instanciation.
* The TOC is generated in refresh(...);
@@ -69,9 +69,9 @@ public class TOCPreview
/**
* @param xmsf_
- * @param settings web wizard settings
- * @param res resources
- * @param tempDir_ destination
+ * @param settings web wizard settings
+ * @param res resources
+ * @param tempDir_ destination
* @throws Exception
*/
public TOCPreview(XMultiServiceFactory xmsf_, CGSettings settings, WebWizardDialogResources res, String tempDir_, XFrame _xFrame)
@@ -104,7 +104,7 @@ public class TOCPreview
Task task = new Task("", "", 10000);
Process.generate(xmsf, layout, doc, fileAccess, tempDir, task);
Process.copyLayoutFiles(ucb, fileAccess, settings, layout, tempDir);
- xDispatch.dispatch(openHyperlink, loadArgs); //Dispatch.dispatch(openHyperlink, loadArgs);
+ xDispatch.dispatch(openHyperlink, loadArgs); //Dispatch.dispatch(openHyperlink, loadArgs);
}
private PropertyValue[] loadArgs(String url)
diff --git a/wizards/com/sun/star/wizards/web/WWD_Events.java b/wizards/com/sun/star/wizards/web/WWD_Events.java
index e3927f188460..34261361d0bc 100644
--- a/wizards/com/sun/star/wizards/web/WWD_Events.java
+++ b/wizards/com/sun/star/wizards/web/WWD_Events.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -58,7 +58,7 @@ import com.sun.star.wizards.web.data.CGSessionName;
* not much application-logic here - just plain
* methods which react to events.
* The only exception are the finish methods with the save
- * session methods.
+ * session methods.
*/
public abstract class WWD_Events extends WWD_Startup
{
@@ -125,7 +125,7 @@ public abstract class WWD_Events extends WWD_Startup
}
}
- /* *********************************
+ /* *********************************
* STEP 1
*/
/**
@@ -238,7 +238,7 @@ public abstract class WWD_Events extends WWD_Startup
{
(short) 0
};
- // We try to select the same item index again, if possible
+ // We try to select the same item index again, if possible
if (settings.cp_SavedSessions.getSize() > selected[0])
{
nextSelected[0] = selected[0];
@@ -291,7 +291,7 @@ public abstract class WWD_Events extends WWD_Startup
* when the user clicks another document
* in the listbox, this method is called,
* and couses the display in
- * the textboxes title,description, author and export format
+ * the textboxes title,description, author and export format
* to change
*/
public void setSelectedDoc(short[] s)
@@ -302,7 +302,7 @@ public abstract class WWD_Events extends WWD_Startup
if (doc == null)
{
fillExportList(EMPTY_STRING_ARRAY);
- //I try to avoid refreshing the export list if
+ //I try to avoid refreshing the export list if
//the same type of document is chosen.
}
else if (oldDoc == null || (!oldDoc.appType.equals(doc.appType)))
@@ -348,8 +348,8 @@ public abstract class WWD_Events extends WWD_Startup
task.removeTaskListener(sd);
}
/*
- * When adding a single document, do not use a
- * status dialog...
+ * When adding a single document, do not use a
+ * status dialog...
*/
else
{
@@ -525,7 +525,7 @@ public abstract class WWD_Events extends WWD_Startup
}
/**
- * updates the ui of a certain publisher
+ * updates the ui of a certain publisher
* (the text box url)
* @param number
*/
@@ -632,7 +632,7 @@ public abstract class WWD_Events extends WWD_Startup
if (p.cp_Publish)
{
String path = getFileAccess().getPath(p.url, null);
- // target exists?
+ // target exists?
if (getFileAccess().exists(p.url, false))
{
//if its a directory
@@ -660,7 +660,7 @@ public abstract class WWD_Events extends WWD_Startup
}
}
else
- {//not a directory, but still exists
+ {//not a directory, but still exists
String message = JavaTools.replaceSubString(resources.resLocalTargetExistsAsfile,
path, "%FILENAME");
AbstractErrorHandler.showMessage(xMSF, xControl.getPeer(), message, ErrorHandler.ERROR_PROCESS_FATAL);
@@ -712,7 +712,7 @@ public abstract class WWD_Events extends WWD_Startup
{
String path = getFileAccess().getPath(p.cp_URL, null);
- // target exists?
+ // target exists?
if (getFileAccess().exists(p.cp_URL, false))
{
//if its a directory
@@ -725,7 +725,7 @@ public abstract class WWD_Events extends WWD_Startup
return false;
}
else
- {//not a directory, but still exists ( a file...)
+ {//not a directory, but still exists ( a file...)
if (!p.overwriteApproved)
{
String message = JavaTools.replaceSubString(resources.resZipTargetExists,
@@ -750,7 +750,7 @@ public abstract class WWD_Events extends WWD_Startup
String path = getFileAccess().getPath(p.cp_URL, null);
- // target exists?
+ // target exists?
if (getFileAccess().exists(p.url, false))
{
//if its a directory
@@ -902,10 +902,10 @@ public abstract class WWD_Events extends WWD_Startup
}
/**
- * this method will be called when the Status Dialog
- * is hidden.
+ * this method will be called when the Status Dialog
+ * is hidden.
* It checks if the "Process" was successfull, and if so,
- * it closes the wizard dialog.
+ * it closes the wizard dialog.
*/
public void finishWizardFinished()
{
@@ -950,7 +950,7 @@ public abstract class WWD_Events extends WWD_Startup
* @param exitOnCreate_ should the wizard close after
* a successfull create.
* Default is true,
- * I have a hidden feature which enables false here
+ * I have a hidden feature which enables false here
*/
public void finishWizard(boolean exitOnCreate_)
{
@@ -983,7 +983,7 @@ public abstract class WWD_Events extends WWD_Startup
* this method is only called
* if ftp-password was eather set, or
* the user entered one in the FTP Dialog which
- * popped up when clicking "Create".
+ * popped up when clicking "Create".
*
*/
private void finishWizard2()
@@ -1052,7 +1052,7 @@ public abstract class WWD_Events extends WWD_Startup
/*
* again, if proxies are on, I disable ftp before the creation process
- * starts.
+ * starts.
*/
if (proxies)
{
@@ -1134,7 +1134,7 @@ public abstract class WWD_Events extends WWD_Startup
}
/**
- * is called on the WindowHidden event,
+ * is called on the WindowHidden event,
* deletes the temporary directory.
*/
public void cleanup()
@@ -1240,13 +1240,13 @@ public abstract class WWD_Events extends WWD_Startup
// where the documents are added to in the list (offset)
int offset = (getSelectedDoc().length > 0 ? selectedDoc[0] + 1 : getDocsCount());
- /* if the user chose one file, the list starts at 0,
+ /* if the user chose one file, the list starts at 0,
* if he chose more than one, the first entry is a directory name,
* all the others are filenames.
*/
int start = (files.length > 1 ? 1 : 0);
/*
- * Number of documents failed to validate.
+ * Number of documents failed to validate.
*/
int failed = 0;
diff --git a/wizards/com/sun/star/wizards/web/WWD_General.java b/wizards/com/sun/star/wizards/web/WWD_General.java
index d4e273f4889b..4617a10ba898 100644
--- a/wizards/com/sun/star/wizards/web/WWD_General.java
+++ b/wizards/com/sun/star/wizards/web/WWD_General.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -86,7 +86,7 @@ public abstract class WWD_General extends WebWizardDialog
}
/*
- * File Dialog methods
+ * File Dialog methods
*/
protected SystemDialog getDocAddDialog()
{
@@ -98,7 +98,7 @@ public abstract class WWD_General extends WebWizardDialog
docAddDialog.addFilter(
JavaTools.replaceSubString(f.cp_Name, resources.prodName, "%PRODNAME"), f.cp_Filter, i == 0);
}
- //docAddDialog.addFilter(resources.resSODocs, "*.oxt;*.sxw;*.sxc;*.sxd;*.sxi;*.sdw;*.sdc;*.sdd;*.sdi;*.sda;*.sdp" ,true);
+ //docAddDialog.addFilter(resources.resSODocs, "*.oxt;*.sxw;*.sxc;*.sxd;*.sxi;*.sdw;*.sdc;*.sdd;*.sdi;*.sda;*.sdp" ,true);
//docAddDialog.addFilter(resources.resMSDocs, "*.doc;*.xls;*.ppt;*.pps",false);
//docAddDialog.addFilter(resources.resImages, "*.jpg;*.gif;*.png;*.bmp;*.tiff;*.jpeg;*.jpe",false);
//docAddDialog.addFilter(resources.resAllFiles,"*.*",false);
@@ -159,7 +159,7 @@ public abstract class WWD_General extends WebWizardDialog
}
/**
- * returns the document specified
+ * returns the document specified
* by the given short array.
* @param s
* @return
@@ -199,8 +199,8 @@ public abstract class WWD_General extends WebWizardDialog
}
/**
- * returns a publisher object for the given name
- * @param name one of the WebWizardConst constants : FTP
+ * returns a publisher object for the given name
+ * @param name one of the WebWizardConst constants : FTP
* @return
*/
protected CGPublish getPublisher(String name)
@@ -253,7 +253,7 @@ public abstract class WWD_General extends WebWizardDialog
{
return;
/*
- * disbale steps 3-7
+ * disbale steps 3-7
*/
}
for (int i = 3; i < 8; i++)
@@ -261,7 +261,7 @@ public abstract class WWD_General extends WebWizardDialog
setStepEnabled(i, enabled, true);
/* in this place i just disable the finish button.
* later, in the checkPublish, which is only performed if
- * this one is true, it will be enabled (if the check
+ * this one is true, it will be enabled (if the check
* is positive)
*/
}
@@ -331,9 +331,9 @@ public abstract class WWD_General extends WebWizardDialog
}
/**
- *
+ *
* @return false either if publishing input is wrong or there
- * are no publishing targets chosen. returns true when at least
+ * are no publishing targets chosen. returns true when at least
* one target is chosen, *and* all
* which are chosen are legal.
* If proxies are on, ftp publisher is ignored.
@@ -352,7 +352,7 @@ public abstract class WWD_General extends WebWizardDialog
/**
* This method checks if the publishing
- * input is ok, and enables and disables
+ * input is ok, and enables and disables
* the 'create' button.
* public because it is called from
* an event listener object.
@@ -374,8 +374,8 @@ public abstract class WWD_General extends WebWizardDialog
}
/**
- * substitutes path variables with the corresponding values.
- * @param path a path, which might contain OOo path variables.
+ * substitutes path variables with the corresponding values.
+ * @param path a path, which might contain OOo path variables.
* @return the path, after substituing path variables.
*/
protected String substitute(String path)
diff --git a/wizards/com/sun/star/wizards/web/WWD_Startup.java b/wizards/com/sun/star/wizards/web/WWD_Startup.java
index 200f70a32383..a3ca1db939e7 100644
--- a/wizards/com/sun/star/wizards/web/WWD_Startup.java
+++ b/wizards/com/sun/star/wizards/web/WWD_Startup.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/web/WWHID.java b/wizards/com/sun/star/wizards/web/WWHID.java
index 6d9a4882fcb9..8baa37243078 100644
--- a/wizards/com/sun/star/wizards/web/WWHID.java
+++ b/wizards/com/sun/star/wizards/web/WWHID.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/web/WebWizard.java b/wizards/com/sun/star/wizards/web/WebWizard.java
index 87ea5217b11e..81d6db638013 100644
--- a/wizards/com/sun/star/wizards/web/WebWizard.java
+++ b/wizards/com/sun/star/wizards/web/WebWizard.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/web/WebWizardConst.java b/wizards/com/sun/star/wizards/web/WebWizardConst.java
index 7ef17f134458..4846eabcdee9 100644
--- a/wizards/com/sun/star/wizards/web/WebWizardConst.java
+++ b/wizards/com/sun/star/wizards/web/WebWizardConst.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/web/WebWizardDialog.java b/wizards/com/sun/star/wizards/web/WebWizardDialog.java
index 736639972c44..a65132714431 100644
--- a/wizards/com/sun/star/wizards/web/WebWizardDialog.java
+++ b/wizards/com/sun/star/wizards/web/WebWizardDialog.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -90,8 +90,8 @@ public abstract class WebWizardDialog extends WizardDialog implements WebWizardC
//Image Control
XControl ImageControl6;
XFixedText Label3;
- //titled box
- XControl FrameControl1;
+ //titled box
+ XControl FrameControl1;
//Image Control
XControl ImageControl2;
//Image Control
@@ -897,17 +897,17 @@ public abstract class WebWizardDialog extends WizardDialog implements WebWizardC
ilLayouts.helpURL = HID3_IL_LAYOUTS_IMG1;
/*for (int i = 0; i<8; i++)
- imgIconsPrev[i] = insertImage("imgIconPrev" + i,
+ imgIconsPrev[i] = insertImage("imgIconPrev" + i,
new String[] { "BackgroundColor","Border","Height","ImageURL", "PositionX", "PositionY", "ScaleImage", "Step", "Tabstop", "Width"},
new Object[] { new Integer(-1), new Short((short)0),new Integer(14),"file:///c:/bludisk.gif", new Integer(97 + i * 20 + 7 ),new Integer(147),Boolean.FALSE,INTEGERS[5],Boolean.FALSE,new Integer(14)});
*/
}
/**
- * renders the images and titles of
+ * renders the images and titles of
* the layouts
* @author rpiterman
-
+
*/
private class LayoutRenderer implements ImageList.IImageRenderer
{
diff --git a/wizards/com/sun/star/wizards/web/WebWizardDialogResources.java b/wizards/com/sun/star/wizards/web/WebWizardDialogResources.java
index c4a4f0cf58cd..6019cbe71ac6 100644
--- a/wizards/com/sun/star/wizards/web/WebWizardDialogResources.java
+++ b/wizards/com/sun/star/wizards/web/WebWizardDialogResources.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -189,8 +189,8 @@ public class WebWizardDialogResources
{
oResource = _oResource;
/**
- * Delete the String, uncomment the getResText method
- *
+ * Delete the String, uncomment the getResText method
+ *
*/
resWebWizardDialog_title = oResource.getResText(RID_WEBWIZARDDIALOG_START + 1);
reslblIntroduction_value = oResource.getResText(RID_WEBWIZARDDIALOG_START + 2);
diff --git a/wizards/com/sun/star/wizards/web/data/CGArgument.java b/wizards/com/sun/star/wizards/web/data/CGArgument.java
index 2ae2c70ce69c..dc21e21e0812 100644
--- a/wizards/com/sun/star/wizards/web/data/CGArgument.java
+++ b/wizards/com/sun/star/wizards/web/data/CGArgument.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/web/data/CGContent.java b/wizards/com/sun/star/wizards/web/data/CGContent.java
index 9bf32f26ff48..4607e269b83f 100644
--- a/wizards/com/sun/star/wizards/web/data/CGContent.java
+++ b/wizards/com/sun/star/wizards/web/data/CGContent.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/web/data/CGDesign.java b/wizards/com/sun/star/wizards/web/data/CGDesign.java
index 00c1ea10b949..96b102f078ac 100644
--- a/wizards/com/sun/star/wizards/web/data/CGDesign.java
+++ b/wizards/com/sun/star/wizards/web/data/CGDesign.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/web/data/CGDocument.java b/wizards/com/sun/star/wizards/web/data/CGDocument.java
index 177355612675..b8c7ed50cd6b 100644
--- a/wizards/com/sun/star/wizards/web/data/CGDocument.java
+++ b/wizards/com/sun/star/wizards/web/data/CGDocument.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -92,7 +92,7 @@ public class CGDocument extends ConfigSetItem implements XMLProvider
/**
* The contents subdirectory name in which the document is in.
* This subdirectory will be created in the content's "docs"
- * subdirectory.
+ * subdirectory.
*/
public String dirName;
/**
@@ -180,7 +180,7 @@ public class CGDocument extends ConfigSetItem implements XMLProvider
xProps = ((XDocumentPropertiesSupplier) UnoRuntime.queryInterface(XDocumentPropertiesSupplier.class, component)).getDocumentProperties();
}
- task.advance(true); //4
+ task.advance(true); //4
//now use the object to read some document properties.
if (xProps != null)
@@ -255,7 +255,7 @@ public class CGDocument extends ConfigSetItem implements XMLProvider
/**
* @param media is the media description string returned by an UNO TypeDetection object.
* @return one of the constants in the interface TypeDetection.
- *
+ *
*/
private String getDocType(String media)
{
diff --git a/wizards/com/sun/star/wizards/web/data/CGExporter.java b/wizards/com/sun/star/wizards/web/data/CGExporter.java
index c23073fbed01..89ced4722531 100644
--- a/wizards/com/sun/star/wizards/web/data/CGExporter.java
+++ b/wizards/com/sun/star/wizards/web/data/CGExporter.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/web/data/CGFilter.java b/wizards/com/sun/star/wizards/web/data/CGFilter.java
index dc4f41df746b..3c93437f0f25 100644
--- a/wizards/com/sun/star/wizards/web/data/CGFilter.java
+++ b/wizards/com/sun/star/wizards/web/data/CGFilter.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -30,6 +30,6 @@ public class CGFilter extends ConfigSetItem
{
public String cp_Name;
- //public boolean cp_Readonly;
+ //public boolean cp_Readonly;
public String cp_Filter;
}
diff --git a/wizards/com/sun/star/wizards/web/data/CGGeneralInfo.java b/wizards/com/sun/star/wizards/web/data/CGGeneralInfo.java
index c12d4c92f535..b3b80ea48c4d 100644
--- a/wizards/com/sun/star/wizards/web/data/CGGeneralInfo.java
+++ b/wizards/com/sun/star/wizards/web/data/CGGeneralInfo.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/web/data/CGIconSet.java b/wizards/com/sun/star/wizards/web/data/CGIconSet.java
index 197c6c3e44b5..c09936e3ea48 100644
--- a/wizards/com/sun/star/wizards/web/data/CGIconSet.java
+++ b/wizards/com/sun/star/wizards/web/data/CGIconSet.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/web/data/CGImage.java b/wizards/com/sun/star/wizards/web/data/CGImage.java
index e6d459bf48d5..d9e2e520b6ec 100644
--- a/wizards/com/sun/star/wizards/web/data/CGImage.java
+++ b/wizards/com/sun/star/wizards/web/data/CGImage.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/web/data/CGLayout.java b/wizards/com/sun/star/wizards/web/data/CGLayout.java
index 9d9557c1615a..18443014c902 100644
--- a/wizards/com/sun/star/wizards/web/data/CGLayout.java
+++ b/wizards/com/sun/star/wizards/web/data/CGLayout.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/web/data/CGPublish.java b/wizards/com/sun/star/wizards/web/data/CGPublish.java
index 1a3746a3873d..97bfeedb6e4e 100644
--- a/wizards/com/sun/star/wizards/web/data/CGPublish.java
+++ b/wizards/com/sun/star/wizards/web/data/CGPublish.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/web/data/CGSession.java b/wizards/com/sun/star/wizards/web/data/CGSession.java
index 3acd570b7878..98d362cc6a31 100644
--- a/wizards/com/sun/star/wizards/web/data/CGSession.java
+++ b/wizards/com/sun/star/wizards/web/data/CGSession.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/web/data/CGSessionName.java b/wizards/com/sun/star/wizards/web/data/CGSessionName.java
index 77cde79a8ca2..d9957c93c0a4 100644
--- a/wizards/com/sun/star/wizards/web/data/CGSessionName.java
+++ b/wizards/com/sun/star/wizards/web/data/CGSessionName.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/web/data/CGSettings.java b/wizards/com/sun/star/wizards/web/data/CGSettings.java
index ecc538b9fa83..e426ff030e87 100644
--- a/wizards/com/sun/star/wizards/web/data/CGSettings.java
+++ b/wizards/com/sun/star/wizards/web/data/CGSettings.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/web/data/CGStyle.java b/wizards/com/sun/star/wizards/web/data/CGStyle.java
index e6258d8c5fe1..a765e4dad752 100644
--- a/wizards/com/sun/star/wizards/web/data/CGStyle.java
+++ b/wizards/com/sun/star/wizards/web/data/CGStyle.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -30,7 +30,7 @@ public class CGStyle extends ConfigSetItem
{
public String cp_Name;
- //public boolean cp_Readonly;
+ //public boolean cp_Readonly;
public String cp_CssHref;
public String cp_BackgroundImage;
public String cp_IconSet;
diff --git a/wizards/com/sun/star/wizards/web/data/ConfigSetItem.java b/wizards/com/sun/star/wizards/web/data/ConfigSetItem.java
index 06c11a06178e..d4c147dc86c1 100644
--- a/wizards/com/sun/star/wizards/web/data/ConfigSetItem.java
+++ b/wizards/com/sun/star/wizards/web/data/ConfigSetItem.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/web/data/TypeDetection.java b/wizards/com/sun/star/wizards/web/data/TypeDetection.java
index d6998ac74814..9f832361765f 100644
--- a/wizards/com/sun/star/wizards/web/data/TypeDetection.java
+++ b/wizards/com/sun/star/wizards/web/data/TypeDetection.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -41,19 +41,19 @@ public class TypeDetection
{
/**
- * a document which will open in writer.
+ * a document which will open in writer.
*/
public final static String WRITER_DOC = "writer";
/**
- * a document which will open in calc.
+ * a document which will open in calc.
*/
public final static String CALC_DOC = "calc";
/**
- * a document which will open in impress.
+ * a document which will open in impress.
*/
public final static String IMPRESS_DOC = "impress";
/**
- * a document which will open in draw.
+ * a document which will open in draw.
*/
public final static String DRAW_DOC = "draw";
/**
diff --git a/wizards/com/sun/star/wizards/web/export/AbstractExporter.java b/wizards/com/sun/star/wizards/web/export/AbstractExporter.java
index 97b1109add01..fc69ccb6fe15 100644
--- a/wizards/com/sun/star/wizards/web/export/AbstractExporter.java
+++ b/wizards/com/sun/star/wizards/web/export/AbstractExporter.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/web/export/ConfiguredExporter.java b/wizards/com/sun/star/wizards/web/export/ConfiguredExporter.java
index de13a8c31bbe..d9f9af0428fe 100644
--- a/wizards/com/sun/star/wizards/web/export/ConfiguredExporter.java
+++ b/wizards/com/sun/star/wizards/web/export/ConfiguredExporter.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/web/export/CopyExporter.java b/wizards/com/sun/star/wizards/web/export/CopyExporter.java
index f620e3b106d3..b3571523d00e 100644
--- a/wizards/com/sun/star/wizards/web/export/CopyExporter.java
+++ b/wizards/com/sun/star/wizards/web/export/CopyExporter.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/web/export/Exporter.java b/wizards/com/sun/star/wizards/web/export/Exporter.java
index 90f145cf1241..43ef9275db4b 100644
--- a/wizards/com/sun/star/wizards/web/export/Exporter.java
+++ b/wizards/com/sun/star/wizards/web/export/Exporter.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -47,12 +47,12 @@ public interface Exporter
* of a binary format.
* always use source.urlFilename as destination filename.
* @param source is a CGDocument object.
- * @param target contains the URL of a directory to which the
+ * @param target contains the URL of a directory to which the
* file should be exported to.
* @param xmsf this is a basic multiServiceFactory.
- * @param task - a task monitoring object. This should advance
+ * @param task - a task monitoring object. This should advance
* (call task.advacne(true) ) 3 times, while exporting.
- *
+ *
*/
public boolean export(CGDocument source, String targetDirectory, XMultiServiceFactory xmsf, Task task) throws IOException;
diff --git a/wizards/com/sun/star/wizards/web/export/FilterExporter.java b/wizards/com/sun/star/wizards/web/export/FilterExporter.java
index 8ff666d5ec87..58516d59e588 100644
--- a/wizards/com/sun/star/wizards/web/export/FilterExporter.java
+++ b/wizards/com/sun/star/wizards/web/export/FilterExporter.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/web/export/ImpressHTMLExporter.java b/wizards/com/sun/star/wizards/web/export/ImpressHTMLExporter.java
index 07a79e15040e..d43a0f4b5a5e 100644
--- a/wizards/com/sun/star/wizards/web/export/ImpressHTMLExporter.java
+++ b/wizards/com/sun/star/wizards/web/export/ImpressHTMLExporter.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/web/status/ErrorLog.java b/wizards/com/sun/star/wizards/web/status/ErrorLog.java
index d039fa5c64a3..258d96fa5bf8 100644
--- a/wizards/com/sun/star/wizards/web/status/ErrorLog.java
+++ b/wizards/com/sun/star/wizards/web/status/ErrorLog.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/web/status/ErrorReporter.java b/wizards/com/sun/star/wizards/web/status/ErrorReporter.java
index 4d967e24f3df..22a8e758372c 100644
--- a/wizards/com/sun/star/wizards/web/status/ErrorReporter.java
+++ b/wizards/com/sun/star/wizards/web/status/ErrorReporter.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/web/status/LogTaskListener.java b/wizards/com/sun/star/wizards/web/status/LogTaskListener.java
index d4109da3406f..6fa9c9b493cc 100644
--- a/wizards/com/sun/star/wizards/web/status/LogTaskListener.java
+++ b/wizards/com/sun/star/wizards/web/status/LogTaskListener.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/web/status/Task.java b/wizards/com/sun/star/wizards/web/status/Task.java
index 0fb0bf494286..c3a44c06e85f 100644
--- a/wizards/com/sun/star/wizards/web/status/Task.java
+++ b/wizards/com/sun/star/wizards/web/status/Task.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/web/status/TaskEvent.java b/wizards/com/sun/star/wizards/web/status/TaskEvent.java
index dd1d06c1938a..38e3d8f4d126 100644
--- a/wizards/com/sun/star/wizards/web/status/TaskEvent.java
+++ b/wizards/com/sun/star/wizards/web/status/TaskEvent.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/wizards/com/sun/star/wizards/web/status/TaskListener.java b/wizards/com/sun/star/wizards/web/status/TaskListener.java
index 63745bf83a62..bf0f3c388f8a 100644
--- a/wizards/com/sun/star/wizards/web/status/TaskListener.java
+++ b/wizards/com/sun/star/wizards/web/status/TaskListener.java
@@ -2,7 +2,7 @@
************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite