From b958535ff0808ea3faa2841a6a741f37ae8c1cd8 Mon Sep 17 00:00:00 2001 From: eschaeffer Date: Tue, 23 Jan 2001 15:58:42 +0000 Subject: [PATCH] Add small-caps support. PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193976 13f79535-47bb-0310-9956-ffa450edef68 --- src/codegen/foproperties.xml | 2328 +++++++++++++++++----------------- 1 file changed, 1169 insertions(+), 1159 deletions(-) diff --git a/src/codegen/foproperties.xml b/src/codegen/foproperties.xml index e6f7549d9..a436fb24c 100644 --- a/src/codegen/foproperties.xml +++ b/src/codegen/foproperties.xml @@ -1,1236 +1,1246 @@ - - generic-color - GenericColor - ColorType - - new ColorType(strval) - - - generic-boolean - GenericBoolean - Enum - - true - false - - - - generic-keep - GenericKeep - Keep - - - within-page - Number - auto - - auto - always - - - - within-line - Number - auto - - auto - always - - - - within-column - Number - auto - - auto - always - - - - - - conditional-length-template - GenericCondLength - CondLength - - - length - Length - - - conditionality - Enum - - discard - retain - - - - - - padding-template - GenericCondPadding - GenericCondLength - false - 0pt - - - padding-template - GenericPadding - Length - false - 0pt - + + generic-color + GenericColor + ColorType + + new ColorType(strval) + + + generic-boolean + GenericBoolean + Enum + + true + false + + + + generic-keep + GenericKeep + Keep + + + within-page + Number + auto + + auto + always + + + + within-line + Number + auto + + auto + always + + + + within-column + Number + auto + + auto + always + + + + + + conditional-length-template + GenericCondLength + CondLength + + + length + Length + + + conditionality + Enum + + discard + retain + + + + + + padding-template + GenericCondPadding + GenericCondLength + false + 0pt + + + padding-template + GenericPadding + Length + false + 0pt + - - border-cond-width-template - GenericCondBorderWidth - 0.5pt - 1pt - 2pt - false - CondLength - - - length - Length - 0.5pt - 1pt - 2pt - medium - - - Enum - conditionality - - discard - retain - - - - + + border-cond-width-template + GenericCondBorderWidth + 0.5pt + 1pt + 2pt + false + CondLength + + + length + Length + 0.5pt + 1pt + 2pt + medium + + + Enum + conditionality + + discard + retain + + + + - - 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 - - - minimum - Length - 0pt - - - optimum - Length - 0pt - - - maximum - Length - 0pt - - - precedence - Number - - force - - 0 - - - conditionality - Enum - - discard - retain - - discard - - - - - font-size - true - Length - 12pt - - - - - start-indent - true - Length - 0pt - - margin- - - margin-+ - padding-+ - border--width - - - - - 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 - - margin- - - margin-+ - padding-+ - border--width - - - - - 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-collapse - true - GenericBoolean - true - - - 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 - GenericKeep - auto - - - keep-with-previous - false - GenericKeep - auto - - - keep-together - false - GenericKeep - auto - - - background-color - false - GenericColor - transparent - + + 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 + + + minimum + Length + 0pt + + + optimum + Length + 0pt + + + maximum + Length + 0pt + + + precedence + Number + + force + + 0 + + + conditionality + Enum + + discard + retain + + discard + + + + + font-size + true + Length + 12pt + + + + + start-indent + true + Length + 0pt + + margin- + + margin-+ + padding-+ + border--width + + + + + 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 + + + font-variant + true + Enum + + normal + small-caps + + 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 + + margin- + + margin-+ + padding-+ + border--width + + + + + 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-collapse + true + GenericBoolean + true + + + 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 + GenericKeep + auto + + + keep-with-previous + false + GenericKeep + auto + + + keep-together + false + GenericKeep + auto + + + background-color + false + GenericColor + transparent + - - padding - false - Length - 0pt - - - padding-before - GenericCondPadding - retain - - padding- - - - - padding-after - GenericCondPadding - retain - - padding- - - - - padding-start - GenericCondPadding - discard - - padding- - - - - padding-end - GenericCondPadding - discard - - padding- - - - - padding-top - GenericPadding - - padding- - - - - padding-left - GenericPadding - - padding- - - - - padding-bottom - GenericPadding - - padding- - - - - padding-right - GenericPadding - - padding- - - - - external-destination - false - String - - - - internal-destination - false - String - - - - border-before-color - false - GenericColor - black - - border--color - - - - border-before-style - GenericBorderStyle - - border--style - - - - border-before-width - GenericCondBorderWidth - retain - - border--width - - - - border-after-color - false - GenericColor - black - - border--color - - - - border-after-style - GenericBorderStyle - - border--style - - - - border-after-width - GenericCondBorderWidth - retain - - border--width - - - - border-start-color - false - GenericColor - black - - border--color - - - - border-start-style - GenericBorderStyle - - border--style - - - - border-start-width - GenericCondBorderWidth - discard - - border--width - - - - border-end-color - false - GenericColor - black - - border--color - - - - border-end-style - GenericBorderStyle - - border--style - - - - border-end-width - GenericCondBorderWidth - discard - - border--width - - - - border-top-color - false - GenericColor - black - - border--color - - - - border-top-style - GenericBorderStyle - - border--style - - - - border-top-width - GenericBorderWidth - - border--width - - - - border-bottom-color - false - GenericColor - - border--color - - black - - - border-bottom-style - GenericBorderStyle - - border--style - - - - border-bottom-width - GenericBorderWidth - - border--width - - - - border-left-color - false - GenericColor - black - - border--color - - - - border-left-style - GenericBorderStyle - - border--style - - - - border-left-width - GenericBorderWidth - - border--width - - - - border-right-color - false - GenericColor - black - - border--color - - - - border-right-style - GenericBorderStyle - - border--style - - - - border-right-width - GenericBorderWidth - - border--width - - - - 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 + + padding + false + Length + 0pt + + + padding-before + GenericCondPadding + retain + + padding- + + + + padding-after + GenericCondPadding + retain + + padding- + + + + padding-start + GenericCondPadding + discard + + padding- + + + + padding-end + GenericCondPadding + discard + + padding- + + + + padding-top + GenericPadding + + padding- + + + + padding-left + GenericPadding + + padding- + + + + padding-bottom + GenericPadding + + padding- + + + + padding-right + GenericPadding + + padding- + + + + external-destination + false + String + + + + internal-destination + false + String + + + + border-before-color + false + GenericColor + black + + border--color + + + + border-before-style + GenericBorderStyle + + border--style + + + + border-before-width + GenericCondBorderWidth + retain + + border--width + + + + border-after-color + false + GenericColor + black + + border--color + + + + border-after-style + GenericBorderStyle + + border--style + + + + border-after-width + GenericCondBorderWidth + retain + + border--width + + + + border-start-color + false + GenericColor + black + + border--color + + + + border-start-style + GenericBorderStyle + + border--style + + + + border-start-width + GenericCondBorderWidth + discard + + border--width + + + + border-end-color + false + GenericColor + black + + border--color + + + + border-end-style + GenericBorderStyle + + border--style + + + + border-end-width + GenericCondBorderWidth + discard + + border--width + + + + border-top-color + false + GenericColor + black + + border--color + + + + border-top-style + GenericBorderStyle + + border--style + + + + border-top-width + GenericBorderWidth + + border--width + + + + border-bottom-color + false + GenericColor + + border--color + + black + + + border-bottom-style + GenericBorderStyle + + border--style + + + + border-bottom-width + GenericBorderWidth + + border--width + + + + border-left-color + false + GenericColor + black + + border--color + + + + border-left-style + GenericBorderStyle + + border--style + + + + border-left-width + GenericBorderWidth + + border--width + + + + border-right-color + false + GenericColor + black + + border--color + + + + border-right-style + GenericBorderStyle + + border--style + + + + border-right-width + GenericBorderWidth + + border--width + + + + 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 - - + no-limit + + page-position false Enum - - first - last - rest - any - - any - - + + first + last + rest + any + + any + + odd-or-even false Enum - - odd - even - any - - any - - + + odd + even + any + + any + + blank-or-not-blank false Enum - - blank - not-blank - any - - any - - + + blank + not-blank + any + + any + + rule-style true Enum - - none - dotted - dashed - solid - double - groove - ridge - - solid - - + + none + dotted + dashed + solid + double + groove + ridge + + solid + + leader-pattern true Enum - - space - rule - dots - use-content - - space - + + space + rule + dots + use-content + + space + - + leader-length true LengthRange - - - minimum - Length + + + minimum + Length 0pt - - - optimum - Length - 12.0pt + + + optimum + Length + 12.0pt - - - maximum - Length + + + maximum + Length 100% - - - + + + - - leader-pattern-width - LeaderPatternWidth - true - Length - use-font-metrics - 0pt - - - + + leader-pattern-width + LeaderPatternWidth + true + Length + use-font-metrics + 0pt + - - leader-alignment - true - Enum - - none - reference-area - page - - none - + - - 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 - + + leader-alignment + true + Enum + + none + reference-area + page + + none + - + + 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 + + + column-count false String - 1 - - + 1 + + column-gap false Length - 0.25in - - + 0.25in + + span false - Enum - - none - all - - none - + Enum + + none + all + + none + + + + text-decoration + false + Enum + + none + underline + overline + line-through + + none + - - 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 + + + table-omit-header-at-break + false + GenericBoolean + false + + + table-omit-footer-at-break + false + GenericBoolean + false + - - - column-number - false - Number - 0 - - - number-columns-repeated - false - Number - 1 - - - number-columns-spanned - false - Number - 1 - - - number-rows-spanned - false - Number - 1 - - - table-omit-header-at-break - false - GenericBoolean - false - - - table-omit-footer-at-break - false - GenericBoolean - false - + + region-name + RegionName + false + String + + - - region-name - RegionName - false - String - - + + hyphenate + Hyphenate + true + Enum + + true + false + + false + - - hyphenate - Hyphenate - true - Enum - - true - false - - false - + + hyphenation-character + HyphenationCharacter + true + Character + - + - - hyphenation-character - HyphenationCharacter - true - Character - - - + + hyphenation-push-character-count + HyphenationPushCharacterCount + true + Number + 2 + - - hyphenation-push-character-count - HyphenationPushCharacterCount - true - Number - 2 - + + hyphenation-remain-character-count + HyphenationRemainCharacterCount + true + Number + 2 + - - hyphenation-remain-character-count - HyphenationRemainCharacterCount - true - Number - 2 - - - - language - Language - true - String - none - + + language + Language + true + String + none + - - widows - true - Number - 2 - - - orphans - true - Number - 2 - + + widows + true + Number + 2 + + + orphans + true + Number + 2 + - - country - Country - true - String - none - + + country + Country + true + String + none + - - character - Character - false - Character - none - + + character + Character + false + Character + none + - - writing-mode - true - Enum - lr-tb - - lr-tb - rl-tb - tb-rl - - - - - block-progression-dimension - false - LengthRange - - - > - - - minimum - Length + + writing-mode + true + Enum + lr-tb + + lr-tb + rl-tb + tb-rl + + + + + block-progression-dimension + false + LengthRange + + + > + + + minimum + Length auto - - min- - > - - - optimum - Length - auto + + min- + > + + + optimum + Length + auto - - - maximum - Length + + + maximum + Length auto - - max- - > - - - + + max- + > + + + -- 2.39.5