congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
Chunk.getHyphenation
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: com.itextpdf/itextpdf

/**
 * Constructs a <CODE>Phrase</CODE> with a certain <CODE>Chunk</CODE>.
 *
 * @param    chunk        a <CODE>Chunk</CODE>
 */
public Phrase(final Chunk chunk) {
  super.add(chunk);
  font = chunk.getFont();
  setHyphenation(chunk.getHyphenation());
}
origin: com.itextpdf/itextpdf

/**
 * Constructs a <CODE>Phrase</CODE> with a certain <CODE>Chunk</CODE>
 * and a certain leading.
 *
 * @param    leading    the leading
 * @param    chunk        a <CODE>Chunk</CODE>
 */
public Phrase(final float leading, final Chunk chunk) {
  this.leading = leading;
  super.add(chunk);
  font = chunk.getFont();
  setHyphenation(chunk.getHyphenation());
}
origin: com.itextpdf/itextg

/**
 * Constructs a <CODE>Phrase</CODE> with a certain <CODE>Chunk</CODE>
 * and a certain leading.
 *
 * @param    leading    the leading
 * @param    chunk        a <CODE>Chunk</CODE>
 */
public Phrase(final float leading, final Chunk chunk) {
  this.leading = leading;
  super.add(chunk);
  font = chunk.getFont();
  setHyphenation(chunk.getHyphenation());
}
origin: com.itextpdf/itextg

/**
 * Constructs a <CODE>Phrase</CODE> with a certain <CODE>Chunk</CODE>.
 *
 * @param    chunk        a <CODE>Chunk</CODE>
 */
public Phrase(final Chunk chunk) {
  super.add(chunk);
  font = chunk.getFont();
  setHyphenation(chunk.getHyphenation());
}
origin: com.itextpdf/itextpdf

  chunk.setFont(font.difference(chunk.getFont()));
if (hyphenation != null && chunk.getHyphenation() == null && !chunk.isEmpty()) {
  chunk.setHyphenation(hyphenation);
origin: com.itextpdf/itextg

  chunk.setFont(font.difference(chunk.getFont()));
if (hyphenation != null && chunk.getHyphenation() == null && !chunk.isEmpty()) {
  chunk.setHyphenation(hyphenation);
origin: com.itextpdf/itextg

newChunk.role = chunk.getRole();
newChunk.accessibleAttributes = chunk.getAccessibleAttributes();
if (hyphenation != null && newChunk.getHyphenation() == null && !newChunk.isEmpty()) {
  newChunk.setHyphenation(hyphenation);
origin: com.itextpdf/itextpdf

newChunk.role = chunk.getRole();
newChunk.accessibleAttributes = chunk.getAccessibleAttributes();
if (hyphenation != null && newChunk.getHyphenation() == null && !newChunk.isEmpty()) {
  newChunk.setHyphenation(hyphenation);
com.itextpdf.textChunkgetHyphenation

Javadoc

Returns the hyphenation (if present).

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,
  • getId,
  • getImage,
  • getRole

Popular in Java

  • Creating JSON documents from java classes using gson
  • requestLocationUpdates (LocationManager)
  • addToBackStack (FragmentTransaction)
  • getSystemService (Context)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • Best IntelliJ plugins
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