cid#1636693 COPY_INSTEAD_OF_MOVE
[LibreOffice.git] / offapi / com / sun / star / packages / zip / ZipEntry.idl
blob1bdd6b61907724e8aa9447ffc139f29091de09d8
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 .
22 module com { module sun { module star { module packages { module zip {
25 /** used to represent a ZIP file entry
28 <p>This interface is an IDL version of the Java interface
29 <em>java.util.zip.ZipFile</em> with some minor adaptations.</p>
31 published struct ZipEntry
33 /** version needed to extract
35 short nVersion;
37 /** bit flags
39 short nFlag;
41 /** compression method
43 short nMethod;
45 /** modification time
47 long nTime;
49 /** CRC-32 of entry data
51 long nCrc;
53 /** uncompressed size of entry data
55 long nCompressedSize;
57 /** uncompressed size of entry data
59 long nSize;
61 /** offset of LOC header
63 long nOffset;
65 /** The number of the disk this entry is saved on
67 short nDiskNumber;
69 /** the entry name
71 string sName;
73 /** optional extra field data for entry
75 sequence<byte> extra;
77 /** optional comment
79 string sComment;
83 }; }; }; }; };
85 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */