Class StylableDocumentSection
java.lang.Object
fr.opensagres.odfdom.converter.pdf.internal.stylable.StylableDocumentSection
- All Implemented Interfaces:
IBreakHandlingContainer,IStylableContainer,IStylableElement
public class StylableDocumentSection
extends Object
implements IStylableContainer, IBreakHandlingContainer
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Constructor Summary
ConstructorsConstructorDescriptionStylableDocumentSection(StylableDocument ownerDocument, IStylableContainer parent, boolean inHeaderFooter) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddElement(com.lowagie.text.Element element) voidapplyStyles(Style style) static voidclearTable(com.lowagie.text.pdf.PdfPTable table, boolean resetFixedHeight) cloneAndClearTable(com.lowagie.text.pdf.PdfPTable table, boolean resetFixedHeight) voidstatic com.lowagie.text.pdf.ColumnTextcreateLayoutTable(float width, float height, Style style) createLayoutTable(float width, float height, List<StyleColumnProperties> columnPropertiesList) static com.lowagie.text.pdf.PdfPCellgetCell(com.lowagie.text.pdf.PdfPTable table, int idx) com.lowagie.text.Elementstatic IBreakHandlingContainervoidstatic voidreplaceTableCells(com.lowagie.text.pdf.PdfPTable table)
-
Constructor Details
-
StylableDocumentSection
public StylableDocumentSection(StylableDocument ownerDocument, IStylableContainer parent, boolean inHeaderFooter)
-
-
Method Details
-
applyStyles
- Specified by:
applyStylesin interfaceIStylableElement
-
getLastStyleApplied
- Specified by:
getLastStyleAppliedin interfaceIStylableElement
-
getParent
- Specified by:
getParentin interfaceIStylableElement
-
getElement
public com.lowagie.text.Element getElement()- Specified by:
getElementin interfaceIStylableElement
-
addElement
public void addElement(com.lowagie.text.Element element) - Specified by:
addElementin interfaceIStylableContainer
-
columnBreak
public void columnBreak()- Specified by:
columnBreakin interfaceIBreakHandlingContainer
-
pageBreak
public void pageBreak()- Specified by:
pageBreakin interfaceIBreakHandlingContainer
-
getIBreakHandlingContainer
-
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)
-