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

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

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

origin: com.itextpdf/itextpdf

/**
 * Sets the textual expansion of the abbreviation or acronym.
 * It is highly recommend to set textuual expansion when generating PDF/UA documents.
 * @param value
 */
public void setTextExpansion(String value) {
  setAccessibleAttribute(PdfName.E, new PdfString(value));
}
origin: com.itextpdf/itextg

/**
 * Sets the textual expansion of the abbreviation or acronym.
 * It is highly recommend to set textuual expansion when generating PDF/UA documents.
 * @param value
 */
public void setTextExpansion(String value) {
  setAccessibleAttribute(PdfName.E, new PdfString(value));
}
origin: com.itextpdf/itextpdf

/**
 * Sets an anchor for this <CODE>Chunk</CODE>.
 *
 * @param url
 *            the <CODE>URL</CODE> to link to
 * @return this <CODE>Chunk</CODE>
 */
public Chunk setAnchor(final URL url) {
  setRole(PdfName.LINK);
  String urlStr = url.toExternalForm();
  setAccessibleAttribute(PdfName.ALT, new PdfString(urlStr));
  return setAttribute(ACTION, new PdfAction(urlStr));
}
origin: com.itextpdf/itextg

/**
 * Sets an anchor for this <CODE>Chunk</CODE>.
 *
 * @param url
 *            the <CODE>URL</CODE> to link to
 * @return this <CODE>Chunk</CODE>
 */
public Chunk setAnchor(final URL url) {
  setRole(PdfName.LINK);
  String urlStr = url.toExternalForm();
  setAccessibleAttribute(PdfName.ALT, new PdfString(urlStr));
  return setAttribute(ACTION, new PdfAction(urlStr));
}
origin: com.itextpdf/itextg

/**
 * Sets an anchor for this <CODE>Chunk</CODE>.
 *
 * @param url
 *            the url to link to
 * @return this <CODE>Chunk</CODE>
 */
public Chunk setAnchor(final String url) {
  setRole(PdfName.LINK);
  setAccessibleAttribute(PdfName.ALT, new PdfString(url));
  return setAttribute(ACTION, new PdfAction(url));
}
origin: com.itextpdf/itextpdf

/**
 * Sets an anchor for this <CODE>Chunk</CODE>.
 *
 * @param url
 *            the url to link to
 * @return this <CODE>Chunk</CODE>
 */
public Chunk setAnchor(final String url) {
  setRole(PdfName.LINK);
  setAccessibleAttribute(PdfName.ALT, new PdfString(url));
  return setAttribute(ACTION, new PdfAction(url));
}
com.itextpdf.textChunksetAccessibleAttribute

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

  • Finding current android device location
  • getSharedPreferences (Context)
  • getContentResolver (Context)
  • putExtra (Intent)
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Top Vim 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