1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: PropertyActionsOASIS.cxx,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 // MARKER(update_precomp.py): autogen include statement, do not remove
32 #include "precompiled_xmloff.hxx"
33 #include "xmlnmspe.hxx"
34 #include "PropType.hxx"
35 #include "FamilyType.hxx"
36 #include "PropertyActionsOASIS.hxx"
38 using namespace ::xmloff::token
;
40 #define NO_PARAMS 0, 0, 0
42 XMLTransformerActionInit aGraphicPropertyOASISAttrActionTable
[] =
44 { XML_NAMESPACE_SVG
, XML_STROKE_WIDTH
, XML_ATACTION_IN2INCH
,
45 NO_PARAMS
}, /* generated entry */
46 { XML_NAMESPACE_DRAW
, XML_MARKER_START_WIDTH
, XML_ATACTION_IN2INCH
,
47 NO_PARAMS
}, /* generated entry */
48 { XML_NAMESPACE_DRAW
, XML_MARKER_END_WIDTH
, XML_ATACTION_IN2INCH
,
49 NO_PARAMS
}, /* generated entry */
50 { XML_NAMESPACE_DRAW
, XML_SHADOW_OFFSET_X
, XML_ATACTION_IN2INCH
,
51 NO_PARAMS
}, /* generated entry */
52 { XML_NAMESPACE_DRAW
, XML_SHADOW_OFFSET_Y
, XML_ATACTION_IN2INCH
,
53 NO_PARAMS
}, /* generated entry */
54 { XML_NAMESPACE_DRAW
, XML_SHADOW_OPACITY
,
55 XML_ATACTION_RENAME_NEG_PERCENT
,
56 XMLTransformerActionInit::QNameParam( XML_NAMESPACE_DRAW
,
57 XML_SHADOW_TRANSPARENCY
), 0, 0 },
58 { XML_NAMESPACE_DRAW
, XML_GUIDE_OVERHANG
, XML_ATACTION_IN2INCH
,
59 NO_PARAMS
}, /* generated entry */
60 { XML_NAMESPACE_DRAW
, XML_START_GUIDE
, XML_ATACTION_IN2INCH
,
61 NO_PARAMS
}, /* generated entry */
62 { XML_NAMESPACE_DRAW
, XML_END_GUIDE
, XML_ATACTION_IN2INCH
,
63 NO_PARAMS
}, /* generated entry */
64 { XML_NAMESPACE_DRAW
, XML_CAPTION_ESCAPE
, XML_ATACTION_CAPTION_ESCAPE_OASIS
,
65 NO_PARAMS
}, /* generated entry */
66 { XML_NAMESPACE_DRAW
, XML_CAPTION_LINE_LENGTH
, XML_ATACTION_IN2INCH
,
67 NO_PARAMS
}, /* generated entry */
68 { XML_NAMESPACE_DR3D
, XML_DEPTH
, XML_ATACTION_IN2INCH
,
69 NO_PARAMS
}, /* generated entry */
70 { XML_NAMESPACE_SVG
, XML_WIDTH
, XML_ATACTION_IN2INCH
,
71 NO_PARAMS
}, /* generated entry */
72 { XML_NAMESPACE_SVG
, XML_HEIGHT
, XML_ATACTION_IN2INCH
,
73 NO_PARAMS
}, /* generated entry */
74 { XML_NAMESPACE_FO
, XML_MAX_HEIGHT
, XML_ATACTION_IN2INCH
,
75 NO_PARAMS
}, /* generated entry */
76 { XML_NAMESPACE_FO
, XML_MAX_WIDTH
, XML_ATACTION_IN2INCH
,
77 NO_PARAMS
}, /* generated entry */
78 { XML_NAMESPACE_FO
, XML_MARGIN_LEFT
, XML_ATACTION_IN2INCH
,
79 NO_PARAMS
}, /* generated entry */
80 { XML_NAMESPACE_FO
, XML_MARGIN_RIGHT
, XML_ATACTION_IN2INCH
,
81 NO_PARAMS
}, /* generated entry */
82 { XML_NAMESPACE_FO
, XML_MARGIN_TOP
, XML_ATACTION_IN2INCH
,
83 NO_PARAMS
}, /* generated entry */
84 { XML_NAMESPACE_FO
, XML_MARGIN_BOTTOM
, XML_ATACTION_IN2INCH
,
85 NO_PARAMS
}, /* generated entry */
86 { XML_NAMESPACE_FO
, XML_BORDER
, XML_ATACTION_INS2INCHS
,
87 NO_PARAMS
}, /* generated entry */
88 { XML_NAMESPACE_FO
, XML_BORDER_TOP
, XML_ATACTION_INS2INCHS
,
89 NO_PARAMS
}, /* generated entry */
90 { XML_NAMESPACE_FO
, XML_BORDER_BOTTOM
, XML_ATACTION_INS2INCHS
,
91 NO_PARAMS
}, /* generated entry */
92 { XML_NAMESPACE_FO
, XML_BORDER_LEFT
, XML_ATACTION_INS2INCHS
,
93 NO_PARAMS
}, /* generated entry */
94 { XML_NAMESPACE_FO
, XML_BORDER_RIGHT
, XML_ATACTION_INS2INCHS
,
95 NO_PARAMS
}, /* generated entry */
96 { XML_NAMESPACE_STYLE
, XML_BORDER_LINE_WIDTH
, XML_ATACTION_INS2INCHS
,
97 NO_PARAMS
}, /* generated entry */
98 { XML_NAMESPACE_STYLE
, XML_BORDER_LINE_WIDTH_TOP
, XML_ATACTION_INS2INCHS
,
99 NO_PARAMS
}, /* generated entry */
100 { XML_NAMESPACE_STYLE
, XML_BORDER_LINE_WIDTH_BOTTOM
, XML_ATACTION_INS2INCHS
,
101 NO_PARAMS
}, /* generated entry */
102 { XML_NAMESPACE_STYLE
, XML_BORDER_LINE_WIDTH_LEFT
, XML_ATACTION_INS2INCHS
,
103 NO_PARAMS
}, /* generated entry */
104 { XML_NAMESPACE_STYLE
, XML_BORDER_LINE_WIDTH_RIGHT
, XML_ATACTION_INS2INCHS
,
105 NO_PARAMS
}, /* generated entry */
106 { XML_NAMESPACE_FO
, XML_PADDING
, XML_ATACTION_IN2INCH
,
107 NO_PARAMS
}, /* generated entry */
108 { XML_NAMESPACE_FO
, XML_PADDING_TOP
, XML_ATACTION_IN2INCH
,
109 NO_PARAMS
}, /* generated entry */
110 { XML_NAMESPACE_FO
, XML_PADDING_BOTTOM
, XML_ATACTION_IN2INCH
,
111 NO_PARAMS
}, /* generated entry */
112 { XML_NAMESPACE_FO
, XML_PADDING_LEFT
, XML_ATACTION_IN2INCH
,
113 NO_PARAMS
}, /* generated entry */
114 { XML_NAMESPACE_FO
, XML_PADDING_RIGHT
, XML_ATACTION_IN2INCH
,
115 NO_PARAMS
}, /* generated entry */
116 { XML_NAMESPACE_STYLE
, XML_SHADOW
, XML_ATACTION_INS2INCHS
,
118 { XML_NAMESPACE_FO
, XML_CLIP
, XML_ATACTION_INS2INCHS
,
119 NO_PARAMS
}, /* generated entry */
120 // { XML_NAMESPACE_STYLE, XML_WRAP_DYNAMIC_TRESHOLD, XML_ATACTION_REMOVE,
121 // NO_PARAMS }, /* generated entry */ // TODO
122 { XML_NAMESPACE_DRAW
, XML_VISIBLE_AREA_LEFT
, XML_ATACTION_IN2INCH
,
123 NO_PARAMS
}, /* generated entry */
124 { XML_NAMESPACE_DRAW
, XML_VISIBLE_AREA_TOP
, XML_ATACTION_IN2INCH
,
125 NO_PARAMS
}, /* generated entry */
126 { XML_NAMESPACE_DRAW
, XML_VISIBLE_AREA_WIDTH
, XML_ATACTION_IN2INCH
,
127 NO_PARAMS
}, /* generated entry */
128 { XML_NAMESPACE_DRAW
, XML_VISIBLE_AREA_HEIGHT
, XML_ATACTION_IN2INCH
,
129 NO_PARAMS
}, /* generated entry */
130 { XML_NAMESPACE_DRAW
, XML_START_LINE_SPACING_HORIZONTAL
, XML_ATACTION_IN2INCH
, NO_PARAMS
}, /* generated entry */
131 { XML_NAMESPACE_DRAW
, XML_START_LINE_SPACING_VERTICAL
, XML_ATACTION_IN2INCH
, NO_PARAMS
}, /* generated entry */
132 { XML_NAMESPACE_DRAW
, XML_END_LINE_SPACING_HORIZONTAL
, XML_ATACTION_IN2INCH
, NO_PARAMS
}, /* generated entry */
133 { XML_NAMESPACE_DRAW
, XML_END_LINE_SPACING_VERTICAL
, XML_ATACTION_IN2INCH
, NO_PARAMS
}, /* generated entry */
134 { XML_NAMESPACE_DRAW
, XML_LINE_DISTANCE
, XML_ATACTION_IN2INCH
, NO_PARAMS
}, /* generated entry */
135 { XML_NAMESPACE_DRAW
, XML_GUIDE_DISTANCE
, XML_ATACTION_IN2INCH
, NO_PARAMS
}, /* generated entry */
136 { XML_NAMESPACE_DRAW
, XML_CAPTION_GAP
, XML_ATACTION_IN2INCH
, NO_PARAMS
}, /* generated entry */
137 { XML_NAMESPACE_SVG
, XML_X
, XML_ATACTION_IN2INCH
,
138 NO_PARAMS
}, /* generated entry */
139 { XML_NAMESPACE_SVG
, XML_Y
, XML_ATACTION_IN2INCH
,
140 NO_PARAMS
}, /* generated entry */
141 { XML_NAMESPACE_DRAW
, XML_STROKE_DASH
, XML_ATACTION_DECODE_STYLE_NAME_REF
,
142 XML_FAMILY_TYPE_STROKE_DASH
, 0, 0 },
143 { XML_NAMESPACE_DRAW
, XML_MARKER_START
, XML_ATACTION_DECODE_STYLE_NAME_REF
,
144 XML_FAMILY_TYPE_MARKER
, 0, 0 },
145 { XML_NAMESPACE_DRAW
, XML_MARKER_END
, XML_ATACTION_DECODE_STYLE_NAME_REF
,
146 XML_FAMILY_TYPE_MARKER
, 0, 0 },
147 { XML_NAMESPACE_DRAW
, XML_FILL_GRADIENT_NAME
, XML_ATACTION_DECODE_STYLE_NAME_REF
,
148 XML_FAMILY_TYPE_GRADIENT
, 0, 0 },
151 { XML_NAMESPACE_DRAW
, XML_OPACITY
, XML_OPTACTION_OPACITY
, NO_PARAMS
},
152 { XML_NAMESPACE_DRAW
, XML_IMAGE_OPACITY
, XML_OPTACTION_IMAGE_OPACITY
, NO_PARAMS
},
154 { XML_NAMESPACE_DRAW
, XML_STROKE_LINEJOIN
, XML_ATACTION_RENAME
,
155 XMLTransformerActionInit::QNameParam( XML_NAMESPACE_SVG
,
156 XML_STROKE_LINEJOIN
), 0, 0 },
157 { XML_NAMESPACE_DRAW
, XML_OPACITY_NAME
,
158 XML_ATACTION_RENAME_DECODE_STYLE_NAME_REF
,
159 XMLTransformerActionInit::QNameParam( XML_NAMESPACE_DRAW
,
160 XML_TRANSPARENCY_NAME
),
161 XML_FAMILY_TYPE_GRADIENT
, 0 },
162 { XML_NAMESPACE_DRAW
, XML_FILL_HATCH_NAME
, XML_ATACTION_DECODE_STYLE_NAME_REF
,
163 XML_FAMILY_TYPE_HATCH
, 0, 0 },
164 { XML_NAMESPACE_DRAW
, XML_FILL_IMAGE_NAME
, XML_ATACTION_DECODE_STYLE_NAME_REF
,
165 XML_FAMILY_TYPE_FILL_IMAGE
, 0, 0 },
167 // Font work properties
168 { XML_NAMESPACE_DRAW
, XML_FONTWORK_DISTANCE
, XML_ATACTION_IN2INCH
, NO_PARAMS
},
169 { XML_NAMESPACE_DRAW
, XML_FONTWORK_START
, XML_ATACTION_IN2INCH
, NO_PARAMS
},
170 { XML_NAMESPACE_DRAW
, XML_FONTWORK_SHADOW_OFFSET_X
, XML_ATACTION_IN2INCH
, NO_PARAMS
},
171 { XML_NAMESPACE_DRAW
, XML_FONTWORK_SHADOW_OFFSET_Y
, XML_ATACTION_IN2INCH
, NO_PARAMS
},
173 { XML_NAMESPACE_DRAW
, XML_AUTO_GROW_WIDTH
, XML_ATACTION_RENAME
,
174 XMLTransformerActionInit::QNameParam( XML_NAMESPACE_DRAW
,
175 XML_AUTO_GROW_HEIGHT
), 0, 0 },
176 { XML_NAMESPACE_DRAW
, XML_AUTO_GROW_HEIGHT
, XML_ATACTION_RENAME
,
177 XMLTransformerActionInit::QNameParam( XML_NAMESPACE_DRAW
,
178 XML_AUTO_GROW_WIDTH
), 0, 0 },
179 { XML_NAMESPACE_PRESENTATION
, XML_DURATION
, XML_ATACTION_RNG2ISO_DATETIME
, NO_PARAMS
},
180 { XML_NAMESPACE_TEXT
, XML_ANIMATION_DELAY
, XML_ATACTION_RNG2ISO_DATETIME
, NO_PARAMS
},
182 { XML_NAMESPACE_STYLE
, XML_PROTECT
, XML_ATACTION_DECODE_PROTECT
, NO_PARAMS
},
183 { XML_NAMESPACE_STYLE
, XML_MIRROR
, XML_ATACTION_DRAW_MIRROR_OASIS
, NO_PARAMS
},
184 { XML_NAMESPACE_DRAW
, XML_GAMMA
, XML_ATACTION_GAMMA_OASIS
, NO_PARAMS
},
185 { XML_NAMESPACE_SVG
, XML_STROKE_OPACITY
, XML_ATACTION_OPACITY_FIX
, NO_PARAMS
},
187 { XML_NAMESPACE_STYLE
, XML_FLOW_WITH_TEXT
, XML_ATACTION_REMOVE
,
189 { XML_NAMESPACE_DRAW
, XML_WRAP_INFLUENCE_ON_POSITION
, XML_ATACTION_REMOVE
,
192 { XML_NAMESPACE_OFFICE
, XML_TOKEN_INVALID
, XML_ATACTION_EOT
, NO_PARAMS
}
195 XMLTransformerActionInit aDrawingPagePropertyOASISAttrActionTable
[] =
197 // style-graphic-fill-properties-attlist
198 { XML_NAMESPACE_DRAW
, XML_FILL_GRADIENT_NAME
, XML_ATACTION_DECODE_STYLE_NAME_REF
,
200 { XML_NAMESPACE_DRAW
, XML_FILL_HATCH_NAME
, XML_ATACTION_DECODE_STYLE_NAME_REF
, NO_PARAMS
}, /* generated entry */
201 { XML_NAMESPACE_DRAW
, XML_FILL_IMAGE_NAME
, XML_ATACTION_DECODE_STYLE_NAME_REF
,
203 { XML_NAMESPACE_DRAW
, XML_FILL_IMAGE_WIDTH
, XML_ATACTION_IN2INCH
, NO_PARAMS
}, /* generated entry */
204 { XML_NAMESPACE_DRAW
, XML_FILL_IMAGE_HEIGHT
, XML_ATACTION_IN2INCH
, NO_PARAMS
}, /* generated entry */
206 { XML_NAMESPACE_PRESENTATION
, XML_DISPLAY_HEADER
, XML_ATACTION_REMOVE
, NO_PARAMS
},
207 { XML_NAMESPACE_PRESENTATION
, XML_DISPLAY_FOOTER
, XML_ATACTION_REMOVE
, NO_PARAMS
},
208 { XML_NAMESPACE_PRESENTATION
, XML_DISPLAY_PAGE_NUMBER
, XML_ATACTION_REMOVE
, NO_PARAMS
},
209 { XML_NAMESPACE_PRESENTATION
, XML_DISPLAY_DATE_TIME
, XML_ATACTION_REMOVE
, NO_PARAMS
},
211 { XML_NAMESPACE_SMIL
, XML_TYPE
, XML_ATACTION_REMOVE
, NO_PARAMS
},
212 { XML_NAMESPACE_SMIL
, XML_SUBTYPE
, XML_ATACTION_REMOVE
, NO_PARAMS
},
213 { XML_NAMESPACE_SMIL
, XML_DIRECTION
, XML_ATACTION_REMOVE
, NO_PARAMS
},
214 { XML_NAMESPACE_SMIL
, XML_FADECOLOR
, XML_ATACTION_REMOVE
, NO_PARAMS
},
216 { XML_NAMESPACE_OFFICE
, XML_TOKEN_INVALID
, XML_ATACTION_EOT
, NO_PARAMS
}
219 XMLTransformerActionInit aPageLayoutPropertyOASISAttrActionTable
[] =
221 { XML_NAMESPACE_FO
, XML_PAGE_WIDTH
, XML_ATACTION_IN2INCH
,
222 NO_PARAMS
}, /* generated entry */
223 { XML_NAMESPACE_FO
, XML_PAGE_HEIGHT
, XML_ATACTION_IN2INCH
,
224 NO_PARAMS
}, /* generated entry */
225 { XML_NAMESPACE_FO
, XML_MARGIN_LEFT
, XML_ATACTION_IN2INCH
,
226 NO_PARAMS
}, /* generated entry */
227 { XML_NAMESPACE_FO
, XML_MARGIN_RIGHT
, XML_ATACTION_IN2INCH
,
228 NO_PARAMS
}, /* generated entry */
229 { XML_NAMESPACE_FO
, XML_MARGIN_TOP
, XML_ATACTION_IN2INCH
,
230 NO_PARAMS
}, /* generated entry */
231 { XML_NAMESPACE_FO
, XML_MARGIN_BOTTOM
, XML_ATACTION_IN2INCH
,
232 NO_PARAMS
}, /* generated entry */
233 { XML_NAMESPACE_FO
, XML_BORDER
, XML_ATACTION_INS2INCHS
,
234 NO_PARAMS
}, /* generated entry */
235 { XML_NAMESPACE_FO
, XML_BORDER_TOP
, XML_ATACTION_INS2INCHS
,
236 NO_PARAMS
}, /* generated entry */
237 { XML_NAMESPACE_FO
, XML_BORDER_BOTTOM
, XML_ATACTION_INS2INCHS
,
238 NO_PARAMS
}, /* generated entry */
239 { XML_NAMESPACE_FO
, XML_BORDER_LEFT
, XML_ATACTION_INS2INCHS
,
240 NO_PARAMS
}, /* generated entry */
241 { XML_NAMESPACE_FO
, XML_BORDER_RIGHT
, XML_ATACTION_INS2INCHS
,
242 NO_PARAMS
}, /* generated entry */
243 { XML_NAMESPACE_STYLE
, XML_BORDER_LINE_WIDTH
, XML_ATACTION_INS2INCHS
,
244 NO_PARAMS
}, /* generated entry */
245 { XML_NAMESPACE_STYLE
, XML_BORDER_LINE_WIDTH_TOP
, XML_ATACTION_INS2INCHS
,
246 NO_PARAMS
}, /* generated entry */
247 { XML_NAMESPACE_STYLE
, XML_BORDER_LINE_WIDTH_BOTTOM
, XML_ATACTION_INS2INCHS
,
248 NO_PARAMS
}, /* generated entry */
249 { XML_NAMESPACE_STYLE
, XML_BORDER_LINE_WIDTH_LEFT
, XML_ATACTION_INS2INCHS
,
250 NO_PARAMS
}, /* generated entry */
251 { XML_NAMESPACE_STYLE
, XML_BORDER_LINE_WIDTH_RIGHT
, XML_ATACTION_INS2INCHS
,
252 NO_PARAMS
}, /* generated entry */
253 { XML_NAMESPACE_FO
, XML_PADDING
, XML_ATACTION_IN2INCH
,
254 NO_PARAMS
}, /* generated entry */
255 { XML_NAMESPACE_FO
, XML_PADDING_TOP
, XML_ATACTION_IN2INCH
,
256 NO_PARAMS
}, /* generated entry */
257 { XML_NAMESPACE_FO
, XML_PADDING_BOTTOM
, XML_ATACTION_IN2INCH
,
258 NO_PARAMS
}, /* generated entry */
259 { XML_NAMESPACE_FO
, XML_PADDING_LEFT
, XML_ATACTION_IN2INCH
,
260 NO_PARAMS
}, /* generated entry */
261 { XML_NAMESPACE_FO
, XML_PADDING_RIGHT
, XML_ATACTION_IN2INCH
,
262 NO_PARAMS
}, /* generated entry */
263 { XML_NAMESPACE_STYLE
, XML_SHADOW
, XML_ATACTION_INS2INCHS
,
265 { XML_NAMESPACE_STYLE
, XML_FOOTNOTE_MAX_HEIGHT
, XML_ATACTION_IN2INCH
,
266 NO_PARAMS
}, /* generated entry */
267 { XML_NAMESPACE_STYLE
, XML_LAYOUT_GRID_BASE_HEIGHT
, XML_ATACTION_IN2INCH
,
268 NO_PARAMS
}, /* generated entry */
269 { XML_NAMESPACE_STYLE
, XML_LAYOUT_GRID_RUBY_HEIGHT
, XML_ATACTION_IN2INCH
,
270 NO_PARAMS
}, /* generated entry */
271 { XML_NAMESPACE_STYLE
, XML_REGISTER_TRUTH_REF_STYLE_NAME
, XML_ATACTION_DECODE_STYLE_NAME_REF
, XML_FAMILY_TYPE_PARAGRAPH
, 0, 0 },
272 { XML_NAMESPACE_OFFICE
, XML_TOKEN_INVALID
, XML_ATACTION_EOT
, NO_PARAMS
}
275 XMLTransformerActionInit aHeaderFooterPropertyOASISAttrActionTable
[] =
277 { XML_NAMESPACE_SVG
, XML_HEIGHT
, XML_ATACTION_IN2INCH
,
278 NO_PARAMS
}, /* generated entry */
279 { XML_NAMESPACE_FO
, XML_MIN_HEIGHT
, XML_ATACTION_IN2INCH
,
280 NO_PARAMS
}, /* generated entry */
281 { XML_NAMESPACE_FO
, XML_MARGIN_LEFT
, XML_ATACTION_IN2INCH
,
282 NO_PARAMS
}, /* generated entry */
283 { XML_NAMESPACE_FO
, XML_MARGIN_RIGHT
, XML_ATACTION_IN2INCH
,
284 NO_PARAMS
}, /* generated entry */
285 { XML_NAMESPACE_FO
, XML_MARGIN_TOP
, XML_ATACTION_IN2INCH
,
286 NO_PARAMS
}, /* generated entry */
287 { XML_NAMESPACE_FO
, XML_MARGIN_BOTTOM
, XML_ATACTION_IN2INCH
,
288 NO_PARAMS
}, /* generated entry */
289 { XML_NAMESPACE_FO
, XML_BORDER
, XML_ATACTION_INS2INCHS
,
290 NO_PARAMS
}, /* generated entry */
291 { XML_NAMESPACE_FO
, XML_BORDER_TOP
, XML_ATACTION_INS2INCHS
,
292 NO_PARAMS
}, /* generated entry */
293 { XML_NAMESPACE_FO
, XML_BORDER_BOTTOM
, XML_ATACTION_INS2INCHS
,
294 NO_PARAMS
}, /* generated entry */
295 { XML_NAMESPACE_FO
, XML_BORDER_LEFT
, XML_ATACTION_INS2INCHS
,
296 NO_PARAMS
}, /* generated entry */
297 { XML_NAMESPACE_FO
, XML_BORDER_RIGHT
, XML_ATACTION_INS2INCHS
,
298 NO_PARAMS
}, /* generated entry */
299 { XML_NAMESPACE_STYLE
, XML_BORDER_LINE_WIDTH
, XML_ATACTION_INS2INCHS
,
300 NO_PARAMS
}, /* generated entry */
301 { XML_NAMESPACE_STYLE
, XML_BORDER_LINE_WIDTH_TOP
, XML_ATACTION_INS2INCHS
,
302 NO_PARAMS
}, /* generated entry */
303 { XML_NAMESPACE_STYLE
, XML_BORDER_LINE_WIDTH_BOTTOM
, XML_ATACTION_INS2INCHS
,
304 NO_PARAMS
}, /* generated entry */
305 { XML_NAMESPACE_STYLE
, XML_BORDER_LINE_WIDTH_LEFT
, XML_ATACTION_INS2INCHS
,
306 NO_PARAMS
}, /* generated entry */
307 { XML_NAMESPACE_STYLE
, XML_BORDER_LINE_WIDTH_RIGHT
, XML_ATACTION_INS2INCHS
,
308 NO_PARAMS
}, /* generated entry */
309 { XML_NAMESPACE_FO
, XML_PADDING
, XML_ATACTION_IN2INCH
,
310 NO_PARAMS
}, /* generated entry */
311 { XML_NAMESPACE_FO
, XML_PADDING_TOP
, XML_ATACTION_IN2INCH
,
312 NO_PARAMS
}, /* generated entry */
313 { XML_NAMESPACE_FO
, XML_PADDING_BOTTOM
, XML_ATACTION_IN2INCH
,
314 NO_PARAMS
}, /* generated entry */
315 { XML_NAMESPACE_FO
, XML_PADDING_LEFT
, XML_ATACTION_IN2INCH
,
316 NO_PARAMS
}, /* generated entry */
317 { XML_NAMESPACE_FO
, XML_PADDING_RIGHT
, XML_ATACTION_IN2INCH
,
318 NO_PARAMS
}, /* generated entry */
319 { XML_NAMESPACE_STYLE
, XML_SHADOW
, XML_ATACTION_INS2INCHS
,
321 { XML_NAMESPACE_OFFICE
, XML_TOKEN_INVALID
, XML_ATACTION_EOT
, NO_PARAMS
}
324 XMLTransformerActionInit aTextPropertyOASISAttrActionTable
[] =
326 { XML_NAMESPACE_FO
, XML_FONT_SIZE
, XML_ATACTION_IN2INCH
,
327 NO_PARAMS
}, /* generated entry */
328 { XML_NAMESPACE_STYLE
, XML_FONT_SIZE_ASIAN
, XML_ATACTION_IN2INCH
,
329 NO_PARAMS
}, /* generated entry */
330 { XML_NAMESPACE_STYLE
, XML_FONT_SIZE_COMPLEX
, XML_ATACTION_IN2INCH
,
331 NO_PARAMS
}, /* generated entry */
332 { XML_NAMESPACE_STYLE
, XML_FONT_SIZE_REL
, XML_ATACTION_IN2INCH
,
333 NO_PARAMS
}, /* generated entry */
334 { XML_NAMESPACE_STYLE
, XML_FONT_SIZE_REL_ASIAN
, XML_ATACTION_IN2INCH
,
335 NO_PARAMS
}, /* generated entry */
336 { XML_NAMESPACE_STYLE
, XML_FONT_SIZE_REL_COMPLEX
, XML_ATACTION_IN2INCH
,
337 NO_PARAMS
}, /* generated entry */
338 { XML_NAMESPACE_FO
, XML_LETTER_SPACING
, XML_ATACTION_IN2INCH
,
339 NO_PARAMS
}, /* generated entry */
340 { XML_NAMESPACE_FO
, XML_TEXT_SHADOW
, XML_ATACTION_INS2INCHS
,
342 { XML_NAMESPACE_STYLE
, XML_TEXT_UNDERLINE_TYPE
,
343 XML_OPTACTION_UNDERLINE_TYPE
, NO_PARAMS
}, /* new attribute */
344 { XML_NAMESPACE_STYLE
, XML_TEXT_UNDERLINE_STYLE
,
345 XML_OPTACTION_UNDERLINE_STYLE
, NO_PARAMS
}, /* new attribute */
346 { XML_NAMESPACE_STYLE
, XML_TEXT_UNDERLINE_WIDTH
,
347 XML_OPTACTION_UNDERLINE_WIDTH
, NO_PARAMS
}, /* new attribute */
348 { XML_NAMESPACE_STYLE
, XML_TEXT_UNDERLINE_MODE
,
349 XML_OPTACTION_LINE_MODE
, NO_PARAMS
},
350 { XML_NAMESPACE_STYLE
, XML_TEXT_LINE_THROUGH_TYPE
,
351 XML_OPTACTION_LINETHROUGH_TYPE
, NO_PARAMS
}, /* new entry*/
352 { XML_NAMESPACE_STYLE
, XML_TEXT_LINE_THROUGH_STYLE
,
353 XML_OPTACTION_LINETHROUGH_STYLE
, NO_PARAMS
}, /* new entry*/
354 { XML_NAMESPACE_STYLE
, XML_TEXT_LINE_THROUGH_WIDTH
,
355 XML_OPTACTION_LINETHROUGH_WIDTH
, NO_PARAMS
}, /* new entry*/
356 { XML_NAMESPACE_STYLE
, XML_TEXT_LINE_THROUGH_COLOR
,
357 XML_ATACTION_REMOVE
, NO_PARAMS
}, /* new entry*/
358 { XML_NAMESPACE_STYLE
, XML_TEXT_LINE_THROUGH_TEXT
,
359 XML_OPTACTION_LINETHROUGH_TEXT
, NO_PARAMS
}, /* new entry*/
360 { XML_NAMESPACE_STYLE
, XML_TEXT_LINE_THROUGH_TEXT_STYLE
,
361 XML_ATACTION_REMOVE
, NO_PARAMS
}, /* new entry*/
362 { XML_NAMESPACE_STYLE
, XML_TEXT_LINE_THROUGH_MODE
,
363 XML_OPTACTION_LINE_MODE
, NO_PARAMS
},
364 { XML_NAMESPACE_FO
, XML_BACKGROUND_COLOR
, XML_ATACTION_RENAME
,
365 XMLTransformerActionInit::QNameParam( XML_NAMESPACE_STYLE
,
366 XML_TEXT_BACKGROUND_COLOR
), 0, 0 },
367 { XML_NAMESPACE_OFFICE
, XML_TOKEN_INVALID
, XML_ATACTION_EOT
, NO_PARAMS
}
370 XMLTransformerActionInit aParagraphPropertyOASISAttrActionTable
[] =
372 { XML_NAMESPACE_FO
, XML_TEXT_ALIGN
, XML_OPTACTION_CONTROL_TEXT_ALIGN
,
374 { XML_NAMESPACE_FO
, XML_LINE_HEIGHT
, XML_ATACTION_IN2INCH
,
375 NO_PARAMS
}, /* generated entry */
376 { XML_NAMESPACE_STYLE
, XML_LINE_HEIGHT_AT_LEAST
, XML_ATACTION_IN2INCH
,
377 NO_PARAMS
}, /* generated entry */
378 { XML_NAMESPACE_STYLE
, XML_LINE_SPACING
, XML_ATACTION_IN2INCH
,
379 NO_PARAMS
}, /* generated entry */
380 { XML_NAMESPACE_STYLE
, XML_TAB_STOP_DISTANCE
, XML_ATACTION_IN2INCH
,
381 NO_PARAMS
}, /* generated entry */
382 { XML_NAMESPACE_FO
, XML_MARGIN_LEFT
, XML_ATACTION_IN2INCH
,
383 NO_PARAMS
}, /* generated entry */
384 { XML_NAMESPACE_FO
, XML_MARGIN_RIGHT
, XML_ATACTION_IN2INCH
,
385 NO_PARAMS
}, /* generated entry */
386 { XML_NAMESPACE_FO
, XML_TEXT_INDENT
, XML_ATACTION_IN2INCH
,
387 NO_PARAMS
}, /* generated entry */
388 { XML_NAMESPACE_FO
, XML_MARGIN_TOP
, XML_ATACTION_IN2INCH
,
389 NO_PARAMS
}, /* generated entry */
390 { XML_NAMESPACE_FO
, XML_MARGIN_BOTTOM
, XML_ATACTION_IN2INCH
,
391 NO_PARAMS
}, /* generated entry */
392 { XML_NAMESPACE_STYLE
, XML_BORDER_LINE_WIDTH
, XML_ATACTION_INS2INCHS
,
393 NO_PARAMS
}, /* generated entry */
394 { XML_NAMESPACE_STYLE
, XML_BORDER_LINE_WIDTH_TOP
, XML_ATACTION_INS2INCHS
,
395 NO_PARAMS
}, /* generated entry */
396 { XML_NAMESPACE_STYLE
, XML_BORDER_LINE_WIDTH_BOTTOM
, XML_ATACTION_INS2INCHS
,
397 NO_PARAMS
}, /* generated entry */
398 { XML_NAMESPACE_STYLE
, XML_BORDER_LINE_WIDTH_LEFT
, XML_ATACTION_INS2INCHS
,
399 NO_PARAMS
}, /* generated entry */
400 { XML_NAMESPACE_STYLE
, XML_BORDER_LINE_WIDTH_RIGHT
, XML_ATACTION_INS2INCHS
,
401 NO_PARAMS
}, /* generated entry */
402 { XML_NAMESPACE_FO
, XML_PADDING
, XML_ATACTION_IN2INCH
,
403 NO_PARAMS
}, /* generated entry */
404 { XML_NAMESPACE_FO
, XML_PADDING_TOP
, XML_ATACTION_IN2INCH
,
405 NO_PARAMS
}, /* generated entry */
406 { XML_NAMESPACE_FO
, XML_PADDING_BOTTOM
, XML_ATACTION_IN2INCH
,
407 NO_PARAMS
}, /* generated entry */
408 { XML_NAMESPACE_FO
, XML_PADDING_LEFT
, XML_ATACTION_IN2INCH
,
409 NO_PARAMS
}, /* generated entry */
410 { XML_NAMESPACE_FO
, XML_PADDING_RIGHT
, XML_ATACTION_IN2INCH
,
411 NO_PARAMS
}, /* generated entry */
412 { XML_NAMESPACE_STYLE
, XML_SHADOW
, XML_ATACTION_INS2INCHS
,
414 { XML_NAMESPACE_FO
, XML_KEEP_WITH_NEXT
, XML_OPTACTION_KEEP_WITH_NEXT
,
416 { XML_NAMESPACE_FO
, XML_KEEP_TOGETHER
, XML_OPTACTION_KEEP_TOGETHER
,
418 // { XML_NAMESPACE_STYLE, XML_WRITING_MODE, XML_OPTACTION_DRAW_WRITING_MODE, 0 },
419 { XML_NAMESPACE_OFFICE
, XML_TOKEN_INVALID
, XML_ATACTION_EOT
, NO_PARAMS
}
422 XMLTransformerActionInit aSectionPropertyOASISAttrActionTable
[] =
424 { XML_NAMESPACE_FO
, XML_MARGIN_LEFT
, XML_ATACTION_IN2INCH
,
425 NO_PARAMS
}, /* generated entry */
426 { XML_NAMESPACE_FO
, XML_MARGIN_RIGHT
, XML_ATACTION_IN2INCH
,
427 NO_PARAMS
}, /* generated entry */
428 { XML_NAMESPACE_OFFICE
, XML_TOKEN_INVALID
, XML_ATACTION_EOT
, NO_PARAMS
}
431 XMLTransformerActionInit aTablePropertyOASISAttrActionTable
[] =
433 { XML_NAMESPACE_STYLE
, XML_WIDTH
, XML_ATACTION_IN2INCH
,
434 NO_PARAMS
}, /* generated entry */
435 { XML_NAMESPACE_FO
, XML_MARGIN_LEFT
, XML_ATACTION_IN2INCH
,
436 NO_PARAMS
}, /* generated entry */
437 { XML_NAMESPACE_FO
, XML_MARGIN_RIGHT
, XML_ATACTION_IN2INCH
,
438 NO_PARAMS
}, /* generated entry */
439 { XML_NAMESPACE_FO
, XML_MARGIN_TOP
, XML_ATACTION_IN2INCH
,
440 NO_PARAMS
}, /* generated entry */
441 { XML_NAMESPACE_FO
, XML_MARGIN_BOTTOM
, XML_ATACTION_IN2INCH
,
442 NO_PARAMS
}, /* generated entry */
443 { XML_NAMESPACE_FO
, XML_KEEP_WITH_NEXT
, XML_OPTACTION_KEEP_WITH_NEXT
,
445 { XML_NAMESPACE_OFFICE
, XML_TOKEN_INVALID
, XML_ATACTION_EOT
, NO_PARAMS
}
448 XMLTransformerActionInit aTableColumnPropertyOASISAttrActionTable
[] =
450 { XML_NAMESPACE_STYLE
, XML_COLUMN_WIDTH
, XML_ATACTION_IN2INCH
,
451 NO_PARAMS
}, /* generated entry */
452 { XML_NAMESPACE_OFFICE
, XML_TOKEN_INVALID
, XML_ATACTION_EOT
, NO_PARAMS
}
455 XMLTransformerActionInit aTableRowPropertyOASISAttrActionTable
[] =
457 { XML_NAMESPACE_STYLE
, XML_ROW_HEIGHT
, XML_ATACTION_IN2INCH
,
458 NO_PARAMS
}, /* generated entry */
459 { XML_NAMESPACE_STYLE
, XML_MIN_ROW_HEIGHT
, XML_ATACTION_IN2INCH
,
460 NO_PARAMS
}, /* generated entry */
461 { XML_NAMESPACE_OFFICE
, XML_TOKEN_INVALID
, XML_ATACTION_EOT
, NO_PARAMS
}
464 XMLTransformerActionInit aTableCellPropertyOASISAttrActionTable
[] =
466 { XML_NAMESPACE_STYLE
, XML_VERTICAL_ALIGN
, XML_ATACTION_RENAME
,
467 XMLTransformerActionInit::QNameParam( XML_NAMESPACE_FO
,
468 XML_VERTICAL_ALIGN
), 0, 0 },
469 { XML_NAMESPACE_FO
, XML_BORDER
, XML_ATACTION_INS2INCHS
,
470 NO_PARAMS
}, /* generated entry */
471 { XML_NAMESPACE_FO
, XML_BORDER_TOP
, XML_ATACTION_INS2INCHS
,
472 NO_PARAMS
}, /* generated entry */
473 { XML_NAMESPACE_FO
, XML_BORDER_BOTTOM
, XML_ATACTION_INS2INCHS
,
474 NO_PARAMS
}, /* generated entry */
475 { XML_NAMESPACE_FO
, XML_BORDER_LEFT
, XML_ATACTION_INS2INCHS
,
476 NO_PARAMS
}, /* generated entry */
477 { XML_NAMESPACE_FO
, XML_BORDER_RIGHT
, XML_ATACTION_INS2INCHS
,
478 NO_PARAMS
}, /* generated entry */
479 { XML_NAMESPACE_STYLE
, XML_BORDER_LINE_WIDTH
, XML_ATACTION_INS2INCHS
,
480 NO_PARAMS
}, /* generated entry */
481 { XML_NAMESPACE_STYLE
, XML_BORDER_LINE_WIDTH_TOP
, XML_ATACTION_INS2INCHS
,
482 NO_PARAMS
}, /* generated entry */
483 { XML_NAMESPACE_STYLE
, XML_BORDER_LINE_WIDTH_BOTTOM
, XML_ATACTION_INS2INCHS
,
484 NO_PARAMS
}, /* generated entry */
485 { XML_NAMESPACE_STYLE
, XML_BORDER_LINE_WIDTH_LEFT
, XML_ATACTION_INS2INCHS
,
486 NO_PARAMS
}, /* generated entry */
487 { XML_NAMESPACE_STYLE
, XML_BORDER_LINE_WIDTH_RIGHT
, XML_ATACTION_INS2INCHS
,
488 NO_PARAMS
}, /* generated entry */
489 { XML_NAMESPACE_STYLE
, XML_DIAGONAL_BL_TR
, XML_ATACTION_INS2INCHS
,
490 NO_PARAMS
}, /* generated entry */
491 { XML_NAMESPACE_STYLE
, XML_DIAGONAL_BL_TR_WIDTH
, XML_ATACTION_INS2INCHS
,
492 NO_PARAMS
}, /* generated entry */
493 { XML_NAMESPACE_STYLE
, XML_DIAGONAL_TL_BR
, XML_ATACTION_INS2INCHS
,
494 NO_PARAMS
}, /* generated entry */
495 { XML_NAMESPACE_STYLE
, XML_DIAGONAL_TL_BR_WIDTH
, XML_ATACTION_INS2INCHS
,
496 NO_PARAMS
}, /* generated entry */
497 { XML_NAMESPACE_FO
, XML_PADDING
, XML_ATACTION_IN2INCH
,
498 NO_PARAMS
}, /* generated entry */
499 { XML_NAMESPACE_FO
, XML_PADDING_TOP
, XML_ATACTION_IN2INCH
,
500 NO_PARAMS
}, /* generated entry */
501 { XML_NAMESPACE_FO
, XML_PADDING_BOTTOM
, XML_ATACTION_IN2INCH
,
502 NO_PARAMS
}, /* generated entry */
503 { XML_NAMESPACE_FO
, XML_PADDING_LEFT
, XML_ATACTION_IN2INCH
,
504 NO_PARAMS
}, /* generated entry */
505 { XML_NAMESPACE_FO
, XML_PADDING_RIGHT
, XML_ATACTION_IN2INCH
,
506 NO_PARAMS
}, /* generated entry */
507 { XML_NAMESPACE_FO
, XML_MARGIN_LEFT
, XML_ATACTION_IN2INCH
,
508 NO_PARAMS
}, /* generated entry */
509 { XML_NAMESPACE_STYLE
, XML_DIRECTION
, XML_ATACTION_RENAME
,
510 XMLTransformerActionInit::QNameParam( XML_NAMESPACE_FO
,
511 XML_DIRECTION
), 0, 0 },
512 { XML_NAMESPACE_STYLE
, XML_SHADOW
, XML_ATACTION_INS2INCHS
,
514 { XML_NAMESPACE_STYLE
, XML_REPEAT_CONTENT
, XML_ATACTION_REMOVE
,
515 NO_PARAMS
}, /* new entry*/
516 { XML_NAMESPACE_OFFICE
, XML_TOKEN_INVALID
, XML_ATACTION_EOT
, NO_PARAMS
}
519 XMLTransformerActionInit aListLevelPropertyOASISAttrActionTable
[] =
521 { XML_NAMESPACE_TEXT
, XML_SPACE_BEFORE
, XML_ATACTION_IN2INCH
,
522 NO_PARAMS
}, /* generated entry */
523 { XML_NAMESPACE_TEXT
, XML_MIN_LABEL_WIDTH
, XML_ATACTION_IN2INCH
,
524 NO_PARAMS
}, /* generated entry */
525 { XML_NAMESPACE_TEXT
, XML_MIN_LABEL_DISTANCE
, XML_ATACTION_IN2INCH
,
526 NO_PARAMS
}, /* generated entry */
527 { XML_NAMESPACE_FO
, XML_WIDTH
, XML_ATACTION_IN2INCH
,
528 NO_PARAMS
}, /* generated entry */
529 { XML_NAMESPACE_FO
, XML_HEIGHT
, XML_ATACTION_IN2INCH
,
530 NO_PARAMS
}, /* generated entry */
531 { XML_NAMESPACE_OFFICE
, XML_TOKEN_INVALID
, XML_ATACTION_EOT
, NO_PARAMS
}
534 XMLTransformerActionInit aChartPropertyOASISAttrActionTable
[] =
536 { XML_NAMESPACE_CHART
, XML_SYMBOL_WIDTH
, XML_ATACTION_IN2INCH
,
537 NO_PARAMS
}, /* generated entry */
538 { XML_NAMESPACE_CHART
, XML_SYMBOL_HEIGHT
, XML_ATACTION_IN2INCH
,
539 NO_PARAMS
}, /* generated entry */
540 { XML_NAMESPACE_STYLE
, XML_DIRECTION
, XML_ATACTION_RENAME
,
541 XMLTransformerActionInit::QNameParam( XML_NAMESPACE_FO
,
542 XML_DIRECTION
), 0, 0 },
543 { XML_NAMESPACE_CHART
, XML_INTERPOLATION
, XML_OPTACTION_INTERPOLATION
, NO_PARAMS
},
544 { XML_NAMESPACE_STYLE
, XML_ROTATION_ANGLE
, XML_ATACTION_RENAME
,
545 XMLTransformerActionInit::QNameParam( XML_NAMESPACE_TEXT
,
546 XML_ROTATION_ANGLE
), 0, 0 },
547 { XML_NAMESPACE_CHART
, XML_INTERVAL_MAJOR
, XML_OPTACTION_INTERVAL_MAJOR
, NO_PARAMS
},
548 { XML_NAMESPACE_CHART
, XML_INTERVAL_MINOR_DIVISOR
, XML_OPTACTION_INTERVAL_MINOR_DIVISOR
,
550 { XML_NAMESPACE_CHART
, XML_JAPANESE_CANDLE_STICK
, XML_ATACTION_RENAME
,
551 XMLTransformerActionInit::QNameParam( XML_NAMESPACE_CHART
,
552 XML_STOCK_UPDOWN_BARS
), 0, 0 },
553 { XML_NAMESPACE_CHART
, XML_SYMBOL_TYPE
, XML_OPTACTION_SYMBOL_TYPE
, NO_PARAMS
},
554 { XML_NAMESPACE_CHART
, XML_SYMBOL_NAME
, XML_OPTACTION_SYMBOL_NAME
, NO_PARAMS
},
556 { XML_NAMESPACE_OFFICE
, XML_TOKEN_INVALID
, XML_ATACTION_EOT
, NO_PARAMS
}