public final class Document extends BodyTagImpl
Constructor and Description |
---|
Document() |
Modifier and Type | Method and Description |
---|---|
void |
_doEndTag() |
void |
addPDFDocument(PDFDocument document) |
int |
doAfterBody() |
int |
doEndTag() |
void |
doInitBody() |
int |
doStartTag() |
void |
hasBody(boolean hasBody)
sets if has body or not
|
void |
release() |
void |
setAuthpassword(String authPassword) |
void |
setAuthuser(String authUser) |
void |
setBackgroundvisible(boolean backgroundvisible) |
void |
setBookmark(boolean bookmark) |
void |
setEncryption(String strEncryption) |
void |
setFilename(String filename) |
void |
setFontembed(String fontembed) |
void |
setFooter(PDFPageMark footer) |
void |
setFormat(String format) |
void |
setHeader(PDFPageMark header) |
void |
setHtmlbookmark(boolean bookmark) |
void |
setLocalurl(boolean localUrl) |
void |
setMarginbottom(double marginbottom) |
void |
setMarginleft(double marginleft) |
void |
setMarginright(double marginright) |
void |
setMargintop(double margintop) |
void |
setMimetype(String strMimetype) |
void |
setName(String name) |
void |
setOrientation(String strOrientation) |
void |
setOverwrite(boolean overwrite) |
void |
setOwnerpassword(String ownerpassword) |
void |
setPageheight(double pageheight) |
void |
setPagetype(String strPagetype) |
void |
setPagewidth(double pagewidth) |
void |
setPermissions(String strPermissions) |
void |
setProxyhost(String proxyserver) |
void |
setProxypassword(String proxypassword)
set the value password
When required by a proxy server, a valid password.
|
void |
setProxyport(double proxyport)
set the value proxyport
The port number on the proxy server from which the object is requested.
|
void |
setProxyserver(String proxyserver)
set the value proxyserver
Host name or IP address of a proxy server.
|
void |
setProxyuser(String proxyuser)
set the value username
When required by a proxy server, a valid username.
|
void |
setSaveasname(String saveAsName) |
void |
setScale(double scale) |
void |
setSrc(String src) |
void |
setSrcfile(String strSrcfile) |
void |
setUnit(String strUnit) |
void |
setUseragent(String userAgent) |
void |
setUserpassword(String userpassword) |
setBodyContent
getParent, required, required, required, required, setPageContext, setPageContext, setParent
public Document()
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class BodyTagImpl
public void setProxyserver(String proxyserver)
proxyserver
- value to setpublic void setProxyhost(String proxyserver)
public void setProxyport(double proxyport)
proxyport
- value to setpublic void setProxyuser(String proxyuser)
proxyuser
- value to setpublic void setProxypassword(String proxypassword)
proxypassword
- value to setpublic void setSaveasname(String saveAsName)
public void setAuthuser(String authUser)
authUser
- the authUser to setpublic void setAuthpassword(String authPassword)
authPassword
- the authPassword to setpublic void setUseragent(String userAgent)
userAgent
- the userAgent to setpublic void setFormat(String format) throws ApplicationException
format
- the format to setApplicationException
public void setFilename(String filename) throws PageException
filename
- the filename to setPageException
public void setOverwrite(boolean overwrite)
overwrite
- the overwrite to setpublic void setPagetype(String strPagetype) throws ApplicationException
pagetype
- the pagetype to setApplicationException
public void setPageheight(double pageheight) throws ApplicationException
pageheight
- the pageheight to setApplicationException
public void setPagewidth(double pagewidth) throws ApplicationException
pagewidth
- the pagewidth to setApplicationException
public void setOrientation(String strOrientation) throws ApplicationException
orientation
- the orientation to setApplicationException
public void setMarginbottom(double marginbottom)
marginbottom
- the marginbottom to setpublic void setMarginleft(double marginleft)
marginleft
- the marginleft to setpublic void setMarginright(double marginright)
marginright
- the marginright to setpublic void setMargintop(double margintop)
margintop
- the margintop to setpublic void setBookmark(boolean bookmark)
bookmark
- the bookmark to setpublic void setHtmlbookmark(boolean bookmark)
public void setLocalurl(boolean localUrl)
localUrl
- the localUrl to setpublic void setUnit(String strUnit) throws ApplicationException
unitFactor
- the unit to setApplicationException
public void setEncryption(String strEncryption) throws ApplicationException
encryption
- the encryption to setApplicationException
public void setOwnerpassword(String ownerpassword)
ownerpassword
- the ownerpassword to setApplicationException
public void setUserpassword(String userpassword)
userpassword
- the userpassword to setpublic void setPermissions(String strPermissions) throws PageException
permissions
- the permissions to setPageException
public void setScale(double scale) throws ApplicationException
scale
- the scale to setApplicationException
public void setSrc(String src) throws ApplicationException
src
- the src to setApplicationException
public void setSrcfile(String strSrcfile) throws PageException
srcfile
- the srcfile to setPageException
public void setMimetype(String strMimetype)
mimetype
- the mimetype to setpublic void setHeader(PDFPageMark header)
public void setFooter(PDFPageMark footer)
public void setBackgroundvisible(boolean backgroundvisible)
public void setFontembed(String fontembed) throws PDFException
PDFException
public void addPDFDocument(PDFDocument document)
public int doStartTag() throws PageException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class TagImpl
PageException
public void doInitBody()
doInitBody
in interface javax.servlet.jsp.tagext.BodyTag
doInitBody
in class BodyTagImpl
public int doAfterBody()
doAfterBody
in interface javax.servlet.jsp.tagext.IterationTag
doAfterBody
in class BodyTagImpl
public int doEndTag() throws PageException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class TagImpl
PageException
public void _doEndTag() throws javax.servlet.jsp.JspException, IOException, com.lowagie.text.DocumentException
javax.servlet.jsp.JspException
IOException
com.lowagie.text.DocumentException
public void hasBody(boolean hasBody)
hasBody
- Copyright © 2015 Lucee