Codota Logo
PageResources.getResources
Code IndexAdd Codota to your IDE (free)

How to use
getResources
method
in
com.lowagie.text.pdf.PageResources

Best Java code snippets using com.lowagie.text.pdf.PageResources.getResources (Showing top 18 results out of 315)

  • Common ways to obtain PageResources
private void myMethod () {
PageResources p =
  • Codota Iconnew PageResources()
  • Codota IconPdfDocument pdfDocument;pdfDocument.getPageResources()
  • Smart code suggestions by Codota
}
origin: fr.opensagres.xdocreport.itext-gae/itext-gae

/**
 * Constructs the resources used by this template.
 *
 * @return the resources used by this template
 */

PdfObject getResources() {
  return getPageResources().getResources();
}
 
origin: com.github.librepdf/openpdf

/**
 * Constructs the resources used by this template.
 *
 * @return the resources used by this template
 */

PdfObject getResources() {
  return getPageResources().getResources();
}
 
origin: fr.opensagres.xdocreport.itext-gae/itext-gae

void alterResources(PageStamp ps) {
  ps.pageN.put(PdfName.RESOURCES, ps.pageResources.getResources());
}
origin: es.gob.afirma/afirma-crypto-pdf-itext

/**
 * Constructs the resources used by this template.
 *
 * @return the resources used by this template
 */

PdfObject getResources() {
  return getPageResources().getResources();
}

origin: com.github.librepdf/openpdf

void alterResources(PageStamp ps) {
  ps.pageN.put(PdfName.RESOURCES, ps.pageResources.getResources());
}
origin: es.gob.afirma/afirma-crypto-pdf-itext

void alterResources(PageStamp ps) {
  ps.pageN.put(PdfName.RESOURCES, ps.pageResources.getResources());
}
origin: fr.opensagres.xdocreport.itext-gae/itext-gae

/**
 * Adds a blank page.
 * @param    rect The page dimension
 * @param    rotation The rotation angle in degrees
 * @since    2.1.5
 */
public void addPage(Rectangle rect, int rotation) {
  PdfRectangle mediabox = new PdfRectangle(rect, rotation);
  PageResources resources = new PageResources();
  PdfPage page = new PdfPage(mediabox, new HashMap(), resources.getResources(), 0);
  page.put(PdfName.TABS, getTabs());
  root.addPage(page);
  ++currentPageNumber;
}
 
origin: es.gob.afirma/afirma-crypto-pdf-itext

/**
 * Adds a blank page.
 * @param    rect The page dimension
 * @param    rotation The rotation angle in degrees
 * @since    2.1.5
 */
public void addPage(Rectangle rect, int rotation) {
  PdfRectangle mediabox = new PdfRectangle(rect, rotation);
  PageResources resources = new PageResources();
  PdfPage page = new PdfPage(mediabox, new HashMap(), resources.getResources(), 0);
  page.put(PdfName.TABS, getTabs());
  root.addPage(page);
  ++currentPageNumber;
}

origin: com.github.librepdf/openpdf

/**
 * Adds a blank page.
 *
 * @param  rect The page dimension
 * @param  rotation The rotation angle in degrees
 * @since 2.1.5
 */
public void addPage(Rectangle rect, int rotation) {
 PdfRectangle mediabox = new PdfRectangle(rect, rotation);
 PageResources resources = new PageResources();
 PdfPage page = new PdfPage(mediabox, new HashMap<>(), resources.getResources(), 0);
 page.put(PdfName.TABS, getTabs());
 root.addPage(page);
 ++currentPageNumber;
}
origin: com.github.librepdf/openpdf

  pageResources.addDefaultColorDiff(dcs);
PdfDictionary resources = pageResources.getResources();
origin: fr.opensagres.xdocreport.itext-gae/itext-gae

  pageResources.addDefaultColorDiff(dcs);
PdfDictionary resources = pageResources.getResources();
origin: es.gob.afirma/afirma-crypto-pdf-itext

  pageResources.addDefaultColorDiff(dcs);
PdfDictionary resources = pageResources.getResources();
origin: es.gob.afirma/afirma-crypto-pdf-itext

font.put(PdfName.WIDTHS, writer.addToBody(new PdfArray(widths)).getIndirectReference());
if (pageResources.hasResources())
  font.put(PdfName.RESOURCES, writer.addToBody(pageResources.getResources()).getIndirectReference());
writer.addToBody(font, ref);
origin: fr.opensagres.xdocreport.itext-gae/itext-gae

font.put(PdfName.WIDTHS, writer.addToBody(new PdfArray(widths)).getIndirectReference());
if (pageResources.hasResources())
  font.put(PdfName.RESOURCES, writer.addToBody(pageResources.getResources()).getIndirectReference());
writer.addToBody(font, ref);
origin: com.github.librepdf/openpdf

font.put(PdfName.WIDTHS, writer.addToBody(new PdfArray(widths)).getIndirectReference());
if (pageResources.hasResources())
  font.put(PdfName.RESOURCES, writer.addToBody(pageResources.getResources()).getIndirectReference());
writer.addToBody(font, ref);
origin: com.github.librepdf/openpdf

 ar.add(cstp.addToBody(stream).getIndirectReference());
pageN.put(PdfName.RESOURCES, pageResources.getResources());
origin: fr.opensagres.xdocreport.itext-gae/itext-gae

  ar.add(cstp.addToBody(stream).getIndirectReference());
pageN.put(PdfName.RESOURCES, pageResources.getResources());
origin: es.gob.afirma/afirma-crypto-pdf-itext

  ar.add(cstp.addToBody(stream).getIndirectReference());
pageN.put(PdfName.RESOURCES, pageResources.getResources());
com.lowagie.text.pdfPageResourcesgetResources

Popular methods of PageResources

  • <init>
  • addColor
  • addDefaultColor
  • addDefaultColorDiff
  • addExtGState
  • addFont
  • addPattern
  • addProperty
  • addShading
  • addXObject
  • hasResources
  • setOriginalResources
  • hasResources,
  • setOriginalResources,
  • translateName

Popular in Java

  • Updating database using SQL prepared statement
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • putExtra (Intent)
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • List (java.util)
    A List is a collection which maintains an ordering for its elements. Every element in the List has a
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • JList (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now