public class StylableDocument extends ExtendedDocument implements IStylableContainer, IBoundsLimitContainer, IBreakHandlingContainer, IStylableFactory
originMarginBottom, originMarginLeft, originMarginRight, originMarginTop, writerchapternumber, close, compress, footer, header, htmlStyleClass, javaScript_onLoad, javaScript_onUnLoad, marginBottom, marginLeft, marginMirroring, marginMirroringTopBottom, marginRight, marginTop, open, pageN, pageSize, plainRandomAccess, wmfFontCorrection| Constructor and Description |
|---|
StylableDocument(java.io.OutputStream out,
IPdfWriterConfiguration configuration,
StyleEngineForIText styleEngine) |
add, addMasterPage, createExtendedHeaderFooter, getITextContainer, getOrientation, getOriginMarginBottom, getOriginMarginLeft, getOriginMarginRight, getOriginMarginTop, getPageNumber, setActiveMasterPage, setITextContainer, setOrientation, setOriginalMarginsaddAuthor, addCreationDate, addCreator, addDocListener, addHeader, addKeywords, addProducer, addSubject, addTitle, bottom, bottom, bottomMargin, getHtmlStyleClass, getJavaScript_onLoad, getJavaScript_onUnLoad, getPageSize, getProduct, getRelease, getVersion, isMarginMirroring, isOpen, left, left, leftMargin, open, removeDocListener, resetFooter, resetHeader, resetPageCount, right, right, rightMargin, setFooter, setHeader, setHtmlStyleClass, setJavaScript_onLoad, setJavaScript_onUnLoad, setMarginMirroring, setMarginMirroringTopBottom, setMargins, setPageCount, setPageSize, top, top, topMarginpublic StylableDocument(java.io.OutputStream out,
IPdfWriterConfiguration configuration,
StyleEngineForIText styleEngine)
throws com.lowagie.text.DocumentException
com.lowagie.text.DocumentExceptionpublic StylableAnchor createAnchor(IStylableContainer parent)
createAnchor in interface IStylableFactorypublic StylableChunk createChunk(IStylableContainer parent, java.lang.String textContent, FontGroup fontGroup)
createChunk in interface IStylableFactorypublic StylableDocumentSection createDocumentSection(IStylableContainer parent, boolean inHeaderFooter)
createDocumentSection in interface IStylableFactorypublic StylableHeaderFooter createHeaderFooter(boolean header)
createHeaderFooter in interface IStylableFactorypublic StylableHeading createHeading(IStylableContainer parent, java.util.List<java.lang.Integer> headingNumbering)
createHeading in interface IStylableFactorypublic StylableImage createImage(IStylableContainer parent, com.lowagie.text.Image image, java.lang.Float x, java.lang.Float y, java.lang.Float width, java.lang.Float height)
createImage in interface IStylableFactorypublic StylableList createList(IStylableContainer parent, int listLevel)
createList in interface IStylableFactorypublic StylableListItem createListItem(IStylableContainer parent)
createListItem in interface IStylableFactorypublic StylableParagraph createParagraph(IStylableContainer parent)
createParagraph in interface IStylableFactorypublic StylablePhrase createPhrase(IStylableContainer parent)
createPhrase in interface IStylableFactorypublic StylableTab createTab(IStylableContainer parent, boolean inTableOfContent)
createTab in interface IStylableFactorypublic StylableTable createTable(IStylableContainer parent, int numColumns)
createTable in interface IStylableFactorypublic StylableTableCell createTableCell(IStylableContainer parent)
createTableCell in interface IStylableFactorypublic void setActiveMasterPage(IMasterPage masterPage)
setActiveMasterPage in class ExtendedDocumentpublic StylableMasterPage getActiveMasterPage()
getActiveMasterPage in class ExtendedDocumentpublic Style getStyleMasterPage(StylableMasterPage masterPage)
public StylableMasterPage getMasterPage(java.lang.String masterPageName)
getMasterPage in class ExtendedDocumentpublic StylableMasterPage getDefaultMasterPage()
getDefaultMasterPage in class ExtendedDocumentpublic void applyStyles(Style style)
applyStyles in interface IStylableElementpublic Style getLastStyleApplied()
getLastStyleApplied in interface IStylableElementpublic IStylableContainer getParent()
getParent in interface IStylableElementpublic com.lowagie.text.Element getElement()
getElement in interface IStylableElementpublic void addElement(com.lowagie.text.Element element)
addElement in interface IStylableContaineraddElement in interface IITextContaineraddElement in class ExtendedDocumentpublic void columnBreak()
columnBreak in interface IBreakHandlingContainerpublic void pageBreak()
pageBreak in interface IBreakHandlingContainerpublic boolean newPage()
newPage in interface com.lowagie.text.DocListenernewPage in class com.lowagie.text.Documentpublic void close()
close in interface com.lowagie.text.DocListenerclose in class com.lowagie.text.Documentpublic float getWidthLimit()
IBoundsLimitContainergetWidthLimit in interface IBoundsLimitContainerpublic float getHeightLimit()
IBoundsLimitContainergetHeightLimit in interface IBoundsLimitContainerpublic float getPageWidth()
Copyright © 2022. All Rights Reserved.