railo.runtime.tag
Class Document

java.lang.Object
  extended by railo.runtime.ext.tag.TagImpl
      extended by railo.runtime.ext.tag.BodyTagImpl
          extended by railo.runtime.tag.Document
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag

public final class Document
extends BodyTagImpl


Field Summary
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
Document()
           
 
Method Summary
 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)
           
 
Methods inherited from class railo.runtime.ext.tag.BodyTagImpl
setBodyContent
 
Methods inherited from class railo.runtime.ext.tag.TagImpl
getParent, required, required, required, required, setPageContext, setPageContext, setParent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Constructor Detail

Document

public Document()
Method Detail

release

public void release()
Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class BodyTagImpl
See Also:
BodyTagImpl.release()

setProxyserver

public void setProxyserver(String proxyserver)
set the value proxyserver Host name or IP address of a proxy server.

Parameters:
proxyserver - value to set

setProxyhost

public void setProxyhost(String proxyserver)

setProxyport

public void setProxyport(double proxyport)
set the value proxyport The port number on the proxy server from which the object is requested. Default is 80. When used with resolveURL, the URLs of retrieved documents that specify a port number are automatically resolved to preserve links in the retrieved document.

Parameters:
proxyport - value to set

setProxyuser

public void setProxyuser(String proxyuser)
set the value username When required by a proxy server, a valid username.

Parameters:
proxyuser - value to set

setProxypassword

public void setProxypassword(String proxypassword)
set the value password When required by a proxy server, a valid password.

Parameters:
proxypassword - value to set

setSaveasname

public void setSaveasname(String saveAsName)

setAuthuser

public void setAuthuser(String authUser)
Parameters:
authUser - the authUser to set

setAuthpassword

public void setAuthpassword(String authPassword)
Parameters:
authPassword - the authPassword to set

setUseragent

public void setUseragent(String userAgent)
Parameters:
userAgent - the userAgent to set

setFormat

public void setFormat(String format)
               throws ApplicationException
Parameters:
format - the format to set
Throws:
ApplicationException

setFilename

public void setFilename(String filename)
                 throws PageException
Parameters:
filename - the filename to set
Throws:
PageException

setOverwrite

public void setOverwrite(boolean overwrite)
Parameters:
overwrite - the overwrite to set

setName

public void setName(String name)
Parameters:
name - the name to set

setPagetype

public void setPagetype(String strPagetype)
                 throws ApplicationException
Parameters:
pagetype - the pagetype to set
Throws:
ApplicationException

setPageheight

public void setPageheight(double pageheight)
                   throws ApplicationException
Parameters:
pageheight - the pageheight to set
Throws:
ApplicationException

setPagewidth

public void setPagewidth(double pagewidth)
                  throws ApplicationException
Parameters:
pagewidth - the pagewidth to set
Throws:
ApplicationException

setOrientation

public void setOrientation(String strOrientation)
                    throws ApplicationException
Parameters:
orientation - the orientation to set
Throws:
ApplicationException

setMarginbottom

public void setMarginbottom(double marginbottom)
Parameters:
marginbottom - the marginbottom to set

setMarginleft

public void setMarginleft(double marginleft)
Parameters:
marginleft - the marginleft to set

setMarginright

public void setMarginright(double marginright)
Parameters:
marginright - the marginright to set

setMargintop

public void setMargintop(double margintop)
Parameters:
margintop - the margintop to set

setBookmark

public void setBookmark(boolean bookmark)
Parameters:
bookmark - the bookmark to set

setHtmlbookmark

public void setHtmlbookmark(boolean bookmark)

setLocalurl

public void setLocalurl(boolean localUrl)
Parameters:
localUrl - the localUrl to set

setUnit

public void setUnit(String strUnit)
             throws ApplicationException
Parameters:
unitFactor - the unit to set
Throws:
ApplicationException

setEncryption

public void setEncryption(String strEncryption)
                   throws ApplicationException
Parameters:
encryption - the encryption to set
Throws:
ApplicationException

setOwnerpassword

public void setOwnerpassword(String ownerpassword)
Parameters:
ownerpassword - the ownerpassword to set
Throws:
ApplicationException

setUserpassword

public void setUserpassword(String userpassword)
Parameters:
userpassword - the userpassword to set

setPermissions

public void setPermissions(String strPermissions)
                    throws PageException
Parameters:
permissions - the permissions to set
Throws:
PageException

setScale

public void setScale(double scale)
              throws ApplicationException
Parameters:
scale - the scale to set
Throws:
ApplicationException

setSrc

public void setSrc(String src)
            throws ApplicationException
Parameters:
src - the src to set
Throws:
ApplicationException

setSrcfile

public void setSrcfile(String strSrcfile)
                throws PageException
Parameters:
srcfile - the srcfile to set
Throws:
PageException

setMimetype

public void setMimetype(String strMimetype)
Parameters:
mimetype - the mimetype to set

setHeader

public void setHeader(PDFPageMark header)

setFooter

public void setFooter(PDFPageMark footer)

setBackgroundvisible

public void setBackgroundvisible(boolean backgroundvisible)

setFontembed

public void setFontembed(String fontembed)
                  throws PDFException
Throws:
PDFException

addPDFDocument

public void addPDFDocument(PDFDocument document)

doStartTag

public int doStartTag()
               throws PageException
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class TagImpl
Throws:
PageException
See Also:
Tag.doStartTag()

doInitBody

public void doInitBody()
Specified by:
doInitBody in interface javax.servlet.jsp.tagext.BodyTag
Overrides:
doInitBody in class BodyTagImpl
See Also:
BodyTag.doInitBody()

doAfterBody

public int doAfterBody()
Specified by:
doAfterBody in interface javax.servlet.jsp.tagext.IterationTag
Overrides:
doAfterBody in class BodyTagImpl
See Also:
IterationTag.doAfterBody()

doEndTag

public int doEndTag()
             throws PageException
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class TagImpl
Throws:
IOException
InvalidParameterException
PageException
See Also:
TagImpl.doEndTag()

_doEndTag

public void _doEndTag()
               throws javax.servlet.jsp.JspException,
                      IOException,
                      com.lowagie.text.DocumentException
Throws:
javax.servlet.jsp.JspException
IOException
com.lowagie.text.DocumentException

hasBody

public void hasBody(boolean hasBody)
sets if has body or not

Parameters:
hasBody -


Copyright © 2012 Railo