Line data Source code
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 : #include <xmloff/xmlnmspe.hxx>
21 : #include "PropType.hxx"
22 : #include "FamilyType.hxx"
23 : #include "PropertyActionsOASIS.hxx"
24 :
25 : using namespace ::xmloff::token;
26 :
27 : #define NO_PARAMS 0, 0, 0
28 :
29 : XMLTransformerActionInit aGraphicPropertyOASISAttrActionTable[] =
30 : {
31 : { XML_NAMESPACE_SVG, XML_STROKE_WIDTH, XML_ATACTION_IN2INCH,
32 : NO_PARAMS }, /* generated entry */
33 : { XML_NAMESPACE_DRAW, XML_MARKER_START_WIDTH, XML_ATACTION_IN2INCH,
34 : NO_PARAMS }, /* generated entry */
35 : { XML_NAMESPACE_DRAW, XML_MARKER_END_WIDTH, XML_ATACTION_IN2INCH,
36 : NO_PARAMS }, /* generated entry */
37 : { XML_NAMESPACE_DRAW, XML_SHADOW_OFFSET_X, XML_ATACTION_IN2INCH,
38 : NO_PARAMS }, /* generated entry */
39 : { XML_NAMESPACE_DRAW, XML_SHADOW_OFFSET_Y, XML_ATACTION_IN2INCH,
40 : NO_PARAMS }, /* generated entry */
41 : { XML_NAMESPACE_DRAW, XML_SHADOW_OPACITY,
42 : XML_ATACTION_RENAME_NEG_PERCENT,
43 : XMLTransformerActionInit::QNameParam( XML_NAMESPACE_DRAW,
44 0 : XML_SHADOW_TRANSPARENCY), 0, 0 },
45 : { XML_NAMESPACE_DRAW, XML_GUIDE_OVERHANG, XML_ATACTION_IN2INCH,
46 : NO_PARAMS }, /* generated entry */
47 : { XML_NAMESPACE_DRAW, XML_START_GUIDE, XML_ATACTION_IN2INCH,
48 : NO_PARAMS }, /* generated entry */
49 : { XML_NAMESPACE_DRAW, XML_END_GUIDE, XML_ATACTION_IN2INCH,
50 : NO_PARAMS }, /* generated entry */
51 : { XML_NAMESPACE_DRAW, XML_CAPTION_ESCAPE, XML_ATACTION_CAPTION_ESCAPE_OASIS,
52 : NO_PARAMS }, /* generated entry */
53 : { XML_NAMESPACE_DRAW, XML_CAPTION_LINE_LENGTH, XML_ATACTION_IN2INCH,
54 : NO_PARAMS }, /* generated entry */
55 : { XML_NAMESPACE_DR3D, XML_DEPTH, XML_ATACTION_IN2INCH,
56 : NO_PARAMS }, /* generated entry */
57 : { XML_NAMESPACE_SVG, XML_WIDTH, XML_ATACTION_IN2INCH,
58 : NO_PARAMS }, /* generated entry */
59 : { XML_NAMESPACE_SVG, XML_HEIGHT, XML_ATACTION_IN2INCH,
60 : NO_PARAMS }, /* generated entry */
61 : { XML_NAMESPACE_FO, XML_MAX_HEIGHT, XML_ATACTION_IN2INCH,
62 : NO_PARAMS }, /* generated entry */
63 : { XML_NAMESPACE_FO, XML_MAX_WIDTH, XML_ATACTION_IN2INCH,
64 : NO_PARAMS }, /* generated entry */
65 : { XML_NAMESPACE_FO, XML_MARGIN_LEFT, XML_ATACTION_IN2INCH,
66 : NO_PARAMS }, /* generated entry */
67 : { XML_NAMESPACE_FO, XML_MARGIN_RIGHT, XML_ATACTION_IN2INCH,
68 : NO_PARAMS }, /* generated entry */
69 : { XML_NAMESPACE_FO, XML_MARGIN_TOP, XML_ATACTION_IN2INCH,
70 : NO_PARAMS }, /* generated entry */
71 : { XML_NAMESPACE_FO, XML_MARGIN_BOTTOM, XML_ATACTION_IN2INCH,
72 : NO_PARAMS }, /* generated entry */
73 : { XML_NAMESPACE_FO, XML_BORDER, XML_ATACTION_INS2INCHS,
74 : NO_PARAMS }, /* generated entry */
75 : { XML_NAMESPACE_FO, XML_BORDER_TOP, XML_ATACTION_INS2INCHS,
76 : NO_PARAMS }, /* generated entry */
77 : { XML_NAMESPACE_FO, XML_BORDER_BOTTOM, XML_ATACTION_INS2INCHS,
78 : NO_PARAMS }, /* generated entry */
79 : { XML_NAMESPACE_FO, XML_BORDER_LEFT, XML_ATACTION_INS2INCHS,
80 : NO_PARAMS }, /* generated entry */
81 : { XML_NAMESPACE_FO, XML_BORDER_RIGHT, XML_ATACTION_INS2INCHS,
82 : NO_PARAMS }, /* generated entry */
83 : { XML_NAMESPACE_STYLE, XML_BORDER_LINE_WIDTH, XML_ATACTION_INS2INCHS,
84 : NO_PARAMS }, /* generated entry */
85 : { XML_NAMESPACE_STYLE, XML_BORDER_LINE_WIDTH_TOP, XML_ATACTION_INS2INCHS,
86 : NO_PARAMS }, /* generated entry */
87 : { XML_NAMESPACE_STYLE, XML_BORDER_LINE_WIDTH_BOTTOM, XML_ATACTION_INS2INCHS,
88 : NO_PARAMS }, /* generated entry */
89 : { XML_NAMESPACE_STYLE, XML_BORDER_LINE_WIDTH_LEFT, XML_ATACTION_INS2INCHS,
90 : NO_PARAMS }, /* generated entry */
91 : { XML_NAMESPACE_STYLE, XML_BORDER_LINE_WIDTH_RIGHT, XML_ATACTION_INS2INCHS,
92 : NO_PARAMS }, /* generated entry */
93 : { XML_NAMESPACE_FO, XML_PADDING, XML_ATACTION_IN2INCH,
94 : NO_PARAMS }, /* generated entry */
95 : { XML_NAMESPACE_FO, XML_PADDING_TOP, XML_ATACTION_IN2INCH,
96 : NO_PARAMS }, /* generated entry */
97 : { XML_NAMESPACE_FO, XML_PADDING_BOTTOM, XML_ATACTION_IN2INCH,
98 : NO_PARAMS }, /* generated entry */
99 : { XML_NAMESPACE_FO, XML_PADDING_LEFT, XML_ATACTION_IN2INCH,
100 : NO_PARAMS }, /* generated entry */
101 : { XML_NAMESPACE_FO, XML_PADDING_RIGHT, XML_ATACTION_IN2INCH,
102 : NO_PARAMS }, /* generated entry */
103 : { XML_NAMESPACE_STYLE, XML_SHADOW, XML_ATACTION_INS2INCHS,
104 : NO_PARAMS },
105 : { XML_NAMESPACE_FO, XML_CLIP, XML_ATACTION_INS2INCHS,
106 : NO_PARAMS }, /* generated entry */
107 : // { XML_NAMESPACE_STYLE, XML_WRAP_DYNAMIC_TRESHOLD, XML_ATACTION_REMOVE,
108 : // NO_PARAMS }, /* generated entry */ // TODO
109 : { XML_NAMESPACE_DRAW, XML_VISIBLE_AREA_LEFT, XML_ATACTION_IN2INCH,
110 : NO_PARAMS }, /* generated entry */
111 : { XML_NAMESPACE_DRAW, XML_VISIBLE_AREA_TOP, XML_ATACTION_IN2INCH,
112 : NO_PARAMS }, /* generated entry */
113 : { XML_NAMESPACE_DRAW, XML_VISIBLE_AREA_WIDTH, XML_ATACTION_IN2INCH,
114 : NO_PARAMS }, /* generated entry */
115 : { XML_NAMESPACE_DRAW, XML_VISIBLE_AREA_HEIGHT, XML_ATACTION_IN2INCH,
116 : NO_PARAMS }, /* generated entry */
117 : { XML_NAMESPACE_DRAW, XML_START_LINE_SPACING_HORIZONTAL, XML_ATACTION_IN2INCH, NO_PARAMS }, /* generated entry */
118 : { XML_NAMESPACE_DRAW, XML_START_LINE_SPACING_VERTICAL, XML_ATACTION_IN2INCH, NO_PARAMS }, /* generated entry */
119 : { XML_NAMESPACE_DRAW, XML_END_LINE_SPACING_HORIZONTAL, XML_ATACTION_IN2INCH, NO_PARAMS }, /* generated entry */
120 : { XML_NAMESPACE_DRAW, XML_END_LINE_SPACING_VERTICAL, XML_ATACTION_IN2INCH, NO_PARAMS }, /* generated entry */
121 : { XML_NAMESPACE_DRAW, XML_LINE_DISTANCE, XML_ATACTION_IN2INCH, NO_PARAMS }, /* generated entry */
122 : { XML_NAMESPACE_DRAW, XML_GUIDE_DISTANCE, XML_ATACTION_IN2INCH, NO_PARAMS }, /* generated entry */
123 : { XML_NAMESPACE_DRAW, XML_CAPTION_GAP, XML_ATACTION_IN2INCH, NO_PARAMS }, /* generated entry */
124 : { XML_NAMESPACE_SVG, XML_X, XML_ATACTION_IN2INCH,
125 : NO_PARAMS }, /* generated entry */
126 : { XML_NAMESPACE_SVG, XML_Y, XML_ATACTION_IN2INCH,
127 : NO_PARAMS }, /* generated entry */
128 : { XML_NAMESPACE_DRAW, XML_STROKE_DASH, XML_ATACTION_DECODE_STYLE_NAME_REF,
129 : XML_FAMILY_TYPE_STROKE_DASH, 0, 0 },
130 : { XML_NAMESPACE_DRAW, XML_MARKER_START, XML_ATACTION_DECODE_STYLE_NAME_REF,
131 : XML_FAMILY_TYPE_MARKER, 0, 0 },
132 : { XML_NAMESPACE_DRAW, XML_MARKER_END, XML_ATACTION_DECODE_STYLE_NAME_REF,
133 : XML_FAMILY_TYPE_MARKER, 0, 0 },
134 : { XML_NAMESPACE_DRAW, XML_FILL_GRADIENT_NAME, XML_ATACTION_DECODE_STYLE_NAME_REF,
135 : XML_FAMILY_TYPE_GRADIENT, 0, 0 },
136 :
137 : // #i25616#
138 : { XML_NAMESPACE_DRAW, XML_OPACITY, XML_OPTACTION_OPACITY, NO_PARAMS },
139 : { XML_NAMESPACE_DRAW, XML_IMAGE_OPACITY, XML_OPTACTION_IMAGE_OPACITY, NO_PARAMS },
140 :
141 : { XML_NAMESPACE_DRAW, XML_STROKE_LINEJOIN, XML_ATACTION_RENAME,
142 : XMLTransformerActionInit::QNameParam( XML_NAMESPACE_SVG,
143 0 : XML_STROKE_LINEJOIN), 0, 0 },
144 : { XML_NAMESPACE_DRAW, XML_OPACITY_NAME,
145 : XML_ATACTION_RENAME_DECODE_STYLE_NAME_REF,
146 : XMLTransformerActionInit::QNameParam( XML_NAMESPACE_DRAW,
147 0 : XML_TRANSPARENCY_NAME),
148 : XML_FAMILY_TYPE_GRADIENT, 0 },
149 : { XML_NAMESPACE_DRAW, XML_FILL_HATCH_NAME, XML_ATACTION_DECODE_STYLE_NAME_REF,
150 : XML_FAMILY_TYPE_HATCH, 0, 0 },
151 : { XML_NAMESPACE_DRAW, XML_FILL_IMAGE_NAME, XML_ATACTION_DECODE_STYLE_NAME_REF,
152 : XML_FAMILY_TYPE_FILL_IMAGE, 0, 0 },
153 :
154 : // Font work properties
155 : { XML_NAMESPACE_DRAW, XML_FONTWORK_DISTANCE, XML_ATACTION_IN2INCH, NO_PARAMS },
156 : { XML_NAMESPACE_DRAW, XML_FONTWORK_START, XML_ATACTION_IN2INCH, NO_PARAMS },
157 : { XML_NAMESPACE_DRAW, XML_FONTWORK_SHADOW_OFFSET_X, XML_ATACTION_IN2INCH, NO_PARAMS },
158 : { XML_NAMESPACE_DRAW, XML_FONTWORK_SHADOW_OFFSET_Y, XML_ATACTION_IN2INCH, NO_PARAMS },
159 :
160 : { XML_NAMESPACE_DRAW, XML_AUTO_GROW_WIDTH, XML_ATACTION_RENAME,
161 : XMLTransformerActionInit::QNameParam( XML_NAMESPACE_DRAW,
162 0 : XML_AUTO_GROW_HEIGHT ), 0, 0 },
163 : { XML_NAMESPACE_DRAW, XML_AUTO_GROW_HEIGHT, XML_ATACTION_RENAME,
164 : XMLTransformerActionInit::QNameParam( XML_NAMESPACE_DRAW,
165 0 : XML_AUTO_GROW_WIDTH ), 0, 0 },
166 : { XML_NAMESPACE_PRESENTATION, XML_DURATION, XML_ATACTION_RNG2ISO_DATETIME, NO_PARAMS },
167 : { XML_NAMESPACE_TEXT, XML_ANIMATION_DELAY, XML_ATACTION_RNG2ISO_DATETIME, NO_PARAMS },
168 :
169 : { XML_NAMESPACE_STYLE, XML_PROTECT, XML_ATACTION_DECODE_PROTECT, NO_PARAMS },
170 : { XML_NAMESPACE_STYLE, XML_MIRROR, XML_ATACTION_DRAW_MIRROR_OASIS, NO_PARAMS },
171 : { XML_NAMESPACE_DRAW, XML_GAMMA, XML_ATACTION_GAMMA_OASIS, NO_PARAMS },
172 : { XML_NAMESPACE_SVG, XML_STROKE_OPACITY, XML_ATACTION_OPACITY_FIX, NO_PARAMS },
173 :
174 : { XML_NAMESPACE_STYLE, XML_FLOW_WITH_TEXT, XML_ATACTION_REMOVE,
175 : NO_PARAMS },
176 : { XML_NAMESPACE_DRAW, XML_WRAP_INFLUENCE_ON_POSITION, XML_ATACTION_REMOVE,
177 : NO_PARAMS },
178 :
179 : { XML_NAMESPACE_OFFICE, XML_TOKEN_INVALID, XML_ATACTION_EOT, NO_PARAMS }
180 0 : };
181 :
182 : XMLTransformerActionInit aDrawingPagePropertyOASISAttrActionTable[] =
183 : {
184 : // style-graphic-fill-properties-attlist
185 : { XML_NAMESPACE_DRAW, XML_FILL_GRADIENT_NAME, XML_ATACTION_DECODE_STYLE_NAME_REF,
186 : NO_PARAMS },
187 : { XML_NAMESPACE_DRAW, XML_FILL_HATCH_NAME, XML_ATACTION_DECODE_STYLE_NAME_REF, NO_PARAMS }, /* generated entry */
188 : { XML_NAMESPACE_DRAW, XML_FILL_IMAGE_NAME, XML_ATACTION_DECODE_STYLE_NAME_REF,
189 : NO_PARAMS },
190 : { XML_NAMESPACE_DRAW, XML_FILL_IMAGE_WIDTH, XML_ATACTION_IN2INCH, NO_PARAMS }, /* generated entry */
191 : { XML_NAMESPACE_DRAW, XML_FILL_IMAGE_HEIGHT, XML_ATACTION_IN2INCH, NO_PARAMS }, /* generated entry */
192 :
193 : { XML_NAMESPACE_PRESENTATION, XML_DISPLAY_HEADER, XML_ATACTION_REMOVE, NO_PARAMS },
194 : { XML_NAMESPACE_PRESENTATION, XML_DISPLAY_FOOTER, XML_ATACTION_REMOVE, NO_PARAMS },
195 : { XML_NAMESPACE_PRESENTATION, XML_DISPLAY_PAGE_NUMBER, XML_ATACTION_REMOVE, NO_PARAMS },
196 : { XML_NAMESPACE_PRESENTATION, XML_DISPLAY_DATE_TIME, XML_ATACTION_REMOVE, NO_PARAMS },
197 :
198 : { XML_NAMESPACE_SMIL, XML_TYPE, XML_ATACTION_REMOVE, NO_PARAMS },
199 : { XML_NAMESPACE_SMIL, XML_SUBTYPE, XML_ATACTION_REMOVE, NO_PARAMS },
200 : { XML_NAMESPACE_SMIL, XML_DIRECTION, XML_ATACTION_REMOVE, NO_PARAMS },
201 : { XML_NAMESPACE_SMIL, XML_FADECOLOR, XML_ATACTION_REMOVE, NO_PARAMS },
202 :
203 : { XML_NAMESPACE_OFFICE, XML_TOKEN_INVALID, XML_ATACTION_EOT, NO_PARAMS }
204 : };
205 :
206 : XMLTransformerActionInit aPageLayoutPropertyOASISAttrActionTable[] =
207 : {
208 : { XML_NAMESPACE_FO, XML_PAGE_WIDTH, XML_ATACTION_IN2INCH,
209 : NO_PARAMS }, /* generated entry */
210 : { XML_NAMESPACE_FO, XML_PAGE_HEIGHT, XML_ATACTION_IN2INCH,
211 : NO_PARAMS }, /* generated entry */
212 : { XML_NAMESPACE_FO, XML_MARGIN_LEFT, XML_ATACTION_IN2INCH,
213 : NO_PARAMS }, /* generated entry */
214 : { XML_NAMESPACE_FO, XML_MARGIN_RIGHT, XML_ATACTION_IN2INCH,
215 : NO_PARAMS }, /* generated entry */
216 : { XML_NAMESPACE_FO, XML_MARGIN_TOP, XML_ATACTION_IN2INCH,
217 : NO_PARAMS }, /* generated entry */
218 : { XML_NAMESPACE_FO, XML_MARGIN_BOTTOM, XML_ATACTION_IN2INCH,
219 : NO_PARAMS }, /* generated entry */
220 : { XML_NAMESPACE_FO, XML_BORDER, XML_ATACTION_INS2INCHS,
221 : NO_PARAMS }, /* generated entry */
222 : { XML_NAMESPACE_FO, XML_BORDER_TOP, XML_ATACTION_INS2INCHS,
223 : NO_PARAMS }, /* generated entry */
224 : { XML_NAMESPACE_FO, XML_BORDER_BOTTOM, XML_ATACTION_INS2INCHS,
225 : NO_PARAMS }, /* generated entry */
226 : { XML_NAMESPACE_FO, XML_BORDER_LEFT, XML_ATACTION_INS2INCHS,
227 : NO_PARAMS }, /* generated entry */
228 : { XML_NAMESPACE_FO, XML_BORDER_RIGHT, XML_ATACTION_INS2INCHS,
229 : NO_PARAMS }, /* generated entry */
230 : { XML_NAMESPACE_STYLE, XML_BORDER_LINE_WIDTH, XML_ATACTION_INS2INCHS,
231 : NO_PARAMS }, /* generated entry */
232 : { XML_NAMESPACE_STYLE, XML_BORDER_LINE_WIDTH_TOP, XML_ATACTION_INS2INCHS,
233 : NO_PARAMS }, /* generated entry */
234 : { XML_NAMESPACE_STYLE, XML_BORDER_LINE_WIDTH_BOTTOM, XML_ATACTION_INS2INCHS,
235 : NO_PARAMS }, /* generated entry */
236 : { XML_NAMESPACE_STYLE, XML_BORDER_LINE_WIDTH_LEFT, XML_ATACTION_INS2INCHS,
237 : NO_PARAMS }, /* generated entry */
238 : { XML_NAMESPACE_STYLE, XML_BORDER_LINE_WIDTH_RIGHT, XML_ATACTION_INS2INCHS,
239 : NO_PARAMS }, /* generated entry */
240 : { XML_NAMESPACE_FO, XML_PADDING, XML_ATACTION_IN2INCH,
241 : NO_PARAMS }, /* generated entry */
242 : { XML_NAMESPACE_FO, XML_PADDING_TOP, XML_ATACTION_IN2INCH,
243 : NO_PARAMS }, /* generated entry */
244 : { XML_NAMESPACE_FO, XML_PADDING_BOTTOM, XML_ATACTION_IN2INCH,
245 : NO_PARAMS }, /* generated entry */
246 : { XML_NAMESPACE_FO, XML_PADDING_LEFT, XML_ATACTION_IN2INCH,
247 : NO_PARAMS }, /* generated entry */
248 : { XML_NAMESPACE_FO, XML_PADDING_RIGHT, XML_ATACTION_IN2INCH,
249 : NO_PARAMS }, /* generated entry */
250 : { XML_NAMESPACE_STYLE, XML_SHADOW, XML_ATACTION_INS2INCHS,
251 : NO_PARAMS },
252 : { XML_NAMESPACE_STYLE, XML_FOOTNOTE_MAX_HEIGHT, XML_ATACTION_IN2INCH,
253 : NO_PARAMS }, /* generated entry */
254 : { XML_NAMESPACE_STYLE, XML_LAYOUT_GRID_BASE_HEIGHT, XML_ATACTION_IN2INCH,
255 : NO_PARAMS }, /* generated entry */
256 : { XML_NAMESPACE_STYLE, XML_LAYOUT_GRID_RUBY_HEIGHT, XML_ATACTION_IN2INCH,
257 : NO_PARAMS }, /* generated entry */
258 : { XML_NAMESPACE_STYLE, XML_REGISTER_TRUTH_REF_STYLE_NAME, XML_ATACTION_DECODE_STYLE_NAME_REF, XML_FAMILY_TYPE_PARAGRAPH, 0, 0 },
259 : { XML_NAMESPACE_OFFICE, XML_TOKEN_INVALID, XML_ATACTION_EOT, NO_PARAMS }
260 : };
261 :
262 : XMLTransformerActionInit aHeaderFooterPropertyOASISAttrActionTable[] =
263 : {
264 : { XML_NAMESPACE_SVG, XML_HEIGHT, XML_ATACTION_IN2INCH,
265 : NO_PARAMS }, /* generated entry */
266 : { XML_NAMESPACE_FO, XML_MIN_HEIGHT, XML_ATACTION_IN2INCH,
267 : NO_PARAMS }, /* generated entry */
268 : { XML_NAMESPACE_FO, XML_MARGIN_LEFT, XML_ATACTION_IN2INCH,
269 : NO_PARAMS }, /* generated entry */
270 : { XML_NAMESPACE_FO, XML_MARGIN_RIGHT, XML_ATACTION_IN2INCH,
271 : NO_PARAMS }, /* generated entry */
272 : { XML_NAMESPACE_FO, XML_MARGIN_TOP, XML_ATACTION_IN2INCH,
273 : NO_PARAMS }, /* generated entry */
274 : { XML_NAMESPACE_FO, XML_MARGIN_BOTTOM, XML_ATACTION_IN2INCH,
275 : NO_PARAMS }, /* generated entry */
276 : { XML_NAMESPACE_FO, XML_BORDER, XML_ATACTION_INS2INCHS,
277 : NO_PARAMS }, /* generated entry */
278 : { XML_NAMESPACE_FO, XML_BORDER_TOP, XML_ATACTION_INS2INCHS,
279 : NO_PARAMS }, /* generated entry */
280 : { XML_NAMESPACE_FO, XML_BORDER_BOTTOM, XML_ATACTION_INS2INCHS,
281 : NO_PARAMS }, /* generated entry */
282 : { XML_NAMESPACE_FO, XML_BORDER_LEFT, XML_ATACTION_INS2INCHS,
283 : NO_PARAMS }, /* generated entry */
284 : { XML_NAMESPACE_FO, XML_BORDER_RIGHT, XML_ATACTION_INS2INCHS,
285 : NO_PARAMS }, /* generated entry */
286 : { XML_NAMESPACE_STYLE, XML_BORDER_LINE_WIDTH, XML_ATACTION_INS2INCHS,
287 : NO_PARAMS }, /* generated entry */
288 : { XML_NAMESPACE_STYLE, XML_BORDER_LINE_WIDTH_TOP, XML_ATACTION_INS2INCHS,
289 : NO_PARAMS }, /* generated entry */
290 : { XML_NAMESPACE_STYLE, XML_BORDER_LINE_WIDTH_BOTTOM, XML_ATACTION_INS2INCHS,
291 : NO_PARAMS }, /* generated entry */
292 : { XML_NAMESPACE_STYLE, XML_BORDER_LINE_WIDTH_LEFT, XML_ATACTION_INS2INCHS,
293 : NO_PARAMS }, /* generated entry */
294 : { XML_NAMESPACE_STYLE, XML_BORDER_LINE_WIDTH_RIGHT, XML_ATACTION_INS2INCHS,
295 : NO_PARAMS }, /* generated entry */
296 : { XML_NAMESPACE_FO, XML_PADDING, XML_ATACTION_IN2INCH,
297 : NO_PARAMS }, /* generated entry */
298 : { XML_NAMESPACE_FO, XML_PADDING_TOP, XML_ATACTION_IN2INCH,
299 : NO_PARAMS }, /* generated entry */
300 : { XML_NAMESPACE_FO, XML_PADDING_BOTTOM, XML_ATACTION_IN2INCH,
301 : NO_PARAMS }, /* generated entry */
302 : { XML_NAMESPACE_FO, XML_PADDING_LEFT, XML_ATACTION_IN2INCH,
303 : NO_PARAMS }, /* generated entry */
304 : { XML_NAMESPACE_FO, XML_PADDING_RIGHT, XML_ATACTION_IN2INCH,
305 : NO_PARAMS }, /* generated entry */
306 : { XML_NAMESPACE_STYLE, XML_SHADOW, XML_ATACTION_INS2INCHS,
307 : NO_PARAMS },
308 : { XML_NAMESPACE_OFFICE, XML_TOKEN_INVALID, XML_ATACTION_EOT, NO_PARAMS }
309 : };
310 :
311 : XMLTransformerActionInit aTextPropertyOASISAttrActionTable[] =
312 : {
313 : { XML_NAMESPACE_FO, XML_FONT_SIZE, XML_ATACTION_IN2INCH,
314 : NO_PARAMS }, /* generated entry */
315 : { XML_NAMESPACE_STYLE, XML_FONT_SIZE_ASIAN, XML_ATACTION_IN2INCH,
316 : NO_PARAMS }, /* generated entry */
317 : { XML_NAMESPACE_STYLE, XML_FONT_SIZE_COMPLEX, XML_ATACTION_IN2INCH,
318 : NO_PARAMS }, /* generated entry */
319 : { XML_NAMESPACE_STYLE, XML_FONT_SIZE_REL, XML_ATACTION_IN2INCH,
320 : NO_PARAMS }, /* generated entry */
321 : { XML_NAMESPACE_STYLE, XML_FONT_SIZE_REL_ASIAN, XML_ATACTION_IN2INCH,
322 : NO_PARAMS }, /* generated entry */
323 : { XML_NAMESPACE_STYLE, XML_FONT_SIZE_REL_COMPLEX, XML_ATACTION_IN2INCH,
324 : NO_PARAMS }, /* generated entry */
325 : { XML_NAMESPACE_FO, XML_LETTER_SPACING, XML_ATACTION_IN2INCH,
326 : NO_PARAMS }, /* generated entry */
327 : { XML_NAMESPACE_FO, XML_TEXT_SHADOW, XML_ATACTION_INS2INCHS,
328 : NO_PARAMS },
329 : { XML_NAMESPACE_STYLE, XML_TEXT_UNDERLINE_TYPE,
330 : XML_OPTACTION_UNDERLINE_TYPE, NO_PARAMS }, /* new attribute */
331 : { XML_NAMESPACE_STYLE, XML_TEXT_UNDERLINE_STYLE,
332 : XML_OPTACTION_UNDERLINE_STYLE, NO_PARAMS }, /* new attribute */
333 : { XML_NAMESPACE_STYLE, XML_TEXT_UNDERLINE_WIDTH,
334 : XML_OPTACTION_UNDERLINE_WIDTH, NO_PARAMS }, /* new attribute */
335 : { XML_NAMESPACE_STYLE, XML_TEXT_UNDERLINE_MODE,
336 : XML_OPTACTION_LINE_MODE, NO_PARAMS },
337 : { XML_NAMESPACE_STYLE, XML_TEXT_LINE_THROUGH_TYPE,
338 : XML_OPTACTION_LINETHROUGH_TYPE, NO_PARAMS }, /* new entry*/
339 : { XML_NAMESPACE_STYLE, XML_TEXT_LINE_THROUGH_STYLE,
340 : XML_OPTACTION_LINETHROUGH_STYLE, NO_PARAMS }, /* new entry*/
341 : { XML_NAMESPACE_STYLE, XML_TEXT_LINE_THROUGH_WIDTH,
342 : XML_OPTACTION_LINETHROUGH_WIDTH, NO_PARAMS }, /* new entry*/
343 : { XML_NAMESPACE_STYLE, XML_TEXT_LINE_THROUGH_COLOR,
344 : XML_ATACTION_REMOVE, NO_PARAMS }, /* new entry*/
345 : { XML_NAMESPACE_STYLE, XML_TEXT_LINE_THROUGH_TEXT,
346 : XML_OPTACTION_LINETHROUGH_TEXT, NO_PARAMS }, /* new entry*/
347 : { XML_NAMESPACE_STYLE, XML_TEXT_LINE_THROUGH_TEXT_STYLE,
348 : XML_ATACTION_REMOVE, NO_PARAMS }, /* new entry*/
349 : { XML_NAMESPACE_STYLE, XML_TEXT_LINE_THROUGH_MODE,
350 : XML_OPTACTION_LINE_MODE, NO_PARAMS },
351 : { XML_NAMESPACE_FO, XML_BACKGROUND_COLOR, XML_ATACTION_RENAME,
352 : XMLTransformerActionInit::QNameParam( XML_NAMESPACE_STYLE,
353 0 : XML_TEXT_BACKGROUND_COLOR ), 0, 0 },
354 : { XML_NAMESPACE_OFFICE, XML_TOKEN_INVALID, XML_ATACTION_EOT, NO_PARAMS }
355 0 : };
356 :
357 : XMLTransformerActionInit aParagraphPropertyOASISAttrActionTable[] =
358 : {
359 : { XML_NAMESPACE_FO, XML_TEXT_ALIGN, XML_OPTACTION_CONTROL_TEXT_ALIGN,
360 : NO_PARAMS },
361 : { XML_NAMESPACE_FO, XML_LINE_HEIGHT, XML_ATACTION_IN2INCH,
362 : NO_PARAMS }, /* generated entry */
363 : { XML_NAMESPACE_STYLE, XML_LINE_HEIGHT_AT_LEAST, XML_ATACTION_IN2INCH,
364 : NO_PARAMS }, /* generated entry */
365 : { XML_NAMESPACE_STYLE, XML_LINE_SPACING, XML_ATACTION_IN2INCH,
366 : NO_PARAMS }, /* generated entry */
367 : { XML_NAMESPACE_STYLE, XML_TAB_STOP_DISTANCE, XML_ATACTION_IN2INCH,
368 : NO_PARAMS }, /* generated entry */
369 : { XML_NAMESPACE_FO, XML_MARGIN_LEFT, XML_ATACTION_IN2INCH,
370 : NO_PARAMS }, /* generated entry */
371 : { XML_NAMESPACE_FO, XML_MARGIN_RIGHT, XML_ATACTION_IN2INCH,
372 : NO_PARAMS }, /* generated entry */
373 : { XML_NAMESPACE_FO, XML_TEXT_INDENT, XML_ATACTION_IN2INCH,
374 : NO_PARAMS }, /* generated entry */
375 : { XML_NAMESPACE_FO, XML_MARGIN_TOP, XML_ATACTION_IN2INCH,
376 : NO_PARAMS }, /* generated entry */
377 : { XML_NAMESPACE_FO, XML_MARGIN_BOTTOM, XML_ATACTION_IN2INCH,
378 : NO_PARAMS }, /* generated entry */
379 : { XML_NAMESPACE_STYLE, XML_BORDER_LINE_WIDTH, XML_ATACTION_INS2INCHS,
380 : NO_PARAMS }, /* generated entry */
381 : { XML_NAMESPACE_STYLE, XML_BORDER_LINE_WIDTH_TOP, XML_ATACTION_INS2INCHS,
382 : NO_PARAMS }, /* generated entry */
383 : { XML_NAMESPACE_STYLE, XML_BORDER_LINE_WIDTH_BOTTOM, XML_ATACTION_INS2INCHS,
384 : NO_PARAMS }, /* generated entry */
385 : { XML_NAMESPACE_STYLE, XML_BORDER_LINE_WIDTH_LEFT, XML_ATACTION_INS2INCHS,
386 : NO_PARAMS }, /* generated entry */
387 : { XML_NAMESPACE_STYLE, XML_BORDER_LINE_WIDTH_RIGHT, XML_ATACTION_INS2INCHS,
388 : NO_PARAMS }, /* generated entry */
389 : { XML_NAMESPACE_FO, XML_PADDING, XML_ATACTION_IN2INCH,
390 : NO_PARAMS }, /* generated entry */
391 : { XML_NAMESPACE_FO, XML_PADDING_TOP, XML_ATACTION_IN2INCH,
392 : NO_PARAMS }, /* generated entry */
393 : { XML_NAMESPACE_FO, XML_PADDING_BOTTOM, XML_ATACTION_IN2INCH,
394 : NO_PARAMS }, /* generated entry */
395 : { XML_NAMESPACE_FO, XML_PADDING_LEFT, XML_ATACTION_IN2INCH,
396 : NO_PARAMS }, /* generated entry */
397 : { XML_NAMESPACE_FO, XML_PADDING_RIGHT, XML_ATACTION_IN2INCH,
398 : NO_PARAMS }, /* generated entry */
399 : { XML_NAMESPACE_STYLE, XML_SHADOW, XML_ATACTION_INS2INCHS,
400 : NO_PARAMS },
401 : { XML_NAMESPACE_FO, XML_KEEP_WITH_NEXT, XML_OPTACTION_KEEP_WITH_NEXT,
402 : NO_PARAMS },
403 : { XML_NAMESPACE_FO, XML_KEEP_TOGETHER, XML_OPTACTION_KEEP_TOGETHER,
404 : NO_PARAMS },
405 : // { XML_NAMESPACE_STYLE, XML_WRITING_MODE, XML_OPTACTION_DRAW_WRITING_MODE, 0 },
406 : { XML_NAMESPACE_OFFICE, XML_TOKEN_INVALID, XML_ATACTION_EOT, NO_PARAMS }
407 : };
408 :
409 : XMLTransformerActionInit aSectionPropertyOASISAttrActionTable[] =
410 : {
411 : { XML_NAMESPACE_FO, XML_MARGIN_LEFT, XML_ATACTION_IN2INCH,
412 : NO_PARAMS }, /* generated entry */
413 : { XML_NAMESPACE_FO, XML_MARGIN_RIGHT, XML_ATACTION_IN2INCH,
414 : NO_PARAMS }, /* generated entry */
415 : { XML_NAMESPACE_OFFICE, XML_TOKEN_INVALID, XML_ATACTION_EOT, NO_PARAMS }
416 : };
417 :
418 : XMLTransformerActionInit aTablePropertyOASISAttrActionTable[] =
419 : {
420 : { XML_NAMESPACE_STYLE, XML_WIDTH, XML_ATACTION_IN2INCH,
421 : NO_PARAMS }, /* generated entry */
422 : { XML_NAMESPACE_FO, XML_MARGIN_LEFT, XML_ATACTION_IN2INCH,
423 : NO_PARAMS }, /* generated entry */
424 : { XML_NAMESPACE_FO, XML_MARGIN_RIGHT, XML_ATACTION_IN2INCH,
425 : NO_PARAMS }, /* generated entry */
426 : { XML_NAMESPACE_FO, XML_MARGIN_TOP, XML_ATACTION_IN2INCH,
427 : NO_PARAMS }, /* generated entry */
428 : { XML_NAMESPACE_FO, XML_MARGIN_BOTTOM, XML_ATACTION_IN2INCH,
429 : NO_PARAMS }, /* generated entry */
430 : { XML_NAMESPACE_FO, XML_KEEP_WITH_NEXT, XML_OPTACTION_KEEP_WITH_NEXT,
431 : NO_PARAMS },
432 : { XML_NAMESPACE_OFFICE, XML_TOKEN_INVALID, XML_ATACTION_EOT, NO_PARAMS }
433 : };
434 :
435 : XMLTransformerActionInit aTableColumnPropertyOASISAttrActionTable[] =
436 : {
437 : { XML_NAMESPACE_STYLE, XML_COLUMN_WIDTH, XML_ATACTION_IN2INCH,
438 : NO_PARAMS }, /* generated entry */
439 : { XML_NAMESPACE_OFFICE, XML_TOKEN_INVALID, XML_ATACTION_EOT, NO_PARAMS }
440 : };
441 :
442 : XMLTransformerActionInit aTableRowPropertyOASISAttrActionTable[] =
443 : {
444 : { XML_NAMESPACE_STYLE, XML_ROW_HEIGHT, XML_ATACTION_IN2INCH,
445 : NO_PARAMS }, /* generated entry */
446 : { XML_NAMESPACE_STYLE, XML_MIN_ROW_HEIGHT, XML_ATACTION_IN2INCH,
447 : NO_PARAMS }, /* generated entry */
448 : { XML_NAMESPACE_OFFICE, XML_TOKEN_INVALID, XML_ATACTION_EOT, NO_PARAMS }
449 : };
450 :
451 : XMLTransformerActionInit aTableCellPropertyOASISAttrActionTable[] =
452 : {
453 : { XML_NAMESPACE_STYLE, XML_VERTICAL_ALIGN, XML_ATACTION_RENAME,
454 : XMLTransformerActionInit::QNameParam( XML_NAMESPACE_FO,
455 0 : XML_VERTICAL_ALIGN ), 0, 0 },
456 : { XML_NAMESPACE_FO, XML_BORDER, XML_ATACTION_INS2INCHS,
457 : NO_PARAMS }, /* generated entry */
458 : { XML_NAMESPACE_FO, XML_BORDER_TOP, XML_ATACTION_INS2INCHS,
459 : NO_PARAMS }, /* generated entry */
460 : { XML_NAMESPACE_FO, XML_BORDER_BOTTOM, XML_ATACTION_INS2INCHS,
461 : NO_PARAMS }, /* generated entry */
462 : { XML_NAMESPACE_FO, XML_BORDER_LEFT, XML_ATACTION_INS2INCHS,
463 : NO_PARAMS }, /* generated entry */
464 : { XML_NAMESPACE_FO, XML_BORDER_RIGHT, XML_ATACTION_INS2INCHS,
465 : NO_PARAMS }, /* generated entry */
466 : { XML_NAMESPACE_STYLE, XML_BORDER_LINE_WIDTH, XML_ATACTION_INS2INCHS,
467 : NO_PARAMS }, /* generated entry */
468 : { XML_NAMESPACE_STYLE, XML_BORDER_LINE_WIDTH_TOP, XML_ATACTION_INS2INCHS,
469 : NO_PARAMS }, /* generated entry */
470 : { XML_NAMESPACE_STYLE, XML_BORDER_LINE_WIDTH_BOTTOM, XML_ATACTION_INS2INCHS,
471 : NO_PARAMS }, /* generated entry */
472 : { XML_NAMESPACE_STYLE, XML_BORDER_LINE_WIDTH_LEFT, XML_ATACTION_INS2INCHS,
473 : NO_PARAMS }, /* generated entry */
474 : { XML_NAMESPACE_STYLE, XML_BORDER_LINE_WIDTH_RIGHT, XML_ATACTION_INS2INCHS,
475 : NO_PARAMS }, /* generated entry */
476 : { XML_NAMESPACE_STYLE, XML_DIAGONAL_BL_TR, XML_ATACTION_INS2INCHS,
477 : NO_PARAMS }, /* generated entry */
478 : { XML_NAMESPACE_STYLE, XML_DIAGONAL_BL_TR_WIDTH, XML_ATACTION_INS2INCHS,
479 : NO_PARAMS }, /* generated entry */
480 : { XML_NAMESPACE_STYLE, XML_DIAGONAL_TL_BR, XML_ATACTION_INS2INCHS,
481 : NO_PARAMS }, /* generated entry */
482 : { XML_NAMESPACE_STYLE, XML_DIAGONAL_TL_BR_WIDTH, XML_ATACTION_INS2INCHS,
483 : NO_PARAMS }, /* generated entry */
484 : { XML_NAMESPACE_FO, XML_PADDING, XML_ATACTION_IN2INCH,
485 : NO_PARAMS }, /* generated entry */
486 : { XML_NAMESPACE_FO, XML_PADDING_TOP, XML_ATACTION_IN2INCH,
487 : NO_PARAMS }, /* generated entry */
488 : { XML_NAMESPACE_FO, XML_PADDING_BOTTOM, XML_ATACTION_IN2INCH,
489 : NO_PARAMS }, /* generated entry */
490 : { XML_NAMESPACE_FO, XML_PADDING_LEFT, XML_ATACTION_IN2INCH,
491 : NO_PARAMS }, /* generated entry */
492 : { XML_NAMESPACE_FO, XML_PADDING_RIGHT, XML_ATACTION_IN2INCH,
493 : NO_PARAMS }, /* generated entry */
494 : { XML_NAMESPACE_FO, XML_MARGIN_LEFT, XML_ATACTION_IN2INCH,
495 : NO_PARAMS }, /* generated entry */
496 : { XML_NAMESPACE_STYLE, XML_DIRECTION, XML_ATACTION_RENAME,
497 : XMLTransformerActionInit::QNameParam( XML_NAMESPACE_FO,
498 0 : XML_DIRECTION), 0, 0 },
499 : { XML_NAMESPACE_STYLE, XML_SHADOW, XML_ATACTION_INS2INCHS,
500 : NO_PARAMS },
501 : { XML_NAMESPACE_STYLE, XML_REPEAT_CONTENT, XML_ATACTION_REMOVE,
502 : NO_PARAMS }, /* new entry*/
503 : { XML_NAMESPACE_OFFICE, XML_TOKEN_INVALID, XML_ATACTION_EOT, NO_PARAMS }
504 0 : };
505 :
506 : XMLTransformerActionInit aListLevelPropertyOASISAttrActionTable[] =
507 : {
508 : { XML_NAMESPACE_TEXT, XML_SPACE_BEFORE, XML_ATACTION_IN2INCH,
509 : NO_PARAMS }, /* generated entry */
510 : { XML_NAMESPACE_TEXT, XML_MIN_LABEL_WIDTH, XML_ATACTION_IN2INCH,
511 : NO_PARAMS }, /* generated entry */
512 : { XML_NAMESPACE_TEXT, XML_MIN_LABEL_DISTANCE, XML_ATACTION_IN2INCH,
513 : NO_PARAMS }, /* generated entry */
514 : { XML_NAMESPACE_FO, XML_WIDTH, XML_ATACTION_IN2INCH,
515 : NO_PARAMS }, /* generated entry */
516 : { XML_NAMESPACE_FO, XML_HEIGHT, XML_ATACTION_IN2INCH,
517 : NO_PARAMS }, /* generated entry */
518 : { XML_NAMESPACE_OFFICE, XML_TOKEN_INVALID, XML_ATACTION_EOT, NO_PARAMS }
519 : };
520 :
521 : XMLTransformerActionInit aChartPropertyOASISAttrActionTable[] =
522 : {
523 : { XML_NAMESPACE_CHART, XML_SYMBOL_WIDTH, XML_ATACTION_IN2INCH,
524 : NO_PARAMS }, /* generated entry */
525 : { XML_NAMESPACE_CHART, XML_SYMBOL_HEIGHT, XML_ATACTION_IN2INCH,
526 : NO_PARAMS }, /* generated entry */
527 : { XML_NAMESPACE_STYLE, XML_DIRECTION, XML_ATACTION_RENAME,
528 : XMLTransformerActionInit::QNameParam( XML_NAMESPACE_FO,
529 0 : XML_DIRECTION ), 0, 0 },
530 : { XML_NAMESPACE_CHART, XML_INTERPOLATION, XML_OPTACTION_INTERPOLATION, NO_PARAMS },
531 : { XML_NAMESPACE_STYLE, XML_ROTATION_ANGLE, XML_ATACTION_RENAME,
532 : XMLTransformerActionInit::QNameParam( XML_NAMESPACE_TEXT,
533 0 : XML_ROTATION_ANGLE ), 0, 0 },
534 : { XML_NAMESPACE_CHART, XML_INTERVAL_MAJOR, XML_OPTACTION_INTERVAL_MAJOR, NO_PARAMS },
535 : { XML_NAMESPACE_CHART, XML_INTERVAL_MINOR_DIVISOR, XML_OPTACTION_INTERVAL_MINOR_DIVISOR,
536 : NO_PARAMS },
537 : { XML_NAMESPACE_CHART, XML_JAPANESE_CANDLE_STICK, XML_ATACTION_RENAME,
538 : XMLTransformerActionInit::QNameParam( XML_NAMESPACE_CHART,
539 0 : XML_STOCK_UPDOWN_BARS ), 0, 0 },
540 : { XML_NAMESPACE_CHART, XML_SYMBOL_TYPE, XML_OPTACTION_SYMBOL_TYPE, NO_PARAMS },
541 : { XML_NAMESPACE_CHART, XML_SYMBOL_NAME, XML_OPTACTION_SYMBOL_NAME, NO_PARAMS },
542 :
543 : { XML_NAMESPACE_OFFICE, XML_TOKEN_INVALID, XML_ATACTION_EOT, NO_PARAMS }
544 0 : };
545 :
546 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|