|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jpedal.examples.simpleviewer.Values
public class Values
provides access to values used by multiple classes
| Field Summary | |
|---|---|
int |
dx
offsets to viewport if used |
int |
dy
offsets to viewport if used |
static boolean |
isProcessing
boolean lock to stop multiple access |
int |
m_x1
|
int |
m_x2
|
int |
m_y1
|
int |
m_y2
|
int |
maxViewY
height of the viewport. |
static int |
RUNNING_APPLET
|
static int |
RUNNING_JSP
|
static int |
RUNNING_NORMAL
Normal mode (works for webstart, application) |
static int |
RUNNING_WEBSTART
|
double |
viewportScale
scaling on viewport if used |
| Constructor Summary | |
|---|---|
Values()
|
|
| Method Summary | |
|---|---|
int |
getCurrentPage()
get current page number (1 - pageCount) |
long |
getFileSize()
get current file size in kilobytes |
java.lang.String |
getInputDir()
get directory to use as input root |
int |
getMaxMiltiViewers()
|
int |
getModeOfOperation()
get modeOfOperation (RUNNING_NORMAL,RUNNING_APPLET,RUNNING_WEBSTART,RUNNING_JSP) |
PdfAnnots |
getPageAnnotations()
get pageAnnotations created by JPedal for current page |
int |
getPageCount()
get number of pages |
java.lang.String |
getSelectedFile()
get current filename |
java.lang.String |
getSeparator()
get platform file separator |
java.lang.String |
getTarget()
get local store on disk |
boolean |
isContentExtractor()
|
boolean |
isFormsChanged()
return if user has edited forms |
boolean |
isItextOnClasspath()
show if itext installed |
boolean |
isMultiTiff()
|
boolean |
isPDF()
show if file is type PDF |
static boolean |
isProcessing()
|
boolean |
isUseHiresImage()
flag to show if using images as hires |
void |
setContentExtractor(boolean isContentExtractor)
|
void |
setCurrentPage(int currentPage)
set current page number (1 - pageCount) |
void |
setFileSize(long size)
set current file size in kilobytes |
void |
setFormsChanged(boolean formsChanged)
set user has edited forms |
void |
setInputDir(java.lang.String inputDir)
set directory to use as input root |
void |
setMaxMiltiViewers(int maxNoOfMultiViewers)
|
void |
setModeOfOperation(int modeOfOperation)
set modeOfOperation (RUNNING_NORMAL,RUNNING_APPLET,RUNNING_WEBSTART,RUNNING_JSP) |
void |
setMultiTiff(boolean isMultiTiff)
|
void |
setPageAnnotations(PdfAnnots pageAnnotations)
set pageAnnotations created by JPedal for current page |
void |
setPageCount(int pageCount)
set number of pages |
void |
setPDF(boolean isPDF)
set flag to show if file is PDF or other |
static void |
setProcessing(boolean isProcessing)
set to show decoding page |
void |
setSelectedFile(java.lang.String selectedFile)
set current filename |
void |
setTarget(java.lang.String target)
set local store on disk |
void |
setUseHiresImage(boolean useHiresImage)
set to show images being used are hires and not downsampled |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int RUNNING_NORMAL
public static final int RUNNING_APPLET
public static final int RUNNING_WEBSTART
public static final int RUNNING_JSP
public int m_x1
public int m_y1
public int m_x2
public int m_y2
public int dx
public int dy
public double viewportScale
public int maxViewY
public static boolean isProcessing
| Constructor Detail |
|---|
public Values()
| Method Detail |
|---|
public static boolean isProcessing()
public static void setProcessing(boolean isProcessing)
public boolean isItextOnClasspath()
public boolean isPDF()
public void setPDF(boolean isPDF)
public int getCurrentPage()
public void setCurrentPage(int currentPage)
public java.lang.String getInputDir()
public void setInputDir(java.lang.String inputDir)
public java.lang.String getSelectedFile()
public void setSelectedFile(java.lang.String selectedFile)
public boolean isFormsChanged()
public void setFormsChanged(boolean formsChanged)
public int getPageCount()
public void setPageCount(int pageCount)
public long getFileSize()
public void setFileSize(long size)
public java.lang.String getTarget()
public void setTarget(java.lang.String target)
public java.lang.String getSeparator()
public PdfAnnots getPageAnnotations()
public void setPageAnnotations(PdfAnnots pageAnnotations)
public int getModeOfOperation()
public void setModeOfOperation(int modeOfOperation)
public boolean isUseHiresImage()
public void setUseHiresImage(boolean useHiresImage)
public boolean isContentExtractor()
public void setContentExtractor(boolean isContentExtractor)
isContentExtractor - the isContentExtractor to setpublic boolean isMultiTiff()
public void setMultiTiff(boolean isMultiTiff)
public void setMaxMiltiViewers(int maxNoOfMultiViewers)
public int getMaxMiltiViewers()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||