Package | Description |
---|---|
net.sf.jasperreports.engine |
Provides access to the library's main functionality through facade classes for compiling, filling
and exporting reports and also publishes the library's main interfaces and classes.
|
net.sf.jasperreports.engine.export |
Provides utility classes for exporting reports to various popular formats such as
PDF, HTML, RTF, CSV, Excel, DOCX, PPTX, ODT, ODS, XML, Text, etc.
|
net.sf.jasperreports.engine.export.oasis |
Provides utility classes for exporting reports to Open Document Format, such as
ODT and ODS.
|
net.sf.jasperreports.engine.export.ooxml |
Provides utility classes for exporting reports to Office Open XML Format, such as
DOCX, XLSX and PPTX.
|
Modifier and Type | Method and Description |
---|---|
static JRPrintElementIndex |
JRPrintElementIndex.parsePrintElementIndex(String indexStr)
Parses a String representation as obtained by
toString() back
into an element index instance. |
Modifier and Type | Method and Description |
---|---|
protected JRPrintElementIndex |
JRXhtmlExporter.getElementIndex()
Deprecated.
|
protected JRPrintElementIndex |
JRHtmlExporter.getElementIndex(JRExporterGridCell gridCell)
Deprecated.
|
protected JRPrintElementIndex |
HtmlExporter.getElementIndex(TableCell cell) |
static JRPrintElementIndex |
AbstractHtmlExporter.getPrintElementIndex(String imageName) |
Modifier and Type | Method and Description |
---|---|
static JRPrintImage |
AbstractHtmlExporter.getImage(List<JasperPrint> jasperPrintList,
JRPrintElementIndex imageIndex) |
static String |
AbstractHtmlExporter.getImageName(JRPrintElementIndex printElementIndex)
Deprecated.
|
static String |
AbstractHtmlExporter.getImageName(JRPrintElementIndex printElementIndex,
String fileExtension) |
Modifier and Type | Method and Description |
---|---|
protected JRPrintElementIndex |
DocumentBuilder.getElementIndex(JRExporterGridCell gridCell) |
static JRPrintElementIndex |
DocumentBuilder.getPrintElementIndex(String imageName) |
Modifier and Type | Method and Description |
---|---|
protected void |
JROdtExporter.exportGrid(JRGridLayout gridLayout,
JRPrintElementIndex frameIndex) |
static String |
DocumentBuilder.getImageName(JRPrintElementIndex printElementIndex) |
Modifier and Type | Method and Description |
---|---|
protected JRPrintElementIndex |
JRPptxExporter.getElementIndex() |
protected JRPrintElementIndex |
JRXlsxExporter.getElementIndex(JRExporterGridCell gridCell) |
protected JRPrintElementIndex |
JRDocxExporter.getElementIndex(JRExporterGridCell gridCell) |
static JRPrintElementIndex |
JRXlsxExporter.getPrintElementIndex(String imageName)
protected void writeImageMap(String imageMapName, JRPrintHyperlink mainHyperlink, List imageMapAreas) throws IOException
{
writer.write("\n");
}
protected void writeImageAreaCoordinates(JRPrintImageArea area) throws IOException
{
int[] coords = area.getCoordinates();
if (coords != null && coords.length > 0)
{
StringBuilder coordsEnum = new StringBuilder(coords.length * 4);
coordsEnum.append(coords[0]);
for (int i = 1; i < coords.length; i++)
{
coordsEnum.append(',');
coordsEnum.append(coords[i]);
}
writer.write(" coords=\"" + coordsEnum + "\"");
}
}
protected void writeImageAreaHyperlink(JRPrintHyperlink hyperlink) throws IOException
{
String href = getHyperlinkURL(hyperlink);
if (href == null)
{
writer.write(" nohref=\"nohref\"");
}
else
{
writer.write(" href=\"" + href + "\"");
String target = getHyperlinkTarget(hyperlink);
if (target != null)
{
writer.write(" target=\"");
writer.write(target);
writer.write("\"");
}
}
if (hyperlink.getHyperlinkTooltip() != null)
{
writer.write(" title=\"");
writer.write(JRStringUtil.xmlEncode(hyperlink.getHyperlinkTooltip()));
writer.write("\"");
}
}
/**
|
static JRPrintElementIndex |
JRDocxExporter.getPrintElementIndex(String imageName)
protected void writeImageMap(String imageMapName, JRPrintHyperlink mainHyperlink, List imageMapAreas)
{
writer.write("\n");
}
protected void writeImageAreaCoordinates(JRPrintImageArea area)
{
int[] coords = area.getCoordinates();
if (coords != null && coords.length > 0)
{
StringBuilder coordsEnum = new StringBuilder(coords.length * 4);
coordsEnum.append(coords[0]);
for (int i = 1; i < coords.length; i++)
{
coordsEnum.append(',');
coordsEnum.append(coords[i]);
}
writer.write(" coords=\"" + coordsEnum + "\"");
}
}
protected void writeImageAreaHyperlink(JRPrintHyperlink hyperlink)
{
String href = getHyperlinkURL(hyperlink);
if (href == null)
{
writer.write(" nohref=\"nohref\"");
}
else
{
writer.write(" href=\"" + href + "\"");
String target = getHyperlinkTarget(hyperlink);
if (target != null)
{
writer.write(" target=\"");
writer.write(target);
writer.write("\"");
}
}
if (hyperlink.getHyperlinkTooltip() != null)
{
writer.write(" title=\"");
writer.write(JRStringUtil.xmlEncode(hyperlink.getHyperlinkTooltip()));
writer.write("\"");
}
}
/**
|
static JRPrintElementIndex |
JRPptxExporter.getPrintElementIndex(String imageName)
protected void writeImageMap(String imageMapName, JRPrintHyperlink mainHyperlink, List imageMapAreas)
{
writer.write("\n");
}
protected void writeImageAreaCoordinates(JRPrintImageArea area)
{
int[] coords = area.getCoordinates();
if (coords != null && coords.length > 0)
{
StringBuilder coordsEnum = new StringBuilder(coords.length * 4);
coordsEnum.append(coords[0]);
for (int i = 1; i < coords.length; i++)
{
coordsEnum.append(',');
coordsEnum.append(coords[i]);
}
writer.write(" coords=\"" + coordsEnum + "\"");
}
}
protected void writeImageAreaHyperlink(JRPrintHyperlink hyperlink)
{
String href = getHyperlinkURL(hyperlink);
if (href == null)
{
writer.write(" nohref=\"nohref\"");
}
else
{
writer.write(" href=\"" + href + "\"");
String target = getHyperlinkTarget(hyperlink);
if (target != null)
{
writer.write(" target=\"");
writer.write(target);
writer.write("\"");
}
}
if (hyperlink.getHyperlinkTooltip() != null)
{
writer.write(" title=\"");
writer.write(JRStringUtil.xmlEncode(hyperlink.getHyperlinkTooltip()));
writer.write("\"");
}
}
/**
|
Modifier and Type | Method and Description |
---|---|
protected void |
JRDocxExporter.exportGrid(JRGridLayout gridLayout,
JRPrintElementIndex frameIndex) |
JRPrintImage |
JRXlsxExporter.getImage(ExporterInput exporterInput,
JRPrintElementIndex imageIndex) |
Constructor and Description |
---|
DocxTableHelper(JasperReportsContext jasperReportsContext,
Writer writer,
CutsInfo xCuts,
boolean pageBreak,
PrintPageFormat pageFormat,
JRPrintElementIndex frameIndex) |
Copyright © 2017. All rights reserved.