Examples of PdfNumber


Examples of com.itextpdf.text.pdf.PdfNumber

   * A value greater than one shortens the time it takes to play
   * the animation, or effectively speeds up the animation.
   * @param  speed  a speed value
   */
  public void setSpeed(float speed) {
    put(PdfName.SPEED, new PdfNumber(speed));
  }
View Full Code Here

Examples of com.itextpdf.text.pdf.PdfNumber

   * @param  max    the maximum
   * @param  min    the minimum
   */
  private PdfDictionary createDimensionDictionary(float d, float max, float min) {
    PdfDictionary dict = new PdfDictionary();
    dict.put(PdfName.DEFAULT, new PdfNumber(d));
    dict.put(PdfName.MAX_CAMEL_CASE, new PdfNumber(max));
    dict.put(PdfName.MIN_CAMEL_CASE, new PdfNumber(min));
    return dict;
  }
View Full Code Here

Examples of com.itextpdf.text.pdf.PdfNumber

   * Sets the time value of the cue point in milliseconds to match against
   * the cue point within Flash content and for display purposes.
   * @param  time  the time value of the cue point
   */
  public void setTime(int time) {
    put(PdfName.TIME, new PdfNumber(time));
  }
View Full Code Here

Examples of com.itextpdf.text.pdf.PdfNumber

  /**
   * Sets the EPSG code.
   * @param epsg
   */
  public void setEPSG(int epsg) {
    super.put(PdfName.EPSG, new PdfNumber(epsg));
  }
View Full Code Here

Examples of com.itextpdf.text.pdf.PdfNumber

   * HOffset, when HAlign is Far, offsets the position towards the Near
   * direction.
   * @param  hOffset  an offset
   */
  public void setHOffset(float hOffset) {
    put(PdfName.HOFFSET, new PdfNumber(hOffset));
  }
View Full Code Here

Examples of com.itextpdf.text.pdf.PdfNumber

   * VOffset, when VAlign is Far, offsets the position towards the Near
   * direction.
   * @param  vOffset  an offset
   */
  public void setVOffset(float vOffset) {
    put(PdfName.VOFFSET, new PdfNumber(vOffset));
  }
View Full Code Here

Examples of com.itextpdf.text.pdf.PdfNumber

  /**
   * Sets the value of the collection item.
   * @param i
   */
  public void addItem(String key, int i) {
    addItem(key, new PdfNumber(i));
  }
View Full Code Here

Examples of com.itextpdf.text.pdf.PdfNumber

  /**
   * Sets the value of the collection item.
   * @param f
   */
  public void addItem(String key, float f) {
    addItem(key, new PdfNumber(f));
  }
View Full Code Here

Examples of com.itextpdf.text.pdf.PdfNumber

  /**
   * Sets the value of the collection item.
   * @param d
   */
  public void addItem(String key, double d) {
    addItem(key, new PdfNumber(d));
  }
View Full Code Here

Examples of com.itextpdf.text.pdf.PdfNumber

   * you need to specify the page number (or use setFileAttachmentPagename to specify a named destination).
   * Once you have specified the page, you still need to specify the attachment using another method.
   * @param page  the page number of the page with the file attachment.
   */
  public void setFileAttachmentPage(int page) {
    put(PdfName.P, new PdfNumber(page));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.