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

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

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

origin: com.itextpdf/itextpdf

chunk.setLocalGoto(reference.substring(1));
origin: com.itextpdf/itextpdf

/**
 * Applies the properties of the Anchor to a Chunk.
 * @param chunk            the Chunk (part of the Anchor)
 * @param notGotoOK        if true, this chunk will determine the local destination
 * @param localDestination    true if the chunk is a local goto and the reference a local destination
 * @return    the value of notGotoOK or false, if a previous Chunk was used to determine the local destination
 */
protected boolean applyAnchor(Chunk chunk, boolean notGotoOK, boolean localDestination) {
  if (name != null && notGotoOK && !chunk.isEmpty()) {
    chunk.setLocalDestination(name);
    notGotoOK = false;
  }
  if (localDestination) {
    chunk.setLocalGoto(reference.substring(1));
  }
  else if (reference != null)
    chunk.setAnchor(reference);
  return notGotoOK;
}
origin: com.itextpdf/itextg

/**
 * Applies the properties of the Anchor to a Chunk.
 * @param chunk            the Chunk (part of the Anchor)
 * @param notGotoOK        if true, this chunk will determine the local destination
 * @param localDestination    true if the chunk is a local goto and the reference a local destination
 * @return    the value of notGotoOK or false, if a previous Chunk was used to determine the local destination
 */
protected boolean applyAnchor(Chunk chunk, boolean notGotoOK, boolean localDestination) {
  if (name != null && notGotoOK && !chunk.isEmpty()) {
    chunk.setLocalDestination(name);
    notGotoOK = false;
  }
  if (localDestination) {
    chunk.setLocalGoto(reference.substring(1));
  }
  else if (reference != null)
    chunk.setAnchor(reference);
  return notGotoOK;
}
origin: com.itextpdf/itextg

chunk.setLocalGoto(reference.substring(1));
com.itextpdf.textChunksetLocalGoto

Javadoc

Sets a local goto for this Chunk.

There must be a local destination matching the name.

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

  • Reactive rest calls using spring rest template
  • getExternalFilesDir (Context)
  • getSupportFragmentManager (FragmentActivity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Top 12 Jupyter Notebook extensions
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