Class BidiOverride

All Implemented Interfaces:
Cloneable, Constants, CommonAccessibilityHolder

public class BidiOverride extends Inline
Class modelling the fo:bidi-override object.
  • Constructor Details

    • BidiOverride

      public BidiOverride(FONode parent)
      Base constructor
      Parameters:
      parent - FONode that is the parent of this object
  • Method Details

    • bind

      public void bind(PropertyList pList) throws FOPException
      Bind property values from the property list to the FO node. Must be overridden in all FObj subclasses that have properties applying to it.
      Overrides:
      bind in class Inline
      Parameters:
      pList - the PropertyList where the properties can be found.
      Throws:
      FOPException - if there is a problem binding the values
    • getLetterSpacing

      public Property getLetterSpacing()
      Returns:
      the "letter-spacing" trait
    • getWordSpacing

      public Property getWordSpacing()
      Returns:
      the "word-spacing" trait
    • getDirection

      public int getDirection()
      Returns:
      the "direction" trait
    • getUnicodeBidi

      public int getUnicodeBidi()
      Returns:
      the "unicodeBidi" trait
    • getLocalName

      public String getLocalName()
      Returns the local name (i.e. without namespace prefix) of the node
      Overrides:
      getLocalName in class Inline
      Returns:
      the local name of this node
    • getNameId

      public int getNameId()
      Returns the Constants class integer value of this node
      Overrides:
      getNameId in class Inline
      Returns:
      Constants.FO_BIDI_OVERRIDE
    • collectDelimitedTextRanges

      protected Stack<DelimitedTextRange> collectDelimitedTextRanges(Stack<DelimitedTextRange> ranges, DelimitedTextRange currentRange)
      Description copied from class: FONode
      Collect the sequence of delimited text ranges, where each new range is pushed onto RANGES, where default implementation collects ranges of child nodes.
      Overrides:
      collectDelimitedTextRanges in class FONode
      Parameters:
      ranges - a stack of delimited text ranges
      currentRange - the current range or null (if none)
      Returns:
      the (possibly) updated stack of delimited text ranges