Package | Description |
---|---|
net.sf.jasperreports.engine |
Provides access to the library's main functionality through façade 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.
|
net.sf.jasperreports.engine.export.oasis | |
net.sf.jasperreports.engine.export.ooxml |
Modifier and Type | Method and Description |
---|---|
static JRPrintElementIndex |
JRPrintElementIndex.parsePrintElementIndex(java.lang.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() |
protected JRPrintElementIndex |
JRHtmlExporter.getElementIndex(JRExporterGridCell gridCell) |
static JRPrintElementIndex |
JRHtmlExporter.getPrintElementIndex(java.lang.String imageName) |
static JRPrintElementIndex |
JRXhtmlExporter.getPrintElementIndex(java.lang.String imageName) |
Modifier and Type | Method and Description |
---|---|
static JRPrintImage |
JRHtmlExporter.getImage(java.util.List jasperPrintList,
JRPrintElementIndex imageIndex) |
static JRPrintImage |
JRXhtmlExporter.getImage(java.util.List jasperPrintList,
JRPrintElementIndex imageIndex) |
static java.lang.String |
JRHtmlExporter.getImageName(JRPrintElementIndex printElementIndex) |
static java.lang.String |
JRXhtmlExporter.getImageName(JRPrintElementIndex printElementIndex) |
Modifier and Type | Method and Description |
---|---|
protected JRPrintElementIndex |
JROpenDocumentExporter.getElementIndex(JRExporterGridCell gridCell) |
static JRPrintElementIndex |
JROpenDocumentExporter.getPrintElementIndex(java.lang.String imageName) |
Modifier and Type | Method and Description |
---|---|
protected void |
JROpenDocumentExporter.exportGrid(JRGridLayout gridLayout,
JRPrintElementIndex frameIndex) |
static JRPrintImage |
JROpenDocumentExporter.getImage(java.util.List jasperPrintList,
JRPrintElementIndex imageIndex) |
static java.lang.String |
JROpenDocumentExporter.getImageName(JRPrintElementIndex printElementIndex)
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)
{
StringBuffer coordsEnum = new StringBuffer(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("\"");
}
}
/**
|
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(java.lang.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)
{
StringBuffer coordsEnum = new StringBuffer(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 |
JRPptxExporter.getPrintElementIndex(java.lang.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)
{
StringBuffer coordsEnum = new StringBuffer(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 |
JRDocxExporter.getPrintElementIndex(java.lang.String imageName) |
Modifier and Type | Method and Description |
---|---|
protected void |
JRDocxExporter.exportGrid(JRGridLayout gridLayout,
JRPrintElementIndex frameIndex) |
static JRPrintImage |
JRXlsxExporter.getImage(java.util.List jasperPrintList,
JRPrintElementIndex imageIndex) |
static JRPrintImage |
JRPptxExporter.getImage(java.util.List jasperPrintList,
JRPrintElementIndex imageIndex) |
static JRPrintImage |
JRDocxExporter.getImage(java.util.List jasperPrintList,
JRPrintElementIndex imageIndex) |
static java.lang.String |
JRDocxExporter.getImageName(JRPrintElementIndex printElementIndex)
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)
{
StringBuffer coordsEnum = new StringBuffer(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("\"");
}
}
/**
|
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com