diff options
author | Jan Holesovsky <kendy@collabora.com> | 2014-04-26 19:28:59 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2014-04-27 01:28:55 +0200 |
commit | e6ac6cbccf0e26b860b2a8c276fea258091d9da3 (patch) | |
tree | cc02ebc6b409c507892bcf550e21f70c0c52b3d5 /odk/examples | |
parent | 367b254c73bf7b64135f0429d50d03fee749cef7 (diff) |
automaticly -> automatically.
Change-Id: Iae55083160eee86ac8301f272634dd3ae65fd847
Diffstat (limited to 'odk/examples')
16 files changed, 27 insertions, 27 deletions
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java index 769768b027ca..a3576b0fc1ae 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java +++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java @@ -150,7 +150,7 @@ public class CustomizeView extends JPanel // be frame action listener // The callback will update listener connections - // for status updates automaticly! + // for status updates automatically! m_aMenuBarListener = new StatusListener(m_cbMenuBar ,MENUBAR_ON ,MENUBAR_OFF ,xFrame, FEATUREURL_MENUBAR ); m_aToolBarListener = new StatusListener(m_cbToolBar ,TOOLBAR_ON ,TOOLBAR_OFF ,xFrame, FEATUREURL_TOOLBAR ); m_aObjectBarListener = new StatusListener(m_cbObjectBar,OBJECTBAR_ON,OBJECTBAR_OFF,xFrame, FEATUREURL_OBJECTBAR); diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Desk.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Desk.java index 6553b3b2ff20..101540ee748f 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Desk.java +++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Desk.java @@ -83,7 +83,7 @@ public class Desk // Create first document view. // This one will register himself at the global // ViewContainer. Further views will be open - // automaticly started from this first one. + // automatically started from this first one. DocumentView aView = new DocumentView(); aView.setVisible(true); aView.createFrame(); diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java index 5cde458e665c..a8106c06ffc7 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java +++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java @@ -341,7 +341,7 @@ public class DocumentView extends JFrame // close the frame and his document // Relaesing of our listener connections for disposing() - // will be forced automaticly then. Because the frame + // will be forced automatically then. Because the frame // will call us back ... if (mxFrame!=null) FunctionHelper.closeFrame(mxFrame); @@ -360,7 +360,7 @@ public class DocumentView extends JFrame /** * callback from our internal saved frame * which wish to die. Its not necessary to remove listener connections - * here. Because the broadcaster do it automaticly. + * here. Because the broadcaster do it automatically. * We have to release all references to him only. * * @param aSource @@ -418,7 +418,7 @@ public class DocumentView extends JFrame if( sCommand.compareTo(COMMAND_EXIT) == 0 ) { // This will force deleting of this and - // all other currently opened views automaticly! + // all other currently opened views automatically! System.exit(0); } } diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java index 2eced0626bbf..0e3851b427ce 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java +++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java @@ -307,7 +307,7 @@ public class FunctionHelper // the systemw window handle. A possible reason can be an invisible // java window. In this case it should be enough to set return // values to null. All other resources (which was created before) - // will be freed automaticly if scope wil be leaved. + // will be freed automatically if scope wil be leaved. System.out.println("May be the NativeView object wasn't really visible at calling time of getNativeWindow()?"); xPeer = null; xWindow = null; @@ -389,7 +389,7 @@ public class FunctionHelper if(xFrame!=null) { // Try to dispose the frame. He should deregister himself at the desktop object - // and free all internal used resources (e.g. the container window) automaticly. + // and free all internal used resources (e.g. the container window) automatically. // It's possible to do that here - because frame has no component inside yet. // So nobody can disagree with that. // After the dispose() call forget all references to this frame and let him die. @@ -437,7 +437,7 @@ public class FunctionHelper * @param xFrame frame which should be the target of this dispatch * @param aURL full parsed and converted office URL for dispatch * @param lProperties optional arguments for dispatch - * @param xListener optional listener which is registered automaticly for status events + * @param xListener optional listener which is registered automatically for status events * (Note: Deregistration is part of this listener himself!) * * @return [XDispatch] It's the used dispatch object and can be used for deregistration of an optional listener. @@ -500,8 +500,8 @@ public class FunctionHelper * @param xFrame frame which should be the target of this dispatch * @param aURL full parsed and converted office URL for dispatch * @param lProperties optional arguments for dispatch - * @param xListener optional listener which is registered automaticly for status events - * (Note: Deregistration is not supported. Dispatcher does it automaticly.) + * @param xListener optional listener which is registered automatically for status events + * (Note: Deregistration is not supported. Dispatcher does it automatically.) */ public static void executeWithNotification(com.sun.star.frame.XFrame xFrame , com.sun.star.util.URL aURL , @@ -681,7 +681,7 @@ public class FunctionHelper * It try to export given document in HTML format. * Current document will be converted to HTML and moved to new place on disk. * A "new" file will be created by given URL (may be overwritten - * if it already exist). Right filter will be used automaticly if factory of + * if it already exist). Right filter will be used automatically if factory of * this document support it. If no valid filter can be found for export, * nothing will be done here. * diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java index c8e300eadca6..0851469c1d34 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java +++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java @@ -94,7 +94,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener, /** * ctor * Initialize the new interceptor. Given frame reference can be used to - * register this interceptor on it automaticly later. + * register this interceptor on it automatically later. * * @seealso startListening() * @@ -555,7 +555,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener, /** * Implements (optional!) optimization for interceptor mechanism. - * Any interceptor which provides this special interface is called automaticly + * Any interceptor which provides this special interface is called automatically * at registration time on this method. Returned URL's will be used to * call this interceptor directly without calling his masters before, IF(!) * following rules will be true: diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/OfficeConnect.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/OfficeConnect.java index fb14f5acdacc..8b1d4b7a5ce4 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/OfficeConnect.java +++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/OfficeConnect.java @@ -122,7 +122,7 @@ public class OfficeConnect * * @param aType describe class type of created service * Returned object can be casted directly to this one. - * Uno query was done by this method automaticly. + * Uno query was done by this method automatically. * @param sServiceSpecifier name of service which should be created * @return the new created service object */ diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java index 6e65c8375a7a..d9bd18e60320 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java +++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java @@ -54,7 +54,7 @@ import com.sun.star.uno.UnoRuntime; * * Further we are frame action listener too. * So we can update our status listener connections and - * internal holded dispatch object automaticly. + * internal holded dispatch object automatically. * * Another reason for such extra class for listening: * Most listener callbacks are asynchronous [oneay] requests. @@ -121,7 +121,7 @@ class StatusListener implements com.sun.star.frame.XStatusListener, * start working as frame action listener really. * In case we get such frame action, it indicates that we should * update our internal saved dispatch object on which we listen - * for status events. So we can do it automaticly. The outside code + * for status events. So we can do it automatically. The outside code * mustn't check such things. We can work with one frame, * till it die. It doesn't matter if he will be used for different * load/save or any other requests. We will be up to date everytime. @@ -384,7 +384,7 @@ class StatusListener implements com.sun.star.frame.XStatusListener, * Our dispatch or frame object inform us about his following dead ... * So we must forget his reference. But it's not necessary to * remove listener connections here. Because the broadcaster - * forget us automaticly. The only thing we have to do: release + * forget us automatically. The only thing we have to do: release * his reference and let him die! * * @param aEvent diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusView.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusView.java index 08616cfe617d..1b3289e46ca1 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusView.java +++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusView.java @@ -209,7 +209,7 @@ public class StatusView extends JPanel * And because the environment of the frame can be changed - these * listener refresh himself internally for frame action events too. * So we register it as such frame action listener only here. - * Rest is done automaticly ... + * Rest is done automatically ... * * @param xFrame * will be used as source of possible status events diff --git a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java index 81303623f517..511314d5a02a 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java +++ b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java @@ -159,7 +159,7 @@ public class AsciiReplaceFilter /** * used for initializing after creation * If an instance of this service is created by UNO we will be called - * automaticly after that to get optional parameters of this creation call. + * automatically after that to get optional parameters of this creation call. * E.g.: The service com.sun.star.document.FilterFactory use such mechanism * to pass our own configuration data to this instance. * diff --git a/odk/examples/DevelopersGuide/OfficeDev/OfficeConnect.java b/odk/examples/DevelopersGuide/OfficeDev/OfficeConnect.java index be5404ae1965..6ccb776e1202 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/OfficeConnect.java +++ b/odk/examples/DevelopersGuide/OfficeDev/OfficeConnect.java @@ -103,7 +103,7 @@ public class OfficeConnect * * @param aType describe class type of created service * Returned object can be casted directly to this one. - * Uno query was done by this method automaticly. + * Uno query was done by this method automatically. * @param sServiceSpecifier name of service which should be created * @return Description of the Returned Value */ diff --git a/odk/examples/java/DocumentHandling/DocumentLoader.java b/odk/examples/java/DocumentHandling/DocumentLoader.java index 2f01046d21b4..744b23c60ef2 100644 --- a/odk/examples/java/DocumentHandling/DocumentLoader.java +++ b/odk/examples/java/DocumentHandling/DocumentLoader.java @@ -74,7 +74,7 @@ public class DocumentLoader { sUrl = sbTmp.toString(); } - // Load a Writer document, which will be automaticly displayed + // Load a Writer document, which will be automatically displayed com.sun.star.lang.XComponent xComp = xCompLoader.loadComponentFromURL( sUrl, "_blank", 0, new com.sun.star.beans.PropertyValue[0]); diff --git a/odk/examples/java/DocumentHandling/DocumentPrinter.java b/odk/examples/java/DocumentHandling/DocumentPrinter.java index cc851123efc2..b94d700ed414 100644 --- a/odk/examples/java/DocumentHandling/DocumentPrinter.java +++ b/odk/examples/java/DocumentHandling/DocumentPrinter.java @@ -68,7 +68,7 @@ public class DocumentPrinter { StringBuffer sUrl = new StringBuffer("file:///"); sUrl.append(sourceFile.getCanonicalPath().replace('\\', '/')); - // Load a Writer document, which will be automaticly displayed + // Load a Writer document, which will be automatically displayed com.sun.star.lang.XComponent xComp = xCompLoader.loadComponentFromURL( sUrl.toString(), "_blank", 0, new com.sun.star.beans.PropertyValue[0] ); diff --git a/odk/examples/java/Inspector/TestInspector.java b/odk/examples/java/Inspector/TestInspector.java index bd7a38ed7401..804ad755630a 100644 --- a/odk/examples/java/Inspector/TestInspector.java +++ b/odk/examples/java/Inspector/TestInspector.java @@ -71,7 +71,7 @@ public class TestInspector { com.sun.star.frame.XComponentLoader xCmpLoader = UnoRuntime.queryInterface( com.sun.star.frame.XComponentLoader.class, xMCF.createInstanceWithContext("com.sun.star.frame.Desktop", xContext)); - // Load a new spreadsheet document, which will be automaticly + // Load a new spreadsheet document, which will be automatically // displayed and is used for inspection com.sun.star.lang.XComponent xComp = xCmpLoader.loadComponentFromURL("private:factory/scalc", "_blank", 0, new com.sun.star.beans.PropertyValue[0] ); xInstInspector.inspect(xCmpLoader, ""); diff --git a/odk/examples/java/NotesAccess/NotesAccess.java b/odk/examples/java/NotesAccess/NotesAccess.java index a8b221ee0ef5..70861a8b593e 100644 --- a/odk/examples/java/NotesAccess/NotesAccess.java +++ b/odk/examples/java/NotesAccess/NotesAccess.java @@ -151,7 +151,7 @@ public class NotesAccess implements Runnable { xMCF.createInstanceWithContext( "com.sun.star.frame.Desktop", xContext)); - // Load a Writer document, which will be automaticly displayed + // Load a Writer document, which will be automatically displayed XComponent xComponent = xLoader.loadComponentFromURL( "private:factory/scalc", "_blank", 0, new PropertyValue[0] ); diff --git a/odk/examples/java/Spreadsheet/ChartTypeChange.java b/odk/examples/java/Spreadsheet/ChartTypeChange.java index 9638fd0ba865..f85c500ff5db 100644 --- a/odk/examples/java/Spreadsheet/ChartTypeChange.java +++ b/odk/examples/java/Spreadsheet/ChartTypeChange.java @@ -183,7 +183,7 @@ public class ChartTypeChange { xMCF.createInstanceWithContext("com.sun.star.frame.Desktop", xCompContext ) ); - // Load a Writer document, which will be automaticly displayed + // Load a Writer document, which will be automatically displayed XComponent xComponent = xComponentloader.loadComponentFromURL( "file:///" + stringFileName, "_blank", 0, new PropertyValue[0] ); @@ -226,7 +226,7 @@ public class ChartTypeChange { "com.sun.star.frame.Desktop", xCompContext ) ); - // Create an empty calc document, which will be automaticly displayed + // Create an empty calc document, which will be automatically displayed XComponent xComponent = xcomponentloader.loadComponentFromURL( "private:factory/scalc", "_blank", 0, new PropertyValue[0] ); diff --git a/odk/examples/java/Text/GraphicsInserter.java b/odk/examples/java/Text/GraphicsInserter.java index d2078f76b9db..0bcdcfa12443 100644 --- a/odk/examples/java/Text/GraphicsInserter.java +++ b/odk/examples/java/Text/GraphicsInserter.java @@ -76,7 +76,7 @@ public class GraphicsInserter { UnoRuntime.queryInterface( com.sun.star.frame.XComponentLoader.class, xDesktop); - // Load a Writer document, which will be automaticly displayed + // Load a Writer document, which will be automatically displayed com.sun.star.lang.XComponent xComp = xCompLoader.loadComponentFromURL( "private:factory/swriter", "_blank", 0, new com.sun.star.beans.PropertyValue[0]); |