[Libreoffice-commits] .: wizards/com

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Oct 1 10:59:13 PDT 2012


 wizards/com/sun/star/wizards/agenda/AgendaTemplate.java                      |   17 -
 wizards/com/sun/star/wizards/agenda/AgendaWizardDialogImpl.java              |   21 -
 wizards/com/sun/star/wizards/agenda/TemplateConsts.java                      |    6 
 wizards/com/sun/star/wizards/agenda/TopicsControl.java                       |    3 
 wizards/com/sun/star/wizards/common/ConfigNode.java                          |    1 
 wizards/com/sun/star/wizards/common/ConfigSet.java                           |    4 
 wizards/com/sun/star/wizards/common/Configuration.java                       |    6 
 wizards/com/sun/star/wizards/common/DebugHelper.java                         |    6 
 wizards/com/sun/star/wizards/common/Desktop.java                             |    9 
 wizards/com/sun/star/wizards/common/FileAccess.java                          |   99 --------
 wizards/com/sun/star/wizards/common/Helper.java                              |    7 
 wizards/com/sun/star/wizards/common/Indexable.java                           |    4 
 wizards/com/sun/star/wizards/common/JavaTools.java                           |   37 ---
 wizards/com/sun/star/wizards/common/NamedValueCollection.java                |    4 
 wizards/com/sun/star/wizards/common/Properties.java                          |    1 
 wizards/com/sun/star/wizards/common/PropertyNames.java                       |    4 
 wizards/com/sun/star/wizards/common/UCB.java                                 |    3 
 wizards/com/sun/star/wizards/common/XMLHelper.java                           |    4 
 wizards/com/sun/star/wizards/common/XMLProvider.java                         |    4 
 wizards/com/sun/star/wizards/db/BlindtextCreator.java                        |    4 
 wizards/com/sun/star/wizards/db/RelationController.java                      |    2 
 wizards/com/sun/star/wizards/document/DatabaseControl.java                   |   27 --
 wizards/com/sun/star/wizards/document/Shape.java                             |    2 
 wizards/com/sun/star/wizards/form/FormConfiguration.java                     |    6 
 wizards/com/sun/star/wizards/query/CallQueryWizard.java                      |    3 
 wizards/com/sun/star/wizards/report/CallReportWizard.java                    |   23 -
 wizards/com/sun/star/wizards/report/IReportBuilderLayouter.java              |    1 
 wizards/com/sun/star/wizards/report/IReportDefinitionReadAccess.java         |    1 
 wizards/com/sun/star/wizards/report/IReportDocument.java                     |    3 
 wizards/com/sun/star/wizards/report/ReportImplementationHelper.java          |    5 
 wizards/com/sun/star/wizards/report/ReportTextImplementation.java            |   37 ---
 wizards/com/sun/star/wizards/reportbuilder/ReportBuilderImplementation.java  |    3 
 wizards/com/sun/star/wizards/reportbuilder/layout/ColumnarSingleColumn.java  |    5 
 wizards/com/sun/star/wizards/reportbuilder/layout/ColumnarThreeColumns.java  |    4 
 wizards/com/sun/star/wizards/reportbuilder/layout/ColumnarTwoColumns.java    |    5 
 wizards/com/sun/star/wizards/reportbuilder/layout/DesignTemplate.java        |    7 
 wizards/com/sun/star/wizards/reportbuilder/layout/InBlocksLabelsAbove.java   |   10 
 wizards/com/sun/star/wizards/reportbuilder/layout/InBlocksLabelsLeft.java    |    7 
 wizards/com/sun/star/wizards/reportbuilder/layout/LayoutConstants.java       |    4 
 wizards/com/sun/star/wizards/reportbuilder/layout/ReportBuilderLayouter.java |  122 ----------
 wizards/com/sun/star/wizards/reportbuilder/layout/SectionEmptyObject.java    |    4 
 wizards/com/sun/star/wizards/reportbuilder/layout/SectionLabel.java          |    6 
 wizards/com/sun/star/wizards/reportbuilder/layout/SectionObject.java         |    4 
 wizards/com/sun/star/wizards/reportbuilder/layout/SectionTextField.java      |    4 
 wizards/com/sun/star/wizards/reportbuilder/layout/Tabular.java               |    5 
 wizards/com/sun/star/wizards/table/CGCategory.java                           |    3 
 wizards/com/sun/star/wizards/table/ScenarioSelector.java                     |    2 
 wizards/com/sun/star/wizards/ui/ButtonList.java                              |   99 --------
 wizards/com/sun/star/wizards/ui/ControlScroller.java                         |    2 
 wizards/com/sun/star/wizards/ui/DBLimitedFieldSelection.java                 |    6 
 wizards/com/sun/star/wizards/ui/DocumentPreview.java                         |    9 
 wizards/com/sun/star/wizards/ui/FieldSelection.java                          |   17 -
 wizards/com/sun/star/wizards/ui/ImageList.java                               |  122 ----------
 wizards/com/sun/star/wizards/ui/PeerConfig.java                              |    5 
 wizards/com/sun/star/wizards/ui/UIConsts.java                                |    3 
 wizards/com/sun/star/wizards/ui/UnoDialog.java                               |   32 --
 wizards/com/sun/star/wizards/ui/event/AbstractListener.java                  |    1 
 wizards/com/sun/star/wizards/ui/event/CommonListener.java                    |    4 
 wizards/com/sun/star/wizards/ui/event/DataAware.java                         |    5 
 wizards/com/sun/star/wizards/ui/event/EventNames.java                        |    4 
 wizards/com/sun/star/wizards/ui/event/ListModelBinder.java                   |   29 --
 wizards/com/sun/star/wizards/ui/event/MethodInvocation.java                  |    1 
 wizards/com/sun/star/wizards/ui/event/RadioDataAware.java                    |    3 
 wizards/com/sun/star/wizards/ui/event/Task.java                              |   18 -
 wizards/com/sun/star/wizards/ui/event/TaskEvent.java                         |    3 
 wizards/com/sun/star/wizards/ui/event/TaskListener.java                      |    3 
 wizards/com/sun/star/wizards/ui/event/UnoDataAware.java                      |    3 
 wizards/com/sun/star/wizards/web/BackgroundsDialog.java                      |    3 
 wizards/com/sun/star/wizards/web/ErrorHandler.java                           |    3 
 wizards/com/sun/star/wizards/web/ExtensionVerifier.java                      |    1 
 wizards/com/sun/star/wizards/web/IconsDialog.java                            |    8 
 wizards/com/sun/star/wizards/web/ImageListDialog.java                        |    9 
 wizards/com/sun/star/wizards/web/LogTaskListener.java                        |    1 
 wizards/com/sun/star/wizards/web/Process.java                                |   26 --
 wizards/com/sun/star/wizards/web/ProcessErrorHandler.java                    |    1 
 wizards/com/sun/star/wizards/web/ProcessErrors.java                          |    1 
 wizards/com/sun/star/wizards/web/ProcessStatusRenderer.java                  |    2 
 wizards/com/sun/star/wizards/web/StatusDialog.java                           |    8 
 wizards/com/sun/star/wizards/web/StylePreview.java                           |    1 
 wizards/com/sun/star/wizards/web/TOCPreview.java                             |    3 
 wizards/com/sun/star/wizards/web/WWD_Events.java                             |   21 -
 wizards/com/sun/star/wizards/web/WWD_General.java                            |    8 
 wizards/com/sun/star/wizards/web/WWD_Startup.java                            |   33 --
 wizards/com/sun/star/wizards/web/WWHID.java                                  |    3 
 wizards/com/sun/star/wizards/web/WebWizard.java                              |    3 
 wizards/com/sun/star/wizards/web/WebWizardDialog.java                        |   46 ---
 wizards/com/sun/star/wizards/web/data/CGDocument.java                        |    7 
 wizards/com/sun/star/wizards/web/data/CGSettings.java                        |    3 
 wizards/com/sun/star/wizards/web/data/ConfigSetItem.java                     |    4 
 wizards/com/sun/star/wizards/web/data/TypeDetection.java                     |    4 
 wizards/com/sun/star/wizards/web/export/AbstractExporter.java                |    7 
 wizards/com/sun/star/wizards/web/export/ConfiguredExporter.java              |    3 
 wizards/com/sun/star/wizards/web/export/CopyExporter.java                    |    3 
 wizards/com/sun/star/wizards/web/export/Exporter.java                        |    4 
 wizards/com/sun/star/wizards/web/export/FilterExporter.java                  |    2 
 wizards/com/sun/star/wizards/web/export/ImpressHTMLExporter.java             |   10 
 wizards/com/sun/star/wizards/web/status/ErrorLog.java                        |    3 
 wizards/com/sun/star/wizards/web/status/ErrorReporter.java                   |    3 
 wizards/com/sun/star/wizards/web/status/LogTaskListener.java                 |    3 
 wizards/com/sun/star/wizards/web/status/Task.java                            |   15 -
 wizards/com/sun/star/wizards/web/status/TaskEvent.java                       |    3 
 wizards/com/sun/star/wizards/web/status/TaskListener.java                    |    3 
 102 files changed, 16 insertions(+), 1160 deletions(-)

New commits:
commit 78272699f3fdad03c960b4888452ddb7049e24fe
Author: José Guilherme Vanz <guilherme.sft at gmail.com>
Date:   Mon Oct 1 19:57:16 2012 +0200

    fdo#51304: Java author and commented code removal.
    
    This patch removes '@author' annotation, code in comments
    and adjust some empty catches. It's cleanup patch
    
    Change-Id: Ia0e61765dd06a61bae5419e5f723232f7711044c

diff --git a/wizards/com/sun/star/wizards/agenda/AgendaTemplate.java b/wizards/com/sun/star/wizards/agenda/AgendaTemplate.java
index 5e810e3..6be8215 100644
--- a/wizards/com/sun/star/wizards/agenda/AgendaTemplate.java
+++ b/wizards/com/sun/star/wizards/agenda/AgendaTemplate.java
@@ -18,8 +18,6 @@
 package com.sun.star.wizards.agenda;
 
 import java.util.*;
-
-
 import com.sun.star.awt.TextEvent;
 import com.sun.star.beans.PropertyValue;
 import com.sun.star.container.NoSuchElementException;
@@ -538,9 +536,7 @@ public class AgendaTemplate extends TextDocument implements TemplateConsts, Data
         drawTopicConstants();
 
         _allItems.clear();
-        //_allItems = null;
         constItems.clear();
