public class ConverterInputDocumentInfoEvent extends EventObject
Constructor and Description |
---|
ConverterInputDocumentInfoEvent(Object source,
InputStream inputStream,
int pageCount,
int inputIndex,
PageRangeSettings pageRangeSettings) |
ConverterInputDocumentInfoEvent(Object source,
String fileName,
int pageCount,
int inputIndex,
PageRangeSettings pageRangeSettings) |
Modifier and Type | Method and Description |
---|---|
String |
getFileName()
Returns the name of the document that is being converted.
|
int |
getInputIndex()
Returns index of the current page that is being converted.
|
InputStream |
getInputStream()
Returns the stream from which the document was loaded.
|
int |
getPageCount()
Returns number of pages in the document.
|
PageRangeSettings |
getPageRangeSettings()
Returns page range settings with which the document is being converted.
|
boolean |
isStreamInput()
Returns whether the document was loaded from a stream.
|
getSource, toString
public ConverterInputDocumentInfoEvent(Object source, String fileName, int pageCount, int inputIndex, PageRangeSettings pageRangeSettings)
public ConverterInputDocumentInfoEvent(Object source, InputStream inputStream, int pageCount, int inputIndex, PageRangeSettings pageRangeSettings)
public String getFileName()
public int getPageCount()
public int getInputIndex()
public PageRangeSettings getPageRangeSettings()
public boolean isStreamInput()
public InputStream getInputStream()
isStreamInput()