XSL-FO leaderObjeto

XSL-FO 参考手册Manual de referencia de XSL-FO

Definición y uso

La función del objeto <fo:leader> es la siguiente:

  • Genera el símbolo '.' para separar los títulos de los números de página en la tabla de contenido.
  • Crea campos de entrada en formularios.
  • Crea reglas horizontales.

Si la longitud del carácter guía es demasiado larga y claramente no se adapta a toda el área, entonces comenzará una nueva línea.

Solo cuando el atributo leader-pattern está establecido en 'use-content', los hijos del objeto <fo:leader> no se ignorarán; si <fo:leader> no contiene hijos y el atributo leader-pattern está establecido en 'use-content', entonces el carácter guía se rellenará con espacios en blanco.

Si el carácter guía necesita llenar todos los espacios en una línea, entonces la longitud máxima del carácter guía debe ser al menos igual al ancho de la columna.


Sintaxis

<fo:leader>
<!--
Contents:(#PCDATA|bidi-override|character|
external-graphic|instream-foreign-object|
inline|page-number|page-number-citation|
basic-link|multi-toggle)*
-->
</fo:leader>

Atributos

Atributos [A-K] Atributos [L-Z]
azimuth leader-alignment
alignment-adjust leader-length
alignment-baseline leader-pattern
background-attachment leader-pattern-width
background-color left
background-image letter-spacing
background-repeat line-height
background-position-horizontal margin-bottom
background-position-vertical margin-left
baseline-shift margin-right
border-after-color margin-top
border-after-style padding-after
border-after-width padding-before
border-before-color padding-bottom
border-before-style padding-end
border-before-width padding-left
border-bottom-color padding-right
border-bottom-style padding-start
border-bottom-width padding-top
border-end-color pause-after
border-end-style pause-before
border-end-width pitch
border-left-color pitch-range
border-left-style play-during
border-left-width relative-position
border-right-color richness
border-right-style right
border-right-width role
border-start-color rule-style
border-start-style rule-thickness
border-start-width source-document
border-top-color space-end
border-top-style space-start
border-top-width speak
bottom speak-header
color speak-numeral
cue-after speak-punctuation
cue-before speech-rate
dominant-baseline stress
elevation text-altitude
font-family text-depth
font-selection-strategy text-shadow
font-size top
font-size-adjust visibility
font-stretch voice-family
font-style volume
font-variant word-spacing
font-weight
id
keep-with-next
keep-with-previous


XSL-FO 参考手册Manual de referencia de XSL-FO Otras extensiones