Modified: openoffice/trunk/main/embeddedobj/test/Container1/JavaWindowPeerFake.java URL: http://svn.apache.org/viewvc/openoffice/trunk/main/embeddedobj/test/Container1/JavaWindowPeerFake.java?rev=1843806&r1=1843805&r2=1843806&view=diff ============================================================================== --- openoffice/trunk/main/embeddedobj/test/Container1/JavaWindowPeerFake.java (original) +++ openoffice/trunk/main/embeddedobj/test/Container1/JavaWindowPeerFake.java Sun Oct 14 00:39:50 2018 @@ -32,7 +32,7 @@ import com.sun.star.util.*; import com.sun.star.beans.*; import com.sun.star.container.*; -/** <p>Class to pass the system window handle to the OpenOffice.org toolkit.</p> +/** <p>Class to pass the system window handle to the OpenOffice toolkit.</p> */ class JavaWindowPeerFake implements XSystemDependentWindowPeer, XWindowPeer @@ -46,8 +46,8 @@ class JavaWindowPeerFake implements XSys // ____________________ /** - * Implementation of XSystemDependentWindowPeer ( that's all we really need ). - * This method is called back from the Office toolkit to retrieve the system data. + * Implementation of XSystemDependentWindowPeer (that's all we really need). + * This method is called back from the OpenOffice toolkit to retrieve the system data. */ public java.lang.Object getWindowHandle( byte[] aProcessId, short aSystem ) throws com.sun.star.uno.RuntimeException @@ -59,7 +59,7 @@ class JavaWindowPeerFake implements XSys return aReturn; } - /** not really neaded. + /** not really needed. */ public XToolkit getToolkit() throws com.sun.star.uno.RuntimeException
Modified: openoffice/trunk/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/JavaWindowPeerFake.java URL: http://svn.apache.org/viewvc/openoffice/trunk/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/JavaWindowPeerFake.java?rev=1843806&r1=1843805&r2=1843806&view=diff ============================================================================== --- openoffice/trunk/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/JavaWindowPeerFake.java (original) +++ openoffice/trunk/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/JavaWindowPeerFake.java Sun Oct 14 00:39:50 2018 @@ -24,73 +24,73 @@ import java.awt.*; -/** <p>Class to pass the system window handle to the OpenOffice.org toolkit.</p> +/** <p>Class to pass the system window handle to the OpenOffice toolkit.</p> */ class JavaWindowPeerFake implements com.sun.star.awt.XSystemDependentWindowPeer, - com.sun.star.awt.XWindowPeer + com.sun.star.awt.XWindowPeer { - NativeView maView; + NativeView maView; - public JavaWindowPeerFake(NativeView aNative) - { - maView = aNative; - } - - // ____________________ - /** - * Implementation of XSystemDependentWindowPeer (that's all we really need). - * This method is called back from the Office toolkit to retrieve the system data. + public JavaWindowPeerFake(NativeView aNative) + { + maView = aNative; + } + + // ____________________ + /** + * Implementation of XSystemDependentWindowPeer (that's all we really need). + * This method is called back from the OpenOffice toolkit to retrieve the system data. */ - public java.lang.Object getWindowHandle(byte[] aProcessId, short aSystem) - throws com.sun.star.uno.RuntimeException - { - Object aReturn = null; - if(aSystem==maView.maSystem) - aReturn = (Object)maView.maHandle; - return aReturn; + public java.lang.Object getWindowHandle(byte[] aProcessId, short aSystem) + throws com.sun.star.uno.RuntimeException + { + Object aReturn = null; + if(aSystem==maView.maSystem) + aReturn = (Object)maView.maHandle; + return aReturn; } - /** not really neaded. + /** not really needed. */ - public com.sun.star.awt.XToolkit getToolkit() - throws com.sun.star.uno.RuntimeException - { + public com.sun.star.awt.XToolkit getToolkit() + throws com.sun.star.uno.RuntimeException + { return null; } - public void setPointer(com.sun.star.awt.XPointer xPointer) - throws com.sun.star.uno.RuntimeException - { + public void setPointer(com.sun.star.awt.XPointer xPointer) + throws com.sun.star.uno.RuntimeException + { } - public void setBackground(int nColor) - throws com.sun.star.uno.RuntimeException - { + public void setBackground(int nColor) + throws com.sun.star.uno.RuntimeException + { } - public void invalidate(short nFlags) - throws com.sun.star.uno.RuntimeException - { + public void invalidate(short nFlags) + throws com.sun.star.uno.RuntimeException + { } - public void invalidateRect(com.sun.star.awt.Rectangle aRect,short nFlags) - throws com.sun.star.uno.RuntimeException - { + public void invalidateRect(com.sun.star.awt.Rectangle aRect,short nFlags) + throws com.sun.star.uno.RuntimeException + { } - public void dispose() - throws com.sun.star.uno.RuntimeException - { + public void dispose() + throws com.sun.star.uno.RuntimeException + { } - public void addEventListener(com.sun.star.lang.XEventListener xListener) - throws com.sun.star.uno.RuntimeException - { + public void addEventListener(com.sun.star.lang.XEventListener xListener) + throws com.sun.star.uno.RuntimeException + { } - public void removeEventListener(com.sun.star.lang.XEventListener xListener) - throws com.sun.star.uno.RuntimeException - { + public void removeEventListener(com.sun.star.lang.XEventListener xListener) + throws com.sun.star.uno.RuntimeException + { } }
