summaryrefslogtreecommitdiff
path: root/odk/examples/DevelopersGuide
diff options
context:
space:
mode:
Diffstat (limited to 'odk/examples/DevelopersGuide')
-rw-r--r--odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_java/ProtocolHandlerAddon.java14
-rw-r--r--odk/examples/DevelopersGuide/Components/SimpleLicense/LicenseTest.java4
-rw-r--r--odk/examples/DevelopersGuide/Forms/FormLayer.java2
-rw-r--r--odk/examples/DevelopersGuide/GUI/UnoDialogSample.java2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/ContextMenuInterceptor.java2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java4
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Desk.java2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java1
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java5
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleHyphenator.java2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleSpellChecker.java2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleThesaurus.java2
-rw-r--r--odk/examples/DevelopersGuide/UCB/ChildrenRetriever.java2
-rw-r--r--odk/examples/DevelopersGuide/UCB/DataStreamComposer.java6
-rw-r--r--odk/examples/DevelopersGuide/UCB/DataStreamRetriever.java2
-rw-r--r--odk/examples/DevelopersGuide/UCB/MyInputStream.java12
-rw-r--r--odk/examples/DevelopersGuide/UCB/PropertiesComposer.java2
19 files changed, 17 insertions, 53 deletions
diff --git a/odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_java/ProtocolHandlerAddon.java b/odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_java/ProtocolHandlerAddon.java
index 66d25f2ed708..bb1cdb86109d 100644
--- a/odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_java/ProtocolHandlerAddon.java
+++ b/odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_java/ProtocolHandlerAddon.java
@@ -80,7 +80,7 @@ public class ProtocolHandlerAddon {
/** The constructor of the inner class has a XMultiServiceFactory parameter.
- * @param xmultiservicefactoryInitialization A special service factory
+ * @param xComponentContext A special service factory
* could be introduced while initializing.
*/
public ProtocolHandlerAddonImpl( XComponentContext xComponentContext ) {
@@ -91,7 +91,7 @@ public class ProtocolHandlerAddon {
* directly after its creation.
* @param object This array of arbitrary objects will be passed to the
* component after its creation.
- * @throws Exception Every exception will not be handled, but will be
+ * @throws com.sun.star.uno.Exception Every exception will not be handled, but will be
* passed to the caller.
*/
public void initialize( Object[] object )
@@ -123,7 +123,6 @@ public class ProtocolHandlerAddon {
/** This method returns true, if the given service will be
* supported by the component.
- * @param stringService Service name.
* @return True, if the given service name will be supported.
*/
public boolean supportsService( String sService ) {
@@ -237,13 +236,8 @@ public class ProtocolHandlerAddon {
* <p>
* @return Returns a <code>XSingleServiceFactory</code> for creating the
* component.
- * @see com.sun.star.comp.loader.JavaLoader#
- * @param stringImplementationName The implementation name of the component.
- * @param xmultiservicefactory The service manager, who gives access to every
- * known service.
- * @param xregistrykey Makes structural information (except regarding tree
- * structures) of a single
- * registry key accessible.
+ * @see com.sun.star.comp.loader.JavaLoader
+ * @param sImplementationName The implementation name of the component.
*/
public static XSingleComponentFactory __getComponentFactory( String sImplementationName ) {
XSingleComponentFactory xFactory = null;
diff --git a/odk/examples/DevelopersGuide/Components/SimpleLicense/LicenseTest.java b/odk/examples/DevelopersGuide/Components/SimpleLicense/LicenseTest.java
index 02553e81c27e..2272d1b4ea72 100644
--- a/odk/examples/DevelopersGuide/Components/SimpleLicense/LicenseTest.java
+++ b/odk/examples/DevelopersGuide/Components/SimpleLicense/LicenseTest.java
@@ -54,8 +54,6 @@ public class LicenseTest {
"org.openoffice.LicenseTest";
/** The constructor of the inner class has a XMultiServiceFactory parameter.
- * @param xmultiservicefactoryInitialization A special service factory
- * could be introduced while initializing.
*/
public _LicenseTest() {
}
@@ -119,7 +117,7 @@ public class LicenseTest {
* directly after its creation.
* @param object This array of arbitrary objects will be passed to the
* component after its creation.
- * @throws Exception Every exception will not be handled, but will be
+ * @throws com.sun.star.uno.Exception Every exception will not be handled, but will be
* passed to the caller.
*/
public void initialize( Object[] object )
diff --git a/odk/examples/DevelopersGuide/Forms/FormLayer.java b/odk/examples/DevelopersGuide/Forms/FormLayer.java
index e7eb0699347b..1bd48667d75b 100644
--- a/odk/examples/DevelopersGuide/Forms/FormLayer.java
+++ b/odk/examples/DevelopersGuide/Forms/FormLayer.java
@@ -260,7 +260,7 @@ public class FormLayer
* the parent form of the radio button model to find
* @param name
* the name of the radio button
- * @param refValue
+ * @param tag
* the tag of the radio button
*/
public XPropertySet getRadioModelByTag( XPropertySet form, String name, String tag ) throws com.sun.star.uno.Exception, java.lang.Exception
diff --git a/odk/examples/DevelopersGuide/GUI/UnoDialogSample.java b/odk/examples/DevelopersGuide/GUI/UnoDialogSample.java
index 1650c9af583c..1b68cfa81c76 100644
--- a/odk/examples/DevelopersGuide/GUI/UnoDialogSample.java
+++ b/odk/examples/DevelopersGuide/GUI/UnoDialogSample.java
@@ -1185,7 +1185,7 @@ public class UnoDialogSample implements XTextListener, XSpinListener, XActionLis
}
/** gets the WindowPeer of a frame
- * @param _XTextDocument the instance of a textdocument
+ * @param _xTextDocument the instance of a textdocument
* @return the windowpeer of the frame
*/
public XWindowPeer getWindowPeer(XTextDocument _xTextDocument){
diff --git a/odk/examples/DevelopersGuide/OfficeDev/ContextMenuInterceptor.java b/odk/examples/DevelopersGuide/OfficeDev/ContextMenuInterceptor.java
index 00821f648016..3f0297dcc0ac 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/ContextMenuInterceptor.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/ContextMenuInterceptor.java
@@ -140,8 +140,6 @@ public class ContextMenuInterceptor implements XContextMenuInterceptor {
/**
*Description of the Method
- *
- *@param args Description of Parameter
*/
public ContextMenuInterceptorAction notifyContextMenuExecute(
com.sun.star.ui.ContextMenuExecuteEvent aEvent ) throws RuntimeException {
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java
index a3576b0fc1ae..8972dd0ab99a 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java
@@ -171,10 +171,6 @@ public class CustomizeView extends JPanel
* We use this information to update our check boxes again.
* But such update doesn't force (hopefully) an action event. Otherwhise
* we can produce a never ending recursion!
- *
- * @param aEvent
- * describes the used check box and his current state
- * we can use to dispatch the right URL to the office
*/
class ClickListener implements ActionListener,
com.sun.star.lang.XEventListener
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Desk.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Desk.java
index 7b20bb4e56a6..d89a413decff 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Desk.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Desk.java
@@ -53,7 +53,7 @@ public class Desk
*
* syntax: Desk [mode={inplace|outplace}] [file=<filename>]
*
- * @param args command line arguments
+ * @param lArguments command line arguments
* mode describe using mode of document view {inplace/outplace}
* default=inplace
* file name of first file which should be open
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
index 2f9b8e153bee..44159959398d 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
@@ -926,7 +926,6 @@ public class FunctionHelper
* only, it's enough to check the names of existing child frames on the
* desktop only.
*
- * @return [String]
* should represent an unique frame name, which currently isn't
* used inside the remote office frame tree
* (Couldn't guaranteed for a real multithreaded environment.
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java
index d6f1846f962f..7b409921ec11 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java
@@ -189,7 +189,7 @@ class StatusListener implements com.sun.star.frame.XStatusListener,
* But we shouldn't start such action - if it's not really necessary.
* So we check before, if we are intereested on this event really.
*
- * @see impl_frameAction()
+ * @see #impl_frameAction
*
* @param aEvent
* describes the action, which triggered this event
diff --git a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java
index 1cade50192f8..d709edd804d4 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java
@@ -127,10 +127,9 @@ public class AsciiReplaceFilter
/**
* The constructor to initialize every instance
*
- * @param xCompContext
+ * @param Context
* the component context of the office
*/
- //ctor
public _AsciiReplaceFilter(XComponentContext Context )
{
measure("ctor started");
@@ -167,7 +166,7 @@ public class AsciiReplaceFilter
* This array of arbitrary objects represent our own filter configuration
* and may optional given parameters of the createWithArguments() call.
*
- * @throws Exception
+ * @throws com.sun.star.uno.Exception
* Every exception will not be handled, but will be
* passed to the caller.
*/
diff --git a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java
index fe3bb4248dc2..66ac7893f835 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java
@@ -82,7 +82,7 @@ public class FilterOptions
* which can be used after creation of an object instance
* to set a new descriptor here.
*
- * @param xSMGR
+ * @param xMCF
* we need it to create special help service top open
* streams in case they are not already a part of given
* MediaDescriptor
diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleHyphenator.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleHyphenator.java
index 359488231177..fbaf25e5d9cc 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleHyphenator.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleHyphenator.java
@@ -493,7 +493,7 @@ public class SampleHyphenator extends ComponentBase implements
* This method is called by the <code>JavaLoader</code>
* <p>
* @return returns a <code>XComponentServiceFactory</code> for creating the component
- * @param implName the name of the implementation for which a service is desired
+ * @param aImplName the name of the implementation for which a service is desired
* @see com.sun.star.comp.loader.JavaLoader
*/
public static XSingleComponentFactory __getComponentFactory(
diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleSpellChecker.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleSpellChecker.java
index 0b6be21573f2..afc63d95d8eb 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleSpellChecker.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleSpellChecker.java
@@ -436,7 +436,7 @@ public class SampleSpellChecker extends ComponentBase implements
* This method is called by the <code>JavaLoader</code>
* <p>
* @return returns a <code>XSingleComponentFactory</code> for creating the component
- * @param implName the name of the implementation for which a service is desired
+ * @param aImplName the name of the implementation for which a service is desired
* @see com.sun.star.comp.loader.JavaLoader
*/
public static XSingleComponentFactory __getComponentFactory(
diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleThesaurus.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleThesaurus.java
index 9491421b4466..babf7a6afb4f 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleThesaurus.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleThesaurus.java
@@ -272,7 +272,7 @@ public class SampleThesaurus extends ComponentBase implements
* This method is called by the <code>JavaLoader</code>
* <p>
* @return returns a <code>XSingleComponentFactory</code> for creating the component
- * @param implName the name of the implementation for which a service is desired
+ * @param aImplName the name of the implementation for which a service is desired
* @see com.sun.star.comp.loader.JavaLoader
*/
public static XSingleComponentFactory __getComponentFactory(
diff --git a/odk/examples/DevelopersGuide/UCB/ChildrenRetriever.java b/odk/examples/DevelopersGuide/UCB/ChildrenRetriever.java
index 0b14189bbf2c..9764718a1751 100644
--- a/odk/examples/DevelopersGuide/UCB/ChildrenRetriever.java
+++ b/odk/examples/DevelopersGuide/UCB/ChildrenRetriever.java
@@ -278,8 +278,6 @@ public class ChildrenRetriever {
/**
* Create a new connection with the specific args to a running office and
* access the children from a folder.
- *
- *@param String[] Arguments
*/
public static void main ( String args[] ) {
diff --git a/odk/examples/DevelopersGuide/UCB/DataStreamComposer.java b/odk/examples/DevelopersGuide/UCB/DataStreamComposer.java
index 81977ae2c005..dad05c1153e4 100644
--- a/odk/examples/DevelopersGuide/UCB/DataStreamComposer.java
+++ b/odk/examples/DevelopersGuide/UCB/DataStreamComposer.java
@@ -92,8 +92,8 @@ public class DataStreamComposer {
/**
* Write the document data stream of a document content.
*
- *@param String Source URL
- *@return boolean Returns true if data stream successfully seted, false otherwise
+ *@param sourceURL Source URL
+ *@return true if data stream successfully seted, false otherwise
*/
public boolean setDataStream( String sourceURL )
throws com.sun.star.ucb.CommandAbortedException,
@@ -200,8 +200,6 @@ public class DataStreamComposer {
/**
* Create a new connection with the specific args to a running office and
* set the Content Data Stream of a UCB Document Content.
- *
- *@param String[] Arguments
*/
public static void main ( String args[] ) {
System.out.println( "\n" );
diff --git a/odk/examples/DevelopersGuide/UCB/DataStreamRetriever.java b/odk/examples/DevelopersGuide/UCB/DataStreamRetriever.java
index 62ca893cfcdf..9865734d1e35 100644
--- a/odk/examples/DevelopersGuide/UCB/DataStreamRetriever.java
+++ b/odk/examples/DevelopersGuide/UCB/DataStreamRetriever.java
@@ -176,8 +176,6 @@ public class DataStreamRetriever {
/**
* Create a new connection with the specific args to a running office and
* access (Load) the content data stream of a UCB document content.
- *
- *@param String[] Arguments
*/
public static void main ( String args[] ) {
System.out.println( "\n" );
diff --git a/odk/examples/DevelopersGuide/UCB/MyInputStream.java b/odk/examples/DevelopersGuide/UCB/MyInputStream.java
index d3c701c71776..d2e154aaea05 100644
--- a/odk/examples/DevelopersGuide/UCB/MyInputStream.java
+++ b/odk/examples/DevelopersGuide/UCB/MyInputStream.java
@@ -84,8 +84,6 @@ public class MyInputStream implements XSeekable, XInputStream {
/**
* Changes the seek pointer to a new location relative to the beginning of the stream.
- *
- *@param long
*/
public synchronized void seek(long p0)
throws IllegalArgumentException, com.sun.star.io.IOException,
@@ -125,10 +123,6 @@ public class MyInputStream implements XSeekable, XInputStream {
/**
* Reads the specified number of bytes in the given sequence.
- *
- *@param byte[][]
- *@param int
- *@return int
*/
public synchronized int readBytes(byte[][] p0, int p1)
throws NotConnectedException, BufferSizeExceededException,
@@ -158,10 +152,6 @@ public class MyInputStream implements XSeekable, XInputStream {
/**
* Reads the available number of bytes at maximum nMaxBytesToRead .
* This method blocks the thread until at least one byte is available.
- *
- *@param byte[][]
- *@param int
- *@return int
*/
public synchronized int readSomeBytes(byte[][] p0, int p1)
throws NotConnectedException,
@@ -174,8 +164,6 @@ public class MyInputStream implements XSeekable, XInputStream {
/**
* Skips the next nBytesToSkip bytes (must be positive).
* It is up to the implementation whether this method is blocking the thread or not.
- *
- *@param int
*/
public synchronized void skipBytes(int p0)
throws NotConnectedException, BufferSizeExceededException,
diff --git a/odk/examples/DevelopersGuide/UCB/PropertiesComposer.java b/odk/examples/DevelopersGuide/UCB/PropertiesComposer.java
index 013cdc2d783a..20d2f6c5a9a9 100644
--- a/odk/examples/DevelopersGuide/UCB/PropertiesComposer.java
+++ b/odk/examples/DevelopersGuide/UCB/PropertiesComposer.java
@@ -238,8 +238,6 @@ public class PropertiesComposer {
/**
* Create a new connection with the specific args to a running office and
* set properties of a resource.
- *
- *@param String[] Arguments
*/
public static void main ( String args[] ) {
System.out.println( "\n" );