|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cete.dynamicpdf.Page com.cete.dynamicpdf.merger.ImportedPage
public class ImportedPage
This class can be used to pull a single selected page from an existing PDF document.
Licensing:
This class is a DynamicPDF Merger Standard Edition feature.
One of the following licenses is required for non-evaluation usage:
Constructor Summary | |
---|---|
ImportedPage(PdfPage pdfPage)
Initializes a new instance of the ImportedPage class. |
|
ImportedPage(PdfPage pdfPage,
float margins)
Initializes a new instance of the ImportedPage class. |
|
ImportedPage(java.lang.String filePath,
int pageNumber)
Initializes a new instance of the ImportedPage class. |
|
ImportedPage(java.lang.String filePath,
int pageNumber,
float margins)
Initializes a new instance of the ImportedPage class. |
Method Summary | |
---|---|
protected void |
drawPrepend(PageWriter writer)
Draws the prepended output to the given com.cete.dynamicpdf.io.PageWriter object. |
Group |
getBackgroundElements()
Gets a collection of page elements to be drawn as a background on the page. |
boolean |
getImportAllOtherData()
Gets a value specifying whether or not to import all data except annotations and form fields. |
boolean |
getImportAnnotations()
Gets a value specifying whether or not to import the annotations. |
boolean |
getImportFormFields()
Gets a value specifying whether or not to import the form fields. |
boolean |
getLogicalStructure()
Gets a value specifying whether or not to import the logical structures. |
void |
setImportAllOtherData(boolean value)
Sets a value specifying whether or not to import all data except annotations and form fields. |
void |
setImportAnnotations(boolean value)
Sets a value specifying whether or not to import the annotations. |
void |
setImportFormFields(boolean value)
Sets a value specifying whether or not to import the form fields. |
void |
setLogicalStructure(boolean value)
Sets a value specifying whether or not to import the logical structures. |
Methods inherited from class com.cete.dynamicpdf.Page |
---|
addInvisibleSignature, getApplyDocumentTemplate, getApplySectionTemplate, getDimensions, getElements, getReaderEvents, getRotate, setApplyDocumentTemplate, setApplySectionTemplate, setDimensions, setRotate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImportedPage(java.lang.String filePath, int pageNumber)
ImportedPage
class.
filePath
- Physical file path of the PDF document to import.pageNumber
- Page number to import.public ImportedPage(java.lang.String filePath, int pageNumber, float margins)
ImportedPage
class.
filePath
- Physical file path of the PDF document to import.pageNumber
- Page number to import.margins
- Margins of the new page. Overrides the default margins.public ImportedPage(PdfPage pdfPage)
ImportedPage
class.
pdfPage
- PdfPage
object to import.PdfPage
public ImportedPage(PdfPage pdfPage, float margins)
ImportedPage
class.
pdfPage
- PdfPage
object to import.margins
- Margins of the new page. Overrides the default margins.PdfPage
Method Detail |
---|
protected void drawPrepend(PageWriter writer)
com.cete.dynamicpdf.io.PageWriter
object.
writer
- PageWriter
to receive the output.PageWriter
public boolean getImportAnnotations()
public void setImportAnnotations(boolean value)
value
- a value specifying whether or not to import the annotations.public boolean getImportFormFields()
public void setImportFormFields(boolean value)
value
- a value specifying whether or not to import the form fields.public boolean getImportAllOtherData()
public void setImportAllOtherData(boolean value)
value
- a value specifying whether or not to import all data except annotations and form fields.public Group getBackgroundElements()
Page.getElements()
method to
place page elements on top of the imported PDF data.
Group
public boolean getLogicalStructure()
public void setLogicalStructure(boolean value)
value
- a value specifying whether or not to import the logical structures.
|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |