Class BidiOverride

    • Field Detail

      • letterSpacing

        private Property letterSpacing
      • wordSpacing

        private Property wordSpacing
      • direction

        private int direction
      • unicodeBidi

        private int unicodeBidi
    • Constructor Detail

      • BidiOverride

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

      • 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 java.lang.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
      • collectDelimitedTextRanges

        protected java.util.Stack<DelimitedTextRange> collectDelimitedTextRanges​(java.util.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