Tabnine Logo
Chunk.toString
Code IndexAdd Tabnine to your IDE (free)

How to use
toString
method
in
com.itextpdf.text.Chunk

Best Java code snippets using com.itextpdf.text.Chunk.toString (Showing top 2 results out of 315)

origin: com.itextpdf/itextpdf

/**
 * Returns the content as a String object.
 * This method differs from toString because toString will return an ArrayList with the toString value of the Chunks in this Phrase.
 * @return the content
 */
public String getContent() {
  StringBuffer buf = new StringBuffer();
  for (Chunk c: getChunks()) {
    buf.append(c.toString());
  }
  return buf.toString();
}
origin: com.itextpdf/itextg

/**
 * Returns the content as a String object.
 * This method differs from toString because toString will return an ArrayList with the toString value of the Chunks in this Phrase.
 * @return the content
 */
public String getContent() {
  StringBuffer buf = new StringBuffer();
  for (Chunk c: getChunks()) {
    buf.append(c.toString());
  }
  return buf.toString();
}
com.itextpdf.textChunktoString

Javadoc

Returns the content of this Chunk.

Popular methods of Chunk

  • <init>
    Constructs a chunk of text with a certain content and a certain Font.
  • setBackground
    Sets the color and the size of the background Chunk.
  • getContent
    Returns the content of this Chunk.
  • getWidthPoint
    Gets the width of the Chunk in points.
  • setGenericTag
    Sets the generic tag Chunk. The text for this tag can be retrieved with PdfPageEvent.
  • getFont
    Gets the font of this Chunk.
  • setFont
    Sets the font of this Chunk.
  • setLocalDestination
    Sets a local destination for this Chunk.
  • setTextRise
    Sets the text displacement relative to the baseline. Positive values rise the text, negative values
  • append
    appends some text to this Chunk.
  • createTabspace
  • createWhitespace
  • createTabspace,
  • createWhitespace,
  • getAccessibleAttribute,
  • getAccessibleAttributes,
  • getAttributes,
  • getHorizontalScaling,
  • getHyphenation,
  • getId,
  • getImage,
  • getRole

Popular in Java

  • Reading from database using SQL prepared statement
  • scheduleAtFixedRate (ScheduledExecutorService)
  • findViewById (Activity)
  • getContentResolver (Context)
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • Socket (java.net)
    Provides a client-side TCP socket.
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • ImageIO (javax.imageio)
  • JList (javax.swing)
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now