codecamp

XSL-FO character 对象

XSL-FO character 对象

XSL-FO 参考手册 XSL-FO 参考手册

在本节中,你将了解 character 对象的定义、语法以及它的属性。


定义和用法

<fo:character> 对象规定将被映射为供呈现的字形的字符。


语法

<fo:character>
<!--
Contents:EMPTY
-->
</fo:character>

属性

属性 [A-G] 属性 [H-Z]
alignment-adjust hyphenate
alignment-baseline hyphenation-character
azimuth hyphenation-push-character-count
background-attachment hyphenation-remain-character-count
background-color id
background-image keep-with-next
background-repeat keep-with-previous
background-position-horizontal language
background-position-vertical left
baseline-shift letter-spacing
border-after-color line-height
border-after-style margin-bottom
border-after-width margin-left
border-before-color margin-right
border-before-style margin-top
border-before-width padding-after
border-bottom-color padding-before
border-bottom-style padding-bottom
border-bottom-width padding-end
border-end-color padding-left
border-end-style padding-right
border-end-width padding-start
border-left-color padding-top
border-left-style pause-after
border-left-width pause-before
border-right-color pitch
border-right-style pitch-range
border-right-width play-during
border-start-color relative-position
border-start-style richness
border-start-width right
border-top-color score-spaces
border-top-style script
border-top-width space-end
bottom space-start
character speak
color speak-header
country speak-numeral
cue-after speak-punctuation
cue-before speech-rate
dominant-baseline stress
elevation suppress-at-line-break
font-family text-altitude
font-selection-strategy text-depth
font-size text-decoration
font-size-adjust text-shadow
font-stretch text-transform
font-style top
font-variant treat-as-word-space
font-weight visibility
glyph-orientation-horizontal voice-family
glyph-orientation-vertical volume
  word-spacing


XSL-FO 参考手册 XSL-FO 参考手册
XSL-FO block-container 对象
XSL-FO color-profile 对象
温馨提示
下载编程狮App,免费阅读超1000+编程语言教程
取消
确定
目录
XSL-FO 参考手册

XSL-FO 对象列表

关闭

MIP.setData({ 'pageTheme' : getCookie('pageTheme') || {'day':true, 'night':false}, 'pageFontSize' : getCookie('pageFontSize') || 20 }); MIP.watch('pageTheme', function(newValue){ setCookie('pageTheme', JSON.stringify(newValue)) }); MIP.watch('pageFontSize', function(newValue){ setCookie('pageFontSize', newValue) }); function setCookie(name, value){ var days = 1; var exp = new Date(); exp.setTime(exp.getTime() + days*24*60*60*1000); document.cookie = name + '=' + value + ';expires=' + exp.toUTCString(); } function getCookie(name){ var reg = new RegExp('(^| )' + name + '=([^;]*)(;|$)'); return document.cookie.match(reg) ? JSON.parse(document.cookie.match(reg)[2]) : null; }