LibreOffice
LibreOffice 5.0 SDK API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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: */