From e9dfb3e4f65e8aa8a4afd292d0c71ef637bdf946 Mon Sep 17 00:00:00 2001 From: Karen Lease Date: Fri, 10 Nov 2000 21:49:21 +0000 Subject: Split properties.xml (now obsolete) into forproperties and svgproperties. New and modified XML structure. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193761 13f79535-47bb-0310-9956-ffa450edef68 --- src/codegen/foproperties.xml | 838 ++++++++++++++++++++++++++++++++++++++++++ src/codegen/svgproperties.xml | 234 ++++++++++++ 2 files changed, 1072 insertions(+) create mode 100644 src/codegen/foproperties.xml create mode 100644 src/codegen/svgproperties.xml (limited to 'src') diff --git a/src/codegen/foproperties.xml b/src/codegen/foproperties.xml new file mode 100644 index 000000000..330b2fc35 --- /dev/null +++ b/src/codegen/foproperties.xml @@ -0,0 +1,838 @@ + + + + + generic-color + GenericColor + ColorType + + new ColorType(strval) + + + conditional-length-template + GenericCondLength + CondLength + + + length + Length + + + conditionality + String + + + + + padding-template + GenericCondPadding + GenericCondLength + false + 0pt + + + padding-template + GenericPadding + Length + false + 0pt + + + + border-cond-width-template + GenericCondBorderWidth + GenericCondLength + 0.5pt + 1pt + 2pt + false + 0pt + + + + border-width-template + GenericBorderWidth + Length + 0.5pt + 1pt + 2pt + false + 0pt + + + border-style-template + GenericBorderStyle + false + Enum + + none + hidden + dotted + dashed + solid + double + groove + ridge + inset + outset + + none + + + break-template + GenericBreak + false + Enum + + auto + column + page + even-page + odd-page + + auto + + + generic-space + GenericSpace + false + Space + 0pt + + + minimum + Length + + + optimum + Length + + + maximum + Length + + + precedence + Number + + + conditionality + String + + + + + font-size + true + Length + 12pt + + + + + start-indent + true + Length + 0pt + + + font-style + true + String + normal + + + flow-name + false + String + + + + page-master-first + false + String + + + + page-master-odd + false + String + + + + extent + true + Length + 0pt + + + font-weight + true + String + normal + + + margin-left + false + Length + 0pt + + + font-family + true + String + sans-serif + + + page-master-even + false + String + + + + margin-top + false + Length + 0pt + + + master-name + false + String + + + + end-indent + true + Length + 0pt + + + color + true + GenericColor + black + + + margin-bottom + false + Length + 0pt + + + page-height + false + Length + + 11in + + + space-before + GenericSpace + + + space-after + GenericSpace + + + provisional-label-separation + true + Length + 6pt + + + margin-right + false + Length + 0pt + + + rule-thickness + true + Length + 1.0pt + + + page-width + false + Length + + 8in + + + content-width + false + Length + + auto + + + content-height + false + Length + + auto + + + page-master-repeating + false + String + + + + provisional-distance-between-starts + true + Length + 24pt + + + text-align + true + Enum + + center + end + start + justify + + start + + + white-space-treatment + true + Enum + + preserve + collapse + ignore + + collapse + + + break-after + GenericBreak + + + break-before + GenericBreak + + + wrap-option + true + Enum + + wrap + no-wrap + + wrap + + + text-align-last + true + Enum + + center + end + start + justify + + start + + START + END + START + CENTER + + + + line-height + true + Length + normal + 1.2em + + new PercentLength(numval.doubleValue(), + getPercentBase(fo,propertyList)) + + + + + text-indent + false + Length + 0pt + + + src + false + String + + + + column-width + false + Length + proportional-column-width(1) + + + keep-with-next + false + Enum + + true + false + + false + + + background-color + false + GenericColor + transparent + + + + padding + false + Length + 0pt + + + padding-before + GenericCondPadding + + + padding-after + GenericCondPadding + + + padding-start + GenericPadding + + + padding-end + GenericPadding + + + padding-top + GenericPadding + + + padding-left + GenericPadding + + + padding-bottom + GenericPadding + + + padding-right + GenericPadding + + + external-destination + false + String + + + + internal-destination + false + String + + + + border-before-color + false + GenericColor + black + + + border-before-style + GenericBorderStyle + + + border-before-width + GenericCondBorderWidth + + + border-after-color + false + GenericColor + black + + + border-after-style + GenericBorderStyle + + + border-after-width + GenericCondBorderWidth + + + border-start-color + false + GenericColor + black + + + border-start-style + GenericBorderStyle + + + border-start-width + GenericBorderWidth + + + border-end-color + false + GenericColor + black + + + border-end-style + GenericBorderStyle + + + border-end-width + GenericBorderWidth + + + border-top-color + false + GenericColor + black + + + border-top-style + GenericBorderStyle + + + border-top-width + GenericBorderWidth + + + border-bottom-color + false + GenericColor + black + + + border-bottom-style + GenericBorderStyle + + + border-bottom-width + GenericBorderWidth + + + border-left-color + false + GenericColor + black + + + border-left-style + GenericBorderStyle + + + border-left-width + GenericBorderWidth + + + border-right-color + false + GenericColor + black + + + border-right-style + GenericBorderStyle + + + border-right-width + GenericBorderWidth + + + border-color + false + GenericColor + black + + + border-style + GenericBorderStyle + + + border-width + false + Length + 0pt + + + border-top + false + String + normal + + + border-bottom + false + String + normal + + + border-left + false + String + normal + + + border-right + false + String + normal + + + position + false + Enum + + static + relative + absolute + fixed + + static + + + top + false + Length + + auto + + + right + false + Length + + auto + + + bottom + false + Length + + auto + + + left + false + Length + + auto + + + width + false + Length + + + auto + + + height + false + Length + + auto + + + initial-page-number + false + String + auto + + + ref-id + false + String + + + + id + false + String + + + + maximum-repeats + false + String + no-limit + + + page-position + false + Enum + + first + last + rest + any + + any + + + odd-or-even + false + Enum + + odd + even + any + + any + + + blank-or-not-blank + false + Enum + + blank + not-blank + any + + any + + + rule-style + true + Enum + + none + dotted + dashed + solid + double + groove + ridge + + solid + + + leader-pattern + true + Enum + + space + rule + dots + use-content + + space + + + + leader-length + LeaderLength + true + LengthRange + 12.0pt + + + minimum + Length + + + optimum + Length + + + maximum + Length + + + + + + scaling + true + Enum + + uniform + non-uniform + + uniform + + + vertical-align + false + Enum + + baseline + middle + sub + super + text-top + text-bottom + top + bottom + + baseline + + + overflow + false + Enum + + visible + hidden + scroll + auto + + auto + + + + text-decoration + false + Enum + + none + underline + overline + line-through + + none + + + + + column-number + false + Number + 0 + + + number-columns-repeated + false + Number + 1 + + + number-columns-spanned + false + Number + 1 + + + number-rows-spanned + false + Number + 1 + + + + diff --git a/src/codegen/svgproperties.xml b/src/codegen/svgproperties.xml new file mode 100644 index 000000000..69ae01547 --- /dev/null +++ b/src/codegen/svgproperties.xml @@ -0,0 +1,234 @@ + + + + + + width + SVGLengthProperty + + + height + SVGLengthProperty + + + x + SVGLengthProperty + + + y + SVGLengthProperty + + + x1 + SVGLengthProperty + + + y1 + SVGLengthProperty + + + x2 + SVGLengthProperty + + + y2 + SVGLengthProperty + + + rx + SVGLengthProperty + + + ry + SVGLengthProperty + + + dx + SVGLengthProperty + + + dy + SVGLengthProperty + + + cx + SVGLengthProperty + + + cy + SVGLengthProperty + + + r + SVGLengthProperty + + + fx + SVGLengthProperty + + + fy + SVGLengthProperty + + + refX + SVGLengthProperty + + + refY + SVGLengthProperty + + + markerWidth + SVGLengthProperty + + + markerHeight + SVGLengthProperty + + + offset + SVGLengthProperty + + + + style + SVGStyle + + + transform + SVGTransform + + + d + SVGD + + + points + SVGPoints + + + + font-family + + + font-style + + + font-weight + + + font-size + + + id + + + + xlink:href + HRef + false + String + + + + requiredFeatures + RequiredFeatures + false + String + notpresent + + + requiredExtensions + RequiredExtensions + false + String + notpresent + + + systemLanguage + SystemLanguage + false + String + notpresent + + + class + ElementClass + false + String + + + + xml:space + XMLSpace + true + Enum + + preserve + default + + default + + + spreadMethod + SpreadMethod + false + Enum + + pad + reflect + repeat + + pad + + + gradientUnits + GradientUnits + false + Enum + + userSpaceOnUse + userSpace + objectBoundingBox + + userSpace + + + viewBox + ViewBox + false + String + + + + gradientTransform + GradientTransform + false + String + + + + + + tref + tspan + + x + SVGLengthListProperty + + + y + SVGLengthListProperty + + + dx + SVGLengthListProperty + + + dy + SVGLengthListProperty + + + + -- cgit v1.2.3