This is an automated email from the ASF dual-hosted git repository. mseidel pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/trunk by this push: new a1675a4 Removed whitespace, fixed typos a1675a4 is described below commit a1675a4eb89c259fe4bddd2efd471c0510a3014d Author: mseidel <msei...@apache.org> AuthorDate: Sat Aug 24 14:51:48 2019 +0200 Removed whitespace, fixed typos --- .../com/sun/star/mozilla/XPluginInstancePeer.idl | 187 +++++++++++---------- .../com/sun/star/ui/dialogs/XFilePreview.idl | 27 ++- 2 files changed, 107 insertions(+), 107 deletions(-) diff --git a/main/offapi/com/sun/star/mozilla/XPluginInstancePeer.idl b/main/offapi/com/sun/star/mozilla/XPluginInstancePeer.idl index a57b5b4..0bcf630 100644 --- a/main/offapi/com/sun/star/mozilla/XPluginInstancePeer.idl +++ b/main/offapi/com/sun/star/mozilla/XPluginInstancePeer.idl @@ -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,58 +7,59 @@ * 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. - * + * *************************************************************/ -#ifndef __com_sun_star_mozilla_XPluginInstancePeer_idl__ -#define __com_sun_star_mozilla_XPluginInstancePeer_idl__ - -#ifndef __com_sun_star_uno_XInterface_idl__ -#include <com/sun/star/uno/XInterface.idl> -#endif - -#ifndef __com_sun_star_io_XActiveDataSource_idl__ -#include <com/sun/star/io/XActiveDataSource.idl> -#endif - -#ifndef __com_sun_star_io_XInputStream_idl__ -#include <com/sun/star/io/XInputStream.idl> -#endif - -#ifndef __com_sun_star_lang_XMultiServiceFactory_idl__ -#include <com/sun/star/lang/XMultiServiceFactory.idl> -#endif - -//============================================================================= - - module com { module sun { module star { module mozilla { - -//============================================================================= - - published interface XPluginInstanceNotifySink; - -//============================================================================= - - + +#ifndef __com_sun_star_mozilla_XPluginInstancePeer_idl__ +#define __com_sun_star_mozilla_XPluginInstancePeer_idl__ + +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif + +#ifndef __com_sun_star_io_XActiveDataSource_idl__ +#include <com/sun/star/io/XActiveDataSource.idl> +#endif + +#ifndef __com_sun_star_io_XInputStream_idl__ +#include <com/sun/star/io/XInputStream.idl> +#endif + +#ifndef __com_sun_star_lang_XMultiServiceFactory_idl__ +#include <com/sun/star/lang/XMultiServiceFactory.idl> +#endif + +//============================================================================= + + module com { module sun { module star { module mozilla { + +//============================================================================= + + published interface XPluginInstanceNotifySink; + +//============================================================================= + + // DocMerge from xml: interface com::sun::star::mozilla::XPluginInstancePeer /** Allows to communicate with a plugin from the office side. This interface is oriented for communication with browsers plugins. */ published interface XPluginInstancePeer: com::sun::star::uno::XInterface -{ - //------------------------------------------------------------------------- - - +{ + //------------------------------------------------------------------------- + + // DocMerge from xml: method com::sun::star::mozilla::XPluginInstancePeer::setWindowSize /** Alters the plugin's window size in the browser window. @@ -67,21 +68,21 @@ published interface XPluginInstancePeer: com::sun::star::uno::XInterface @return <CODE>TRUE</CODE> on success */ - boolean setWindowSize( [in] long width, [in] long heigth ); - - //------------------------------------------------------------------------- - - + boolean setWindowSize( [in] long width, [in] long height ); + + //------------------------------------------------------------------------- + + // DocMerge from xml: method com::sun::star::mozilla::XPluginInstancePeer::showStatusMessage /** Show status / hint message in browser's message area. @param message [in]: the string to be displayed */ - [oneway] void showStatusMessage( [in] string message ); - - //------------------------------------------------------------------------- - - + [oneway] void showStatusMessage( [in] string message ); + + //------------------------------------------------------------------------- + + // DocMerge from xml: method com::sun::star::mozilla::XPluginInstancePeer::enableScripting /** Indicates to the plugin that the document was loaded successfully and scripting interfaces are now available. @@ -90,11 +91,11 @@ published interface XPluginInstancePeer: com::sun::star::uno::XInterface @param servicemanager [in]: the office servicemanager */ - [oneway] void enableScripting( [in] com::sun::star::uno::XInterface document, [in] com::sun::star::lang::XMultiServiceFactory servicemanager ); - - //------------------------------------------------------------------------- - - + [oneway] void enableScripting( [in] com::sun::star::uno::XInterface document, [in] com::sun::star::lang::XMultiServiceFactory servicemanager ); + + //------------------------------------------------------------------------- + + // DocMerge from xml: method com::sun::star::mozilla::XPluginInstancePeer::newStream /** Creates a new stream of data produced by the plug-in and consumed by the browser. @@ -104,63 +105,63 @@ published interface XPluginInstancePeer: com::sun::star::uno::XInterface @param data [in]: on success the outputstream will be associated with this instance */ - [oneway] void newStream( - [in] string MIMEDesc, - [in] string target, - [in] com::sun::star::io::XActiveDataSource data - ); - - //------------------------------------------------------------------------- - - + [oneway] void newStream( + [in] string MIMEDesc, + [in] string target, + [in] com::sun::star::io::XActiveDataSource data + ); + + //------------------------------------------------------------------------- + + // DocMerge from xml: method com::sun::star::mozilla::XPluginInstancePeer::getURL - /** Fetches an URL into the target window. The parameters and their meaning map to the + /** Fetches an URL into the target window. The parameters and their meaning map to the corresponding Netscape-API call. - + @param aURL [in]: the URL to be fetched @param target [in]: the name of the target window or frame (supports _blank, _self) - @param alternativeHost [in]: alternativeHost + @param alternativeHost [in]: alternativeHost @param referrer [in]: referrer @param sink [in]: the sink is notified on success */ - [oneway] void getURL ( - [in] string aURL, - [in] string target, - [in] string alternativeHost, - [in] string referrer, - [in] XPluginInstanceNotifySink sink - ); - - //------------------------------------------------------------------------- - - + [oneway] void getURL ( + [in] string aURL, + [in] string target, + [in] string alternativeHost, + [in] string referrer, + [in] XPluginInstanceNotifySink sink + ); + + //------------------------------------------------------------------------- + + // DocMerge from xml: method com::sun::star::mozilla::XPluginInstancePeer::postURL - /** Posts to a URL with post data and/or post headers. The parameters and their meaning + /** Posts to a URL with post data and/or post headers. The parameters and their meaning map to the corresponding Netscape-API call. @param aURL [in]: the URL to be posted to @param postData [in]: the data to be posted @param target [in]: the name of the target window or frame (supports _blank, _self) - @param alternativeHost [in]: alternativeHost + @param alternativeHost [in]: alternativeHost @param referrer [in]: referrer @param postHeaders [in]: the header to be posted @param sink [in]: the sink is notified on success */ - [oneway] void postURL ( - [in] string aURL, - [in] com::sun::star::io::XInputStream postData, - [in] string target, - [in] string alternativeHost, - [in] string referrer, - [in] com::sun::star::io::XInputStream postHeaders, - [in] XPluginInstanceNotifySink sink - ); -}; - -//============================================================================= - -}; }; }; }; - + [oneway] void postURL ( + [in] string aURL, + [in] com::sun::star::io::XInputStream postData, + [in] string target, + [in] string alternativeHost, + [in] string referrer, + [in] com::sun::star::io::XInputStream postHeaders, + [in] XPluginInstanceNotifySink sink + ); +}; + +//============================================================================= + +}; }; }; }; + #endif diff --git a/main/offapi/com/sun/star/ui/dialogs/XFilePreview.idl b/main/offapi/com/sun/star/ui/dialogs/XFilePreview.idl index a72ee06..c971b87 100644 --- a/main/offapi/com/sun/star/ui/dialogs/XFilePreview.idl +++ b/main/offapi/com/sun/star/ui/dialogs/XFilePreview.idl @@ -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. - * + * *************************************************************/ @@ -50,16 +50,16 @@ published interface XFilePreview: com::sun::star::uno::XInterface //------------------------------------------------------------------------- /** The method returns all image formats that the preview supports. - @returns + @returns A sequence of all supported preview formats - + @see com::sun::star::ui::dialogs::FilePreviewImageFormats - */ + */ sequence< short > getSupportedImageFormats( ); //------------------------------------------------------------------------- /** The method returns the supported color depth of the target device. - + @returns The color depth in bit, e.g. 8 bit, 16 bit, 32 bit. */ @@ -83,17 +83,17 @@ published interface XFilePreview: com::sun::star::uno::XInterface 0 will be returned. @returns - The heigth of the preview window in pixel. + The height of the preview window in pixel. */ long getAvailableHeight( ); //------------------------------------------------------------------------- - /** Sets a new image. If the preview is currently hidden the + /** Sets a new image. If the preview is currently hidden the image will be ignored. An empty any will clear the preview window. @param aImageFormat Specifies the format of the data that will be delivered - + @param aImage The image data, the image format defines how the image data have to be delivered @@ -102,7 +102,7 @@ published interface XFilePreview: com::sun::star::uno::XInterface If the specified image format is invalid or not supported by the preview implementation - @see com::sun::star::ui::dialogs::FilePreviewImageFormats + @see com::sun::star::ui::dialogs::FilePreviewImageFormats */ void setImage( [in] short aImageFormat, [in] any aImage ) raises( ::com::sun::star::lang::IllegalArgumentException ); @@ -117,7 +117,7 @@ published interface XFilePreview: com::sun::star::uno::XInterface @returns A value of <TRUE/> on success. - <p>A vaue of <FALSE/> if the operation fails for any reason or the preview + <p>A value of <FALSE/> if the operation fails for any reason or the preview implementation doesn't support hiding the preview.</p> */ boolean setShowState( [in] boolean bShowState ); @@ -136,5 +136,4 @@ published interface XFilePreview: com::sun::star::uno::XInterface }; }; }; }; }; - #endif