Class StylableHeaderFooter

java.lang.Object
com.lowagie.text.pdf.PdfPTable
fr.opensagres.xdocreport.itext.extension.ExtendedPdfPTable
fr.opensagres.odfdom.converter.pdf.internal.stylable.StylableTable
fr.opensagres.odfdom.converter.pdf.internal.stylable.StylableHeaderFooter
All Implemented Interfaces:
com.lowagie.text.Element, com.lowagie.text.LargeElement, IStylableContainer, IStylableElement, fr.opensagres.xdocreport.itext.extension.IITextContainer, fr.opensagres.xdocreport.itext.extension.IITextElement, fr.opensagres.xdocreport.itext.extension.IMasterPageHeaderFooter

public class StylableHeaderFooter extends StylableTable implements fr.opensagres.xdocreport.itext.extension.IMasterPageHeaderFooter
fixes for pdf conversion by Leszek Piotrowicz <leszekp@safe-mail.net>
  • Field Summary

    Fields inherited from class com.lowagie.text.pdf.PdfPTable

    absoluteWidths, BACKGROUNDCANVAS, BASECANVAS, complete, currentRow, currentRowIdx, defaultCell, headerRows, isColspan, LINECANVAS, relativeWidths, rowCompleted, rows, runDirection, spacingAfter, spacingBefore, tableEvent, TEXTCANVAS, totalHeight, totalWidth, widthPercentage

    Fields inherited from interface com.lowagie.text.Element

    ALIGN_BASELINE, ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_JUSTIFIED, ALIGN_JUSTIFIED_ALL, ALIGN_LEFT, ALIGN_MIDDLE, ALIGN_RIGHT, ALIGN_TOP, ALIGN_UNDEFINED, ANCHOR, ANNOTATION, AUTHOR, CCITT_BLACKIS1, CCITT_ENCODEDBYTEALIGN, CCITT_ENDOFBLOCK, CCITT_ENDOFLINE, CCITTG3_1D, CCITTG3_2D, CCITTG4, CELL, CHAPTER, CHUNK, CREATIONDATE, CREATOR, HEADER, IMGRAW, IMGTEMPLATE, JBIG2, JPEG, JPEG2000, KEYWORDS, LIST, LISTITEM, MARKED, MULTI_COLUMN_TEXT, PARAGRAPH, PHRASE, PRODUCER, PTABLE, RECTANGLE, ROW, SECTION, SUBJECT, TABLE, TITLE, YMARK
  • Constructor Summary

    Constructors
    Constructor
    Description
    StylableHeaderFooter(StylableDocument ownerDocument, boolean header)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
     
     
    float
     
    float
    writeSelectedRows(int rowStart, int rowEnd, float xPos, float yPos, com.lowagie.text.pdf.PdfContentByte canvas)
     

    Methods inherited from class fr.opensagres.xdocreport.itext.extension.ExtendedPdfPTable

    addCell, addCell, addCell, addCell, addCell, finishRow, getElement, getITextContainer, getRowHeight, getRowHeight, isEmpty, setITextContainer, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop

    Methods inherited from class com.lowagie.text.pdf.PdfPTable

    adjustCellsInRow, beginWritingRows, calculateHeights, calculateHeightsFast, calculateWidths, completeRow, copyFormat, deleteBodyRows, deleteLastRow, deleteRow, endWritingRows, flushContent, getAbsoluteWidths, getChunks, getDefaultCell, getFooterHeight, getFooterRows, getHeaderHeight, getHeaderRows, getHorizontalAlignment, getKeepTogether, getNumberOfColumns, getRow, getRows, getRows, getRowspanHeight, getRunDirection, getTableEvent, getTotalWidth, getWidthPercentage, isComplete, isContent, isExtendLastRow, isHeadersInEvent, isLockedWidth, isNestable, isSkipFirstHeader, isSkipLastFooter, isSplitLate, isSplitRows, process, setComplete, setExtendLastRow, setFooterRows, setHeaderRows, setHeadersInEvent, setHorizontalAlignment, setKeepTogether, setLockedWidth, setRunDirection, setSkipFirstHeader, setSkipLastFooter, setSpacingAfter, setSpacingBefore, setSplitLate, setSplitRows, setTableEvent, setTotalWidth, setTotalWidth, setWidthPercentage, setWidthPercentage, setWidths, setWidths, shallowCopy, size, spacingAfter, spacingBefore, type, writeSelectedRows, writeSelectedRows, writeSelectedRows

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.lowagie.text.Element

    toString

    Methods inherited from interface fr.opensagres.xdocreport.itext.extension.IMasterPageHeaderFooter

    isEmpty

    Methods inherited from interface fr.opensagres.odfdom.converter.pdf.internal.stylable.IStylableElement

    getElement
  • Constructor Details

    • StylableHeaderFooter

      public StylableHeaderFooter(StylableDocument ownerDocument, boolean header)
  • Method Details

    • getTableCell

      public StylableTableCell getTableCell()
      Specified by:
      getTableCell in interface fr.opensagres.xdocreport.itext.extension.IMasterPageHeaderFooter
    • applyStyles

      public void applyStyles(Style style)
      Specified by:
      applyStyles in interface IStylableElement
      Overrides:
      applyStyles in class StylableTable
    • getTotalHeight

      public float getTotalHeight()
      Specified by:
      getTotalHeight in interface fr.opensagres.xdocreport.itext.extension.IMasterPageHeaderFooter
      Overrides:
      getTotalHeight in class com.lowagie.text.pdf.PdfPTable
    • flush

      public void flush()
      Specified by:
      flush in interface fr.opensagres.xdocreport.itext.extension.IMasterPageHeaderFooter
    • writeSelectedRows

      public float writeSelectedRows(int rowStart, int rowEnd, float xPos, float yPos, com.lowagie.text.pdf.PdfContentByte canvas)
      Specified by:
      writeSelectedRows in interface fr.opensagres.xdocreport.itext.extension.IMasterPageHeaderFooter
      Overrides:
      writeSelectedRows in class com.lowagie.text.pdf.PdfPTable