public class ExtendedDocument extends com.lowagie.text.Document implements IITextContainer
| Modifier and Type | Field and Description |
|---|---|
protected float |
originMarginBottom |
protected float |
originMarginLeft |
protected float |
originMarginRight |
protected float |
originMarginTop |
protected com.lowagie.text.pdf.PdfWriter |
writer |
chapternumber, close, compress, footer, header, htmlStyleClass, javaScript_onLoad, javaScript_onUnLoad, marginBottom, marginLeft, marginMirroring, marginMirroringTopBottom, marginRight, marginTop, open, pageN, pageSize, plainRandomAccess, wmfFontCorrection| Constructor and Description |
|---|
ExtendedDocument(OutputStream out,
IPdfWriterConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(com.lowagie.text.Element element) |
void |
addElement(com.lowagie.text.Element element) |
void |
addMasterPage(IMasterPage currentMasterPage) |
protected ExtendedHeaderFooter |
createExtendedHeaderFooter() |
IMasterPage |
getActiveMasterPage() |
IMasterPage |
getDefaultMasterPage() |
IITextContainer |
getITextContainer() |
IMasterPage |
getMasterPage(String masterPageName) |
PageOrientation |
getOrientation() |
float |
getOriginMarginBottom() |
float |
getOriginMarginLeft() |
float |
getOriginMarginRight() |
float |
getOriginMarginTop() |
int |
getPageNumber() |
void |
setActiveMasterPage(IMasterPage masterPage) |
void |
setActiveMasterPage(String masterPageName) |
void |
setITextContainer(IITextContainer container) |
void |
setOrientation(PageOrientation orientation) |
boolean |
setOriginalMargins(float marginLeft,
float marginRight,
float marginTop,
float marginBottom) |
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, topMarginprotected final com.lowagie.text.pdf.PdfWriter writer
protected float originMarginTop
protected float originMarginBottom
protected float originMarginRight
protected float originMarginLeft
public ExtendedDocument(OutputStream out, IPdfWriterConfiguration configuration) throws com.lowagie.text.DocumentException
com.lowagie.text.DocumentExceptionprotected ExtendedHeaderFooter createExtendedHeaderFooter()
public int getPageNumber()
getPageNumber in class com.lowagie.text.Documentpublic boolean setOriginalMargins(float marginLeft,
float marginRight,
float marginTop,
float marginBottom)
public void addElement(com.lowagie.text.Element element)
addElement in interface IITextContainerpublic boolean add(com.lowagie.text.Element element)
throws com.lowagie.text.DocumentException
add in interface com.lowagie.text.ElementListeneradd in class com.lowagie.text.Documentcom.lowagie.text.DocumentExceptionpublic IMasterPage getDefaultMasterPage()
public float getOriginMarginBottom()
public float getOriginMarginLeft()
public float getOriginMarginRight()
public float getOriginMarginTop()
public void setActiveMasterPage(IMasterPage masterPage)
public IMasterPage getActiveMasterPage()
public void addMasterPage(IMasterPage currentMasterPage)
public void setActiveMasterPage(String masterPageName)
public IMasterPage getMasterPage(String masterPageName)
public IITextContainer getITextContainer()
getITextContainer in interface IITextElementpublic void setITextContainer(IITextContainer container)
setITextContainer in interface IITextElementpublic PageOrientation getOrientation()
public void setOrientation(PageOrientation orientation)
Copyright © 2017. All Rights Reserved.