Stylus Studio XML Editor

Table of contents

Appendices

7.9 Common Hyphenation Properties

Common Hyphenation Properties

country[top]

"country"

XSL Definition:

0prop-summary lefttoplefttoplefttoplefttoplefttoplefttop
11lefttopValue: 11lefttopnone | <country> | inherit
11lefttopInitial: 11lefttopnone
11lefttopApplies to: 11lefttopfo:block, fo:character, fo:page-sequence
11lefttopInherited: 11lefttopyes
11lefttopPercentages: 11lefttopN/A
11lefttopMedia: 11lefttopvisual

Values have the following meanings:

none

Indicates the country is unknown or is not significant to the proper formatting of this object.

<country>

A country-specifier in conformance with [RFC3066] .

Specifies the country to be used by the formatter in language-/locale-coupled services, such as line-justification strategy, line-breaking, and hyphenation.

NOTE: 

This may affect line composition in a system-dependent way.

The country may be the country component of any RFC 3066 code; (these are derived from ISO 3166).

language[top]

"language"

XSL Definition:

0prop-summary lefttoplefttoplefttoplefttoplefttoplefttop
11lefttopValue: 11lefttopnone | <language> | inherit
11lefttopInitial: 11lefttopnone
11lefttopApplies to: 11lefttopfo:block, fo:character, fo:page-sequence
11lefttopInherited: 11lefttopyes
11lefttopPercentages: 11lefttopN/A
11lefttopMedia: 11lefttopvisual

Values have the following meanings:

none

Indicates the language is unknown or is not significant to the proper formatting of this object.

<language>

A language-specifier in conformance with [RFC3066] .

Specifies the language to be used by the formatter in language-/locale-coupled services, such as line-justification strategy, line-breaking, and hyphenation.

NOTE: 

This may affect line composition in a system-dependent way.

The language may be the language component of any RFC 3066 code (these are derived from the ISO 639 language codes).

script[top]

"script"

XSL Definition:

0prop-summary lefttoplefttoplefttoplefttoplefttoplefttop
11lefttopValue: 11lefttopnone | auto | <script> | inherit
11lefttopInitial: 11lefttopauto
11lefttopApplies to: 11lefttopfo:block, fo:character
11lefttopInherited: 11lefttopyes
11lefttopPercentages: 11lefttopN/A
11lefttopMedia: 11lefttopvisual

Values have the following meanings:

auto

Indicates that the script is determined based on testing a character in the document against script identifiers assigned to Unicode code point ranges.

For fo:character the character tested is given by the "character" property. For other formatting objects the character tested is the first character descendant, as determined by the pre-order traversal of the refined formatting object tree, which has an unambigous script identifier.

NOTE: 

This provides the automatic differentiation between Kanji, Katakana, Hiragana, and Romanji used in JIS-4051 and similar services in some other countries/languages.

none

Indicates the script is unknown or is not significant to the proper formatting of this object.

<script>

A script specifier in conformance with [ISO15924] .

Specifies the script to be used by the formatter in language-/locale-coupled services, such as line-justification strategy, line-breaking, and hyphenation.

NOTE: 

This may affect line composition in a system-dependent way.

hyphenate[top]

"hyphenate"

XSL Definition:

0prop-summary lefttoplefttoplefttoplefttoplefttoplefttop
11lefttopValue: 11lefttopfalse | true | inherit
11lefttopInitial: 11lefttopfalse
11lefttopApplies to: 11lefttopfo:block, fo:character
11lefttopInherited: 11lefttopyes
11lefttopPercentages: 11lefttopN/A
11lefttopMedia: 11lefttopvisual

Values have the following meanings:

false

Hyphenation may not be used in the line-breaking algorithm for the text contained in this object.

true

Hyphenation may be used in the line-breaking algorithm for the text contained in this object.

Specifies whether hyphenation is allowed during line-breaking when the formatter is formatting this formatting object.

hyphenation-character[top]

"hyphenation-character"

XSL Definition:

0prop-summary lefttoplefttoplefttoplefttoplefttoplefttop
11lefttopValue: 11lefttop<character> | inherit
11lefttopInitial: 11lefttopThe Unicode hyphen character U+2010
11lefttopApplies to: 11lefttopfo:block, fo:character
11lefttopInherited: 11lefttopyes
11lefttopPercentages: 11lefttopN/A
11lefttopMedia: 11lefttopvisual

Values have the following meanings:

<character>

Specifies the Unicode character to be presented when a hyphenation break occurs. The styling properties of this character are those inherited from its containing flow object.

hyphenation-push-character-count[top]

"hyphenation-push-character-count"

XSL Definition:

0prop-summary lefttoplefttoplefttoplefttoplefttoplefttop
11lefttopValue: 11lefttop<number> | inherit
11lefttopInitial: 11lefttop2
11lefttopApplies to: 11lefttopfo:block, fo:character
11lefttopInherited: 11lefttopyes
11lefttopPercentages: 11lefttopN/A
11lefttopMedia: 11lefttopvisual

Values have the following meanings:

<integer>

If a negative or non-integer value is specified, it will be rounded to the nearest integer greater than zero.

The hyphenation-push-character-count is a positive integer specifying the minimum number of characters in a hyphenated word after the hyphenation character. This is the minimum number of characters in the word pushed to the next line after the line ending with the hyphenation character.

hyphenation-remain-character-count[top]

"hyphenation-remain-character-count"

XSL Definition:

0prop-summary lefttoplefttoplefttoplefttoplefttoplefttop
11lefttopValue: 11lefttop<number> | inherit
11lefttopInitial: 11lefttop2
11lefttopApplies to: 11lefttopfo:block, fo:character
11lefttopInherited: 11lefttopyes
11lefttopPercentages: 11lefttopN/A
11lefttopMedia: 11lefttopvisual

Values have the following meanings:

<integer>

If a negative or non-integer value is specified, it will be rounded to the nearest integer greater than zero.

The hyphenation-remain-character-count is a positive integer specifying the minimum number of characters in a hyphenated word before the hyphenation character. This is the minimum number of characters in the word left on the line ending with the hyphenation character.