cz.muni.pdfjbim
Class PdfImageInformation

java.lang.Object
  extended by cz.muni.pdfjbim.PdfImageInformation

public class PdfImageInformation
extends Object

Contains information about size of image and it's position in original PDF

Author:
Radim Hatlapatka (hata.radim@gmail.com)

Constructor Summary
PdfImageInformation(String key, int width, int height, int objectNum, int genNum)
           
PdfImageInformation(String key, int width, int height, int objectNum, int genNum, int pageNumber)
           
 
Method Summary
 int getHeight()
           
 String getKey()
           
 int getObjectGenNum()
           
 int getObjectNum()
           
 int getPageNumber()
           
 int getWidth()
           
 void setObjectGenNum(int objectGenNum)
          sets PDF object generic number
 void setObjectNum(int objectNum)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PdfImageInformation

public PdfImageInformation(String key,
                           int width,
                           int height,
                           int objectNum,
                           int genNum,
                           int pageNumber)
Parameters:
key - represents pdf object key to which was associated this image
width - represents width of image
height - represents height of image
objectNum -
genNum -
pageNumber - represents page number in original pdf dokument

PdfImageInformation

public PdfImageInformation(String key,
                           int width,
                           int height,
                           int objectNum,
                           int genNum)
Parameters:
key - represents pdf object key to which was associated this image
width - represents width of image
height - represents height of image
objectNum -
genNum -
Method Detail

getHeight

public int getHeight()
Returns:
height of image

getKey

public String getKey()
Returns:
pdf object key of image

getPageNumber

public int getPageNumber()
Returns:
page number where the image in pdf was at

getWidth

public int getWidth()
Returns:
width of image

getObjectGenNum

public int getObjectGenNum()
Returns:
object generic number

setObjectGenNum

public void setObjectGenNum(int objectGenNum)
sets PDF object generic number

Parameters:
objectGenNum - generic number to be set

getObjectNum

public int getObjectNum()
Returns:
object number

setObjectNum

public void setObjectNum(int objectNum)
Parameters:
objectNum - number to be set as PDF object number

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012 Faculty of Informatics, Masaryk University, Brno. All Rights Reserved.