class final Core · pdftoolkit/pdf 0.12.4

PDF\Specification\Iso32000_2\Dictionary\StandardLayoutAttributesSpecificToInlineLevelStructureElementsTable380\RubyAlignEntry
ISO 32000-2:2020 EC3, table 380, /RubyAlign.

Lire la déclaration source ↗

Héritage et contrats

Parent : PDF\Specification\SchemaEntry

Définition ISO 32000-2:2020 EC3

Tableau 380 · Standard layout attributes specific to inline-level structure elements
§14.8.5.4.4 · page PDF 801

Original PDF au commit documenté ↗ · Métadonnées de la source au commit documenté ↗ · Errata publics ↗

Original conservé dans le dépôt du core. Inventaire des tableaux et contrôles sémantiques restent distincts.

Définitions communes : Table 360

Extrait normatif original en anglais.

/RubyAlign name

(Optional; inheritable; PDF 1.5) The justification of the lines within a ruby assembly. Valid values are: Start The content shall be aligned on the start edge in the inline-progression direction. Center The content shall be centred in the inline-progression direction. End The content shall be aligned on the end edge in the inline-progression direction. Justify The content shall be expanded to fill the available width in the inline-progression direction. Distribute The content shall be expanded to fill the available width in the inline-progression direction. However, space shall also be inserted at the start edge and end edge of the text. The spacing shall be distributed using a 1:2:1 (start:infix:end) ratio. It shall be changed to a 0:1:1 ratio if the ruby appears at the start of a text line or to a 1:1:0 ratio if the ruby appears at the end of the text line. Default value: Distribute. This attribute may be specified on the RB and RT elements. When a ruby is formatted, the attribute shall be applied to the shorter line of these two elements. For example, if the RT element has a shorter width than the RB element, the RT element shall be aligned as specified in its RubyAlign attribute.

Périmètre et limites PDF 2.0.

Construction

__construct()

Déclarée par PDF\Specification\Iso32000_2\Dictionary\StandardLayoutAttributesSpecificToInlineLevelStructureElementsTable380\RubyAlignEntry · Voir le code ↗

Méthodes héritées

3 méthodes des parents et contrats

definition()

public function definition(): PDF\Specification\EntryDefinition

Déclarée par PDF\Specification\SchemaEntry · Voir le code ↗

key()

public function key(): PDF\Syntax\Object\NameType

Déclarée par PDF\Syntax\Object\DictionaryObject\Entry · Voir le code ↗

value()

public function value(): PDF\Syntax\FileStructure\BasicType

Déclarée par PDF\Syntax\Object\DictionaryObject\Entry · Voir le code ↗

Propriétés

Constantes