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

LibreOffice LibreOffice 5.1 SDK API Reference

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List
- File Members

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 #ifndef __com_sun_star_packages_zip_ZipConstants_idl__
20 #define __com_sun_star_packages_zip_ZipConstants_idl__
21
22
23
24
25 module com { module sun { module star { module packages { module zip {
26
27
30 published constants ZipConstants
31 {
35 const short DEFLATED = 8;
36
39 const short NO_COMPRESSION = 0;
40
43 const short BEST_SPEED = 1;
44
47 const short BEST_COMPRESSION = 9;
48
51 const short DEFAULT_COMPRESSION = -1;
52
57 const short FILTERED = 1;
58
61 const short HUFFMAN_ONLY = 2;
62
65 const short DEFAULT_STRATEGY = 0;
66
69 const short STORED = 0;
70
73 const short DEF_MEM_LEVEL = 8;
74
77 const long LOCSIG = 0x04034b50;
78
81 const long EXTSIG = 0x08074b50;
82
85 const long CENSIG = 0x02014b50;
86
89 const long ENDSIG = 0x06054b50;
90
93 const long SPANSIG = 0x08074b50;
94
97 const short LOCHDR = 30;
98
101 const short EXTHDR = 16;
102
105 const short CENHDR = 46;
106
109 const short ENDHDR = 22;
110
112
114 const short LOCVER = 4;
115
118 const short LOCFLG = 6;
119
122 const short LOCHOW = 8;
123
126 const short LOCTIM = 10;
127
130 const short LOCCRC = 14;
131
134 const short LOCSIZ = 18;
135
138 const short LOCLEN = 22;
139
142 const short LOCNAM = 26;
143
146 const short LOCEXT = 28;
147
150 const short EXTCRC = 4;
151
154 const short EXTSIZ = 8;
155
158 const short EXTLEN = 12;
159
162 const short CENVEM = 4;
163
166 const short CENVER = 6;
167
170 const short CENFLG = 8;
171
174 const short CENHOW = 10;
175
178 const short CENTIM = 12;
179
182 const short CENDAT = 14;
183
186 const short CENCRC = 16;
187
190 const short CENSIZ = 20;
191
194 const short CENLEN = 24;
195
198 const short CENNAM = 28;
199
202 const short CENEXT = 30;
203
206 const short CENCOM = 32;
207
210 const short CENDSK = 34;
211
214 const short CENATT = 36;
215
218 const short CENATX = 38;
219
222 const short CENOFF = 42;
223
226 const short ENDSUB = 8;
227
230 const short ENDTOT = 10;
231
234 const short ENDSIZ = 12;
235
238 const short ENDOFF = 16;
239
242 const short ENDCOM = 20;
243
244 };
245
246 }; }; }; }; };
247
248 #endif
249
250 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::packages::zip::ZipConstants::CENHDR
const short CENHDR
CEN header size in bytes (including signatures)
Definition: ZipConstants.idl:105
com::sun::star::packages::zip::ZipConstants::CENFLG
const short CENFLG
CEN header field "general purpose bit flags" offset.
Definition: ZipConstants.idl:170
com::sun::star::packages::zip::ZipConstants::CENEXT
const short CENEXT
CEN header field "length of extra field" offset.
Definition: ZipConstants.idl:202
com::sun::star::packages::zip::ZipConstants::CENDSK
const short CENDSK
CEN header field "disk number start" offset.
Definition: ZipConstants.idl:210
com::sun::star::packages::zip::ZipConstants::CENSIG
const long CENSIG
Header Signature: "PK\001\002".
Definition: ZipConstants.idl:85
com::sun::star::packages::zip::ZipConstants::BEST_COMPRESSION
const short BEST_COMPRESSION
Compression level for best compression.
Definition: ZipConstants.idl:47
com::sun::star::packages::zip::ZipConstants::DEF_MEM_LEVEL
const short DEF_MEM_LEVEL
entry is uncompressed
Definition: ZipConstants.idl:73
com::sun::star::packages::zip::ZipConstants::STORED
const short STORED
entry is uncompressed
Definition: ZipConstants.idl:69
com::sun::star::packages::zip::ZipConstants::CENHOW
const short CENHOW
CEN header field "compression method" offset.
Definition: ZipConstants.idl:174
com::sun::star::packages::zip::ZipConstants::LOCEXT
const short LOCEXT
LOC header field "extra field length" offset.
Definition: ZipConstants.idl:146
com
Definition: Ambiguous.idl:22
com::sun::star::packages::zip::ZipConstants::CENLEN
const short CENLEN
CEN header field "uncompressed size" offset.
Definition: ZipConstants.idl:194
com::sun::star::packages::zip::ZipConstants::CENNAM
const short CENNAM
CEN header field "length of filename" offset.
Definition: ZipConstants.idl:198
com::sun::star::packages::zip::ZipConstants::LOCHDR
const short LOCHDR
LOC header size in bytes (including signatures)
Definition: ZipConstants.idl:97
com::sun::star::packages::zip::ZipConstants::HUFFMAN_ONLY
const short HUFFMAN_ONLY
Compression strategy for Huffman coding only.
Definition: ZipConstants.idl:61
com::sun::star::packages::zip::ZipConstants::LOCFLG
const short LOCFLG
LOC header field "general purpose bit flags" offset.
Definition: ZipConstants.idl:118
com::sun::star::packages::zip::ZipConstants::LOCNAM
const short LOCNAM
LOC header field "filename length" offset.
Definition: ZipConstants.idl:142
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:57
com::sun::star::packages::zip::ZipConstants::ENDHDR
const short ENDHDR
END header size in bytes (including signatures)
Definition: ZipConstants.idl:109
com::sun::star::packages::zip::ZipConstants::LOCCRC
const short LOCCRC
LOC header field "CRC of uncompressed data" offset.
Definition: ZipConstants.idl:130
com::sun::star::packages::zip::ZipConstants::LOCSIZ
const short LOCSIZ
LOC header field "compressed data size" offset.
Definition: ZipConstants.idl:134
com::sun::star::packages::zip::ZipConstants::CENOFF
const short CENOFF
CEN header field "offset of local header" offset.
Definition: ZipConstants.idl:222
com::sun::star::packages::zip::ZipConstants::CENTIM
const short CENTIM
CEN header field "modification time" offset.
Definition: ZipConstants.idl:178
com::sun::star::packages::zip::ZipConstants::ENDSIG
const long ENDSIG
Header Signature: "PK\005\006".
Definition: ZipConstants.idl:89
com::sun::star::packages::zip::ZipConstants::ENDCOM
const short ENDCOM
END header field "size of zip file comment" offset.
Definition: ZipConstants.idl:242
com::sun::star::packages::zip::ZipConstants::SPANSIG
const long SPANSIG
Header Signature: "PK\007\008".
Definition: ZipConstants.idl:93
com::sun::star::packages::zip::ZipConstants::ENDSUB
const short ENDSUB
END header field "number of entries on this disk" offset.
Definition: ZipConstants.idl:226
com::sun::star::packages::zip::ZipConstants::ENDTOT
const short ENDTOT
END header field "total number of entries" offset.
Definition: ZipConstants.idl:230
com::sun::star::packages::zip::ZipConstants::LOCVER
const short LOCVER
LOC LOC LOC.
Definition: ZipConstants.idl:114
com::sun::star::packages::zip::ZipConstants::CENATX
const short CENATX
CEN header field "external file attributes" offset.
Definition: ZipConstants.idl:218
com::sun::star::packages::zip::ZipConstants::CENCOM
const short CENCOM
CEN header field "file comment length" offset.
Definition: ZipConstants.idl:206
com::sun::star::packages::zip::ZipConstants::NO_COMPRESSION
const short NO_COMPRESSION
Compression level for no compression.
Definition: ZipConstants.idl:39
com::sun::star::packages::zip::ZipConstants::DEFLATED
const short DEFLATED
Compression method for the deflate algorithm (the only one currently supported).
Definition: ZipConstants.idl:35
com::sun::star::packages::zip::ZipConstants::CENDAT
const short CENDAT
CEN header field "modification time" offset.
Definition: ZipConstants.idl:182
com::sun::star::packages::zip::ZipConstants::EXTSIZ
const short EXTSIZ
EXT header field "compressed size" offsets.
Definition: ZipConstants.idl:154
com::sun::star::packages::zip::ZipConstants::CENVER
const short CENVER
CEN header field "version needed to extract" offset.
Definition: ZipConstants.idl:166
com::sun::star::packages::zip::ZipConstants::ENDSIZ
const short ENDSIZ
END header field "central directory size" offset.
Definition: ZipConstants.idl:234
com::sun::star::packages::zip::ZipConstants::LOCTIM
const short LOCTIM
LOC header field "modification time" offset.
Definition: ZipConstants.idl:126
com::sun::star::packages::zip::ZipConstants::EXTSIG
const long EXTSIG
Header Signature: "PK\007\008".
Definition: ZipConstants.idl:81
com::sun::star::packages::zip::ZipConstants::ENDOFF
const short ENDOFF
END header field "central directory offset" offset.
Definition: ZipConstants.idl:238
com::sun::star::packages::zip::ZipConstants::DEFAULT_COMPRESSION
const short DEFAULT_COMPRESSION
Default compression level.
Definition: ZipConstants.idl:51
com::sun::star::packages::zip::ZipConstants::EXTHDR
const short EXTHDR
EXT header size in bytes (including signatures)
Definition: ZipConstants.idl:101
com::sun::star::packages::zip::ZipConstants::EXTLEN
const short EXTLEN
EXT header field "uncompressed size" offsets.
Definition: ZipConstants.idl:158
com::sun::star::packages::zip::ZipConstants::CENATT
const short CENATT
CEN header field "internal file attributes" offset.
Definition: ZipConstants.idl:214
com::sun::star::packages::zip::ZipConstants::EXTCRC
const short EXTCRC
EXT header field "CRC of uncompressed data" offsets.
Definition: ZipConstants.idl:150
com::sun::star::packages::zip::ZipConstants::LOCHOW
const short LOCHOW
LOC header field "compression method" offset.
Definition: ZipConstants.idl:122
com::sun::star::packages::zip::ZipConstants::CENSIZ
const short CENSIZ
CEN header field "compressed size" offset.
Definition: ZipConstants.idl:190
com::sun::star::packages::zip::ZipConstants::BEST_SPEED
const short BEST_SPEED
Compression level for fastest compression.
Definition: ZipConstants.idl:43
com::sun::star::packages::zip::ZipConstants::LOCLEN
const short LOCLEN
LOC header field "uncompressed data size" offset.
Definition: ZipConstants.idl:138
com::sun::star::packages::zip::ZipConstants::DEFAULT_STRATEGY
const short DEFAULT_STRATEGY
Default compression strategy.
Definition: ZipConstants.idl:65
com::sun::star::packages::zip::ZipConstants::CENVEM
const short CENVEM
CEN header field "version made by" offset.
Definition: ZipConstants.idl:162
com::sun::star::packages::zip::ZipConstants::LOCSIG
const long LOCSIG
Header Signature: "PK\003\004".
Definition: ZipConstants.idl:77
com::sun::star::packages::zip::ZipConstants::CENCRC
const short CENCRC
CEN header field "CRC of uncompressed data" offset.
Definition: ZipConstants.idl:186