Class TableBuilder

java.lang.Object
net.sf.jasperreports.engine.export.oasis.TableBuilder
Direct Known Subclasses:
JROdsExporter.OdsTableBuilder

public class TableBuilder extends Object
Author:
Teodor Danciu (teodord@users.sourceforge.net)
  • Field Details

    • tableName

      protected String tableName
    • reportDpi

      protected int reportDpi
  • Constructor Details

  • Method Details

    • setReportDpi

      public void setReportDpi(int reportDpi)
      Overrides the document resolution with the one of the pages being built, which differs from it when those pages come from a part filled at another resolution.
    • buildTableStyle

      public void buildTableStyle(int width)
    • buildTableHeader

      public void buildTableHeader()
    • buildTableFooter

      public void buildTableFooter()
    • buildRowStyle

      public void buildRowStyle(int rowIndex, int rowHeight)
    • buildRowHeader

      public void buildRowHeader(int rowHeight)
    • buildRowFooter

      public void buildRowFooter()
    • buildRow

      public void buildRow(int rowIndex, int rowHeight)
    • buildColumnStyle

      public void buildColumnStyle(int colIndex, int colWidth)
    • buildColumnHeader

      public void buildColumnHeader(int colWidth)
    • buildColumnFooter

      public void buildColumnFooter()
    • buildCellHeader

      public void buildCellHeader(String cellStyleName, int colSpan, int rowSpan)
    • buildCellFooter

      public void buildCellFooter()
    • exportRectangle

      public void exportRectangle(JRPrintGraphicElement rectangle, JRExporterGridCell gridCell)
    • exportLine

      public void exportLine(JRPrintLine line, JRExporterGridCell gridCell)
    • exportEllipse

      public void exportEllipse(JRPrintEllipse ellipse, JRExporterGridCell gridCell)
    • exportText

      public void exportText(JRPrintText text, JRExporterGridCell gridCell, boolean shrinkToFit, boolean wrapText, boolean isIgnoreTextFormatting)
    • exportTextContents

      protected void exportTextContents(JRPrintText text)
    • exportStyledText

      protected void exportStyledText(JRPrintText text, boolean startedHyperlink, boolean isIgnoreTextFormatting)
    • exportStyledText

      protected void exportStyledText(JRStyledText styledText, Locale locale, boolean startedHyperlink, boolean isIgnoreTextFormatting)
    • exportStyledTextRun

      protected void exportStyledTextRun(Map<AttributedCharacterIterator.Attribute,Object> attributes, String text, Locale locale, boolean startedHyperlink, boolean isIgnoreTextFormatting)
    • startTextSpan

      protected void startTextSpan(Map<AttributedCharacterIterator.Attribute,Object> attributes, String text, Locale locale, boolean isIgnoreTextFormatting)
    • endTextSpan

      protected void endTextSpan()
    • writeText

      protected void writeText(String text)
    • exportAnchor

      protected void exportAnchor(String anchorName)
    • getIgnoreHyperlinkProperty

      protected String getIgnoreHyperlinkProperty()
    • startHyperlink

      protected boolean startHyperlink(JRPrintHyperlink link, boolean isText)
    • startHyperlink

      protected boolean startHyperlink(JRPrintHyperlink link, boolean isText, boolean isOnePagePerSheet)
    • writeHyperlink

      protected void writeHyperlink(JRPrintHyperlink link, String href, boolean isText)
    • endHyperlink

      protected void endHyperlink(boolean isText)
    • getHyperlinkTarget

      protected String getHyperlinkTarget(JRPrintHyperlink link)
    • getJasperReportsContext

      protected JasperReportsContext getJasperReportsContext()
    • getTableName

      public String getTableName()