class final Core · pdftoolkit/pdf 0.12.4
PDF\Specification\Iso32000_2\Dictionary\StandardLayoutAttributesSpecificToInlineLevelStructureElementsTable380\RubyAlignEntryISO 32000-2:2020 EC3, table 380, /RubyAlign.Inheritance and contracts
Parent : PDF\Specification\SchemaEntry
ISO 32000-2:2020 EC3 definition
Table 380 · Standard layout attributes specific to inline-level structure elements
§14.8.5.4.4 · PDF page 801
Original PDF at the documented commit ↗ · Source metadata at the documented commit ↗ · Public errata ↗
Original retained in the core repository. Table inventory and semantic validation remain distinct.
Common definitions: Table 360
Original normative excerpt in English.
/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)Inherited methods
3 methods from parents and contracts
definition()
public function definition(): PDF\Specification\EntryDefinitionkey()
public function key(): PDF\Syntax\Object\NameTypevalue()
public function value(): PDF\Syntax\FileStructure\BasicTypeProperties
| Declaration | Origin and 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 |