-        //constItems = null;
     }
 
     /**
@@ -584,7 +580,6 @@ public class AgendaTemplate extends TextDocument implements TemplateConsts, Data
             }
         }
      }
-//
     private void initializeConstantTitles()
     {
         XTextRange item = null;
@@ -667,7 +662,6 @@ public class AgendaTemplate extends TextDocument implements TemplateConsts, Data
                 trDeadline = item;
                 constItems.remove(i--);
             }
-//
         }
     }
 
@@ -994,7 +988,6 @@ public class AgendaTemplate extends TextDocument implements TemplateConsts, Data
             for (int i = 0; i < allSections.length; i++)
             {
                 Object section = getSection(allSections[i]);
-                //Try3.showProps(section);
                 boolean visible = ((Boolean) Helper.getUnoPropertyValue(section, "IsVisible")).booleanValue();
                 if (!visible)
                 {
@@ -1384,8 +1377,6 @@ 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
     {
@@ -1884,7 +1875,6 @@ public class AgendaTemplate extends TextDocument implements TemplateConsts, Data
     public static void removeTableRows(Object table, int start, int count)
     {
         XTableRows rows = UnoRuntime.queryInterface(XTextTable.class, table).getRows();
-        //rows.removeByIndex(start, count);
     }
 
     /**
@@ -1948,8 +1938,6 @@ public class AgendaTemplate extends TextDocument implements TemplateConsts, Data
  */
 /**
  * Interface that is used for writing content to a Uno Text / TextRange
- * @author rp143992
- *
  */
 interface AgendaElement
 {
@@ -1966,7 +1954,6 @@ interface AgendaElement
 /**
  * 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
  * Window - Preferences - Java - Code Style - Code Templates
@@ -2010,7 +1997,6 @@ class ParaStyled implements AgendaElement
  * A basic implementation of AgendaElement:
  * writes a String to the given XText/XTextRange, and applies
  * a ParaStyle to it (using the parent class).
- * @author rp143992
  */
 class TextElement extends ParaStyled
 {
@@ -2041,7 +2027,6 @@ class TextElement extends ParaStyled
 /**
  * A Text element which, if the text to write is empty (null or PropertyNames.EMPTY_STRING)
  * inserts a placeholder instead.
- * @author rp143992
  *
  * TODO To change the template for this generated type comment go to
  * Window - Preferences - Java - Code Style - Code Templates
@@ -2096,7 +2081,6 @@ class PlaceholderTextElement extends TextElement
 /**
  * An Agenda element which writes no text, but inserts a placeholder, and formats
  * it using a ParaStyleName.
- * @author rp143992
  *
  */
 class PlaceholderElement extends ParaStyled
@@ -2141,7 +2125,6 @@ class PlaceholderElement extends ParaStyled
  * 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.
- * @author rp143992
  *
  * TODO To change the template for this generated type comment go to
  * Window - Preferences - Java - Code Style - Code Templates
diff --git a/wizards/com/sun/star/wizards/agenda/AgendaWizardDialogImpl.java b/wizards/com/sun/star/wizards/agenda/AgendaWizardDialogImpl.java
index 33924be..adab22a 100644
--- a/wizards/com/sun/star/wizards/agenda/AgendaWizardDialogImpl.java
+++ b/wizards/com/sun/star/wizards/agenda/AgendaWizardDialogImpl.java
@@ -57,7 +57,6 @@ import com.sun.star.uno.XInterface;
  * there is not much business logic here - but mostley
  * event methods.
  * Some event methods are also implemented in TopicsControl and TopicsControl.ControlRow.
- * @author rp143992
  */
 public class AgendaWizardDialogImpl extends AgendaWizardDialog
 {
@@ -238,7 +237,6 @@ public class AgendaWizardDialogImpl extends AgendaWizardDialog
         setControlProperty("listPageDesign", PropertyNames.STRING_ITEM_LIST, 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();
@@ -289,16 +287,6 @@ public class AgendaWizardDialogImpl extends AgendaWizardDialog
     }
 
 
-    /*
-    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.
@@ -309,7 +297,6 @@ public class AgendaWizardDialogImpl extends AgendaWizardDialog
             XPropertySet xPropertySet = UnoRuntime.queryInterface(XPropertySet.class, xPathInterface);
             sTemplatePath = ((String[]) xPropertySet.getPropertyValue("Template_user"))[0];
 
-            //sCurrentNorm = Norms[getCurrentLetter().cp_Norm];
             String sAgendaPath = FileAccess.combinePaths(xMSF, sTemplatePath, "/../common/wizard/agenda" );
 
             agendaTemplates = FileAccess.getFolderTitles(xMSF, "aw" , sAgendaPath);
@@ -482,7 +469,6 @@ public class AgendaWizardDialogImpl extends AgendaWizardDialog
             bSaveSuccess = OfficeDocument.store(xMSF, xTextDocument, sPath , "writer8_template", false );
         } catch (Exception e) {
             SystemDialog.showMessageBox(xMSF, xControl.getPeer(), "ErrorBox", VclWindowPeerAttribute.OK, resources.resErrSaveTemplate);
-            //e.printStackTrace();
         }
 
         if (bSaveSuccess) {
@@ -515,11 +501,7 @@ public class AgendaWizardDialogImpl extends AgendaWizardDialog
             * }
             */
 
-            //xWindow.setVisible(false);
-            //running = false;
             agendaTemplate.xTextDocument.unlockControllers();
-            //closeDocument();
-            //removeTerminateListener();
 
             PropertyValue loadValues[] = new PropertyValue[2];
             loadValues[0] = new PropertyValue();
@@ -534,10 +516,8 @@ public class AgendaWizardDialogImpl extends AgendaWizardDialog
             try {
                 loadValues[1].Value = UnoRuntime.queryInterface(XInteractionHandler.class, xMSF.createInstance("com.sun.star.comp.uui.UUIInteractionHandler"));
             } catch (Exception e) {
-                // TODO Auto-generated catch block
                 e.printStackTrace();
             }
-            //Object oDoc = OfficeDocument.load(Desktop.getDesktop(xMSF), agenda.cp_TemplatePath, "_default", new PropertyValue[0]);
             Object oDoc = OfficeDocument.load(Desktop.getDesktop(xMSF), sPath, "_default", new PropertyValue[0]);
                         xTextDocument = (com.sun.star.text.XTextDocument) oDoc;
             XMultiServiceFactory xDocMSF = UnoRuntime.queryInterface(XMultiServiceFactory.class, xTextDocument);
@@ -559,7 +539,6 @@ public class AgendaWizardDialogImpl extends AgendaWizardDialog
 
     private void closeDocument() {
         try {
-            //xComponent.dispose();
             XCloseable xCloseable = UnoRuntime.queryInterface(XCloseable.class, agendaTemplate.xFrame);
             xCloseable.close(false);
         } catch (CloseVetoException e) {
diff --git a/wizards/com/sun/star/wizards/agenda/TemplateConsts.java b/wizards/com/sun/star/wizards/agenda/TemplateConsts.java
index e96edf2..c2d5b70 100644
--- a/wizards/com/sun/star/wizards/agenda/TemplateConsts.java
+++ b/wizards/com/sun/star/wizards/agenda/TemplateConsts.java
@@ -17,10 +17,6 @@
  */
 package com.sun.star.wizards.agenda;
 
-/**
- * @author rpiterman
- *
- */
 public interface TemplateConsts
 {
 
@@ -135,7 +131,6 @@ public interface TemplateConsts
     public final static String FILLIN_MINUTE_RESPONSIBLE = "<mresponsible>";
     public final static String FILLIN_MINUTE_TIME = "<mtime>";
 
-//
     public final static String FILLIN_DATETITLE = "#datetitle#";
     public final static String FILLIN_TIMETITLE = "#timetitle#";
     public final static String FILLIN_LOCATIONTITLE = "#locationtitle#";
@@ -151,5 +146,4 @@ public interface TemplateConsts
     public final static String FILLIN_TO_DO = "#to-do#";
     public final static String FILLIN_RESPONSIBLE_PARTY = "#responsible-party#";
     public final static String FILLIN_DEADLINE = "#deadline#";
-//
 }
diff --git a/wizards/com/sun/star/wizards/agenda/TopicsControl.java b/wizards/com/sun/star/wizards/agenda/TopicsControl.java
index 975217b..4a72e26 100644
--- a/wizards/com/sun/star/wizards/agenda/TopicsControl.java
+++ b/wizards/com/sun/star/wizards/agenda/TopicsControl.java
@@ -44,7 +44,6 @@ import com.sun.star.wizards.ui.event.EventNames;
 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 -
@@ -1083,8 +1082,6 @@ public class TopicsControl extends ControlScroller implements XFocusListener
     };
 
     /**
-     *
-     * @author rp143992
      * A class represting a single GUI row.
      * Note that the instance methods of this class
      * are being called and handle controls of
diff --git a/wizards/com/sun/star/wizards/common/ConfigNode.java b/wizards/com/sun/star/wizards/common/ConfigNode.java
index c9704e2..593cb9d 100644
--- a/wizards/com/sun/star/wizards/common/ConfigNode.java
+++ b/wizards/com/sun/star/wizards/common/ConfigNode.java
@@ -23,7 +23,6 @@ package com.sun.star.wizards.common;
  * OO Configuration. <br/>
  * There are 2 direct implementations: ConfigGroup and ConfigSet.
  * The root is the first Java Object in the configuration hirarchie.
- * @author  rpiterman
  */
 public interface ConfigNode
 {
diff --git a/wizards/com/sun/star/wizards/common/ConfigSet.java b/wizards/com/sun/star/wizards/common/ConfigSet.java
index 5266c69..64e15f7 100644
--- a/wizards/com/sun/star/wizards/common/ConfigSet.java
+++ b/wizards/com/sun/star/wizards/common/ConfigSet.java
@@ -25,10 +25,6 @@ import javax.swing.event.ListDataEvent;
 
 import org.w3c.dom.*;
 
-/**
- *
- * @author  rpiterman
- */
 public class ConfigSet implements ConfigNode, XMLProvider, ListModel
 {
 
diff --git a/wizards/com/sun/star/wizards/common/Configuration.java b/wizards/com/sun/star/wizards/common/Configuration.java
index da18fdc..fdf882b 100644
--- a/wizards/com/sun/star/wizards/common/Configuration.java
+++ b/wizards/com/sun/star/wizards/common/Configuration.java
@@ -38,7 +38,6 @@ import com.sun.star.util.XChangesBatch;
  * 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
  */
 public abstract class Configuration
 {
@@ -220,8 +219,6 @@ public abstract class Configuration
     public static Locale getOfficeLocale(XMultiServiceFactory xMSF)
     {
         Locale aLocLocale = new Locale();
-        // Object oMasterKey = getConfigurationRoot(xMSF, "org.openoffice.Setup/L10N/", false);
-        // String sLocale = (String) Helper.getUnoObjectbyName(oMasterKey, "ooLocale");
         String sLocale = getOfficeLocaleString(xMSF);
         String[] sLocaleList = JavaTools.ArrayoutofString(sLocale, "-");
         aLocLocale.Language = sLocaleList[0];
@@ -272,9 +269,6 @@ public abstract class Configuration
         else
         {
 
-            /*if (xNameContainer.hasByName(name))
-            xNameContainer.removeByName(name);*/
-
             // create a new detached set element (instance of DataSourceDescription)
             XSingleServiceFactory xElementFactory = UnoRuntime.queryInterface(XSingleServiceFactory.class, configView);
 
diff --git a/wizards/com/sun/star/wizards/common/DebugHelper.java b/wizards/com/sun/star/wizards/common/DebugHelper.java
index c89da38..16c39fb 100644
--- a/wizards/com/sun/star/wizards/common/DebugHelper.java
+++ b/wizards/com/sun/star/wizards/common/DebugHelper.java
@@ -19,13 +19,9 @@ package com.sun.star.wizards.common;
 
 import com.sun.star.uno.Exception;
 
-/**
- *
- * @author ll93751
- */
 public class DebugHelper
 {
-
+//TODO - Verify these methods. Can not remove?
     public static void exception(String DetailedMessage, Exception ex, int err, String additionalArgument) throws java.lang.Exception
     {
 //        throw new UnsupportedOperationException("Not supported yet.");
diff --git a/wizards/com/sun/star/wizards/common/Desktop.java b/wizards/com/sun/star/wizards/common/Desktop.java
index 1a06374..f089350 100644
--- a/wizards/com/sun/star/wizards/common/Desktop.java
+++ b/wizards/com/sun/star/wizards/common/Desktop.java
@@ -17,14 +17,7 @@
  */
 package com.sun.star.wizards.common;
 
-// import java.util.Date;
-
-// import com.sun.star.awt.XToolkit;
 import com.sun.star.beans.PropertyValue;
-// import com.sun.star.frame.XDesktop;
-// import com.sun.star.frame.XFrame;
-// import com.sun.star.frame.XFramesSupplier;
-
 import com.sun.star.lang.WrappedTargetException;
 import com.sun.star.lang.XComponent;
 import com.sun.star.lang.XMultiComponentFactory;
@@ -347,8 +340,6 @@ public class Desktop
 
     /**
      * @deprecated used to retrieve the most common paths used in the office application
-     * @author bc93774
-     * 
      */
     public class OfficePathRetriever
     {
diff --git a/wizards/com/sun/star/wizards/common/FileAccess.java b/wizards/com/sun/star/wizards/common/FileAccess.java
index 46e4f8a..dfb5d68 100644
--- a/wizards/com/sun/star/wizards/common/FileAccess.java
+++ b/wizards/com/sun/star/wizards/common/FileAccess.java
@@ -21,7 +21,6 @@ import com.sun.star.beans.XPropertySet;
 import com.sun.star.lang.Locale;
 import com.sun.star.uno.Exception;
 import com.sun.star.util.XMacroExpander;
-// import com.sun.star.wizards.common.NoValidPathException;
 import java.io.File;
 import java.util.ArrayList;
 import java.util.Arrays;
@@ -30,7 +29,6 @@ import java.util.Vector;
 import com.sun.star.awt.VclWindowPeerAttribute;
 import com.sun.star.io.XActiveDataSink;
 import com.sun.star.io.XInputStream;
-// import com.sun.star.io.XStream;
 import com.sun.star.io.XTextInputStream;
 import com.sun.star.lang.XMultiServiceFactory;
 import com.sun.star.ucb.*;
@@ -69,7 +67,6 @@ public class FileAccess
         String[] PathList = JavaTools.ArrayoutofString(ResultPath, PropertyNames.SEMI_COLON);
         int MaxIndex = PathList.length - 1;
         String CompCurPath;
-        //  sAddPath.replace(null, (char) 47);
         String CompAddPath = JavaTools.replaceSubString(sAddPath, PropertyNames.EMPTY_STRING, "/");
         String CurPath;
         for (int i = 0; i <= MaxIndex; i++)
@@ -208,28 +205,19 @@ public class FileAccess
     {
         //This method currently only works with sPath="Template"
 
-        // String ResultPath = PropertyNames.EMPTY_STRING;
         ArrayList<String> aPathList = new ArrayList<String>();
         String Template_writable = PropertyNames.EMPTY_STRING;
         String[] Template_internal;
         String[] Template_user;
 
-        // String [] ReadPaths = null;
-
-        // boolean bexists = false;
         try
         {
             XInterface xPathInterface = (XInterface) xMSF.createInstance("com.sun.star.util.PathSettings");
             XPropertySet xPropertySet = UnoRuntime.queryInterface(XPropertySet.class, xPathInterface);
-            // String WritePath = PropertyNames.EMPTY_STRING;
-            // XInterface xUcbInterface = (XInterface) xMSF.createInstance("com.sun.star.ucb.SimpleFileAccess");
-            // XSimpleFileAccess xSimpleFileAccess = (XSimpleFileAccess) com.sun.star.uno.UnoRuntime.queryInterface(XSimpleFileAccess.class, xUcbInterface);
-
             Template_writable = (String) xPropertySet.getPropertyValue(_sPath + "_writable");
             Template_internal = (String[]) xPropertySet.getPropertyValue(_sPath + "_internal");
             Template_user = (String[]) xPropertySet.getPropertyValue(_sPath + "_user");
 
-            // int iNumEntries = Template_user.length + Template_internal.length + 1;
             for (int i = 0; i < Template_internal.length; i++)
             {
                 String sPath = Template_internal[i];
@@ -248,41 +236,12 @@ public class FileAccess
             }
             aPathList.addAll(Arrays.asList(Template_user));
             aPathList.add(Template_writable);
-        // WritePath = Template_writable;
-
-//            if (sType.equalsIgnoreCase("user"))
-//            {
-//                ResultPath = WritePath;
-//                bexists = true;
-//            }
-
         // There was a bug here, because we have to search through the whole list of paths
-//            else
-//            {
-//                //find right path using the search sub path
-//                for (int i = 0; i<ReadPaths.length; i++)
-//                {
-//                    String tmpPath = ReadPaths[i]+sSearchDir;
-//                    if (xSimpleFileAccess.exists(tmpPath))
-//                    {
-//                        ResultPath = ReadPaths[i];
-//                        bexists = true;
-//                        break;
-//                    }
-//                }
-//            }
-//            ResultPath = deleteLastSlashfromUrl(ResultPath);
         }
         catch (Exception exception)
         {
             exception.printStackTrace(System.err);
-        // ResultPath = PropertyNames.EMPTY_STRING;
         }
-//        if (bexists == false)
-//        {
-//            throw new NoValidPathException(xMSF, PropertyNames.EMPTY_STRING);
-//        }
-//        return ResultPath;
         return aPathList;
     }
 
@@ -350,8 +309,6 @@ public class FileAccess
                 return sPath;
             }
 
-        // java.util.Locale jl = new java.util.Locale(
-        //        l.Language , l.Country, l.Variant );
         }
         catch (com.sun.star.uno.Exception e)
         {
@@ -360,48 +317,6 @@ public class FileAccess
         return _sPath;
     }
 
-    /*
-    public static String getOfficePath(XMultiServiceFactory xMSF, String sPath, String sType) throws NoValidPathException {
-    String ResultPath = PropertyNames.EMPTY_STRING;
-    Object oPathSettings;
-    int iPathCount;
-    String[] PathList;
-    boolean bexists = false;
-    try {
-    XInterface xUcbInterface = (XInterface) xMSF.createInstance("com.sun.star.ucb.SimpleFileAccess");
-    XSimpleFileAccess xSimpleFileAccess = (XSimpleFileAccess) com.sun.star.uno.UnoRuntime.queryInterface(XSimpleFileAccess.class, xUcbInterface);
-    ResultPath = getOfficePath(xMSF, sPath, xSimpleFileAccess);
-    PathList = JavaTools.ArrayoutofString(ResultPath, PropertyNames.SEMI_COLON);
-    if (!sType.equals(PropertyNames.EMPTY_STRING)) {
-    ResultPath = PropertyNames.EMPTY_STRING;
-    String CurPath = PropertyNames.EMPTY_STRING;
-    String EndString = "/" + sType;
-    int EndLength = EndString.length();
-    sType = "/" + sType + "/";
-    int MaxIndex = PathList.length - 1;
-    int iPos;
-    for (int i = 0; i <= MaxIndex; i++) {
-    CurPath = PathList[i];
-    iPos = CurPath.length() - EndLength;
-    if ((CurPath.indexOf(sType) > 0) || (CurPath.indexOf(EndString) == iPos)) {
-    ResultPath = deleteLastSlashfromUrl(CurPath);
-    if (xSimpleFileAccess.exists(ResultPath))
-    break;
-    }
-    }
-    } else
-    ResultPath = PathList[0];
-    if (ResultPath.equals(PropertyNames.EMPTY_STRING) == false)
-    bexists = xSimpleFileAccess.exists(ResultPath);
-    } catch (Exception exception) {
-    exception.printStackTrace(System.err);
-    ResultPath = PropertyNames.EMPTY_STRING;
-    }
-    if (bexists == false)
-    throw new NoValidPathException(xMSF);
-    return ResultPath;
-    }
-     **/
     public static void combinePaths(XMultiServiceFactory xMSF, ArrayList<String> _aFirstPath, String _sSecondPath) throws NoValidPathException
     {
         for (int i = 0; i < _aFirstPath.size(); ++i)
@@ -588,7 +503,7 @@ public class FileAccess
      */
     public static String[][] getFolderTitles(com.sun.star.lang.XMultiServiceFactory xMSF, String FilterName, String FolderName)
     {
-        String[][] LocLayoutFiles = new String[2][]; //{PropertyNames.EMPTY_STRING,PropertyNames.EMPTY_STRING}{PropertyNames.EMPTY_STRING};
+        String[][] LocLayoutFiles = new String[2][];
         try
         {
             java.util.Vector<String> TitleVector = null;
@@ -716,7 +631,7 @@ public class FileAccess
     public static String[][] getFolderTitles(com.sun.star.lang.XMultiServiceFactory xMSF, String _sStartFilterName, ArrayList<String> FolderName, String _sEndFilterName)
             throws NoValidPathException
     {
-        String[][] LocLayoutFiles = new String[2][]; //{PropertyNames.EMPTY_STRING,PropertyNames.EMPTY_STRING}{PropertyNames.EMPTY_STRING};
+        String[][] LocLayoutFiles = new String[2][];
         if (FolderName.size() == 0)
         {
             throw new NoValidPathException(null, "Path not given.");
@@ -827,7 +742,6 @@ public class FileAccess
     }
 
     /**
-     * @author rpiterman
      * @param filename
      * @return the extension of the given filename.
      */
@@ -850,7 +764,6 @@ public class FileAccess
     }
 
     /**
-     * @author rpiterman
      * @param s
      * @return
      */
@@ -873,7 +786,6 @@ public class FileAccess
     }
 
     /**
-     * @author rpiterman
      * @param filename
      * @param def what to return in case of an exception
      * @return true if the given file exists or not.
@@ -896,7 +808,6 @@ public class FileAccess
     }
 
     /**
-     * @author rpiterman
      * @param filename
      * @return
      */
@@ -918,7 +829,6 @@ public class FileAccess
 
     /**
      * lists the files in a given directory
-     * @author rpiterman
      * @param dir
      * @param includeFolders
      * @return
@@ -940,7 +850,6 @@ public class FileAccess
     }
 
     /**
-     * @author rpiterman
      * @param file
      * @return
      */
@@ -964,7 +873,6 @@ public class FileAccess
     }
 
     /**
-     * @author rpiterman
      * @param path
      * @return
      */
@@ -984,7 +892,6 @@ public class FileAccess
     }
 
     /**
-     * @author rpiterman
      * @param path 
      * @param pathSeparator
      * @return
@@ -1003,7 +910,6 @@ public class FileAccess
     }
 
     /**
-     * @author rpiterman
      * @param source
      * @param target
      * @return
@@ -1041,7 +947,6 @@ public class FileAccess
     }
 
     /**
-     * 
      * @param url 
      * @return the parent dir of the given url.
      * if the path points to file, gives the directory in which the file is.
diff --git a/wizards/com/sun/star/wizards/common/Helper.java b/wizards/com/sun/star/wizards/common/Helper.java
index 9a50753..429bc6a 100644
--- a/wizards/com/sun/star/wizards/common/Helper.java
+++ b/wizards/com/sun/star/wizards/common/Helper.java
@@ -24,10 +24,8 @@ import java.util.Calendar;
 import com.sun.star.beans.Property;
 import com.sun.star.beans.PropertyValue;
 import com.sun.star.beans.XPropertySet;
-// import com.sun.star.i18n.NumberFormatIndex;
 import com.sun.star.lang.Locale;
 import com.sun.star.lang.XMultiServiceFactory;
-// import com.sun.star.uno.Any;
 import com.sun.star.uno.AnyConverter;
 import com.sun.star.uno.RuntimeException;
 import com.sun.star.uno.UnoRuntime;
@@ -153,7 +151,6 @@ public class Helper
                 }
             }
         }
-        //  System.out.println("Property not found: " + PropertyName);
         return null;
     }
 
@@ -176,7 +173,6 @@ public class Helper
                     }
                 }
             }
-            //  System.out.println("Property not found: " + PropertyName);
             return null;
         }
         catch (Exception exception)
@@ -193,7 +189,6 @@ public class Helper
             if (oUnoObject != null)
             {
                 XPropertySet xPSet = UnoRuntime.queryInterface(XPropertySet.class, oUnoObject);
-                // Property[] aProps = xPSet.getPropertySetInfo().getProperties();
                 return xPSet.getPropertyValue(PropertyName);
             }
         }
@@ -259,7 +254,6 @@ public class Helper
             {
                 for (int i = 0; i < PropertyNames.length; i++)
                 {
-                    //System.out.println(PropertyNames[i] + "=" + PropertyValues[i]);
                     setUnoPropertyValue(oUnoObject, PropertyNames[i], PropertyValues[i]);
                 }
             }
@@ -271,7 +265,6 @@ public class Helper
     }
 
     /**
-     * @author bc93774
      * checks if the value of an object that represents an array is null.
      * check beforehand if the Object is really an array with "AnyConverter.IsArray(oObject)
      * @param oValue the paramter that has to represent an object
diff --git a/wizards/com/sun/star/wizards/common/Indexable.java b/wizards/com/sun/star/wizards/common/Indexable.java
index c2b27fe..b20fd17 100644
--- a/wizards/com/sun/star/wizards/common/Indexable.java
+++ b/wizards/com/sun/star/wizards/common/Indexable.java
@@ -23,10 +23,6 @@
 
 package com.sun.star.wizards.common;
 
-/**
- *
- * @author  rpiterman
- */
 public interface Indexable {
 
     public int getIndex();
diff --git a/wizards/com/sun/star/wizards/common/JavaTools.java b/wizards/com/sun/star/wizards/common/JavaTools.java
index aaaf2dc..f131206 100644
--- a/wizards/com/sun/star/wizards/common/JavaTools.java
+++ b/wizards/com/sun/star/wizards/common/JavaTools.java
@@ -26,10 +26,6 @@ import com.sun.star.lib.util.UrlToFileMapper;
 import java.net.MalformedURLException;
 import java.net.URL;
 
-/**
- *
- * @author  bc93774
- */
 public class JavaTools
 {
 
@@ -38,31 +34,6 @@ public class JavaTools
     {
     }
 
-/*
-    public static void main(String args[])
-    {
-        String sPath = PropertyNames.EMPTY_STRING;
-        DateTime oDateTime = null;
-        long n;
-        String ConnectStr = "uno:socket,host=localhost,port=8100;urp,negotiate=0,forcesynchronous=1;StarOffice.NamingService";   //localhost  ;Lo-1.Germany.sun.com; 10.16.65.155
-        try
-        {
-            XMultiServiceFactory xLocMSF = com.sun.star.wizards.common.Desktop.connect(ConnectStr);
-            if (xLocMSF != null)
-            {
-                System.out.println("Connected to " + ConnectStr);
-                oDateTime = getDateTime(9500000);
-                sPath = convertfromURLNotation("file:///E:/trash/Web%20Wizard.xcu");
-                n = getMillis(oDateTime);
-                int a = 1;
-            }
-        }
-        catch (Exception exception)
-        {
-            exception.printStackTrace(System.err);
-        }
-    }
-*/
     public static String[] copyStringArray(String[] FirstArray)
     {
         if (FirstArray != null)
@@ -218,7 +189,6 @@ public class JavaTools
     }
 
     /**
-     * @author bc93774
      * @param SearchList
      * @param SearchString
      * @return the index of the field that contains the string 'SearchString' or '-1' if not it is
@@ -327,7 +297,6 @@ public class JavaTools
     }
 
     /**
-     * @author bc93774
      * This function bubble sorts an array of with 2 dimensions.
      * The default sorting order is the first dimension
      * Only if sort2ndValue is True the second dimension is the relevant for the sorting order
@@ -496,17 +465,12 @@ public class JavaTools
         if ((baselist != null) && (_complist != null))
         {
             ArrayList<String> retvector = new ArrayList<String>();
-//          String[] orderedcomplist = new String[_complist.length];
-//          System.arraycopy(_complist, 0, orderedcomplist, 0, _complist.length);
             for (int i = 0; i < baselist.length; i++)
-//              if (Arrays.binarySearch(orderedcomplist, baselist[i]) != -1)
             {
                 if (FieldInList(_complist, baselist[i]) > -1)
                 {
                     retvector.add(baselist[i]);
-                //          else
                 // here you could call the method of a defined interface to notify the calling method                                           
-                //      }       
                 }
             }
             retarray = new String[retvector.size()];
@@ -529,7 +493,6 @@ public class JavaTools
                     if (FieldInList(_complist, sValue) != -1)
                     {
                         retvector.add(baselist[i]);
-                    //          else
                     // here you could call the method of a defined interface to notify the calling method                                           
                     }
                 }
diff --git a/wizards/com/sun/star/wizards/common/NamedValueCollection.java b/wizards/com/sun/star/wizards/common/NamedValueCollection.java
index 30d06ec..2813b22 100644
--- a/wizards/com/sun/star/wizards/common/NamedValueCollection.java
+++ b/wizards/com/sun/star/wizards/common/NamedValueCollection.java
@@ -26,10 +26,6 @@ import java.util.HashMap;
 import java.util.Iterator;
 import java.util.Map.Entry;
 
-/**
- *
- * @author frank.schoenheit at sun.com
- */
 public class NamedValueCollection
 {
     final private HashMap< String, Object >    m_values = new HashMap< String, Object >();
diff --git a/wizards/com/sun/star/wizards/common/Properties.java b/wizards/com/sun/star/wizards/common/Properties.java
index 1d31095..4c4a69d 100644
--- a/wizards/com/sun/star/wizards/common/Properties.java
+++ b/wizards/com/sun/star/wizards/common/Properties.java
@@ -31,7 +31,6 @@ import java.util.*;
  * the put(propName,propValue) method.
  * caution: propName should always be a String.
  * When finished, call the getProperties() method to get an array of the set properties.
- * @author  rp
  */
 public class Properties extends HashMap<String,Object>
 {
diff --git a/wizards/com/sun/star/wizards/common/PropertyNames.java b/wizards/com/sun/star/wizards/common/PropertyNames.java
index 1f75b20..c851b74 100644
--- a/wizards/com/sun/star/wizards/common/PropertyNames.java
+++ b/wizards/com/sun/star/wizards/common/PropertyNames.java
@@ -17,10 +17,6 @@
  */
 package com.sun.star.wizards.common;
 
-/**
- *
- * @author Ocke Janssen
- */
 public class PropertyNames
 {
 
diff --git a/wizards/com/sun/star/wizards/common/UCB.java b/wizards/com/sun/star/wizards/common/UCB.java
index 2c9399b..f17b869 100644
--- a/wizards/com/sun/star/wizards/common/UCB.java
+++ b/wizards/com/sun/star/wizards/common/UCB.java
@@ -40,7 +40,6 @@ import com.sun.star.ucb.XDynamicResultSet;
 import com.sun.star.uno.UnoRuntime;
 
 /**
- * @author rpiterman
  * This class is used to copy the content of a folder to
  * another folder.
  * There is an incosistency with argument order.
@@ -100,7 +99,6 @@ public class UCB
         {
           fa.fileAccess.createFolder(targetDir);
         }
-        //System.out.println("UCB.copy(" + sourceDir + ", " + filename +  ", " + targetDir+ ", " + targetName);
         executeCommand(ucb, "globalTransfer", copyArg(sourceDir,filename, targetDir,targetName));
     }
     
@@ -246,7 +244,6 @@ public class UCB
     
     public Object getContent(String path) throws Exception
     {
-        //System.out.println("Getting Content for : " + path);
         XContentIdentifier id = UnoRuntime.queryInterface(XContentIdentifierFactory.class, ucb).createContentIdentifier(path);
           
         return UnoRuntime.queryInterface(
diff --git a/wizards/com/sun/star/wizards/common/XMLHelper.java b/wizards/com/sun/star/wizards/common/XMLHelper.java
index 9186d80..5a49b28 100644
--- a/wizards/com/sun/star/wizards/common/XMLHelper.java
+++ b/wizards/com/sun/star/wizards/common/XMLHelper.java
@@ -25,10 +25,6 @@ package com.sun.star.wizards.common;
 
 import org.w3c.dom.*;
 
-/**
- *
- * @author  rpiterman
- */
 public class XMLHelper
 {
 
diff --git a/wizards/com/sun/star/wizards/common/XMLProvider.java b/wizards/com/sun/star/wizards/common/XMLProvider.java
index 6558365..063cb7a 100644
--- a/wizards/com/sun/star/wizards/common/XMLProvider.java
+++ b/wizards/com/sun/star/wizards/common/XMLProvider.java
@@ -25,10 +25,6 @@ package com.sun.star.wizards.common;
 
 import org.w3c.dom.Node;
 
-/**
- *
- * @author  rpiterman
- */
 public interface XMLProvider
 {
 
diff --git a/wizards/com/sun/star/wizards/db/BlindtextCreator.java b/wizards/com/sun/star/wizards/db/BlindtextCreator.java
index 6d155d0..96208c8 100644
--- a/wizards/com/sun/star/wizards/db/BlindtextCreator.java
+++ b/wizards/com/sun/star/wizards/db/BlindtextCreator.java
@@ -20,10 +20,6 @@ package com.sun.star.wizards.db;
 import com.sun.star.wizards.common.JavaTools;
 import com.sun.star.wizards.common.PropertyNames;
 
-/**
- *
- * @author  bc93774
- */
 public class BlindtextCreator
 {
 
diff --git a/wizards/com/sun/star/wizards/db/RelationController.java b/wizards/com/sun/star/wizards/db/RelationController.java
index 1eb3b12..d8ce52e 100644
--- a/wizards/com/sun/star/wizards/db/RelationController.java
+++ b/wizards/com/sun/star/wizards/db/RelationController.java
@@ -27,8 +27,6 @@ import com.sun.star.wizards.common.JavaTools;
 import com.sun.star.wizards.common.PropertyNames;
 
 /**
- * @author bc93774
- *
  * TODO To change the template for this generated type comment go to
  * Window - Preferences - Java - Code Style - Code Templates
  */
diff --git a/wizards/com/sun/star/wizards/document/DatabaseControl.java b/wizards/com/sun/star/wizards/document/DatabaseControl.java
index 21f1e7a..0a0c5cd 100644
--- a/wizards/com/sun/star/wizards/document/DatabaseControl.java
+++ b/wizards/com/sun/star/wizards/document/DatabaseControl.java
@@ -30,8 +30,6 @@ import com.sun.star.wizards.common.PropertyNames;
 import com.sun.star.wizards.db.FieldColumn;
 
 /**
- * @author Administrator
- *
  * To change the template for this generated type comment go to
  * Window>Preferences>Java>Code Generation>Code and Comments
  */
@@ -39,14 +37,10 @@ public class DatabaseControl extends Control
 {
 
     private int m_nFieldType;
-    // private int iMemofieldwidth = IIMGFIELDWIDTH;
-    // private int iMemofieldheight = -1;
-    // private FieldColumn m_FieldColumn;
 
     public DatabaseControl(GridControl _oGridControl, FieldColumn _curfieldcolumn)
     {
         super();
-        // m_FieldColumn = _curfieldcolumn;
         if (_curfieldcolumn.getFieldType() != DataType.TIMESTAMP)
         {
             createGridColumn(_oGridControl, _curfieldcolumn, _curfieldcolumn.getFieldType(), _curfieldcolumn.getFieldTitle());
@@ -56,7 +50,6 @@ public class DatabaseControl extends Control
     public DatabaseControl(GridControl _oGridControl, FieldColumn _curfieldcolumn, int _fieldtype, String _columntitle)
     {
         super();
-        // m_FieldColumn = _curfieldcolumn;
         createGridColumn(_oGridControl, _curfieldcolumn, _fieldtype, _columntitle);
     }
 
@@ -150,14 +143,12 @@ public class DatabaseControl extends Control
     {
         if (getControlType() == FormHandler.SOIMAGECONTROL)
         {
-            // return oFormHandler.getImageControlHeight();
             return oFormHandler.getControlReferenceHeight() * 4;
         }
         else
         {
             if (getFieldType() == DataType.LONGVARCHAR)
             {
-                // Helper.setUnoPropertyValue(xControlModel, PropertyNames.PROPERTY_MULTILINE, Boolean.TRUE);
                 return oFormHandler.getControlReferenceHeight() * 4;
             }
             else if (getControlType() == FormHandler.SOCHECKBOX)
@@ -199,21 +190,6 @@ public class DatabaseControl extends Control
             if (getControlType() == FormHandler.SONUMERICCONTROL)
             {
                 xPropertySet.setPropertyValue("TreatAsNumber", Boolean.TRUE);
-                // Math.
-                // 2^63 - 1 = 9223372036854775807
-                // int nIntMax = 0x7fffffff;
-                // int nIntMin = -0x80000000;
-                // long nLongMax = nIntMax;
-                // nLongMax <<= (4*4);
-                // nLongMax |= 0xffff;
-                // nLongMax <<= (4*4);
-                // nLongMax |= 0xffff;
-
-                // long nLongMin = nIntMin;
-                // nLongMin <<= (8*4);
-
-                // long nLong2 = (long)9223372036854775807;
-
                 switch (getFieldType())
                 {
                     case DataType.BIGINT:
@@ -240,9 +216,6 @@ public class DatabaseControl extends Control
                         break;
                 }
             }
-            // else if (getControlType() == FormHandler.SOTEXTBOX)
-            // {     // com.sun.star.sdbc.DataType.CHAR, com.sun.star.sdbc.DataType.VARCHAR, com.sun.star.sdbc.DataType.LONGVARCHAR
-            // }
             else if (getControlType() == FormHandler.SOIMAGECONTROL)
             {
                 xPropertySet.setPropertyValue("ScaleMode", com.sun.star.awt.ImageScaleMode.Isotropic);
diff --git a/wizards/com/sun/star/wizards/document/Shape.java b/wizards/com/sun/star/wizards/document/Shape.java
index bbb7932..93f0606 100644
--- a/wizards/com/sun/star/wizards/document/Shape.java
+++ b/wizards/com/sun/star/wizards/document/Shape.java
@@ -31,8 +31,6 @@ import com.sun.star.uno.UnoRuntime;
 import com.sun.star.wizards.common.Helper;
 
 /**
- * @author Administrator
- *
  * To change the template for this generated type comment go to
  * Window>Preferences>Java>Code Generation>Code and Comments
  */
diff --git a/wizards/com/sun/star/wizards/form/FormConfiguration.java b/wizards/com/sun/star/wizards/form/FormConfiguration.java
index aac5951..bc372e2 100644
--- a/wizards/com/sun/star/wizards/form/FormConfiguration.java
+++ b/wizards/com/sun/star/wizards/form/FormConfiguration.java
@@ -30,8 +30,6 @@ import com.sun.star.wizards.ui.WizardDialog;
 import com.sun.star.wizards.db.RelationController;
 
 /**
- * @author Administrator
- *
  * To change the template for this generated type comment go to
  * Window>Preferences>Java>Code Generation>Code and Comments
  */
@@ -124,10 +122,6 @@ public class FormConfiguration
         CurUnoDialog.insertInfoImage(97, 120, ISubFormStep.intValue());
     }
 
-    // public void disableSubFormCheckBox()
-    // {
-    //     Helper.setUnoPropertyValue(UnoDialog.getModel(chkcreateSubForm), PropertyNames.PROPERTY_ENABLED, Boolean.FALSE);
-    // }
 
     public RelationController getRelationController()
     {
diff --git a/wizards/com/sun/star/wizards/query/CallQueryWizard.java b/wizards/com/sun/star/wizards/query/CallQueryWizard.java
index e25cb8e..5ddd437 100644
--- a/wizards/com/sun/star/wizards/query/CallQueryWizard.java
+++ b/wizards/com/sun/star/wizards/query/CallQueryWizard.java
@@ -26,7 +26,6 @@ import com.sun.star.wizards.common.PropertyNames;
 
 /** This class capsulates the class, that implements the minimal component, a
  * factory for creating the service (<CODE>__getServiceFactory</CODE>).
- * @author Bertram Nolte
  */
 public class CallQueryWizard
 {
@@ -57,10 +56,8 @@ public class CallQueryWizard
     public static class QueryWizardImplementation extends com.sun.star.lib.uno.helper.PropertySet implements com.sun.star.lang.XInitialization, com.sun.star.lang.XServiceInfo, com.sun.star.task.XJobExecutor
     {
         private PropertyValue[] m_wizardContext;
-        // <properties>
         public String           Command;
         public final Integer    CommandType = com.sun.star.sdb.CommandType.QUERY;
-        // </properties>
 
         /** The constructor of the inner class has a XMultiServiceFactory parameter.
          * @param i_serviceFactory A special service factory could be introduced while initializing.
diff --git a/wizards/com/sun/star/wizards/report/CallReportWizard.java b/wizards/com/sun/star/wizards/report/CallReportWizard.java
index d64468a..4f284a0 100644
--- a/wizards/com/sun/star/wizards/report/CallReportWizard.java
+++ b/wizards/com/sun/star/wizards/report/CallReportWizard.java
@@ -29,34 +29,12 @@ import java.util.logging.Logger;
 
 /** This class capsulates the class, that implements the minimal component, a
  * factory for creating the service (<CODE>__getServiceFactory</CODE>).
- * @author Bertram Nolte
  */
 public class CallReportWizard
 {
 
     static boolean bWizardstartedalready;
 
-/*    public static void main(String args[])
-    {
-        String ConnectStr = "uno:pipe,name=fs93730;urp;StarOffice.ServiceManager";
-        try
-        {
-            XMultiServiceFactory orb = Desktop.connect(ConnectStr);
-            if ( orb != null )
-            {
-                PropertyValue[] curproperties = new PropertyValue[1];
-                curproperties[0] = Properties.createProperty("DataSourceName", "countries");
-
-                ReportWizard wizard = new ReportWizard( orb, curproperties );
-                wizard.startReportWizard();
-            }
-        }
-        catch (java.lang.Exception jexception)
-        {
-            jexception.printStackTrace(System.err);
-        }
-    }*/
-
     /** Gives a factory for creating the service.
      * This method is called by the <code>JavaLoader</code>
      * <p>
@@ -152,7 +130,6 @@ public class CallReportWizard
         {
             this.m_wizardContext = Properties.convertToPropertyValueArray(object);
 
-        //    xmultiservicefactory = (XMultiservicefactory) UnoRuntime.queryInterface(XMultiServiceFactory.class, object[0]);
         }
 
         /** This method returns an array of all supported service names.
diff --git a/wizards/com/sun/star/wizards/report/IReportBuilderLayouter.java b/wizards/com/sun/star/wizards/report/IReportBuilderLayouter.java
index 2381b1b..3285f65 100644
--- a/wizards/com/sun/star/wizards/report/IReportBuilderLayouter.java
+++ b/wizards/com/sun/star/wizards/report/IReportBuilderLayouter.java
@@ -20,7 +20,6 @@ package com.sun.star.wizards.report;
 /**
  * This Interface separate the ReportBuilderImplementation from the layout.
  * Only these less methods are allowed to access from the ReportBuilderImplementation.
- * @author ll93751
  */
 public interface IReportBuilderLayouter
 {
diff --git a/wizards/com/sun/star/wizards/report/IReportDefinitionReadAccess.java b/wizards/com/sun/star/wizards/report/IReportDefinitionReadAccess.java
index cb4e7ae..b365a06 100644
--- a/wizards/com/sun/star/wizards/report/IReportDefinitionReadAccess.java
+++ b/wizards/com/sun/star/wizards/report/IReportDefinitionReadAccess.java
@@ -24,7 +24,6 @@ import com.sun.star.report.XReportDefinition;
  * This interface contains only one function to give access to the ReportDefinition.
  * The ReportDefinition will be initialized very late, late after the ReportLayouters.
  * So we need this interface for the late access.
- * @author ll93751
  */
 public interface IReportDefinitionReadAccess
 {
diff --git a/wizards/com/sun/star/wizards/report/IReportDocument.java b/wizards/com/sun/star/wizards/report/IReportDocument.java
index 02c41da..18e7cfe 100644
--- a/wizards/com/sun/star/wizards/report/IReportDocument.java
+++ b/wizards/com/sun/star/wizards/report/IReportDocument.java
@@ -27,8 +27,6 @@ import java.util.ArrayList;
 /**
  * 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
 {
@@ -121,7 +119,6 @@ public interface IReportDocument
     public boolean liveupdate_addGroupNametoDocument(String[] GroupNames, String CurGroupTitle, ArrayList<String> GroupFieldVector, ArrayList<String> ReportPath, int iSelCount);
 
     public void refreshGroupFields(String[] _sNewNames);
-    // public boolean isGroupField(String _FieldName);
     /**
      * Called by press ('less then') Removes an already set Groupname out of the list
      * @param NewSelGroupNames
diff --git a/wizards/com/sun/star/wizards/report/ReportImplementationHelper.java b/wizards/com/sun/star/wizards/report/ReportImplementationHelper.java
index 33f49da..3160074 100644
--- a/wizards/com/sun/star/wizards/report/ReportImplementationHelper.java
+++ b/wizards/com/sun/star/wizards/report/ReportImplementationHelper.java
@@ -20,10 +20,6 @@ package com.sun.star.wizards.report;
 import com.sun.star.lang.XMultiServiceFactory;
 import com.sun.star.wizards.db.RecordParser;
 
-/**
- *
- * @author ll93751
- */
 public class ReportImplementationHelper
 {
 
@@ -32,7 +28,6 @@ public class ReportImplementationHelper
     protected int m_nDefaultPageOrientation;
 
     /**
-     * 
      * @param _aMSF
      * @param _nOrientation 
      */
diff --git a/wizards/com/sun/star/wizards/report/ReportTextImplementation.java b/wizards/com/sun/star/wizards/report/ReportTextImplementation.java
index 93f0523..9ac60be 100644
--- a/wizards/com/sun/star/wizards/report/ReportTextImplementation.java
+++ b/wizards/com/sun/star/wizards/report/ReportTextImplementation.java
@@ -52,10 +52,6 @@ import java.util.ArrayList;
 import java.util.logging.Level;
 import java.util.logging.Logger;
 
-/**
- *
- * @author ll93751
- */
 public class ReportTextImplementation extends ReportImplementationHelper implements IReportDocument
 {
 
@@ -334,7 +330,6 @@ public class ReportTextImplementation extends ReportImplementationHelper impleme
             DBColumn CurDBColumn;
             Object CurGroupValue;
             String CurGroupTableName;
-//                RecordParser CurDBMetaData = getRecordParser();
             getDoc().oTextFieldHandler.fixDateFields(true);
             getDoc().removeAllVisibleTextSections();
             getDoc().removeNonLayoutTextTables();
@@ -365,11 +360,9 @@ public class ReportTextImplementation extends ReportImplementationHelper impleme
                 }
                 if (getRecordParser().getcurrentRecordData(DataVector))
                 {
-                    // int RowIndex = 1;
                     m_bStopProcess = false;
                     while ((getRecordParser().ResultSet.next()) && (!m_bStopProcess))
                     {
-                        // RowIndex += 1;
                         breset = false;
                         for (ColIndex = 0; ColIndex < GroupFieldCount; ColIndex++)
                         {
@@ -385,7 +378,6 @@ public class ReportTextImplementation extends ReportImplementationHelper impleme
                             }
                         }
                         getRecordParser().getcurrentRecordData(DataVector);
-                    // updateProgressDisplay(RowIndex);
                     }
                     insertDataToRecordTable(xTextCursor, DataVector, RecordFieldCount);
                 }
@@ -418,10 +410,6 @@ public class ReportTextImplementation extends ReportImplementationHelper impleme
         {
             Logger.getLogger( ReportTextImplementation.class.getName() ).log( Level.SEVERE, null, ex );
         }
-//            catch (java.lang.Exception javaexception) 
-//            {
-//                javaexception.printStackTrace(System.err);
-//            }
         getDoc().unlockallControllers();
         getDoc().setLayoutSectionsVisible(false);
         getDoc().removeCopiedTextSections();
@@ -446,22 +434,6 @@ public class ReportTextImplementation extends ReportImplementationHelper impleme
         }
         DataVector.clear();
     }
-//    public void updateProgressDisplay(int iCounter) 
-//        {
-//            try 
-//            {
-//                if (iCounter % 10 == 0) 
-//                {
-//                    sProgressCurRecord = JavaTools.replaceSubString(sProgressBaseCurRecord, String.valueOf(iCounter), "<COUNT>");
-//                    setControlProperty("lblCurProgress", PropertyNames.PROPERTY_LABEL, sProgressCurRecord);
-//                    super.xReschedule.reschedule();
-//                }
-//            } 
-//            catch (java.lang.Exception jexception) 
-//            {
-//                jexception.printStackTrace(System.err);
-//            }
-//        }
     private void replaceUserFields()
     {
         DBColumn CurDBColumn;
@@ -495,7 +467,6 @@ public class ReportTextImplementation extends ReportImplementationHelper impleme
     public void store(String _sName, int _nOpenMode) throws com.sun.star.uno.Exception
     {
         getDoc().createReportForm(ReportWizard.SOREPORTFORMNAME);
-        // int nOpenMode = getReportOpenMode();
         getDoc().oTextFieldHandler.updateDateFields();
         getDoc().oTextFieldHandler.fixDateFields(false);
         if ((_nOpenMode == ReportFinalizer.SOCREATETEMPLATE || _nOpenMode == ReportFinalizer.SOUSETEMPLATE))
@@ -515,10 +486,6 @@ public class ReportTextImplementation extends ReportImplementationHelper impleme
         getDoc().refreshGroupFields(_sNewNames);
     }
 
-    // public boolean isGroupField(String _FieldName)
-    // {
-    //    return getDoc().isGroupField(_FieldName);
-    // }
     public void liveupdate_removeGroupName(String[] NewSelGroupNames, String CurGroupTitle, ArrayList<String> GroupFieldVector)
     {
         getDoc().removeGroupName(NewSelGroupNames, CurGroupTitle, GroupFieldVector);
@@ -540,7 +507,6 @@ public class ReportTextImplementation extends ReportImplementationHelper impleme
         {
             throw new com.sun.star.lang.IllegalArgumentException("Unknown Orientation.");
         }
-    // CurReportDocument.getDoc().unlockallControllers();
     }
 
     public void liveupdate_changeLayoutTemplate(String LayoutTemplatePath/*, String BitmapPath*/)
@@ -636,7 +602,6 @@ public class ReportTextImplementation extends ReportImplementationHelper impleme
             try
             {
                 m_aReportPath = FileAccess.getOfficePaths(getMSF(), "Template", "share", "/wizard");
-                // m_sReportPath = FileAccess.combinePaths(getMSF(), m_sReportPath, "/wizard/report");
                 FileAccess.combinePaths(getMSF(), m_aReportPath, "/wizard/report");
             }
             catch (Exception e)
@@ -687,7 +652,6 @@ public class ReportTextImplementation extends ReportImplementationHelper impleme
         String[][] ContentFiles;
         try
         {
-//                    ContentFiles = FileAccess.getFolderTitles(m_xMSF, "cnt", CurReportDocument.getReportPath());
             ContentFiles = FileAccess.getFolderTitles(getMSF(), "cnt", getReportPath());
             exchangeContentTitlesWithLocalisedOnes(ContentFiles);
         }
@@ -709,7 +673,6 @@ public class ReportTextImplementation extends ReportImplementationHelper impleme
         String[][] LayoutFiles;
         try
         {
-//                    LayoutFiles = FileAccess.getFolderTitles(m_xMSF, "stl", CurReportDocument.getReportPath());
             LayoutFiles = FileAccess.getFolderTitles(getMSF(), "stl", getReportPath());
             exchangeLayoutTitlesWithLocalisedOnes(LayoutFiles);
         }
diff --git a/wizards/com/sun/star/wizards/reportbuilder/ReportBuilderImplementation.java b/wizards/com/sun/star/wizards/reportbuilder/ReportBuilderImplementation.java
index 5ecc5d3..3a8e55e 100644
--- a/wizards/com/sun/star/wizards/reportbuilder/ReportBuilderImplementation.java
+++ b/wizards/com/sun/star/wizards/reportbuilder/ReportBuilderImplementation.java
@@ -61,8 +61,6 @@ import java.util.logging.Logger;
 /**
  * This class use the IReportDocument Interface to communicate between the UI
  * and the ReportBuilderLayouter which communicates to the new Sun Report Builder.
- *
- * @author ll93751
  */
 public class ReportBuilderImplementation extends ReportImplementationHelper
         implements IReportDocument, IReportDefinitionReadAccess
@@ -99,7 +97,6 @@ public class ReportBuilderImplementation extends ReportImplementationHelper
         return UnoRuntime.queryInterface(XWindowPeer.class, getFrame().getComponentWindow());
     }
     private XFrame m_xFrame = null;
-    // private ReportBuilderLayouter m_aReportBuilderLayouter = null;
     private String m_sReportBuilderLayoutName = PropertyNames.EMPTY_STRING;
 
     /**
diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/ColumnarSingleColumn.java b/wizards/com/sun/star/wizards/reportbuilder/layout/ColumnarSingleColumn.java
index 89f155f..ac16608 100644
--- a/wizards/com/sun/star/wizards/reportbuilder/layout/ColumnarSingleColumn.java
+++ b/wizards/com/sun/star/wizards/reportbuilder/layout/ColumnarSingleColumn.java
@@ -23,10 +23,6 @@ import com.sun.star.wizards.common.Resource;
 import com.sun.star.wizards.report.IReportDefinitionReadAccess;
 import com.sun.star.wizards.ui.UIConsts;
 
-/**
- *
- * @author ll93751
- */
 public class ColumnarSingleColumn extends ReportBuilderLayouter
 {
 
@@ -59,7 +55,6 @@ public class ColumnarSingleColumn extends ReportBuilderLayouter
         {
             return;
         }
-//        int nGroups = getReportDefinition().getGroups().getCount();
 
         final XSection xSection = getReportDefinition().getDetail();
 
diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/ColumnarThreeColumns.java b/wizards/com/sun/star/wizards/reportbuilder/layout/ColumnarThreeColumns.java
index ae8ade6..82281f5 100644
--- a/wizards/com/sun/star/wizards/reportbuilder/layout/ColumnarThreeColumns.java
+++ b/wizards/com/sun/star/wizards/reportbuilder/layout/ColumnarThreeColumns.java
@@ -21,10 +21,6 @@ import com.sun.star.wizards.common.Resource;
 import com.sun.star.wizards.report.IReportDefinitionReadAccess;
 import com.sun.star.wizards.ui.*;
 
-/**
- *
- * @author ll93751
- */
 public class ColumnarThreeColumns extends ColumnarTwoColumns
 {
 
diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/ColumnarTwoColumns.java b/wizards/com/sun/star/wizards/reportbuilder/layout/ColumnarTwoColumns.java
index e045b85..e75eefc 100644
--- a/wizards/com/sun/star/wizards/reportbuilder/layout/ColumnarTwoColumns.java
+++ b/wizards/com/sun/star/wizards/reportbuilder/layout/ColumnarTwoColumns.java
@@ -23,10 +23,6 @@ import com.sun.star.wizards.common.Resource;
 import com.sun.star.wizards.report.IReportDefinitionReadAccess;
 import com.sun.star.wizards.ui.UIConsts;
 
-/**
- *
- * @author ll93751
- */
 public class ColumnarTwoColumns extends ReportBuilderLayouter
 {
 
@@ -68,7 +64,6 @@ public class ColumnarTwoColumns extends ReportBuilderLayouter
         {
             return;
         }
-//        int nGroups = getReportDefinition().getGroups().getCount();
 
         final XSection xSection = getReportDefinition().getDetail();
 
diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/DesignTemplate.java b/wizards/com/sun/star/wizards/reportbuilder/layout/DesignTemplate.java
index cecadae..c626dcd 100644
--- a/wizards/com/sun/star/wizards/reportbuilder/layout/DesignTemplate.java
+++ b/wizards/com/sun/star/wizards/reportbuilder/layout/DesignTemplate.java
@@ -18,9 +18,6 @@
 package com.sun.star.wizards.reportbuilder.layout;
 
 import com.sun.star.beans.PropertyValue;
-// import com.sun.star.container.NoSuchElementException;
-// import com.sun.star.lang.IndexOutOfBoundsException;
-// import com.sun.star.lang.WrappedTargetException;
 import com.sun.star.lang.XMultiServiceFactory;
 import com.sun.star.report.XFixedText;
 import com.sun.star.report.XFormattedField;
@@ -32,10 +29,6 @@ import com.sun.star.uno.UnoRuntime;
 import com.sun.star.wizards.common.Properties;
 import com.sun.star.wizards.common.PropertyNames;
 
-/**
- *
- * @author ll93751
- */
 public class DesignTemplate
 {
 
diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/InBlocksLabelsAbove.java b/wizards/com/sun/star/wizards/reportbuilder/layout/InBlocksLabelsAbove.java
index 6f859ef..00319ce 100644
--- a/wizards/com/sun/star/wizards/reportbuilder/layout/InBlocksLabelsAbove.java
+++ b/wizards/com/sun/star/wizards/reportbuilder/layout/InBlocksLabelsAbove.java
@@ -23,10 +23,6 @@ import com.sun.star.wizards.common.Resource;
 import com.sun.star.wizards.report.IReportDefinitionReadAccess;
 import com.sun.star.wizards.ui.*;
 
-/**
- *
- * @author ll93751
- */
 public class InBlocksLabelsAbove extends ColumnarTwoColumns
 {
 
@@ -59,7 +55,6 @@ public class InBlocksLabelsAbove extends ColumnarTwoColumns
         {
             return;
         }
-//        int nGroups = getReportDefinition().getGroups().getCount();
 
         final XSection xSection = getReportDefinition().getDetail();
 
@@ -71,7 +66,6 @@ public class InBlocksLabelsAbove extends ColumnarTwoColumns
 
         int i = 0;
         int nCount = aFieldTitleNames.length;
-        // int x = 0;
         aRectLabels.Y = 0;
         aRectLabels.X = getLeftPageIndent() + getLeftGroupIndent(getCountOfGroups());
 
@@ -83,11 +77,7 @@ public class InBlocksLabelsAbove extends ColumnarTwoColumns
         int nFieldWidth = 3000;
         while (nCount > 0)
         {
-            // String sLabel = aFieldTitleNames[i];
-            // int nLabelWidth = 3000;
-            // String sFieldName = convertToFieldName(aFieldNames[i]);
             aRectFields.X += nFieldWidth;
-            // aRectLabels.X += nFieldWidth;
 
             final int nNextX = aRectFields.X + nFieldWidth;
             if (nNextX > (getPageWidth() - getRightPageIndent()))
diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/InBlocksLabelsLeft.java b/wizards/com/sun/star/wizards/reportbuilder/layout/InBlocksLabelsLeft.java
index 184c1b7..f7fef36 100644
--- a/wizards/com/sun/star/wizards/reportbuilder/layout/InBlocksLabelsLeft.java
+++ b/wizards/com/sun/star/wizards/reportbuilder/layout/InBlocksLabelsLeft.java
@@ -24,10 +24,6 @@ import com.sun.star.wizards.common.Resource;
 import com.sun.star.wizards.report.IReportDefinitionReadAccess;
 import com.sun.star.wizards.ui.*;
 
-/**
- *
- * @author ll93751
- */
 public class InBlocksLabelsLeft extends ColumnarTwoColumns
 {
 
@@ -60,7 +56,6 @@ public class InBlocksLabelsLeft extends ColumnarTwoColumns
         {
             return;
         }
-//        int nGroups = getReportDefinition().getGroups().getCount();
 
         final XSection xSection = getReportDefinition().getDetail();
 
@@ -82,7 +77,6 @@ public class InBlocksLabelsLeft extends ColumnarTwoColumns
 
         int i = 0;
         int nCount = aFieldTitleNames.length;
-        // int x = 0;
         aRectLabelFields.Y = 0;
         aRectLabelFields.X = getLeftPageIndent() + getLeftGroupIndent(getCountOfGroups());
 
@@ -93,7 +87,6 @@ public class InBlocksLabelsLeft extends ColumnarTwoColumns
         while (nCount > 0)
         {
             final String sLabel = aFieldTitleNames[i];
-//            nLabelWidth = 3000;
             aRectLabelFields = insertLabel(xSection, sLabel, aRectLabelFields, nLabelWidth, aSOLabel);
             final String sFieldName = convertToFieldName(aFieldNames[i]);
             nFieldWidth = 3000 + nDelta;
diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/LayoutConstants.java b/wizards/com/sun/star/wizards/reportbuilder/layout/LayoutConstants.java
index cc52476..9b294a1 100644
--- a/wizards/com/sun/star/wizards/reportbuilder/layout/LayoutConstants.java
+++ b/wizards/com/sun/star/wizards/reportbuilder/layout/LayoutConstants.java
@@ -18,10 +18,6 @@
 
 package com.sun.star.wizards.reportbuilder.layout;
 
-/**
- *
- * @author ll93751
- */
 public class LayoutConstants
 {
     public static final int LabelHeight = 500;
diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/ReportBuilderLayouter.java b/wizards/com/sun/star/wizards/reportbuilder/layout/ReportBuilderLayouter.java
index a697dde..a7c6b8f 100644
--- a/wizards/com/sun/star/wizards/reportbuilder/layout/ReportBuilderLayouter.java
+++ b/wizards/com/sun/star/wizards/reportbuilder/layout/ReportBuilderLayouter.java
@@ -67,7 +67,6 @@ import java.util.logging.Logger;
 
 /**
  * This class is abstract and more like a helper for create different layouts for Report Builder Wizard.
- * @author ll93751
  */// TODO: let a little bit place between 2 formatted fields
 // TODO: move all sectionobjects which have a connect to the right max page width to left if there is a orientation change.
 abstract public class ReportBuilderLayouter implements IReportBuilderLayouter
@@ -84,7 +83,6 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter
     {
         closeDesignTemplate();
         m_xReportDefinitionReadAccess = null;
-        // m_xReportBuilderLayouter = null;
     }
 
     /**
@@ -144,7 +142,6 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter
             int lastGroupPostion = insertGroups();
 
             clearDetails();
-            // clearFieldTitles();
             insertDetailFieldTitles(lastGroupPostion);
             insertDetailFields();
         }
@@ -169,7 +166,6 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter
     protected void clearGroups()
     {
         final XGroups xGroups = getReportDefinition().getGroups();
-//        int nCount = xGroups.getCount();
         while (xGroups.hasElements())
         {
             try
@@ -194,7 +190,6 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter
         {
             return;
         }
-        //      int nCount = _xSectionToClear.getCount();
         while (_xSectionToClear.hasElements())
         {
             try
@@ -216,12 +211,8 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter
         final XSection xSection = getReportDefinition().getDetail();
         emptySection(xSection);
     }
-//    public void clearFieldTitles()
-//    {
-//    }
 
     /**
-     * 
      * @param _nGroupCount
      * @return the left indent in 1/100mm
      */
@@ -281,10 +272,6 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter
         final XNameAccess xNameAccess = getReportDefinition().getStyleFamilies();
         try
         {
-            // <Analysecode>
-            // String[] aNames = xNameAccess.getElementNames();
-            // </Analysecode>
-
             // get all Page Styles
             final Object aPageStylesObj = xNameAccess.getByName(_sStyleName);
             final XNameAccess xContainer = UnoRuntime.queryInterface(XNameAccess.class, aPageStylesObj);
@@ -533,7 +520,7 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter
      */
     protected String[] getNamesWithoutGroupNames(String[] _aList, String[] _aGetResultFrom)
     {
-        if (_aList == null /* || _aGetResultsFrom == null */)
+        if (_aList == null)
         {
             return new String[]
                     {
@@ -793,12 +780,9 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter
                             || nType == DataType.VARBINARY
                             || nType == DataType.LONGVARBINARY)
                     {
-                        // aField = getMSFofReportDefinition().createInstance("com.sun.star.report.ImageControl");
                         final XImageControl xImageControl = UnoRuntime.queryInterface(XImageControl.class, xReportControlModel);
                         if (xImageControl != null)
                         {
-                            // xImageControl.setScaleImage(true);
-
                             xImageControl.setScaleMode(com.sun.star.awt.ImageScaleMode.Isotropic);
                         }
                     }
@@ -807,10 +791,6 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter
                         try
                         {
                             xReportControlModel.setParaAdjust(_nAlignment);
-                            // if (nType == DataType.LONGVARCHAR)
-                            // {
-                            //     xReportControlModel.???
-                            // }
                         }
                         catch (com.sun.star.beans.UnknownPropertyException ex)
                         {
@@ -851,7 +831,6 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter
         m_aCommandType = _aType;
         m_sTableName = _sTableName;
 
-        // getReportDefinition().setCommandType(com.sun.star.sdb.CommandType.TABLE);
         getReportDefinition().setCommandType(_aType);
         getReportDefinition().setCommand(_sTableName);
     }    // -------------------------------------------------------------------------
@@ -1025,46 +1004,6 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter
         }
     }
 
-//    protected static String getDateString(String _sFormat)
-//        {
-//            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) );
-//            // DebugHelper.writeInfo("Date: " + aBuf.toString());
-//            return aBuf.toString();
-//    }
-//    protected String getCurrentDate()
-//    {
-//        Calendar aCalendar = Calendar.getInstance();
-////        aCalendar.setTimeInMillis(1202382900000L);
-////        aCalendar.
-//        Date aDate = new Date();
-//        String sDate = DateFormat.getDateInstance().format(aDate);
-//        // String aCalStr = aCalendar.toString();
-//        return sDate;
-//        //
-////        Date aDate = new Date();
-////        aDate.setSeconds(0);
-////        aDate.setMinutes(15);
-////        aDate.setHours(12);
-////        // aDate.setMonth(2);
-////        // aDate.setYear(2008);
-////        // aDate.setDay(7);
-////        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()
     {
         XSection xSection;
@@ -1122,19 +1061,14 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter
         Size aSizeMM_100TH = new Size(0, 0);
         try
         {
-            // Object aControlContainer = getGlobalMSF().createInstance("com.sun.star.awt.UnoControlContainer");
-            // XControlContainer xControlContainer = (XControlContainer)UnoRuntime.queryInterface(XControlContainer.class, aControlContainer);
 
             final Object aFixedTextModel = getGlobalMSF().createInstance("com.sun.star.awt.UnoControlFixedTextModel");
             final XControlModel xFixedTextModel = UnoRuntime.queryInterface(XControlModel.class, aFixedTextModel);
 
             final PropertySetHelper aPropertySetHelper = new PropertySetHelper(xFixedTextModel);
-//          aPropertySetHelper.showProperties();
             aPropertySetHelper.setPropertyValueDontThrow(PropertyNames.FONT_DESCRIPTOR, _aFont);
 
             final Object aUnoCtrlFixedText = getGlobalMSF().createInstance("com.sun.star.awt.UnoControlFixedText");
-//            XServiceInfo xServiceInfo2 = (XServiceInfo)UnoRuntime.queryInterface(XServiceInfo.class, aUnoCtrlFixedText);
-//            String[] sServices2 = xServiceInfo2.getSupportedServiceNames();
 
             final XWindow xWindow = UnoRuntime.queryInterface(XWindow.class, aUnoCtrlFixedText);
             xWindow.setVisible(false);
@@ -1155,10 +1089,6 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter
 
             final XUnitConversion xConversion = UnoRuntime.queryInterface(XUnitConversion.class, x);
             aSizeMM_100TH = xConversion.convertSizeToLogic(aSizeInPixel, com.sun.star.util.MeasureUnit.MM_100TH);
-            // xToolkit.createScreenCompatibleDevice(_nWidth, _nWidth).
-            // XWindow x = getReportDefinition().getCurrentController().getFrame().getContainerWindow();
-            // Object aObj = _xSection.getParent();
-
             // we don't need the created objects any longer
             final XComponent xFixedTextDeleter = UnoRuntime.queryInterface(XComponent.class, xFixedText);
             xFixedTextDeleter.dispose();
@@ -1251,7 +1181,6 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter
                 Object aEnumObj = xEnum.nextElement();
                 XReportComponent aComponent = UnoRuntime.queryInterface(XReportComponent.class, aEnumObj);
 
-                // XCloneable aClone = (XCloneable)UnoRuntime.queryInterface(XCloneable.class, aEnumObj);
                 if (aComponent != null)
                 {
                     Object aClone = aComponent.createClone();
@@ -1274,8 +1203,6 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter
         {
             Logger.getLogger(ReportBuilderLayouter.class.getName()).log(Level.SEVERE, null, e);
         }
-        // String sName = xForeignSection.getName();
-        // int dummy = 0;
     }
 
     protected void insertPageHeader()
@@ -1324,10 +1251,10 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter
             final String sTitleTitle = getResource().getResText(UIConsts.RID_REPORT + 86); // "Title:"
             final String sTitle = getTableName(); // "Default title, this is a first draft report generated by the new report wizard.";
             final String sAuthorTitle = getResource().getResText(UIConsts.RID_REPORT + 87); // "Author:"
-            final String sAuthor = getUserNameFromConfiguration(); // "You";     // rpt:fieldvalue();
+            final String sAuthor = getUserNameFromConfiguration(); // "You";
             final String sDateTitle = getResource().getResText(UIConsts.RID_REPORT + 88); // "Date:"
             // TODO: #i86911# Date: we need to set the style of the date.
-            final String sDate = "rpt:now()"; // getDateString("EEE, d MMM yyyy HH:mm:ss zzzz");
+            final String sDate = "rpt:now()";
 
             try
             {
@@ -1346,21 +1273,18 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter
                 aRect = insertLabel(xSection, sTitleTitle, aRect, nWidth, aSOLabel);
 
                 final int nTitleWidth = getPageWidth() - getLeftPageIndent() - getRightPageIndent() - 3000;
-                // aRect = insertFormattedField(xSection, "rpt:Title()", aRect, nTitleWidth);
                 aRect = insertLabel(xSection, sTitle, aRect, nTitleWidth, aSOLabel);
 
                 aRect.Y += aSOLabel.getHeight(LayoutConstants.LabelHeight) + LayoutConstants.LineHeight;
 
                 aRect.X = getLeftPageIndent();
                 aRect = insertLabel(xSection, sAuthorTitle, aRect, nWidth, aSOLabel);
-                // aRect = insertFormattedField(xSection, "rpt:Author()", aRect, nWidth);
                 aRect = insertLabel(xSection, sAuthor, aRect, nTitleWidth, aSOLabel);
 
                 aRect.Y += aSOLabel.getHeight(LayoutConstants.LabelHeight);
 
                 aRect.X = getLeftPageIndent();
                 aRect = insertLabel(xSection, sDateTitle, aRect, nWidth, aSOLabel);
-                // aRect = insertFormattedField(xSection, "rpt:Date()", aRect, nWidth);
                 aRect = insertFormattedField(xSection, sDate, aRect, nTitleWidth, aSOLabel);
 
                 aRect.Y += aSOLabel.getHeight(LayoutConstants.FormattedFieldHeight) + LayoutConstants.LineHeight;
@@ -1408,7 +1332,6 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter
             }
             else
             {
-                // getReportDefinition().setPageFooterOn(true);
                 getReportDefinition().setPageFooterOn(false);
             }
         }
@@ -1484,7 +1407,6 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter
     protected String[] m_aFieldTitleNames;
     protected int[] m_aFieldWidths;
     protected int[] m_aFieldTypes;
-    // protected int[]    m_nLeftIndent;
     private DesignTemplate m_xDesignTemplate = null;
 
     public void initializeData(IReportBuilderLayouter _aOther)
@@ -1499,7 +1421,6 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter
             m_aFieldTitleNames = aOther.m_aFieldTitleNames;
             m_aFieldWidths = aOther.m_aFieldWidths;
             m_aFieldTypes = aOther.m_aFieldTypes;
-            // m_nLeftIndent = aOther.m_nLeftIndent;
             m_xDesignTemplate = aOther.m_xDesignTemplate;
 
             // dirty PageWidth
@@ -1616,16 +1537,8 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter
 
     protected void doNotBreakInTable(Object _xSectionOrGroup)
     {
-//         try
-//         {
-//            _xSection.setKeepTogether(true);
         final PropertySetHelper aHelper = new PropertySetHelper(_xSectionOrGroup);
         aHelper.setPropertyValueDontThrow("KeepTogether", Boolean.TRUE);
-//        }
-//        catch (com.sun.star.uno.Exception e)
-//        {
-//            // Exception not set, but not really from interest.
-//        }
     }
 
     protected DesignTemplate getDesignTemplate()
@@ -1635,35 +1548,6 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter
             // initialise the report definition.
             String sDefaultHeaderLayout = m_xReportDefinitionReadAccess.getDefaultHeaderLayout();
             loadAndSetBackgroundTemplate(sDefaultHeaderLayout);
-
-            // copy all functions from the design template to the current report definition
-//            XFunctions xOtherFunctions = m_xDesignTemplate.getReportDefinition().getFunctions();
-//            final int nFunctionCount = xOtherFunctions.getCount();
-//            for (int i=0;i<nFunctionCount;i++)
-//            {
-//                try
-//                {
-//                    Object aOtherFunction = xOtherFunctions.getByIndex(i);
-//                    XFunctions xFunctions = getReportDefinition().getFunctions();
-//                    XFunction xFunction = xFunctions.createFunction();
-//
-//                    copyProperties(aOtherFunction, xFunction);
-//                    xFunctions.insertByIndex(xFunctions.getCount(), xFunction);
-//                }
-//                catch (com.sun.star.lang.IllegalArgumentException e)
-//                {
-//                }
-//                catch (IndexOutOfBoundsException ex)
-//                {
-//                    ex.printStackTrace();
-//                }
-//                catch (WrappedTargetException ex)
-//                {
-//                    ex.printStackTrace();
-//                }
-//                
-//            }
-
         }
         return m_xDesignTemplate;
     }
diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/SectionEmptyObject.java b/wizards/com/sun/star/wizards/reportbuilder/layout/SectionEmptyObject.java
index f81752d..27c30f8 100644
--- a/wizards/com/sun/star/wizards/reportbuilder/layout/SectionEmptyObject.java
+++ b/wizards/com/sun/star/wizards/reportbuilder/layout/SectionEmptyObject.java
@@ -19,10 +19,6 @@ package com.sun.star.wizards.reportbuilder.layout;
 
 import com.sun.star.awt.FontDescriptor;
 
-/**
- *
- * @author ll93751
- */
 public class SectionEmptyObject extends SectionObject
 {
 
diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/SectionLabel.java b/wizards/com/sun/star/wizards/reportbuilder/layout/SectionLabel.java
index d6a69a4..3797eb1 100644
--- a/wizards/com/sun/star/wizards/reportbuilder/layout/SectionLabel.java
+++ b/wizards/com/sun/star/wizards/reportbuilder/layout/SectionLabel.java
@@ -19,11 +19,7 @@ package com.sun.star.wizards.reportbuilder.layout;
 
 import com.sun.star.awt.FontDescriptor;
 import com.sun.star.report.XFixedText;
-// import com.sun.star.wizards.common.PropertySetHelper;
-/**
- *
- * @author ll93751
- */
+
 public class SectionLabel extends SectionObject
 {
 
diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/SectionObject.java b/wizards/com/sun/star/wizards/reportbuilder/layout/SectionObject.java
index c2c1c8b..de2d1cd 100644
--- a/wizards/com/sun/star/wizards/reportbuilder/layout/SectionObject.java
+++ b/wizards/com/sun/star/wizards/reportbuilder/layout/SectionObject.java
@@ -21,10 +21,6 @@ import com.sun.star.awt.FontDescriptor;
 import com.sun.star.wizards.common.PropertyNames;
 import com.sun.star.wizards.common.PropertySetHelper;
 
-/**
- *
- * @author ll93751
- */
 abstract public class SectionObject
 {
 
diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/SectionTextField.java b/wizards/com/sun/star/wizards/reportbuilder/layout/SectionTextField.java
index f8ab197..fae7d9a 100644
--- a/wizards/com/sun/star/wizards/reportbuilder/layout/SectionTextField.java
+++ b/wizards/com/sun/star/wizards/reportbuilder/layout/SectionTextField.java
@@ -20,10 +20,6 @@ package com.sun.star.wizards.reportbuilder.layout;
 import com.sun.star.awt.FontDescriptor;
 import com.sun.star.report.XFormattedField;
 
-/**
- *
- * @author ll93751
- */
 public class SectionTextField extends SectionObject
 {
 
diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/Tabular.java b/wizards/com/sun/star/wizards/reportbuilder/layout/Tabular.java
index a396aa7..fe9f4db 100644
--- a/wizards/com/sun/star/wizards/reportbuilder/layout/Tabular.java
+++ b/wizards/com/sun/star/wizards/reportbuilder/layout/Tabular.java
@@ -26,10 +26,6 @@ import com.sun.star.wizards.common.Resource;
 import com.sun.star.wizards.report.IReportDefinitionReadAccess;
 import com.sun.star.wizards.ui.UIConsts;
 
-/**
- *
- * @author ll93751
- */
 public class Tabular extends ReportBuilderLayouter
 {
 
@@ -61,7 +57,6 @@ public class Tabular extends ReportBuilderLayouter
         {
             return;
         }
-//        int nGroups = getReportDefinition().getGroups().getCount();
 
         final XSection xSection = getReportDefinition().getDetail();
 
diff --git a/wizards/com/sun/star/wizards/table/CGCategory.java b/wizards/com/sun/star/wizards/table/CGCategory.java
index f560f1e..e9d6d87 100644
--- a/wizards/com/sun/star/wizards/table/CGCategory.java
+++ b/wizards/com/sun/star/wizards/table/CGCategory.java
@@ -24,12 +24,9 @@ import com.sun.star.uno.UnoRuntime;
 import com.sun.star.wizards.common.Configuration;
 
 /**
- * @author Administrator
- *
  * To change the template for this generated type comment go to
  * Window>Preferences>Java>Code Generation>Code and Comments
  */
-// import com.sun.star.wizards.common.ConfigGroup;
 public class CGCategory
 {
 
diff --git a/wizards/com/sun/star/wizards/table/ScenarioSelector.java b/wizards/com/sun/star/wizards/table/ScenarioSelector.java
index 0ae0d5d..5d505c9 100644
--- a/wizards/com/sun/star/wizards/table/ScenarioSelector.java
+++ b/wizards/com/sun/star/wizards/table/ScenarioSelector.java
@@ -40,8 +40,6 @@ import com.sun.star.wizards.ui.UnoDialog;
 import com.sun.star.wizards.ui.XFieldSelectionListener;
 
 /**
- * @author Administrator
- *
  * To change the template for this generated type comment go to
  * Window>Preferences>Java>Code Generation>Code and Comments
  */
diff --git a/wizards/com/sun/star/wizards/ui/ButtonList.java b/wizards/com/sun/star/wizards/ui/ButtonList.java
index e04f031..504a22f 100644
--- a/wizards/com/sun/star/wizards/ui/ButtonList.java
+++ b/wizards/com/sun/star/wizards/ui/ButtonList.java
@@ -36,10 +36,6 @@ import javax.swing.ListModel;
 import javax.swing.event.ListDataEvent;
 import com.sun.star.wizards.common.HelpIds;
 
-/**
- *
- * @author  rpiterman,ll93751
- */
 public class ButtonList implements XItemEventBroadcaster, XActionListener
 {
 
@@ -70,7 +66,7 @@ public class ButtonList implements XItemEventBroadcaster, XActionListener
     private IImageRenderer renderer;
     private ListModel listModel;
     public IRenderer counterRenderer = new SimpleCounterRenderer();
-    private final static int LINE_HEIGHT = 8;    //private MethodInvocation METHOD_MOUSE_ENTER_IMAGE;
+    private final static int LINE_HEIGHT = 8;
 
     /** Getter for property m_aButtonSize.
      * @return Value of property m_aButtonSize.
@@ -93,10 +89,8 @@ public class ButtonList implements XItemEventBroadcaster, XActionListener
         this.m_aButtonSize = imageSize;
     }
 
-//    @Override
     public void disposing(EventObject arg0)
     {
-        // throw new UnsupportedOperationException("Not supported yet.");
     }
 
     public void create(UnoDialog2 dialog)
@@ -301,11 +295,9 @@ public class ButtonList implements XItemEventBroadcaster, XActionListener
                 else if (oResources.length == 2)
                 {
                     oUnoDialog.getPeerConfiguration().setImageUrl(m_aButtons[i].getModel(), oResources[0], oResources[1]);
-//                    Helper.setUnoPropertyValue(m_aButtons[i].getModel(), PropertyNames.PROPERTY_IMAGEURL, oResources[0]);
                 }
                 boolean bTabStop = Boolean.TRUE; // focusable ? Boolean.TRUE : Boolean.FALSE;
                 Helper.setUnoPropertyValue(m_aButtons[i].getModel(), "Tabstop", bTabStop);
-                // Object aEnabled = Helper.getUnoPropertyValue(m_aButtons[i].getModel(), PropertyNames.PROPERTY_ENABLED);
                 if (refreshOverNull)
                 {
                     setVisible(m_aButtons[i], true);
@@ -313,7 +305,6 @@ public class ButtonList implements XItemEventBroadcaster, XActionListener
                 focusable = false;
             }
         }
-//        refreshSelection();
     }
 
     private void refreshCounterText()
@@ -343,7 +334,6 @@ public class ButtonList implements XItemEventBroadcaster, XActionListener
     }
 
     /**
-     * 
      * @param i
      * @return the Object in the list model corresponding to the given image index.
      */
@@ -361,7 +351,6 @@ public class ButtonList implements XItemEventBroadcaster, XActionListener
     }
 
     /**
-     * 
      * @param i
      * @return the index in the listModel for the given image index.
      */
@@ -377,14 +366,6 @@ public class ButtonList implements XItemEventBroadcaster, XActionListener
 
     public void contentsChanged(ListDataEvent event)
     {
-        /*//if the content that was changed is in the displayed range, refresh...
-        if (  (event.getIndex1() <  getIndexFor(0)) // range is before...
-        || event.getIndex0() > getIndexFor( cols*rows - 1)) ; //do nothing
-        else
-        refreshImages();
-         */        //m_nCurrentSelection = 0;
-        //pageStart = 0;
-        //if (event.refreshImages();
     }
 
     public void intervalAdded(ListDataEvent event)
@@ -404,14 +385,11 @@ public class ButtonList implements XItemEventBroadcaster, XActionListener
 
     public void intervalRemoved(ListDataEvent event)
     {
-        //contentsChanged(event);
     }
 
     /** Registers ItemListener to receive events.
      * @param listener The listener to register.
-     *
      */
-    // @Override
     public synchronized void addItemListener(XItemListener listener)
     {
         if (m_aItemListenerList == null)
@@ -423,7 +401,6 @@ public class ButtonList implements XItemEventBroadcaster, XActionListener
 
     /** Removes ItemListener from the list of listeners.
      * @param listener The listener to remove.
-     *
      */
     public synchronized void removeItemListener(XItemListener listener)
     {
@@ -439,8 +416,6 @@ public class ButtonList implements XItemEventBroadcaster, XActionListener
     @SuppressWarnings("unchecked")
     private void fireItemSelected()
     {
-//      java.awt.event.ItemEvent event = new java.awt.event.ItemEvent(this, 0, 
-//          getSelectedObject(), java.awt.event.ItemEvent.SELECTED);
         java.util.ArrayList<XItemListener> list;
         synchronized(this)
         {
@@ -456,97 +431,61 @@ public class ButtonList implements XItemEventBroadcaster, XActionListener
         }
     }
 
-    /**
-     * @return
-     */
     public int getCols()
     {
         return cols;
     }
 
-    /**
-     * @return
-     */
     public Size getGap()
     {
         return gap;
     }
 
-    /**
-     * @return
-     */
     public ListModel getListModel()
     {
         return listModel;
     }
 
-    /**
-     * @return
-     */
     public Short getStep()
     {
         return step;
     }
 
-    /**
-     * @return
-     */
     public int getPageStart()
     {
         return pageStart;
     }
 
-    /**
-     * @return
-     */
     public Size getPos()
     {
         return pos;
     }
 
-    /**
-     * @return
-     */
     public IImageRenderer getRenderer()
     {
         return renderer;
     }
 
-    /**
-     * @return
-     */
     public int getRows()
     {
         return rows;
     }
 
-    /**
-     * @return
-     */
     public int getSelected()
     {
         return m_nCurrentSelection;
     }
 
-    /**
-     * @return
-     */
     public Size getSelectionGap()
     {
         return selectionGap;
     }
 
-    /**
-     * @return
-     */
     public boolean isShowButtons()
     {
         return showButtons;
     }
 
-    /**
-     * @param i
-     */
     public void setCols(int i)
     {
         cols = i;
@@ -633,28 +572,6 @@ public class ButtonList implements XItemEventBroadcaster, XActionListener
         fireItemSelected();
     }
 
-/*
- public void setSelected(Object object)
-    {
-        if (object == null)
-        {
-            setSelected(-1);
-        }
-        else
-        {
-            for (int i = 0; i < getListModel().getSize(); i++)
-            {
-                if (getListModel().getElementAt(i).equals(object))
-                {
-                    setSelected(i);
-                    return;
-                }
-            }
-        }
-        setSelected(-1);
-
-    }
-*/
 
     /**
      * set the text under the button list
@@ -723,8 +640,6 @@ public class ButtonList implements XItemEventBroadcaster, XActionListener
     private void setBorder(Object control, Short border)
     {
         Helper.setUnoPropertyValue(getModel(control), PropertyNames.PROPERTY_BORDER, border);
-    //XWindowPeer peer = ((XControl)UnoRuntime.queryInterface(XControl.class,control)).getPeer();
-    //peer.invalidate(InvalidateStyle.CHILDREN);
     }
 
 
@@ -737,13 +652,10 @@ public class ButtonList implements XItemEventBroadcaster, XActionListener
     }
 
 
-    /**
-     */
     public static interface IImageRenderer extends IRenderer
     {
 
         /**
-         * 
          * @param listItem
          * @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.
@@ -754,7 +666,6 @@ public class ButtonList implements XItemEventBroadcaster, XActionListener
     private static class SimpleCounterRenderer implements IRenderer
     {
 
-        // @Override
         public String render(Object counter)
         {
             return PropertyNames.EMPTY_STRING + ((Counter) counter).start + ".." + ((Counter) counter).end + "/" + ((Counter) counter).max;
@@ -803,9 +714,6 @@ public class ButtonList implements XItemEventBroadcaster, XActionListener
         setPageStart(ps);
     }
 
-    /**
-     * @return
-     */
     public boolean isenabled()
     {
         return benabled;
@@ -821,7 +729,6 @@ public class ButtonList implements XItemEventBroadcaster, XActionListener
         {
             UnoDialog2.setEnabled(m_aButtons[i], b);
         }
-//         UnoDialog2.setEnabled(grbxSelectedImage, b);
         UnoDialog2.setEnabled(lblImageText, b);
         if (showButtons)
         {
@@ -863,10 +770,8 @@ public class ButtonList implements XItemEventBroadcaster, XActionListener
  * will call if a button from the m_aButtonList is pressed.
  * @param actionEvent
  */
-//    @Override
     public void actionPerformed(com.sun.star.awt.ActionEvent actionEvent)
     {
-        // bStopProcess = true;
         XControlModel xModel = (XControlModel)UnoDialog2.getModel(actionEvent.Source);
         PropertySetHelper aHelper = new PropertySetHelper(xModel);
 
@@ -882,11 +787,9 @@ public class ButtonList implements XItemEventBroadcaster, XActionListener
         final String sButton = sControlName.substring(7 + m_aControlName.length());
         int nButton = Integer.parseInt(sButton);
 
-        // int image = getImageFromEvent(event);
         int index = getIndexFor(nButton);
         if (index < listModel.getSize())
         {
-            // focus(image);
             setSelected(index);
         }
 
diff --git a/wizards/com/sun/star/wizards/ui/ControlScroller.java b/wizards/com/sun/star/wizards/ui/ControlScroller.java
index 775e668..b9affa2 100644
--- a/wizards/com/sun/star/wizards/ui/ControlScroller.java
+++ b/wizards/com/sun/star/wizards/ui/ControlScroller.java
@@ -127,7 +127,6 @@ public abstract class ControlScroller
     }
 
     /**
-     * @author bc93774
      * @param _ntotfieldcount The number of fields that are to be administered by the ControlScroller
      */
     protected void initialize(int _ntotfieldcount)
@@ -365,7 +364,6 @@ public abstract class ControlScroller
             return fieldInfo(
                     scrollfields.get(guiRow + nscrollvalue)[column],
                     scrollfields.get(guiRow)[column]);
-            //System.out.println("getting field info for : " + guiRow + "/" + column  + ":" + pv.Value + "(" + pv.Name + ")" );
         }
         else
         {
diff --git a/wizards/com/sun/star/wizards/ui/DBLimitedFieldSelection.java b/wizards/com/sun/star/wizards/ui/DBLimitedFieldSelection.java
index bec278e..ce2d538 100644
--- a/wizards/com/sun/star/wizards/ui/DBLimitedFieldSelection.java
+++ b/wizards/com/sun/star/wizards/ui/DBLimitedFieldSelection.java
@@ -24,8 +24,6 @@ import com.sun.star.wizards.common.JavaTools;
 import com.sun.star.wizards.common.PropertyNames;
 
 /**
- * @author Administrator
- *
  * To change the template for this generated type comment go to
  * Window>Preferences>Java>Code Generation>Code and Comments
  */
@@ -45,7 +43,6 @@ public abstract class DBLimitedFieldSelection
     protected int iCurPosY;
     protected int FirstHelpIndex;
     protected int iCompPosX;
-    // protected int MaxSelIndex;
 
     public DBLimitedFieldSelection(WizardDialog _CurUnoDialog, int iStep, int _iCompPosX, int iCompPosY, int iCompWidth, int _FirstHelpIndex)
     {
@@ -59,7 +56,6 @@ public abstract class DBLimitedFieldSelection
         ICompPosX = new Integer(iCompPosX);
         ICompPosY = new Integer(iCompPosY);
         ICompWidth = new Integer(iCompWidth);
-        // boolean bDoEnable;
         iCurPosY = iCompPosY;
         for (int i = 0; i < rowcount; i++)
         {
@@ -75,13 +71,11 @@ public abstract class DBLimitedFieldSelection
 
     protected abstract void updateFromNextControlRow(int CurIndex);
 
-    // protected abstract void setMaxSelIndex();
 
     protected abstract int getMaxSelIndex();
 
     protected void moveupSelectedItems(int CurIndex, boolean bDoEnable)
     {
-        // short iNextItemPos;
         if ((!bDoEnable) && (MAXSELINDEX > CurIndex))
         {
             for (int i = CurIndex; i < MAXSELINDEX; i++)
diff --git a/wizards/com/sun/star/wizards/ui/DocumentPreview.java b/wizards/com/sun/star/wizards/ui/DocumentPreview.java
index df87b57..0eebed5 100644
--- a/wizards/com/sun/star/wizards/ui/DocumentPreview.java
+++ b/wizards/com/sun/star/wizards/ui/DocumentPreview.java
@@ -30,9 +30,6 @@ import com.sun.star.util.XCloseable;
 import com.sun.star.wizards.common.Properties;
 import com.sun.star.wizards.common.PropertyNames;
 
-/**
- * @author rpiterman
- */
 public class DocumentPreview
 {
 
@@ -63,10 +60,7 @@ public class DocumentPreview
     public DocumentPreview(XMultiServiceFactory xmsf, Object control) throws Exception
     {
 
-        //((XWindow)UnoRuntime.queryInterface(XWindow.class,control)).addPaintListener(this);
         xControl = UnoRuntime.queryInterface(XControl.class, control);
-        //register this object as a listener, to close the frame when disposing.
-        //((XComponent) UnoRuntime.queryInterface(XComponent.class, control)).addEventListener(this);
 
         createPreviewFrame(xmsf, xControl);
     }
@@ -96,7 +90,6 @@ public class DocumentPreview
     {
         closeFrame();
         createPreviewFrame(xmsf, xControl);
-        //System.out.println(xControl);
         setDocument(url, loadArgs);
     }
 
@@ -155,8 +148,6 @@ public class DocumentPreview
         xWindow = UnoRuntime.queryInterface(XWindow.class, xPeer);
         Object frame = xmsf.createInstance("com.sun.star.frame.Frame");
         xFrame = UnoRuntime.queryInterface(XFrame.class, frame);
-//      XFrame xF = (XFrame) UnoRuntime.queryInterface(XFrame.class, Desktop.getDesktop(xmsf));
-//      xFrame = xF.findFrame("_blank", 0);
         xFrame.initialize(xWindow);
         xWindow.setVisible(true);
     }
diff --git a/wizards/com/sun/star/wizards/ui/FieldSelection.java b/wizards/com/sun/star/wizards/ui/FieldSelection.java
index 8abf433..7317a90 100644
--- a/wizards/com/sun/star/wizards/ui/FieldSelection.java
+++ b/wizards/com/sun/star/wizards/ui/FieldSelection.java
@@ -24,10 +24,6 @@ import com.sun.star.wizards.common.JavaTools;
 
 import java.util.*;
 
-/**
- *
- * @author  bc93774
- */
 public class FieldSelection
 {
     public XListBox xFieldsListBox;                 // Left ListBox
@@ -68,7 +64,6 @@ public class FieldSelection
 
         public void itemStateChanged(com.sun.star.awt.ItemEvent EventObject)
         {
-            // int iPos;
             com.sun.star.wizards.common.Helper.setUnoPropertyValue(CurUnoDialog.xDialogModel, PropertyNames.PROPERTY_ENABLED, Boolean.FALSE);
             int iKey = CurUnoDialog.getControlKey(EventObject.Source, CurUnoDialog.ControlList);
             switch (iKey)
@@ -138,9 +133,6 @@ public class FieldSelection
                         changeSelectionOrder(1);
                         break;
 
-                    default:
-                        // System.err.println( exception);
-                        break;
                 }
             }
             catch (Exception exception)
@@ -353,7 +345,7 @@ public class FieldSelection
         }
     }
 
-    // Todo: If Value is getting smaller than zero -> throw exception
+    // TODO: If Value is getting smaller than zero -> throw exception
     private Integer[] getYButtonPositions(int ButtonCount)
     {
         Integer[] YPosArray;
@@ -384,7 +376,7 @@ public class FieldSelection
     private void changeSelectionOrder(int iNeighbor)
     {
         short[] iSelIndices = xSelectedFieldsListBox.getSelectedItemsPos();
-        // Todo: we are assuming that the array starts with the lowest index. Verfy this assumption!!!!!
+        // TODO: we are assuming that the array starts with the lowest index. Verfy this assumption!!!!!
         if (iSelIndices.length == 1)
         {
             short iSelIndex = iSelIndices[0];
@@ -503,7 +495,6 @@ public class FieldSelection
 
     public void mergeList(String[] AllFieldNames, String[] SecondList)
     {
-        // int MaxIndex = SecondList.length;
         xFieldsListBox.addItems(AllFieldNames, (short) 0);
         toggleListboxButtons((short) - 1, (short) - 1);
     }
@@ -557,10 +548,8 @@ public class FieldSelection
 
     public void selectFields(boolean bMoveAll)
     {
-        // int CurIndex;
         short iFieldSelected = (short) - 1;
         short iSelFieldSelected = (short) - 1;
-        // int MaxCurTarget = xSelectedFieldsListBox.getItemCount();
         String[] SelFieldItems;
         if (bMoveAll)
         {
@@ -600,7 +589,6 @@ public class FieldSelection
 
     public void deselectFields(boolean bMoveAll)
     {
-        // int m = 0;
         String SearchString;
         short iOldFieldSelected = xFieldsListBox.getSelectedItemPos();
         short iOldSelFieldSelected = xSelectedFieldsListBox.getSelectedItemPos();
@@ -615,7 +603,6 @@ public class FieldSelection
         else
         {
             int MaxOriginalCount = AllFieldNames.length;
-            // int MaxSelected = OldSelFieldItems.length;
             String[] SelList = xFieldsListBox.getItems();
             Vector<String> NewSourceVector = new Vector<String>();
             for (int i = 0; i < MaxOriginalCount; i++)
diff --git a/wizards/com/sun/star/wizards/ui/ImageList.java b/wizards/com/sun/star/wizards/ui/ImageList.java
index 40e4851..6669660 100644
--- a/wizards/com/sun/star/wizards/ui/ImageList.java
+++ b/wizards/com/sun/star/wizards/ui/ImageList.java
@@ -17,8 +17,6 @@
  */
 package com.sun.star.wizards.ui;
 
-// import com.sun.star.awt.*;
-
 import com.sun.star.awt.Key;
 import com.sun.star.awt.KeyEvent;
 import com.sun.star.awt.MouseEvent;
@@ -38,24 +36,13 @@ import com.sun.star.wizards.common.HelpIds;
 import com.sun.star.wizards.common.IRenderer;
 import com.sun.star.wizards.common.PropertyNames;
 import com.sun.star.wizards.ui.event.*;
-
-
-//import com.sun.star.awt.ItemEvent;
-//import com.sun.star.awt.XItemListener;
-
-
 import javax.swing.ListModel;
 import javax.swing.event.ListDataEvent;
 import javax.swing.event.ListDataListener;
 
-/**
- *
- * @author  rpiterman
- */
 public class ImageList implements XItemEventBroadcaster, ListDataListener
 {
 
-    // private XControl imgContainer;
     private XFixedText lblImageText;
     private XFixedText grbxSelectedImage;
     private XButton btnBack;
@@ -88,11 +75,10 @@ public class ImageList implements XItemEventBroadcaster, ListDataListener
     public IRenderer counterRenderer = new SimpleCounterRenderer();
     private Object dialogModel;
     private ImageKeyListener imageKeyListener;
-    private static final Integer BACKGROUND_COLOR = 16777216;  //new Integer(SystemColor.window.getRGB() + 16777216);
+    private static final Integer BACKGROUND_COLOR = 16777216;
     private final static Short HIDE_PAGE = new Short((short) 99);
     private final static Integer TRANSPARENT = new Integer(-1);
-    private final static int LINE_HEIGHT = 8;    //private MethodInvocation METHOD_MOUSE_ENTER_IMAGE;
-    //private MethodInvocation METHOD_MOUSE_EXIT_IMAGE;
+    private final static int LINE_HEIGHT = 8;
     private MethodInvocation METHOD_MOUSE_PRESSED;
 
     /** Getter for property imageSize.
@@ -180,12 +166,6 @@ public class ImageList implements XItemEventBroadcaster, ListDataListener

... etc. - the rest is truncated


More information about the Libreoffice-commits mailing list