class final Core · pdftoolkit/pdf 0.12.4
PDF\Specification\Iso32000_2\Dictionary\StandardLayoutAttributesSpecificToInlineLevelStructureElementsTable380\RubyAlignEntryISO 32000-2:2020 EC3, table 380, /RubyAlign.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.
Construction
__construct()
public function __construct(PDF\Syntax\Object\NameType|PDF\Syntax\Object\IndirectReference $value)Méthodes héritées
3 méthodes des parents et contrats
definition()
public function definition(): PDF\Specification\EntryDefinitionkey()
public function key(): PDF\Syntax\Object\NameTypevalue()
public function value(): PDF\Syntax\FileStructure\BasicTypePropriétés
| Déclaration | Provenance et documentation |
|---|---|
public readonly PDF\Syntax\Object\NameType $key | PDF\Syntax\Object\DictionaryObject\Entry |
public readonly PDF\Syntax\FileStructure\BasicType $value | PDF\Syntax\Object\DictionaryObject\Entry |