LibreOffice: com/sun/star/packages/zip/ZipConstants.idl Source File

LibreOffice LibreOffice 25.2 SDK API Reference |

Loading...
Searching...
No Matches
ZipConstants.idl
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
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/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
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 .
18 */
19
20
21
22
23module com { module sun { module star { module packages { module zip {
24
25
28published constants ZipConstants
29{
33 const short DEFLATED = 8;
34
37 const short NO_COMPRESSION = 0;
38
41 const short BEST_SPEED = 1;
42
45 const short BEST_COMPRESSION = 9;
46
49 const short DEFAULT_COMPRESSION = -1;
50
55 const short FILTERED = 1;
56
59 const short HUFFMAN_ONLY = 2;
60
63 const short DEFAULT_STRATEGY = 0;
64
67 const short STORED = 0;
68
71 const short DEF_MEM_LEVEL = 8;
72
75 const long LOCSIG = 0x04034b50;
76
79 const long EXTSIG = 0x08074b50;
80
83 const long CENSIG = 0x02014b50;
84
87 const long ENDSIG = 0x06054b50;
88
91 const long SPANSIG = 0x08074b50;
92
95 const short LOCHDR = 30;
96
99 const short EXTHDR = 16;
100
103 const short CENHDR = 46;
104
107 const short ENDHDR = 22;
108
110
112 const short LOCVER = 4;
113
116 const short LOCFLG = 6;
117
120 const short LOCHOW = 8;
121
124 const short LOCTIM = 10;
125
128 const short LOCCRC = 14;
129
132 const short LOCSIZ = 18;
133
136 const short LOCLEN = 22;
137
140 const short LOCNAM = 26;
141
144 const short LOCEXT = 28;
145
148 const short EXTCRC = 4;
149
152 const short EXTSIZ = 8;
153
156 const short EXTLEN = 12;
157
160 const short CENVEM = 4;
161
164 const short CENVER = 6;
165
168 const short CENFLG = 8;
169
172 const short CENHOW = 10;
173
176 const short CENTIM = 12;
177
180 const short CENDAT = 14;
181
184 const short CENCRC = 16;
185
188 const short CENSIZ = 20;
189
192 const short CENLEN = 24;
193
196 const short CENNAM = 28;
197
200 const short CENEXT = 30;
201
204 const short CENCOM = 32;
205
208 const short CENDSK = 34;
209
212 const short CENATT = 36;
213
216 const short CENATX = 38;
217
220 const short CENOFF = 42;
221
224 const short ENDSUB = 8;
225
228 const short ENDTOT = 10;
229
232 const short ENDSIZ = 12;
233
236 const short ENDOFF = 16;
237
240 const short ENDCOM = 20;
241
242};
243
244}; }; }; }; };
245
246/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::packages::zip::ZipConstants
defines the constants used by the ZIP interfaces.
Definition ZipConstants.idl:29
com::sun::star::packages::zip::ZipConstants::LOCCRC
const short LOCCRC
LOC header field "CRC of uncompressed data" offset.
Definition ZipConstants.idl:128
com::sun::star::packages::zip::ZipConstants::SPANSIG
const long SPANSIG
Header Signature: "PK\007\008".
Definition ZipConstants.idl:91
com::sun::star::packages::zip::ZipConstants::EXTLEN
const short EXTLEN
EXT header field "uncompressed size" offsets.
Definition ZipConstants.idl:156
com::sun::star::packages::zip::ZipConstants::CENDAT
const short CENDAT
CEN header field "modification time" offset.
Definition ZipConstants.idl:180
com::sun::star::packages::zip::ZipConstants::CENVEM
const short CENVEM
CEN header field "version made by" offset.
Definition ZipConstants.idl:160
com::sun::star::packages::zip::ZipConstants::LOCNAM
const short LOCNAM
LOC header field "filename length" offset.
Definition ZipConstants.idl:140
com::sun::star::packages::zip::ZipConstants::ENDSIZ
const short ENDSIZ
END header field "central directory size" offset.
Definition ZipConstants.idl:232
com::sun::star::packages::zip::ZipConstants::CENFLG
const short CENFLG
CEN header field "general purpose bit flags" offset.
Definition ZipConstants.idl:168
com::sun::star::packages::zip::ZipConstants::ENDOFF
const short ENDOFF
END header field "central directory offset" offset.
Definition ZipConstants.idl:236
com::sun::star::packages::zip::ZipConstants::CENDSK
const short CENDSK
CEN header field "disk number start" offset.
Definition ZipConstants.idl:208
com::sun::star::packages::zip::ZipConstants::CENHOW
const short CENHOW
CEN header field "compression method" offset.
Definition ZipConstants.idl:172
com::sun::star::packages::zip::ZipConstants::CENTIM
const short CENTIM
CEN header field "modification time" offset.
Definition ZipConstants.idl:176
com::sun::star::packages::zip::ZipConstants::CENSIZ
const short CENSIZ
CEN header field "compressed size" offset.
Definition ZipConstants.idl:188
com::sun::star::packages::zip::ZipConstants::DEFLATED
const short DEFLATED
Compression method for the deflate algorithm (the only one currently supported).
Definition ZipConstants.idl:33
com::sun::star::packages::zip::ZipConstants::CENEXT
const short CENEXT
CEN header field "length of extra field" offset.
Definition ZipConstants.idl:200
com::sun::star::packages::zip::ZipConstants::EXTHDR
const short EXTHDR
EXT header size in bytes (including signatures)
Definition ZipConstants.idl:99
com::sun::star::packages::zip::ZipConstants::LOCEXT
const short LOCEXT
LOC header field "extra field length" offset.
Definition ZipConstants.idl:144
com::sun::star::packages::zip::ZipConstants::ENDSUB
const short ENDSUB
END header field "number of entries on this disk" offset.
Definition ZipConstants.idl:224
com::sun::star::packages::zip::ZipConstants::DEF_MEM_LEVEL
const short DEF_MEM_LEVEL
entry is uncompressed
Definition ZipConstants.idl:71
com::sun::star::packages::zip::ZipConstants::ENDHDR
const short ENDHDR
END header size in bytes (including signatures)
Definition ZipConstants.idl:107
com::sun::star::packages::zip::ZipConstants::CENNAM
const short CENNAM
CEN header field "length of filename" offset.
Definition ZipConstants.idl:196
com::sun::star::packages::zip::ZipConstants::CENCRC
const short CENCRC
CEN header field "CRC of uncompressed data" offset.
Definition ZipConstants.idl:184
com::sun::star::packages::zip::ZipConstants::CENLEN
const short CENLEN
CEN header field "uncompressed size" offset.
Definition ZipConstants.idl:192
com::sun::star::packages::zip::ZipConstants::NO_COMPRESSION
const short NO_COMPRESSION
Compression level for no compression.
Definition ZipConstants.idl:37
com::sun::star::packages::zip::ZipConstants::BEST_COMPRESSION
const short BEST_COMPRESSION
Compression level for best compression.
Definition ZipConstants.idl:45
com::sun::star::packages::zip::ZipConstants::ENDSIG
const long ENDSIG
Header Signature: "PK\005\006".
Definition ZipConstants.idl:87
com::sun::star::packages::zip::ZipConstants::STORED
const short STORED
entry is uncompressed
Definition ZipConstants.idl:67
com::sun::star::packages::zip::ZipConstants::LOCSIG
const long LOCSIG
Header Signature: "PK\003\004".
Definition ZipConstants.idl:75
com::sun::star::packages::zip::ZipConstants::CENSIG
const long CENSIG
Header Signature: "PK\001\002".
Definition ZipConstants.idl:83
com::sun::star::packages::zip::ZipConstants::HUFFMAN_ONLY
const short HUFFMAN_ONLY
Compression strategy for Huffman coding only.
Definition ZipConstants.idl:59
com::sun::star::packages::zip::ZipConstants::ENDCOM
const short ENDCOM
END header field "size of zip file comment" offset.
Definition ZipConstants.idl:240
com::sun::star::packages::zip::ZipConstants::LOCSIZ
const short LOCSIZ
LOC header field "compressed data size" offset.
Definition ZipConstants.idl:132
com::sun::star::packages::zip::ZipConstants::FILTERED
const short FILTERED
Compression strategy best used for data consisting mostly of small values with a somewhat random dist...
Definition ZipConstants.idl:55
com::sun::star::packages::zip::ZipConstants::DEFAULT_COMPRESSION
const short DEFAULT_COMPRESSION
Default compression level.
Definition ZipConstants.idl:49
com::sun::star::packages::zip::ZipConstants::LOCLEN
const short LOCLEN
LOC header field "uncompressed data size" offset.
Definition ZipConstants.idl:136
com::sun::star::packages::zip::ZipConstants::LOCHDR
const short LOCHDR
LOC header size in bytes (including signatures)
Definition ZipConstants.idl:95
com::sun::star::packages::zip::ZipConstants::EXTSIZ
const short EXTSIZ
EXT header field "compressed size" offsets.
Definition ZipConstants.idl:152
com::sun::star::packages::zip::ZipConstants::CENATT
const short CENATT
CEN header field "internal file attributes" offset.
Definition ZipConstants.idl:212
com::sun::star::packages::zip::ZipConstants::ENDTOT
const short ENDTOT
END header field "total number of entries" offset.
Definition ZipConstants.idl:228
com::sun::star::packages::zip::ZipConstants::CENOFF
const short CENOFF
CEN header field "offset of local header" offset.
Definition ZipConstants.idl:220
com::sun::star::packages::zip::ZipConstants::LOCHOW
const short LOCHOW
LOC header field "compression method" offset.
Definition ZipConstants.idl:120
com::sun::star::packages::zip::ZipConstants::CENVER
const short CENVER
CEN header field "version needed to extract" offset.
Definition ZipConstants.idl:164
com::sun::star::packages::zip::ZipConstants::LOCVER
const short LOCVER
LOC LOC LOC.
Definition ZipConstants.idl:112
com::sun::star::packages::zip::ZipConstants::DEFAULT_STRATEGY
const short DEFAULT_STRATEGY
Default compression strategy.
Definition ZipConstants.idl:63
com::sun::star::packages::zip::ZipConstants::BEST_SPEED
const short BEST_SPEED
Compression level for fastest compression.
Definition ZipConstants.idl:41
com::sun::star::packages::zip::ZipConstants::EXTSIG
const long EXTSIG
Header Signature: "PK\007\008".
Definition ZipConstants.idl:79
com::sun::star::packages::zip::ZipConstants::LOCTIM
const short LOCTIM
LOC header field "modification time" offset.
Definition ZipConstants.idl:124
com::sun::star::packages::zip::ZipConstants::CENCOM
const short CENCOM
CEN header field "file comment length" offset.
Definition ZipConstants.idl:204
com::sun::star::packages::zip::ZipConstants::EXTCRC
const short EXTCRC
EXT header field "CRC of uncompressed data" offsets.
Definition ZipConstants.idl:148
com::sun::star::packages::zip::ZipConstants::CENHDR
const short CENHDR
CEN header size in bytes (including signatures)
Definition ZipConstants.idl:103
com::sun::star::packages::zip::ZipConstants::LOCFLG
const short LOCFLG
LOC header field "general purpose bit flags" offset.
Definition ZipConstants.idl:116
com::sun::star::packages::zip::ZipConstants::CENATX
const short CENATX
CEN header field "external file attributes" offset.
Definition ZipConstants.idl:216
com
Definition Ambiguous.idl:20