cid#1640468 Dereference after null check
[LibreOffice.git] / offapi / com / sun / star / drawing / ShadingPattern.idl
blob52cdb7bf3a4206eaf366a49e594987ebe81f6e8a
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/.
8 */
12 module com { module sun { module star { module drawing {
14 /** The ShadingPattern determines the background color pattern against
15 which characters and graphics are displayed, typically in tables.
16 The color can be no color or it can be a specific color with
17 a transparency or pattern value.
19 constants ShadingPattern
21 /* Clear */
22 const long CLEAR = 0x0000;
24 /* Solid */
25 const long SOLID = 0x0001;
27 /* 5% - pct5 */
28 const long PCT5 = 0x0002;
30 /* 10% - pct10 */
31 const long PCT10 = 0x0003;
33 /* 20% - pct20 */
34 const long PCT20 = 0x0004;
36 /* 25% - pct25 */
37 const long PCT25 = 0x0005;
39 /* 30% - pct30 */
40 const long PCT30 = 0x0006;
42 /* 40% - pct40 */
43 const long PCT40 = 0x0007;
45 /* 50% - pct50 */
46 const long PCT50 = 0x0008;
48 /* 60% - pct60 */
49 const long PCT60 = 0x0009;
51 /* 70% - pct70 */
52 const long PCT70 = 0x000A;
54 /* 75% - pct75 */
55 const long PCT75 = 0x000B;
57 /* 80% - pct80 */
58 const long PCT80 = 0x000C;
60 /* 90% - pct90 */
61 const long PCT90 = 0x000D;
65 /* Horizontal Stripe */
66 const long HORZ_STRIPE = 0x000E;
68 /* Vertical Stripe */
69 const long VERT_STRIPE = 0x000F;
71 /* Reverse Diagonal Stripe */
72 const long REVERSE_DIAG_STRIPE = 0x0010;
74 /* Diagonal Stripe */
75 const long DIAG_STRIPE = 0x0011;
77 /* Horizontal Cross */
78 const long HORZ_CROSS = 0x0012;
80 /* Diagonal Cross */
81 const long DIAG_CROSS = 0x0013;
83 /* Thin Horizontal Stripe */
84 const long THIN_HORZ_STRIPE = 0x0014;
86 /* Thin Vertical Stripe */
87 const long THIN_VERT_STRIPE = 0x0015;
89 /* Thin Reverse Diagonal Stripe */
90 const long THIN_REVERSE_DIAG_STRIPE = 0x0016;
92 /* Thin Diagonal Stripe */
93 const long THIN_DIAG_STRIPE = 0x0017;
95 /* Thin Horizontal Cross */
96 const long THIN_HORZ_CROSS = 0x0018;
98 /* Thin Diagonal Cross */
99 const long THIN_DIAG_CROSS = 0x0019;
103 /* Unused 1 */
104 const long UNUSED_1 = 0x001A;
106 /* Unused 2 */
107 const long UNUSED_2 = 0x001B;
109 /* Unused 3 */
110 const long UNUSED_3 = 0x001C;
112 /* Unused 4 */
113 const long UNUSED_4 = 0x001D;
115 /* Unused 5 */
116 const long UNUSED_5 = 0x001E;
118 /* Unused 6 */
119 const long UNUSED_6 = 0x001F;
121 /* Unused 7 */
122 const long UNUSED_7 = 0x0020;
124 /* Unused 8 */
125 const long UNUSED_8 = 0x0021;
127 /* Unused 9 */
128 const long UNUSED_9 = 0x0022;
132 /* 2.5% */
133 const long PCT2 = 0x0023;
135 /* 7.5% */
136 const long PCT7 = 0x0024;
138 /* 12.5% - pct12 */
139 const long PCT12 = 0x0025;
141 /* 15% - pct15 */
142 const long PCT15 = 0x0026;
144 /* 17.5% */
145 const long PCT17 = 0x0027;
147 /* 22.5% */
148 const long PCT22 = 0x0028;
150 /* 27.5% */
151 const long PCT27 = 0x0029;
153 /* 32.5% */
154 const long PCT32 = 0x002A;
156 /* 35% - pct35 */
157 const long PCT35 = 0x002B;
159 /* 37.5% - pct37 */
160 const long PCT37 = 0x002C;
162 /* 42.5% */
163 const long PCT42 = 0x002D;
165 /* 45% - pct45 */
166 const long PCT45 = 0x002E;
168 /* 47.5% */
169 const long PCT47 = 0x002F;
171 /* 52.5% */
172 const long PCT52 = 0x0030;
174 /* 55% - pct55 */
175 const long PCT55 = 0x0031;
177 /* 57.5% */
178 const long PCT57 = 0x0032;
180 /* 62.5% - pct62 */
181 const long PCT62 = 0x0033;
183 /* 65% - pct65 */
184 const long PCT65 = 0x0034;
186 /* 67.5% */
187 const long PCT67 = 0x0035;
189 /* 72.5% */
190 const long PCT72 = 0x0036;
192 /* 77.5% */
193 const long PCT77 = 0x0037;
195 /* 82.5% */
196 const long PCT82 = 0x0038;
198 /* 85% - pct85 */
199 const long PCT85 = 0x0039;
201 /* 87.5% - pct87 */
202 const long PCT87 = 0x003A;
204 /* 92.5% */
205 const long PCT92 = 0x003B;
207 /* 95% - pct95 */
208 const long PCT95 = 0x003C;
210 /* 97.5% */
211 const long PCT97 = 0x003D;
213 /* Nil */
214 const long NIL = 0xFFFF;
218 }; }; }; };
220 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */