summaryrefslogtreecommitdiff
path: root/wizards/com/sun/star/wizards/report
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-15 14:24:30 +0200
committerNoel Grandin <noel@peralex.com>2014-10-16 08:15:46 +0200
commit48633151ff104e867bae6fcd403a2c8d4a87b509 (patch)
tree8c53c832406734f6772600d8f5cc893eb17f7331 /wizards/com/sun/star/wizards/report
parent4b5cb7ef35648eb33d14f40a7f4cc1b47aea53a4 (diff)
java: methods in interfaces are implicitly public
Change-Id: I543fe5b8890668f60d6528a2a7ae6d099d5b4945
Diffstat (limited to 'wizards/com/sun/star/wizards/report')
-rw-r--r--wizards/com/sun/star/wizards/report/IReportDefinitionReadAccess.java6
-rw-r--r--wizards/com/sun/star/wizards/report/IReportDocument.java76
2 files changed, 41 insertions, 41 deletions
diff --git a/wizards/com/sun/star/wizards/report/IReportDefinitionReadAccess.java b/wizards/com/sun/star/wizards/report/IReportDefinitionReadAccess.java
index 3038e4a1b22d..aa81c48984ec 100644
--- a/wizards/com/sun/star/wizards/report/IReportDefinitionReadAccess.java
+++ b/wizards/com/sun/star/wizards/report/IReportDefinitionReadAccess.java
@@ -32,17 +32,17 @@ public interface IReportDefinitionReadAccess
* Gives access to a ReportDefinition, if initialized.
* @return a ReportDefinition or null.
*/
- public XReportDefinition getReportDefinition(); /* should throw NullPointerException but does not. */
+ XReportDefinition getReportDefinition(); /* should throw NullPointerException but does not. */
/**
* This ServiceFactory is the 'global' Service Factory, which knows all and every thing in the program.
* @return the global service factory of the program
*/
- public XMultiServiceFactory getGlobalMSF();
+ XMultiServiceFactory getGlobalMSF();
/**
* Returns the file path to the default report definition, we need this name for early initialisation
*/
- public String getDefaultHeaderLayout();
+ String getDefaultHeaderLayout();
}
diff --git a/wizards/com/sun/star/wizards/report/IReportDocument.java b/wizards/com/sun/star/wizards/report/IReportDocument.java
index 662d3ff838bd..0c124a2c7a22 100644
--- a/wizards/com/sun/star/wizards/report/IReportDocument.java
+++ b/wizards/com/sun/star/wizards/report/IReportDocument.java
@@ -33,7 +33,7 @@ public interface IReportDocument
// initialisation
- public void initialize(
+ void initialize(
final XDatabaseDocumentUI i_documentUI,
final Resource i_resource
);
@@ -44,22 +44,22 @@ public interface IReportDocument
/**
* Gives access to the DB Values
*/
- public com.sun.star.wizards.db.RecordParser getRecordParser();
+ com.sun.star.wizards.db.RecordParser getRecordParser();
/**
* Give access to the parent document
* It is a document in the old Wizard
* It is a Report Builder in the new Wizard
*/
- public com.sun.star.awt.XWindowPeer getWizardParent();
+ com.sun.star.awt.XWindowPeer getWizardParent();
/**
*
* @return the Frame of the document Window or Report Builder Window
*/
- public com.sun.star.frame.XFrame getFrame();
+ com.sun.star.frame.XFrame getFrame();
- public XComponent getComponent();
+ XComponent getComponent();
// First step: After entering the table name, select fields
@@ -67,17 +67,17 @@ public interface IReportDocument
/**
* Is called after first step, set Tablename and the fields, which should occur in the Report.
*/
- public void initializeFieldColumns(final int _aType, final String TableName, final String[] FieldNames);
+ void initializeFieldColumns(final int _aType, final String TableName, final String[] FieldNames);
/**
* Empties the report document
*/
- public void clearDocument();
+ void clearDocument();
/**
* Empties the report document, if we called back, don't remove Grouping/Sorting
*/
- public void removeTextTableAndTextSection();
+ void removeTextTableAndTextSection();
// Second step: Label field titles
@@ -85,7 +85,7 @@ public interface IReportDocument
/**
* Set new names for the titles
*/
- public void setFieldTitles(final String[] sFieldTitles);
+ void setFieldTitles(final String[] sFieldTitles);
/**
* Change a the name of the 'title' of one field.
@@ -93,7 +93,7 @@ public interface IReportDocument
* element title of a given element name.
* This is only used as a preview
*/
- public void liveupdate_changeUserFieldContent(final String FieldName, final String TitleName);
+ void liveupdate_changeUserFieldContent(final String FieldName, final String TitleName);
// Third step: Grouping
@@ -102,52 +102,52 @@ public interface IReportDocument
/**
* Called by press ('greater then') add a group to the group list
*/
- public boolean liveupdate_addGroupNametoDocument(String[] GroupNames, String CurGroupTitle, ArrayList<String> GroupFieldVector, ArrayList<String> ReportPath, int iSelCount);
+ boolean liveupdate_addGroupNametoDocument(String[] GroupNames, String CurGroupTitle, ArrayList<String> GroupFieldVector, ArrayList<String> ReportPath, int iSelCount);
- public void refreshGroupFields(String[] _sNewNames);
+ void refreshGroupFields(String[] _sNewNames);
/**
* Called by press ('less then') Removes an already set Groupname out of the list
*/
- public void liveupdate_removeGroupName(String[] NewSelGroupNames, String CurGroupTitle, java.util.ArrayList<String> GroupFieldVector);
+ void liveupdate_removeGroupName(String[] NewSelGroupNames, String CurGroupTitle, java.util.ArrayList<String> GroupFieldVector);
/**
* set the list how to group
*/
- public void setGrouping(String[] aGroupList);
+ void setGrouping(String[] aGroupList);
// Fourth step: Sorting
/**
* Set the list how to sort
*/
- public void setSorting(String[][] aSort);
+ void setSorting(String[][] aSort);
// Fivth step: Templates / Layout
/* Template Page */
- public void setPageOrientation(int nOrientation) throws com.sun.star.lang.IllegalArgumentException;
+ void setPageOrientation(int nOrientation) throws com.sun.star.lang.IllegalArgumentException;
- public int getDefaultPageOrientation();
+ int getDefaultPageOrientation();
- public ArrayList<String> getReportPath();
+ ArrayList<String> getReportPath();
- public String getLayoutPath();
+ String getLayoutPath();
- public String getContentPath();
+ String getContentPath();
/**
* Called if a new Layout is selected
*/
- public void liveupdate_changeLayoutTemplate(String LayoutTemplatePath/*, String BitmapPath*/);
+ void liveupdate_changeLayoutTemplate(String LayoutTemplatePath/*, String BitmapPath*/);
/**
* Called if a new Template is selected
*/
- public void liveupdate_changeContentTemplate(String ContentTemplatePath);
+ void liveupdate_changeContentTemplate(String ContentTemplatePath);
- public void layout_selectFirstPage();
+ void layout_selectFirstPage();
- public void layout_setupRecordSection(String TemplateName);
+ void layout_setupRecordSection(String TemplateName);
// finishing
@@ -157,63 +157,63 @@ public interface IReportDocument
* Set the Title into the document from the 'Create Report Page'
* BUG: The Title is empty after create Report.
*/
- public void liveupdate_updateReportTitle(String _sTitleName);
+ void liveupdate_updateReportTitle(String _sTitleName);
/**
* Store the document by the given name
*/
- public void store(String Name, int OpenMode) throws com.sun.star.uno.Exception;
+ void store(String Name, int OpenMode) throws com.sun.star.uno.Exception;
/**
* The current report is added to the DB View under the given name
*
* TODO: add Name to this functionality
*/
- public void addReportToDBView();
+ void addReportToDBView();
- public void importReportData(ReportWizard aWizard);
+ void importReportData(ReportWizard aWizard);
/**
* Create the final Report document
*/
- public void createAndOpenReportDocument(
+ void createAndOpenReportDocument(
final String Name,
final boolean _bAsTemplate,
final boolean _bOpenInDesign
);
- public void dispose();
+ void dispose();
// Garbage dump
/* DataImport */
// ???
// ???
- public boolean reconnectToDatabase(XMultiServiceFactory xMSF, PropertyValue[] Properties);
+ boolean reconnectToDatabase(XMultiServiceFactory xMSF, PropertyValue[] Properties);
// ???
- public void insertDatabaseDatatoReportDocument(XMultiServiceFactory xMSF);
+ void insertDatabaseDatatoReportDocument(XMultiServiceFactory xMSF);
// ???
/**
* set a internal variable to stop a maybe longer DB access.
*/
- public void StopProcess(); // cancel
+ void StopProcess(); // cancel
/**
* Returns a string list of layouts.
*/
- public String[][] getDataLayout();
+ String[][] getDataLayout();
/**
* Returns a string list of header layouts
*/
- public String[][] getHeaderLayout();
+ String[][] getHeaderLayout();
- public void setCommandType(int CommandType);
+ void setCommandType(int CommandType);
- public void setCommand(String Command);
+ void setCommand(String Command);
/**
* check internal invariants
*/
- public void checkInvariants() throws java.lang.Exception;
+ void checkInvariants() throws java.lang.Exception;
}