LibreOffice Module lotuswordpro (master)
1
lotuswordpro
source
filter
lwpstyledef.hxx
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*************************************************************************
3
*
4
* The Contents of this file are made available subject to the terms of
5
* either of the following licenses
6
*
7
* - GNU Lesser General Public License Version 2.1
8
* - Sun Industry Standards Source License Version 1.1
9
*
10
* Sun Microsystems Inc., October, 2000
11
*
12
* GNU Lesser General Public License Version 2.1
13
* =============================================
14
* Copyright 2000 by Sun Microsystems, Inc.
15
* 901 San Antonio Road, Palo Alto, CA 94303, USA
16
*
17
* This library is free software; you can redistribute it and/or
18
* modify it under the terms of the GNU Lesser General Public
19
* License version 2.1, as published by the Free Software Foundation.
20
*
21
* This library is distributed in the hope that it will be useful,
22
* but WITHOUT ANY WARRANTY; without even the implied warranty of
23
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
24
* Lesser General Public License for more details.
25
*
26
* You should have received a copy of the GNU Lesser General Public
27
* License along with this library; if not, write to the Free Software
28
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
29
* MA 02111-1307 USA
30
*
31
*
32
* Sun Industry Standards Source License Version 1.1
33
* =================================================
34
* The contents of this file are subject to the Sun Industry Standards
35
* Source License Version 1.1 (the "License"); You may not use this file
36
* except in compliance with the License. You may obtain a copy of the
37
* License at http://www.openoffice.org/license.html.
38
*
39
* Software provided under this License is provided on an "AS IS" basis,
40
* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
41
* WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
42
* MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
43
* See the License for the specific provisions governing your rights and
44
* obligations concerning the Software.
45
*
46
* The Initial Developer of the Original Code is: IBM Corporation
47
*
48
* Copyright: 2008 by IBM Corporation
49
*
50
* All Rights Reserved.
51
*
52
* Contributor(s): _______________________________________
53
*
54
*
55
************************************************************************/
56
57
#ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPSTYLEDEF_HXX
58
#define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPSTYLEDEF_HXX
59
60
#define INVALID_ATTR_ID 0
61
#define EXTERNAL_ID 0x8000
62
#define EXTERNAL_MASK 0x7FFF
63
#define MAX_DESIGNERBORDERS 18
64
65
#define BORDER_SOLID 1
66
#define BORDER_SDASH 2
67
#define BORDER_LDASH 3
68
#define BORDER_WAVY 4
69
#define BORDER_THKWAVY 5
70
#define BORDER_LSDASH 6
71
#define BORDER_LSSDASH 7
72
#define BORDER_DOT 8
73
#define BORDER_CIRCLE 9
74
#define BORDER_DBLWAVY 10
75
#define BORDER_DBLTHKWAVY 11
76
#define BORDER_STAR 12
77
#define BORDER_ROPE 13
78
#define BORDER_DECO1 14
79
#define BORDER_DECO2 15
80
#define BORDER_RAIN 16
81
#define BORDER_PIN 17
82
#define BORDER_ROSE 18
83
#define BORDER_SUNF 19
84
#define BORDER_DECO3 20
85
#define BORDER_WARNING 21
86
// SPACE 22
87
#define BORDER_GIRDER 23
88
89
// User defined bitmap borders (200 - 400)
90
91
// scalable lines
92
#define BGRP_SOLID 20
93
#define BGRP_DOUBLE_ONE 21
94
#define BGRP_DOUBLE_TWO 22
95
#define BGRP_121 23
96
#define BGRP_31 24
97
#define BGRP_13 25
98
#define BGRP_WAVY 26
99
#define BGRP_DBLWAVY 27
100
#define BGRP_THICK_WAVY 28
101
#define BGRP_THICK_DBLWAVY 29
102
#define BGRP_SDASH 30
103
#define BGRP_LDASH 31
104
#define BGRP_LDASH_SDASH 32
105
#define BGRP_LDASH_SDASH_SDASH 33
106
#define BGRP_BUTTONUP 34
107
#define BGRP_BUTTONDOWN 35
108
#define BGRP_13SPACE 36
109
#define BGRP_31SPACE 37
110
#define BGRP_DIAGONAL 38
111
#define BGRP_TARO 39
112
#define BGRP_DOT 40
113
#define BGRP_CIRCLE 41
114
#define BGRP_STAR 42
115
#define BGRP_ROPE 43
116
#define BGRP_DECO1 44
117
#define BGRP_DECO2 45
118
#define BGRP_RAIN 46
119
#define BGRP_PIN 47
120
#define BGRP_ROSE 48
121
#define BGRP_SUNF 49
122
#define BGRP_DECO3 50
123
#define BGRP_WARNING 51
124
//SPACE 52
125
#define BGRP_GIRDER 53
126
127
#define UNIT_4_96 ((UNIT)196608L)
//INCHES(4/96)
128
#define UNIT_13_96 ((UNIT)638976L)
//INCHES(13/96)
129
#define UNIT_14_96 ((UNIT)688128L)
//INCHES(14/96)
130
#define UNIT_15_96 ((UNIT)737280L)
//INCHES(15/96)
131
#define UNIT_17_96 ((UNIT)835584L)
//INCHES(17/96)
132
#define UNIT_18_96 ((UNIT)884736L)
//INCHES(18/96)
133
#define UNIT_19_96 ((UNIT)933888L)
//INCHES(19/96)
134
#define UNIT_20_96 ((UNIT)983040L)
//INCHES(20/96)
135
#define UNIT_21_96 ((UNIT)1032192L)
//INCHES(21/96)
136
#define UNIT_22_96 ((UNIT)1081344L)
//INCHES(22/96)
137
#define UNIT_25_96 ((UNIT)1228800L)
//INCHES(25/96)
138
#define UNIT_28_96 ((UNIT)1376256L)
//INCHES(28/96)
139
#define UNIT_34_96 ((UNIT)1671108L)
//INCHES(34/96)
140
#define UNIT_42_96 ((UNIT)2064384L)
//INCHES(42/96)
141
#define UNIT_44_96 ((UNIT)2162688L)
//INCHES(44/96)
142
#define UNIT_48_96 ((UNIT)2359296L)
//INCHES(48/96)
143
#define UNIT_56_96 ((UNIT)2752512L)
//INCHES(56/96)
144
#define UNIT_64_96 ((UNIT)3145728L)
//INCHES(64/96)
145
146
#define ROPE_AMPLITUDE UNIT_18_96
147
#define ROPE_PERIOD UNIT_20_96
148
#define DECO1_AMPLITUDE UNIT_17_96
149
#define DECO1_PERIOD UNIT_4_96
150
#define DECO2_AMPLITUDE UNIT_18_96
151
#define DECO2_PERIOD UNIT_64_96
152
#define RAIN_AMPLITUDE UNIT_22_96
153
#define RAIN_PERIOD UNIT_28_96
154
#define PIN_AMPLITUDE UNIT_15_96
155
#define PIN_PERIOD UNIT_4_96
156
#define ROSE_AMPLITUDE UNIT_34_96
157
#define ROSE_PERIOD UNIT_64_96
158
#define SUNF_AMPLITUDE UNIT_25_96
159
#define SUNF_PERIOD UNIT_48_96
160
#define DECO3_AMPLITUDE UNIT_14_96
161
#define DECO3_PERIOD UNIT_20_96
162
163
#define ROPE_JOIN_W UNIT_18_96
164
#define ROPE_JOIN_H UNIT_18_96
165
#define DECO1_JOIN_W UNIT_56_96
166
#define DECO1_JOIN_H UNIT_44_96
167
#define DECO2_JOIN_W UNIT_64_96
168
#define DECO2_JOIN_H UNIT_64_96
169
#define RAIN_JOIN_W UNIT_48_96
170
#define RAIN_JOIN_H UNIT_48_96
171
#define PIN_JOIN_W UNIT_42_96
172
#define PIN_JOIN_H UNIT_42_96
173
#define ROSE_JOIN_W UNIT_48_96
174
#define ROSE_JOIN_H UNIT_48_96
175
#define SUNF_JOIN_W UNIT_48_96
176
#define SUNF_JOIN_H UNIT_48_96
177
#define DECO3_JOIN_W UNIT_56_96
178
#define DECO3_JOIN_H UNIT_56_96
179
180
// User defined bitmap border groups 200 - 400
181
182
/* background patterns */
183
#define BACK_TRANSPARENT 0
184
#define BACK_FILL 1
185
#define BACK_PATTERN 2
186
#define BACK_10PCTDOTS 3
187
#define BACK_30PCTDOTS 4
188
#define BACK_50PCTDOTS 5
189
#define BACK_75PCTDOTS 6
190
#define BACK_90PCTDOTS 7
191
#define BACK_90PCTINVDOTS 8
192
#define BACK_75PCTINVDOTS 9
193
#define BACK_50PCTINVDOTS 10
194
#define BACK_30PCTINVDOTS 11
195
#define BACK_10PCTINVDOTS 12
196
#define BACK_MARBLES 13
197
#define BACK_STARRYNIGHT 14
198
#define BACK_DIAGTHICK 15
199
#define BACK_DIAGTHIN 16
200
#define BACK_DIAGDOUBLE 17
201
#define BACK_DIAGDOUBLENARROW 18
202
#define BACK_DIAGTRIPLE 19
203
#define BACK_DIAGSINGLEWIDE 20
204
#define BACK_DIAGTHICKINV 21
205
#define BACK_DIAGTHININV 22
206
#define BACK_DIAGDOUBLEINV 23
207
#define BACK_DIAGDOUBLENARROWINV 24
208
#define BACK_DIAGTRIPLEINV 25
209
#define BACK_DIAGSINGLEWIDEINV 26
210
#define BACK_CHAINLINKSMALLINV 27
211
#define BACK_CHAINLINKSMALL 28
212
#define BACK_CHAINLINKMEDIUM 29
213
#define BACK_CHAINLINKLARGE 30
214
#define BACK_HORZSTRIPE1 31
215
#define BACK_HORZSTRIPE2 32
216
#define BACK_HORZSTRIPE3 33
217
#define BACK_HORZSTRIPE4 34
218
#define BACK_VERTSTRIPE1 35
219
#define BACK_VERTSTRIPE2 36
220
#define BACK_VERTSTRIPE3 37
221
#define BACK_VERTSTRIPE4 38
222
#define BACK_GRIDSMALL 39
223
#define BACK_GRIDMEDIUM 40
224
#define BACK_GRIDLARGE 41
225
#define BACK_BOXDOT 42
226
#define BACK_GOLFGREEN 43
227
#define BACK_DITZ 44
228
#define BACK_HORZWEAVE 45
229
#define BACK_APPLEPIE 46
230
#define BACK_BRICK 47
231
#define BACK_DIAGBRICK 48
232
#define BACK_CHECKER1 49
233
#define BACK_CHECKER2 50
234
#define BACK_CHECKER3 51
235
#define BACK_CHECKER4 52
236
#define BACK_CHECKER5 53
237
#define BACK_SNOWFLAKE 54
238
#define BACK_MARGARITA 55
239
#define BACK_SIDEHARP 56
240
#define BACK_SCALES 57
241
#define BACK_TAYLOR 58
242
#define BACK_BUBBLES 59
243
#define BACK_ARGYLE 60
244
#define BACK_INDIAN1 61
245
#define BACK_INDIAN3 62
246
#define BACK_PEACHPIE 63
247
#define BACK_GRADIENT1 64
248
#define BACK_GRADIENT2 65
249
#define BACK_GRADIENT3 66
250
#define BACK_GRADIENT4 67
251
#define BACK_GRADIENT5 68
252
#define BACK_GRADIENT6 69
253
#define BACK_GRADIENT7 70
254
#define BACK_GRADIENT8 71
255
256
#endif
//STYLEDEF_H_
257
258
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Generated on Sun Jul 30 2023 04:29:26 for LibreOffice Module lotuswordpro (master) by
1.9.3