Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / packages / zip / ZipEntry.idl
blobfa3e41ba1e534e76ede79aeeaee6a5704b49c863
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef __com_sun_star_packages_zip_ZipEntry_idl__
20 #define __com_sun_star_packages_zip_ZipEntry_idl__
22 #include <com/sun/star/uno/XInterface.idl>
24 #include <com/sun/star/xml/sax/InputSource.idl>
26 #include <com/sun/star/io/IOException.idl>
30 module com { module sun { module star { module packages { module zip {
33 /** used to represent a ZIP file entry
36 <p>This interface is an IDL version of the Java interface
37 <em>java.util.zip.ZipFile</em> with some minor adaptations.</p>
39 published struct ZipEntry
41 /** version needed to extract
43 short nVersion;
45 /** bit flags
47 short nFlag;
49 /** compression method
51 short nMethod;
53 /** modification time
55 long nTime;
57 /** CRC-32 of entry data
59 long nCrc;
61 /** uncompressed size of entry data
63 long nCompressedSize;
65 /** uncompressed size of entry data
67 long nSize;
69 /** offset of LOC header
71 long nOffset;
73 /** The number of the disk this entry is saved on
75 short nDiskNumber;
77 /** the entry name
79 string sName;
81 /** optional extra field data for entry
83 sequence<byte> extra;
85 /** optional comment
87 string sComment;
91 }; }; }; }; };
93 #endif
95 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */