The XSL Formatting Properties

The formatting objects in the previous section have properties that you can use to customize what they do. As we'll see in this chapter, a typical formatting object can support quite a few properties. Here are the current formatting properties that the W3C formatting objects specification supports. Many of these properties are taken from CSS and behave the same there. You set lengths and other units exactly as you do in CSS (using units such as px for pixels, pt for points, mm for millimeters, % for percentages, and so on):

  • absolute-position

  • active-state

  • alignment-adjust

  • auto-restore

  • azimuth

  • background

  • background-attachment

  • background- color

  • background-image

  • background-position

  • background-position-horizontal

  • background-position-vertical

  • background-repeat

  • baseline-identifier

  • baseline-shift

  • blank-or-not-blank

  • block-progression-dimension

  • border

  • border-after-color

  • border-after-style

  • border-after-width

  • border-before-color

  • border-before-style

  • border-before-width

  • border-bottom

  • border-bottom-color

  • border-bottom-style

  • border-bottom-width

  • border-collapse

  • border-color

  • border-end-color

  • border-end-style

  • border-end-width

  • border-left

  • border-left-color

  • border-left-style

  • border-left-width

  • border-right

  • border-right-color

  • border-right-style

  • border-right-width

  • border-separation

  • border-spacing

  • border-start-color

  • border-start-style

  • border-start-width

  • border-style

  • border-top

  • border-top-color

  • border-top-style

  • border-top-width

  • border-width

  • bottom

  • break-after

  • break-before

  • caption-side

  • case- name

  • case-title

  • character

  • clear

  • clip

  • color

  • color-profile-name

  • column-count

  • column-gap

  • column-number

  • column-width

  • content-height

  • content-type

  • content-width

  • country

  • cue

  • cue-after

  • cue-before

  • destination-placement-offset

  • direction

  • display-align

  • dominant-baseline

  • elevation

  • empty- cells

  • end-indent

  • ends-row

  • extent

  • external-destination

  • float

  • flow-name

  • font

  • font-family

  • font-height-override-after

  • font-height-override-before

  • font-size

  • font-size-adjust

  • font-stretch

  • font-style

  • font-variant

  • font-weight

  • force-page-count

  • format

  • glyph-orientation-horizontal

  • glyph-orientation-vertical

  • grouping-separator

  • grouping-size

  • height

  • hyphenate

  • hyphenation-character

  • hyphenation-keep

  • hyphenation-ladder-count

  • hyphenation-push-character-count

  • hyphenation- remain -character-count

  • id

  • indicate -destination

  • initial- page-number

  • inline-progression-dimension

  • internal-destination

  • keep-together

  • keep-with- next

  • keep-with-previous

  • language

  • last-line-end-indent

  • leader-alignment

  • leader-length

  • leader-pattern

  • leader-pattern-width

  • left

  • letter-spacing

  • letter-value

  • linefeed -treatment

  • line-height

  • line-height-shift-adjustment

  • line-stacking-strategy

  • margin

  • margin-bottom

  • margin-left

  • margin-right

  • margin-top

  • marker-class-name

  • master-name

  • max-height

  • maximum-repeats

  • max-width

  • min-height

  • min-width

  • number- columns -repeated

  • number-columns- spanned

  • number-rows-spanned

  • odd-or-even

  • orphans

  • overflow

  • padding

  • padding-after

  • padding-before

  • padding-bottom

  • padding-end

  • padding-left

  • padding-right

  • padding-start

  • padding-top

  • page-break-after

  • page-break-before

  • page-break-inside

  • page-height

  • page-position

  • page-width

  • pause

  • pause-after

  • pause-before

  • pitch

  • pitch-range

  • play-during

  • position

  • precedence

  • provisional-distance-between-starts

  • provisional-label-separation

  • ref-id

  • reference-orientation

  • region-name

  • relative-align

  • relative-position

  • rendering-intent

  • retrieve-boundary

  • retrieve-class-name

  • retrieve-position

  • richness

  • right

  • role

  • rule-style

  • rule- thickness

  • scaling

  • scaling-method

  • score-spaces

  • script

  • show-destination

  • size

  • source-document

  • space-after

  • space-before

  • space-end

  • space-start

  • space-treatment

  • span

  • speak

  • speak-header

  • speak-numeral

  • speak-punctuation

  • speech-rate

  • src

  • start-indent

  • starting-state

  • starts-row

  • stress

  • suppress-at-line-break

  • switch-to

  • table-layout

  • table-omit-footer-at-break

  • table-omit-header-at-break

  • text-align

  • text-align-last

  • text-decoration

  • text-indent

  • text-shadow

  • text-transform

  • top

  • treat-as-word-space

  • unicode-bidi

  • vertical-align

  • visibility

  • voice-family

  • volume

  • white-space

  • white-space-collapse

  • widows

  • width

  • word-spacing

  • wrap-option

  • writing-mode

  • xml:lang

  • z-index



Real World XML
Real World XML (2nd Edition)
ISBN: 0735712867
EAN: 2147483647
Year: 2005
Pages: 440
Authors: Steve Holzner

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net