Class ParsedTextImpl

java.lang.Object
com.lowagie.text.pdf.parser.ParsedTextImpl
All Implemented Interfaces:
TextAssemblyBuffer
Direct Known Subclasses:
ParsedText, Word

@Deprecated public abstract class ParsedTextImpl extends Object implements TextAssemblyBuffer
Deprecated.
Author:
dgd
  • Method Details

    • getText

      public String getText()
      Deprecated.
      Specified by:
      getText in interface TextAssemblyBuffer
      Returns:
      the text to render
      See Also:
    • getSingleSpaceWidth

      public float getSingleSpaceWidth()
      Deprecated.
      Returns:
      The width, in user space units, of a single space character in the current font
    • getAscent

      public float getAscent()
      Deprecated.
    • getDescent

      public float getDescent()
      Deprecated.
    • getWidth

      public float getWidth()
      Deprecated.
    • getStartPoint

      public Vector getStartPoint()
      Deprecated.
      Returns:
      a vector in User space representing the start point of the text
    • getEndPoint

      public Vector getEndPoint()
      Deprecated.
      Returns:
      a vector in User space representing the end point of the text (i.e. the starting point of the text plus the width of the text, transformed by the applicable transformation matrices)
    • getBaseline

      public Vector getBaseline()
      Deprecated.
      Return the vector representing the baseline of this text chunk, even if the length of the text is zero.
      Returns:
      baseline
      See Also:
      • baseline
    • shouldNotSplit

      public abstract boolean shouldNotSplit()
      Deprecated.
      Returns:
      true if this was extracted from a string containing spaces, in which case, we assume further splitting is not needed.
    • breakBefore

      public abstract boolean breakBefore()
      Deprecated.
      Returns:
      true if this was a space or other item that should force a space before it.