|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |
java.lang.objectcom.spire.pdf.pdfdocumentbase
public abstract class pdfdocumentbase
represent common pdfdocumentbase classes.
constructor summary | |
---|---|
pdfdocumentbase()
|
method summary | |
---|---|
abstract pdfform |
_getform()
gets the proper pdfform instance. |
void |
close()
closes the document. |
void |
dispose()
dispose all pending objects. |
abstract pdfattachmentcollection |
getattachments()
get the attachments |
abstract pdfbookmarkcollection |
getbookmarks()
gets the bookmarks. |
abstract |
getcolorspace()
get the color space |
pdfcompressionlevel |
getcompressionlevel()
gets the desired level of stream compression. |
abstract pdfconformancelevel |
getconformance()
gets the pdf document's conformance-level |
pdfdocumentinformation |
getdocumentinformation()
gets document's information and properties. |
pdffileinfo |
getfilestructure()
gets the internal structure of the pdf file. |
|
getjavascripts()
gets the additional document's actions. |
abstract pdfpagenumber |
getpagelabel()
gets page labels of one of the sections. |
pdfpagecollection |
getpages()
gets the pages. |
pdfpagesettings |
getpagesettings()
gets the setting of page. |
pdfsecurity |
getsecurity()
gets the security parameters of the document. |
pdfdocumenttemplate |
gettemplate()
gets a template that is applied to all pages in the document. |
pdfusedfont[] |
getusedfonts()
gets the m_fonts which are available in the pdf document. |
pdfviewerpreferences |
getviewerpreferences()
gets a viewer preferences object controlling the way the document is to be presented on the screen or in print. |
pdfpagebase |
importpage(pdfdocumentbase lddoc,
int pageindex)
imports a page. |
pdfpagebase |
importpage(pdfdocumentbase lddoc,
pdfpagebase page)
imports a page. |
pdfpagebase |
importpagerange(pdfdocumentbase lddoc,
int startindex,
int endindex)
imports a page range from a loaded document. |
static pdfdocumentbase |
merge(pdfdocumentbase dest,
java.lang.object... sourcedocuments)
merges the specified source documents and return destination document. |
void |
save(java.lang.string filename)
saves the document to the specified filename. |
void |
save(java.lang.string filename,
fileformat fileformat)
|
void |
savetoxps(java.lang.string savefilename)
|
abstract void |
setcolorspace( value)
|
void |
setcompressionlevel(pdfcompressionlevel value)
desired level of the new stream compression |
abstract void |
setconformance(pdfconformancelevel value)
set the pdf document's conformance-level |
void |
setfilestructure(pdffileinfo value)
sets the internal structure of the pdf file. |
abstract void |
setpagelabel(pdfpagenumber value)
sets page labels of one of the sections. |
void |
setpagesettings(pdfpagesettings value)
sets the setting of page. |
void |
settemplate(pdfdocumenttemplate value)
sets a template that is applied to all pages in the document. |
void |
setviewerpreferences(pdfviewerpreferences value)
sets a viewer preferences object controlling the way the document is to be presented on the screen or in print. |
void |
split(java.lang.string destfilepattern)
splits a pdf file to many pdf files, each of them consists of one page from the source file. |
void |
split(java.lang.string destfilepattern,
int startnumber)
splits a pdf file to many pdf files, each of them consists of one page from the source file. |
constructor detail |
---|
public pdfdocumentbase()
method detail |
---|
public abstract pdfconformancelevel getconformance()
public abstract void setconformance(pdfconformancelevel value)
public abstract pdfattachmentcollection getattachments()
public abstract getcolorspace()
public abstract void setcolorspace( value)
public abstract pdfform _getform()
public abstract pdfpagenumber getpagelabel()
public abstract void setpagelabel(pdfpagenumber value)
public pdfusedfont[] getusedfonts()
public pdfpagesettings getpagesettings()
public void setpagesettings(pdfpagesettings value)
public pdfdocumenttemplate gettemplate()
public void settemplate(pdfdocumenttemplate value)
public pdfpagecollection getpages()
public pdfsecurity getsecurity()
public pdfdocumentinformation getdocumentinformation()
public pdfviewerpreferences getviewerpreferences()
public void setviewerpreferences(pdfviewerpreferences value)
public pdfcompressionlevel getcompressionlevel()
all new objects should be compressed with this level of the compression.
public void setcompressionlevel(pdfcompressionlevel value)
value
- public pdffileinfo getfilestructure()
public void setfilestructure(pdffileinfo value)
public getjavascripts()
public abstract pdfbookmarkcollection getbookmarks()
public void split(java.lang.string destfilepattern)
destfilepattern
- template for destination file names.
public void split(java.lang.string destfilepattern, int startnumber)
public static pdfdocumentbase merge(pdfdocumentbase dest, java.lang.object... sourcedocuments)
sourcedocuments
- the source documents.
public void save(java.lang.string filename, fileformat fileformat)
public void savetoxps(java.lang.string savefilename)
public void save(java.lang.string filename)
filename
- the filename.public void close()
public pdfpagebase importpage(pdfdocumentbase lddoc, pdfpagebase page)
lddoc
- the loaded document.page
- the page.
public pdfpagebase importpage(pdfdocumentbase lddoc, int pageindex)
lddoc
- the loaded document.pageindex
- index of the page.
public pdfpagebase importpagerange(pdfdocumentbase lddoc, int startindex, int endindex)
lddoc
- the loaded document.startindex
- the start page index.endindex
- the end page index.
public void dispose()
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |