Class: Idml::Elements::Footnote

Inherits:
Lutaml::Model::Serializable
  • Object
show all
Defined in:
lib/idml/elements/footnote.rb

Overview

<Footnote> — story-embedded footnote content. Schema-faithful model of Footnote_Object in reference-docs/schemas/package/Stories/Story.rnc: the element declares no attributes; its children are HiddenText / GaijiOwnedItemObject / Table / TextVariableInstance / ParagraphStyleRange / CharacterStyleRange. Of these, the ParagraphStyleRange (with its CSR children) and CharacterStyleRange children carry the footnote text; the rest are parsed by their own models where relevant.

A Footnote sits inside the CharacterStyleRange that owns the anchor position: the body-text marker renders where the CSR's text ends, and the Footnote's paragraphs render at the bottom of the frame holding that marker (see Render::Footnote).