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

  • Parsing JSON documents to java classes using gson
  • getResourceAsStream (ClassLoader)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • onRequestPermissionsResult (Fragment)
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Top 17 Plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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