org.apache.poi.xwpf.converter.pdf.internal.elements
Class StylableDocument

java.lang.Object
  extended by com.lowagie.text.Document
      extended by fr.opensagres.xdocreport.itext.extension.ExtendedDocument
          extended by org.apache.poi.xwpf.converter.pdf.internal.elements.StylableDocument
All Implemented Interfaces:
com.lowagie.text.DocListener, com.lowagie.text.ElementListener, IITextContainer, IITextElement, EventListener

public class StylableDocument
extends ExtendedDocument


Field Summary
 
Fields inherited from class fr.opensagres.xdocreport.itext.extension.ExtendedDocument
originMarginBottom, originMarginLeft, originMarginRight, originMarginTop, writer
 
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
 
Constructor Summary
StylableDocument(OutputStream out)
           
 
Method Summary
 void addElement(com.lowagie.text.Element element)
           
 void close()
           
 void columnBreak()
           
protected  ExtendedHeaderFooter createExtendedHeaderFooter()
           
 com.lowagie.text.Paragraph createParagraph()
           
 StylableParagraph createParagraph(IITextContainer parent)
           
 com.lowagie.text.Paragraph createParagraph(com.lowagie.text.Paragraph title)
           
 StylableTable createTable(IITextContainer parent, int numColumns)
           
 StylableTableCell createTableCell(IITextContainer parent)
           
 StylableTableCell createTableCell(IITextContainer parent, ExtendedPdfPTable table)
           
 float getHeightLimit()
           
 float getPageWidth()
           
 float getWidthLimit()
           
 boolean newPage()
           
protected  void onStartPage()
           
 void pageBreak()
           
 void setActiveMasterPage(IMasterPage m)
           
 void setMasterPageManager(MasterPageManager masterPageManager)
           
 
Methods inherited from class fr.opensagres.xdocreport.itext.extension.ExtendedDocument
add, addMasterPage, getActiveMasterPage, getDefaultMasterPage, getITextContainer, getMasterPage, getOrientation, getOriginMarginBottom, getOriginMarginLeft, getOriginMarginRight, getOriginMarginTop, getPageNumber, setActiveMasterPage, setITextContainer, setOrientation, setOriginalMargins
 
Methods inherited from class com.lowagie.text.Document
addAuthor, 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, topMargin
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StylableDocument

public StylableDocument(OutputStream out)
                 throws com.lowagie.text.DocumentException
Throws:
com.lowagie.text.DocumentException
Method Detail

addElement

public void addElement(com.lowagie.text.Element element)
Specified by:
addElement in interface IITextContainer
Overrides:
addElement in class ExtendedDocument

columnBreak

public void columnBreak()

pageBreak

public void pageBreak()

newPage

public boolean newPage()
Specified by:
newPage in interface com.lowagie.text.DocListener
Overrides:
newPage in class com.lowagie.text.Document

close

public void close()
Specified by:
close in interface com.lowagie.text.DocListener
Overrides:
close in class com.lowagie.text.Document

getWidthLimit

public float getWidthLimit()

getHeightLimit

public float getHeightLimit()

getPageWidth

public float getPageWidth()

createParagraph

public StylableParagraph createParagraph(IITextContainer parent)

createParagraph

public com.lowagie.text.Paragraph createParagraph()

createParagraph

public com.lowagie.text.Paragraph createParagraph(com.lowagie.text.Paragraph title)

createTable

public StylableTable createTable(IITextContainer parent,
                                 int numColumns)

createTableCell

public StylableTableCell createTableCell(IITextContainer parent)

createTableCell

public StylableTableCell createTableCell(IITextContainer parent,
                                         ExtendedPdfPTable table)

setActiveMasterPage

public void setActiveMasterPage(IMasterPage m)
Overrides:
setActiveMasterPage in class ExtendedDocument

createExtendedHeaderFooter

protected ExtendedHeaderFooter createExtendedHeaderFooter()
Overrides:
createExtendedHeaderFooter in class ExtendedDocument

onStartPage

protected void onStartPage()

setMasterPageManager

public void setMasterPageManager(MasterPageManager masterPageManager)


Copyright © 2013. All rights reserved.