public class TableBuilder extends Object
Modifier | Constructor and Description |
---|---|
protected |
TableBuilder(DocumentBuilder documentBuilder,
JasperPrint jasperPrint,
int pageFormatIndex,
int pageIndex,
WriterHelper bodyWriter,
WriterHelper styleWriter,
StyleCache styleCache,
Map<Integer,String> rowStyles,
Map<Integer,String> columnStyles) |
protected |
TableBuilder(DocumentBuilder documentBuilder,
JasperPrint jasperPrint,
int pageFormatIndex,
int pageIndex,
WriterHelper bodyWriter,
WriterHelper styleWriter,
StyleCache styleCache,
Map<Integer,String> rowStyles,
Map<Integer,String> columnStyles,
Color tabColor) |
protected |
TableBuilder(DocumentBuilder documentBuilder,
JasperPrint jasperPrint,
String name,
WriterHelper bodyWriter,
WriterHelper styleWriter,
StyleCache styleCache,
Map<Integer,String> rowStyles,
Map<Integer,String> columnStyles) |
protected |
TableBuilder(DocumentBuilder documentBuilder,
JasperPrint jasperPrint,
String name,
WriterHelper bodyWriter,
WriterHelper styleWriter,
StyleCache styleCache,
Map<Integer,String> rowStyles,
Map<Integer,String> columnStyles,
Color tabColor) |
Modifier and Type | Method and Description |
---|---|
void |
buildCellFooter() |
void |
buildCellHeader(String cellStyleName,
int colSpan,
int rowSpan) |
void |
buildColumnFooter() |
void |
buildColumnHeader(int colWidth) |
void |
buildColumnStyle(int colIndex,
int colWidth) |
void |
buildRow(int rowIndex,
int rowHeight) |
void |
buildRowFooter() |
void |
buildRowHeader(int rowHeight) |
void |
buildRowStyle(int rowIndex,
int rowHeight) |
void |
buildTableFooter() |
void |
buildTableHeader() |
void |
buildTableStyle(int width) |
protected void |
endHyperlink(boolean isText) |
protected void |
endTextSpan() |
protected void |
exportAnchor(String anchorName) |
void |
exportEllipse(JRPrintEllipse ellipse,
JRExporterGridCell gridCell) |
void |
exportLine(JRPrintLine line,
JRExporterGridCell gridCell) |
void |
exportRectangle(JRPrintGraphicElement rectangle,
JRExporterGridCell gridCell) |
protected void |
exportStyledText(JRPrintText text,
boolean startedHyperlink,
boolean isIgnoreTextFormatting) |
protected void |
exportStyledText(JRStyledText styledText,
Locale locale,
boolean startedHyperlink,
boolean isIgnoreTextFormatting) |
protected void |
exportStyledTextRun(Map<AttributedCharacterIterator.Attribute,Object> attributes,
String text,
Locale locale,
boolean startedHyperlink,
boolean isIgnoreTextFormatting) |
void |
exportText(JRPrintText text,
JRExporterGridCell gridCell,
boolean shrinkToFit,
boolean wrapText,
boolean isIgnoreTextFormatting) |
protected void |
exportTextContents(JRPrintText text) |
protected String |
getHyperlinkTarget(JRPrintHyperlink link) |
protected String |
getIgnoreHyperlinkProperty() |
protected JasperReportsContext |
getJasperReportsContext() |
String |
getTableName() |
protected boolean |
startHyperlink(JRPrintHyperlink link,
boolean isText) |
protected boolean |
startHyperlink(JRPrintHyperlink link,
boolean isText,
boolean isOnePagePerSheet) |
protected void |
startTextSpan(Map<AttributedCharacterIterator.Attribute,Object> attributes,
String text,
Locale locale,
boolean isIgnoreTextFormatting) |
protected void |
writeHyperlink(JRPrintHyperlink link,
String href,
boolean isText) |
protected void |
writeText(String text) |
protected String tableName
protected TableBuilder(DocumentBuilder documentBuilder, JasperPrint jasperPrint, String name, WriterHelper bodyWriter, WriterHelper styleWriter, StyleCache styleCache, Map<Integer,String> rowStyles, Map<Integer,String> columnStyles, Color tabColor)
protected TableBuilder(DocumentBuilder documentBuilder, JasperPrint jasperPrint, String name, WriterHelper bodyWriter, WriterHelper styleWriter, StyleCache styleCache, Map<Integer,String> rowStyles, Map<Integer,String> columnStyles)
protected TableBuilder(DocumentBuilder documentBuilder, JasperPrint jasperPrint, int pageFormatIndex, int pageIndex, WriterHelper bodyWriter, WriterHelper styleWriter, StyleCache styleCache, Map<Integer,String> rowStyles, Map<Integer,String> columnStyles, Color tabColor)
protected TableBuilder(DocumentBuilder documentBuilder, JasperPrint jasperPrint, int pageFormatIndex, int pageIndex, WriterHelper bodyWriter, WriterHelper styleWriter, StyleCache styleCache, Map<Integer,String> rowStyles, Map<Integer,String> columnStyles)
public void buildTableStyle(int width)
public void buildTableHeader()
public void buildTableFooter()
public void buildRowStyle(int rowIndex, int rowHeight)
public void buildRowHeader(int rowHeight)
public void buildRowFooter()
public void buildRow(int rowIndex, int rowHeight)
public void buildColumnStyle(int colIndex, int colWidth)
public void buildColumnHeader(int colWidth)
public void buildColumnFooter()
public void buildCellHeader(String cellStyleName, int colSpan, int rowSpan)
public void buildCellFooter()
public void exportRectangle(JRPrintGraphicElement rectangle, JRExporterGridCell gridCell)
public void exportLine(JRPrintLine line, JRExporterGridCell gridCell)
public void exportEllipse(JRPrintEllipse ellipse, JRExporterGridCell gridCell)
public void exportText(JRPrintText text, JRExporterGridCell gridCell, boolean shrinkToFit, boolean wrapText, boolean isIgnoreTextFormatting)
protected void exportTextContents(JRPrintText text)
protected void exportStyledText(JRPrintText text, boolean startedHyperlink, boolean isIgnoreTextFormatting)
protected void exportStyledText(JRStyledText styledText, Locale locale, boolean startedHyperlink, boolean isIgnoreTextFormatting)
protected void exportStyledTextRun(Map<AttributedCharacterIterator.Attribute,Object> attributes, String text, Locale locale, boolean startedHyperlink, boolean isIgnoreTextFormatting)
protected void startTextSpan(Map<AttributedCharacterIterator.Attribute,Object> attributes, String text, Locale locale, boolean isIgnoreTextFormatting)
protected void endTextSpan()
protected void writeText(String text)
protected void exportAnchor(String anchorName)
protected String getIgnoreHyperlinkProperty()
protected boolean startHyperlink(JRPrintHyperlink link, boolean isText)
protected boolean startHyperlink(JRPrintHyperlink link, boolean isText, boolean isOnePagePerSheet)
protected void writeHyperlink(JRPrintHyperlink link, String href, boolean isText)
protected void endHyperlink(boolean isText)
protected String getHyperlinkTarget(JRPrintHyperlink link)
protected JasperReportsContext getJasperReportsContext()
public String getTableName()
Copyright © 2016. All rights reserved.