You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ms...@apache.org on 2019/02/12 12:52:02 UTC
svn commit: r1853432 - in
/openoffice/trunk/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans:
NativeConnection.java OfficeConnection.java OfficeWindow.java
Author: mseidel
Date: Tue Feb 12 12:52:01 2019
New Revision: 1853432
URL: http://svn.apache.org/viewvc?rev=1853432&view=rev
Log:
Removed whitespace, fixed typos
Modified:
openoffice/trunk/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/NativeConnection.java
openoffice/trunk/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/OfficeConnection.java
openoffice/trunk/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/OfficeWindow.java
Modified: openoffice/trunk/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/NativeConnection.java
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/NativeConnection.java?rev=1853432&r1=1853431&r2=1853432&view=diff
==============================================================================
--- openoffice/trunk/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/NativeConnection.java (original)
+++ openoffice/trunk/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/NativeConnection.java Tue Feb 12 12:52:01 2019
@@ -1,5 +1,5 @@
/**************************************************************
- *
+ *
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -7,16 +7,16 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
- *
+ *
*************************************************************/
@@ -25,7 +25,7 @@ package com.sun.star.comp.beans;
import com.sun.star.connection.XConnection;
-/* Connection to a locally running OOo instance.
+/* Connection to a locally running AOO instance.
*
* @deprecated.
*/
@@ -54,5 +54,5 @@ import com.sun.star.connection.XConnecti
}
private long NativeHandle;
- private String Description;
+ private String Description;
}
Modified: openoffice/trunk/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/OfficeConnection.java
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/OfficeConnection.java?rev=1853432&r1=1853431&r2=1853432&view=diff
==============================================================================
--- openoffice/trunk/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/OfficeConnection.java (original)
+++ openoffice/trunk/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/OfficeConnection.java Tue Feb 12 12:52:01 2019
@@ -1,5 +1,5 @@
/**************************************************************
- *
+ *
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -7,16 +7,16 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
- *
+ *
*************************************************************/
@@ -29,10 +29,10 @@ import com.sun.star.lang.XComponent;
import com.sun.star.uno.XComponentContext;
/**
- * This abstract class reprecents a connection to the office
+ * This abstract class represents a connection to the office
* application.
- @deprecated
+ @deprecated
*/
public interface OfficeConnection
extends XComponent
@@ -46,17 +46,17 @@ public interface OfficeConnection
throws java.net.MalformedURLException;
/**
- * Sets an AWT container catory.
+ * Sets an AWT container factory.
*
- * @param containerFactory This is a application provided AWT container
+ * @param containerFactory This is a application provided AWT container
* factory.
*/
void setContainerFactory(ContainerFactory containerFactory);
/**
- * Retrives the UNO component context.
- * Establishes a connection if necessary and initialises the
- * UNO service manager if it has not already been initialised.
+ * Retrieves the UNO component context.
+ * Establishes a connection if necessary and initializes the
+ * UNO service manager if it has not already been initialized.
*
* @return The office UNO component context.
*/
@@ -64,10 +64,10 @@ public interface OfficeConnection
/**
* Creates an office window.
- * The window is either a sub-class of java.awt.Canvas (local) or
- * java.awt.Container (RVP).
- *
- * This method does not add add the office window to its container.
+ * The window is either a sub-class of java.awt.Canvas (local) or
+ * java.awt.Container (RVP).
+ *
+ * This method does not add the office window to its container.
*
* @param container This is an AWT container.
* @return The office window instance.
Modified: openoffice/trunk/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/OfficeWindow.java
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/OfficeWindow.java?rev=1853432&r1=1853431&r2=1853432&view=diff
==============================================================================
--- openoffice/trunk/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/OfficeWindow.java (original)
+++ openoffice/trunk/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/OfficeWindow.java Tue Feb 12 12:52:01 2019
@@ -1,5 +1,5 @@
/**************************************************************
- *
+ *
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -7,16 +7,16 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
- *
+ *
*************************************************************/
@@ -28,23 +28,23 @@ import java.awt.Component;
import com.sun.star.awt.XWindowPeer;
/**
- * The concreate implementation of the OfficeWindow extends an
- * approperate type of visual component (java.awt.Canvas for local
+ * The concrete implementation of the OfficeWindow extends an
+ * appropriate type of visual component (java.awt.Canvas for local
* and java.awt.Container for remote).
- @deprecated
+ @deprecated
*/
public interface OfficeWindow
{
/**
- * Retrives an AWT component object associated with the OfficeWindow.
+ * Retrieves an AWT component object associated with the OfficeWindow.
*
* @return The AWT component object associated with the OfficeWindow.
*/
Component getAWTComponent();
/**
- * Retrives an UNO XWindowPeer object associated with the OfficeWindow.
+ * Retrieves an UNO XWindowPeer object associated with the OfficeWindow.
*
* @return The UNO XWindowPeer object associated with the OfficeWindow.
*/