diff options
Diffstat (limited to 'offapi/com/sun/star/packages/zip')
-rw-r--r-- | offapi/com/sun/star/packages/zip/XZipFileAccess.idl | 58 | ||||
-rw-r--r-- | offapi/com/sun/star/packages/zip/ZipConstants.idl | 34 | ||||
-rw-r--r-- | offapi/com/sun/star/packages/zip/ZipEntry.idl | 66 | ||||
-rw-r--r-- | offapi/com/sun/star/packages/zip/ZipException.idl | 54 | ||||
-rw-r--r-- | offapi/com/sun/star/packages/zip/ZipFileAccess.idl | 64 | ||||
-rwxr-xr-x | offapi/com/sun/star/packages/zip/ZipIOException.idl | 38 |
6 files changed, 157 insertions, 157 deletions
diff --git a/offapi/com/sun/star/packages/zip/XZipFileAccess.idl b/offapi/com/sun/star/packages/zip/XZipFileAccess.idl index 089b2e3a57cf..968174a2fabf 100644 --- a/offapi/com/sun/star/packages/zip/XZipFileAccess.idl +++ b/offapi/com/sun/star/packages/zip/XZipFileAccess.idl @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -25,35 +25,35 @@ * ************************************************************************/ #ifndef __com_sun_star_packages_zip_XZipFileAccess_idl__ -#define __com_sun_star_packages_zip_XZipFileAccess_idl__ - -#ifndef __com_sun_star_uno_XInterface_idl__ -#include <com/sun/star/uno/XInterface.idl> -#endif - -#ifndef __com_sun_star_packages_zip_ZipEntry_idl__ -#include <com/sun/star/packages/zip/ZipEntry.idl> -#endif +#define __com_sun_star_packages_zip_XZipFileAccess_idl__ + +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif + +#ifndef __com_sun_star_packages_zip_ZipEntry_idl__ +#include <com/sun/star/packages/zip/ZipEntry.idl> +#endif #ifndef __com_sun_star_container_NoSuchElementException_idl_ -#include <com/sun/star/container/NoSuchElementException.idl> -#endif - -#ifndef __com_sun_star_io_IOException_idl__ -#include <com/sun/star/io/IOException.idl> -#endif - - -//============================================================================= +#include <com/sun/star/container/NoSuchElementException.idl> +#endif +#ifndef __com_sun_star_io_IOException_idl__ +#include <com/sun/star/io/IOException.idl> +#endif + + +//============================================================================= + module com { module sun { module star { module packages { module zip { - -//============================================================================= - + +//============================================================================= + /** allows to get reading access to nonencrypted entries inside zip file. */ interface XZipFileAccess: ::com::sun::star::uno::XInterface -{ +{ //------------------------------------------------------------------------- /** allows to get stream by specifying a pattern. @@ -69,11 +69,11 @@ interface XZipFileAccess: ::com::sun::star::uno::XInterface raises( ::com::sun::star::container::NoSuchElementException, ::com::sun::star::io::IOException ); -}; - -//============================================================================= - +}; + +//============================================================================= + }; }; }; }; }; - -#endif + +#endif diff --git a/offapi/com/sun/star/packages/zip/ZipConstants.idl b/offapi/com/sun/star/packages/zip/ZipConstants.idl index 1a823a889255..12cccb7e2664 100644 --- a/offapi/com/sun/star/packages/zip/ZipConstants.idl +++ b/offapi/com/sun/star/packages/zip/ZipConstants.idl @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -26,25 +26,25 @@ ************************************************************************/ #ifndef __com_sun_star_package_zip_ZipConstants_idl__ #define __com_sun_star_package_zip_ZipConstants_idl__ + - -//============================================================================= - +//============================================================================= + module com { module sun { module star { module packages { module zip { - -//============================================================================= - + +//============================================================================= + /** defines the constants used by the ZIP interfaces. */ published constants ZipConstants -{ +{ //------------------------------------------------------------------------- - /** Compression method for the deflate algorithm (the only one currently + /** Compression method for the deflate algorithm (the only one currently supported). */ const short DEFLATED = 8; - + //------------------------------------------------------------------------- /** Compression level for no compression. */ @@ -66,8 +66,8 @@ published constants ZipConstants const short DEFAULT_COMPRESSION = -1; //------------------------------------------------------------------------- - /** Compression strategy best used for data consisting mostly of small - values with a somewhat random distribution. Forces more Huffman + /** Compression strategy best used for data consisting mostly of small + values with a somewhat random distribution. Forces more Huffman coding and less string matching. */ const short FILTERED = 1; @@ -303,9 +303,9 @@ published constants ZipConstants */ const short ENDCOM = 20; -}; -//============================================================================= - +}; +//============================================================================= + }; }; }; }; }; - -#endif + +#endif diff --git a/offapi/com/sun/star/packages/zip/ZipEntry.idl b/offapi/com/sun/star/packages/zip/ZipEntry.idl index f363c3244c41..dc56e177d70c 100644 --- a/offapi/com/sun/star/packages/zip/ZipEntry.idl +++ b/offapi/com/sun/star/packages/zip/ZipEntry.idl @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -25,36 +25,36 @@ * ************************************************************************/ #ifndef __com_sun_star_packages_zip_ZipEntry_idl__ -#define __com_sun_star_packages_zip_ZipEntry_idl__ - -#ifndef __com_sun_star_uno_XInterface_idl__ -#include <com/sun/star/uno/XInterface.idl> -#endif - -#ifndef __com_sun_star_xml_sax_InputSource_idl__ -#include <com/sun/star/xml/sax/InputSource.idl> -#endif - -#ifndef __com_sun_star_io_IOException_idl__ -#include <com/sun/star/io/IOException.idl> -#endif - - -//============================================================================= - +#define __com_sun_star_packages_zip_ZipEntry_idl__ + +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif + +#ifndef __com_sun_star_xml_sax_InputSource_idl__ +#include <com/sun/star/xml/sax/InputSource.idl> +#endif + +#ifndef __com_sun_star_io_IOException_idl__ +#include <com/sun/star/io/IOException.idl> +#endif + + +//============================================================================= + module com { module sun { module star { module packages { module zip { - -//============================================================================= - + +//============================================================================= + /** used to represent a ZIP file entry - - - <p>This interface is an IDL version of the Java interface + + + <p>This interface is an IDL version of the Java interface <em>java.util.zip.ZipFile</em> with some minor adaptations.</p> */ published struct ZipEntry -{ - //------------------------------------------------------------------------- +{ + //------------------------------------------------------------------------- /** version needed to extract */ short nVersion; @@ -102,7 +102,7 @@ published struct ZipEntry //------------------------------------------------------------------------- /** the entry name */ - string sName; + string sName; //------------------------------------------------------------------------- /** optional extra field data for entry @@ -113,10 +113,10 @@ published struct ZipEntry /** optional comment */ string sComment; -}; - -//============================================================================= - +}; + +//============================================================================= + }; }; }; }; }; - -#endif + +#endif diff --git a/offapi/com/sun/star/packages/zip/ZipException.idl b/offapi/com/sun/star/packages/zip/ZipException.idl index 4e816287ee92..daaad4496641 100644 --- a/offapi/com/sun/star/packages/zip/ZipException.idl +++ b/offapi/com/sun/star/packages/zip/ZipException.idl @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -26,35 +26,35 @@ ************************************************************************/ #ifndef __com_sun_star_packages_zip_ZipException_idl__ #define __com_sun_star_packages_zip_ZipException_idl__ - -#ifndef __com_sun_star_uno_XInterface_idl__ -#include <com/sun/star/uno/XInterface.idl> -#endif - -#ifndef __com_sun_star_io_XInputStream_idl__ -#include <com/sun/star/io/XInputStream.idl> -#endif - -#ifndef __com_sun_star_io_IOException_idl__ -#include <com/sun/star/io/IOException.idl> -#endif - -//============================================================================= - + +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif + +#ifndef __com_sun_star_io_XInputStream_idl__ +#include <com/sun/star/io/XInputStream.idl> +#endif + +#ifndef __com_sun_star_io_IOException_idl__ +#include <com/sun/star/io/IOException.idl> +#endif + +//============================================================================= + module com { module sun { module star { module packages { module zip { - -//============================================================================= - + +//============================================================================= + /** used to indicate that a ZIP exception has occurred. - <p>This interface is an IDL version of the Java interface + <p>This interface is an IDL version of the Java interface <em>java.util.zip.ZipException</em> with some minor adaptations.</p> */ published exception ZipException: com::sun::star::uno::Exception -{ -}; - -//============================================================================= - +{ +}; + +//============================================================================= + }; }; }; }; }; - -#endif + +#endif diff --git a/offapi/com/sun/star/packages/zip/ZipFileAccess.idl b/offapi/com/sun/star/packages/zip/ZipFileAccess.idl index 1f8cd8efb999..896d031b53d6 100644 --- a/offapi/com/sun/star/packages/zip/ZipFileAccess.idl +++ b/offapi/com/sun/star/packages/zip/ZipFileAccess.idl @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -25,48 +25,48 @@ * ************************************************************************/ #ifndef __com_sun_star_packages_zip_ZipFileAccess_idl__ -#define __com_sun_star_packages_zip_ZipFileAccess_idl__ - -#ifndef __com_sun_star_packages_zip_XZipFileAccess_idl__ -#include <com/sun/star/packages/zip/XZipFileAccess.idl> -#endif - -#ifndef __com_sun_star_lang_XInitialization_idl__ -#include <com/sun/star/lang/XInitialization.idl> -#endif - -#ifndef __com_sun_star_lang_XComponent_idl__ -#include <com/sun/star/lang/XComponent.idl> -#endif - -#ifndef __com_sun_star_container_XNameAccess_idl__ -#include <com/sun/star/container/XNameAccess.idl> -#endif +#define __com_sun_star_packages_zip_ZipFileAccess_idl__ + +#ifndef __com_sun_star_packages_zip_XZipFileAccess_idl__ +#include <com/sun/star/packages/zip/XZipFileAccess.idl> +#endif -#ifndef __com_sun_star_io_IOException_idl__ -#include <com/sun/star/io/IOException.idl> -#endif +#ifndef __com_sun_star_lang_XInitialization_idl__ +#include <com/sun/star/lang/XInitialization.idl> +#endif +#ifndef __com_sun_star_lang_XComponent_idl__ +#include <com/sun/star/lang/XComponent.idl> +#endif -//============================================================================= +#ifndef __com_sun_star_container_XNameAccess_idl__ +#include <com/sun/star/container/XNameAccess.idl> +#endif +#ifndef __com_sun_star_io_IOException_idl__ +#include <com/sun/star/io/IOException.idl> +#endif + + +//============================================================================= + module com { module sun { module star { module packages { module zip { - -//============================================================================= - + +//============================================================================= + /** allows to get reading access to nonencrypted entries inside zip file. */ service ZipFileAccess -{ +{ interface XZipFileAccess; interface ::com::sun::star::container::XNameAccess; interface ::com::sun::star::lang::XInitialization; interface ::com::sun::star::lang::XComponent; -}; - -//============================================================================= - +}; + +//============================================================================= + }; }; }; }; }; - -#endif + +#endif diff --git a/offapi/com/sun/star/packages/zip/ZipIOException.idl b/offapi/com/sun/star/packages/zip/ZipIOException.idl index 8d3edaba4466..ad09d8ea4451 100755 --- a/offapi/com/sun/star/packages/zip/ZipIOException.idl +++ b/offapi/com/sun/star/packages/zip/ZipIOException.idl @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -26,30 +26,30 @@ ************************************************************************/ #ifndef __com_sun_star_packages_zip_ZipIOException_idl__ #define __com_sun_star_packages_zip_ZipIOException_idl__ - -#ifndef __com_sun_star_io_IOException_idl__ -#include <com/sun/star/io/IOException.idl> -#endif - -//============================================================================= - + +#ifndef __com_sun_star_io_IOException_idl__ +#include <com/sun/star/io/IOException.idl> +#endif + +//============================================================================= + module com { module sun { module star { module packages { module zip { - -//============================================================================= - + +//============================================================================= + /** used to indicate that a ZIP exception has occurred. usualy can be thrown from XInputStream interface implementations. - <p>This interface is an IDL version of the Java interface + <p>This interface is an IDL version of the Java interface <em>java.util.zip.ZipException</em> with some minor adaptations.</p> @since OOo 1.1.2 */ published exception ZipIOException: com::sun::star::io::IOException -{ -}; - -//============================================================================= - +{ +}; + +//============================================================================= + }; }; }; }; }; - -#endif + +#endif |