fr.opensagres.xdocreport.itext.extension
Class ExtendedDocument
java.lang.Object
com.lowagie.text.Document
fr.opensagres.xdocreport.itext.extension.ExtendedDocument
- All Implemented Interfaces:
- com.lowagie.text.DocListener, com.lowagie.text.ElementListener, IITextContainer, IITextElement, EventListener
- Direct Known Subclasses:
- StylableDocument, StylableDocument
public class ExtendedDocument
- extends com.lowagie.text.Document
- implements IITextContainer
Fields inherited from class com.lowagie.text.Document |
chapternumber, close, compress, footer, header, htmlStyleClass, javaScript_onLoad, javaScript_onUnLoad, marginBottom, marginLeft, marginMirroring, marginMirroringTopBottom, marginRight, marginTop, open, pageN, pageSize, plainRandomAccess, wmfFontCorrection |
Methods inherited from class com.lowagie.text.Document |
addAuthor, addCreationDate, addCreator, addDocListener, addHeader, addKeywords, addProducer, addSubject, addTitle, bottom, bottom, bottomMargin, close, getHtmlStyleClass, getJavaScript_onLoad, getJavaScript_onUnLoad, getPageSize, getProduct, getRelease, getVersion, isMarginMirroring, isOpen, left, left, leftMargin, newPage, open, removeDocListener, resetFooter, resetHeader, resetPageCount, right, right, rightMargin, setFooter, setHeader, setHtmlStyleClass, setJavaScript_onLoad, setJavaScript_onUnLoad, setMarginMirroring, setMarginMirroringTopBottom, setMargins, setPageCount, setPageSize, top, top, topMargin |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
writer
protected final com.lowagie.text.pdf.PdfWriter writer
originMarginTop
protected float originMarginTop
originMarginBottom
protected float originMarginBottom
originMarginRight
protected float originMarginRight
originMarginLeft
protected float originMarginLeft
ExtendedDocument
public ExtendedDocument(OutputStream out,
com.lowagie.text.Rectangle rectangle)
throws com.lowagie.text.DocumentException
- Throws:
com.lowagie.text.DocumentException
ExtendedDocument
public ExtendedDocument(OutputStream out,
com.lowagie.text.Rectangle rectangle,
float marginLeft,
float marginRight,
float marginTop,
float marginBottom)
throws com.lowagie.text.DocumentException
- Throws:
com.lowagie.text.DocumentException
ExtendedDocument
public ExtendedDocument(OutputStream out)
throws com.lowagie.text.DocumentException
- Throws:
com.lowagie.text.DocumentException
createExtendedHeaderFooter
protected ExtendedHeaderFooter createExtendedHeaderFooter()
getPageNumber
public int getPageNumber()
- Overrides:
getPageNumber
in class com.lowagie.text.Document
setOriginalMargins
public boolean setOriginalMargins(float marginLeft,
float marginRight,
float marginTop,
float marginBottom)
addElement
public void addElement(com.lowagie.text.Element element)
- Specified by:
addElement
in interface IITextContainer
add
public boolean add(com.lowagie.text.Element element)
throws com.lowagie.text.DocumentException
- Specified by:
add
in interface com.lowagie.text.ElementListener
- Overrides:
add
in class com.lowagie.text.Document
- Throws:
com.lowagie.text.DocumentException
getDefaultMasterPage
public IMasterPage getDefaultMasterPage()
getOriginMarginBottom
public float getOriginMarginBottom()
getOriginMarginLeft
public float getOriginMarginLeft()
getOriginMarginRight
public float getOriginMarginRight()
getOriginMarginTop
public float getOriginMarginTop()
setActiveMasterPage
public void setActiveMasterPage(IMasterPage masterPage)
getActiveMasterPage
public IMasterPage getActiveMasterPage()
addMasterPage
public void addMasterPage(IMasterPage currentMasterPage)
setActiveMasterPage
public void setActiveMasterPage(String masterPageName)
getMasterPage
public IMasterPage getMasterPage(String masterPageName)
getITextContainer
public IITextContainer getITextContainer()
- Specified by:
getITextContainer
in interface IITextElement
setITextContainer
public void setITextContainer(IITextContainer container)
- Specified by:
setITextContainer
in interface IITextElement
getOrientation
public PageOrientation getOrientation()
setOrientation
public void setOrientation(PageOrientation orientation)
Copyright © 2013. All rights reserved.