Class InlineLevel

All Implemented Interfaces:
Cloneable, Constants, CommonAccessibilityHolder
Direct Known Subclasses:
BasicLink, Inline, Leader, Title

public abstract class InlineLevel extends FObjMixed implements CommonAccessibilityHolder
Class modelling the commonalities of several inline-level formatting objects.
  • Constructor Details

    • InlineLevel

      protected InlineLevel(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 FObj
      Parameters:
      pList - the PropertyList where the properties can be found.
      Throws:
      FOPException - if there is a problem binding the values
    • getCommonAccessibility

      public CommonAccessibility getCommonAccessibility()
      Returns the accessibility properties.
      Specified by:
      getCommonAccessibility in interface CommonAccessibilityHolder
      Returns:
      the accessibility properties
    • getCommonMarginInline

      public CommonMarginInline getCommonMarginInline()
      Returns:
      the CommonMarginInline
    • getCommonBorderPaddingBackground

      public CommonBorderPaddingBackground getCommonBorderPaddingBackground()
      Returns:
      the CommonBorderPaddingBackground
    • getCommonFont

      public CommonFont getCommonFont()
      Returns:
      the CommonFont
    • getColor

      public Color getColor()
      Returns:
      the "color" trait
    • getLineHeight

      public SpaceProperty getLineHeight()
      Returns:
      the "line-height" trait
    • getKeepWithNext

      public KeepProperty getKeepWithNext()
      Returns:
      the "keep-with-next" trait
    • getKeepWithPrevious

      public KeepProperty getKeepWithPrevious()
      Returns:
      the "keep-with-previous" trait
    • isDelimitedTextRangeBoundary

      public boolean isDelimitedTextRangeBoundary(int boundary)
      Description copied from class: FONode
      Determine if node has a delimited text range boundary. N.B. that we report this to be true by default, while specific subclasses override this method to report false.
      Overrides:
      isDelimitedTextRangeBoundary in class FONode
      Parameters:
      boundary - one of {EN_BEFORE, EN_AFTER, or EN_BOTH} enumeration constants
      Returns:
      true if indicated boundary (or boundaries) constitute a delimited text range boundary.