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