org.odftoolkit.odfdom.converter.pdf.internal.stylable
Class StylableDocumentSection

java.lang.Object
  extended by org.odftoolkit.odfdom.converter.pdf.internal.stylable.StylableDocumentSection
All Implemented Interfaces:
IBreakHandlingContainer, IStylableContainer, IStylableElement

public class StylableDocumentSection
extends Object
implements IStylableContainer, IBreakHandlingContainer


Nested Class Summary
static class StylableDocumentSection.FixedHeightPdfPCell
           
static class StylableDocumentSection.SectionPdfPTable
           
 
Constructor Summary
StylableDocumentSection(StylableDocument ownerDocument, IStylableContainer parent, boolean inHeaderFooter)
           
 
Method Summary
 void addElement(com.lowagie.text.Element element)
           
 void applyStyles(Style style)
           
static void clearTable(com.lowagie.text.pdf.PdfPTable table, boolean resetFixedHeight)
           
static StylableDocumentSection.SectionPdfPTable cloneAndClearTable(com.lowagie.text.pdf.PdfPTable table, boolean resetFixedHeight)
           
 void columnBreak()
           
static com.lowagie.text.pdf.ColumnText createColumnText()
           
static StylableDocumentSection.SectionPdfPTable createLayoutTable(float width, float height, List<StyleColumnProperties> columnPropertiesList)
           
static StylableDocumentSection.SectionPdfPTable createLayoutTable(float width, float height, Style style)
           
static com.lowagie.text.pdf.PdfPCell getCell(com.lowagie.text.pdf.PdfPTable table, int idx)
           
 com.lowagie.text.Element getElement()
           
static IBreakHandlingContainer getIBreakHandlingContainer(IStylableContainer c)
           
 Style getLastStyleApplied()
           
 IStylableContainer getParent()
           
 void pageBreak()
           
static void replaceTableCells(com.lowagie.text.pdf.PdfPTable table)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StylableDocumentSection

public StylableDocumentSection(StylableDocument ownerDocument,
                               IStylableContainer parent,
                               boolean inHeaderFooter)
Method Detail

applyStyles

public void applyStyles(Style style)
Specified by:
applyStyles in interface IStylableElement

getLastStyleApplied

public Style getLastStyleApplied()
Specified by:
getLastStyleApplied in interface IStylableElement

getParent

public IStylableContainer getParent()
Specified by:
getParent in interface IStylableElement

getElement

public com.lowagie.text.Element getElement()
Specified by:
getElement in interface IStylableElement

addElement

public void addElement(com.lowagie.text.Element element)
Specified by:
addElement in interface IStylableContainer

columnBreak

public void columnBreak()
Specified by:
columnBreak in interface IBreakHandlingContainer

pageBreak

public void pageBreak()
Specified by:
pageBreak in interface IBreakHandlingContainer

getIBreakHandlingContainer

public static IBreakHandlingContainer getIBreakHandlingContainer(IStylableContainer c)

createLayoutTable

public static StylableDocumentSection.SectionPdfPTable createLayoutTable(float width,
                                                                         float height,
                                                                         Style style)

createLayoutTable

public static StylableDocumentSection.SectionPdfPTable createLayoutTable(float width,
                                                                         float height,
                                                                         List<StyleColumnProperties> columnPropertiesList)

createColumnText

public static com.lowagie.text.pdf.ColumnText createColumnText()

replaceTableCells

public static void replaceTableCells(com.lowagie.text.pdf.PdfPTable table)

getCell

public static com.lowagie.text.pdf.PdfPCell getCell(com.lowagie.text.pdf.PdfPTable table,
                                                    int idx)

cloneAndClearTable

public static StylableDocumentSection.SectionPdfPTable cloneAndClearTable(com.lowagie.text.pdf.PdfPTable table,
                                                                          boolean resetFixedHeight)

clearTable

public static void clearTable(com.lowagie.text.pdf.PdfPTable table,
                              boolean resetFixedHeight)


Copyright © 2013. All rights reserved.