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