writeBackgroundCell(background, xmlWriter);
continue;
}
ReportElement content = elements.get(gridCell.getInstanceId());
FastHtmlStyleCache.CellStyle cellStyle = computeCellAttributes(styleCache, row, col, gridCell, content);
if (content == null)
{
xmlWriter.writeTag(HtmlPrinter.XHTML_NAMESPACE, "td", cellStyle.getCellAttributeList(), XmlWriterSupport.OPEN);
if (emptyCellsUseCSS == false)
{
xmlWriter.writeText(" ");
}
xmlWriter.writeCloseTag();
continue;
}
xmlWriter.writeTag(HtmlPrinter.XHTML_NAMESPACE, "td", cellStyle.getCellAttributeList(), XmlWriterSupport.OPEN);
final Object rawContent = content.getAttribute(AttributeNames.Html.NAMESPACE, AttributeNames.Html.EXTRA_RAW_CONTENT);
if (rawContent != null)
{
xmlWriter.writeText(String.valueOf(rawContent));
}
writeAnchors(xmlWriter, content);
if (Boolean.TRUE.equals(content.getAttributes().getAttribute(AttributeNames.Html.NAMESPACE,
AttributeNames.Html.SUPPRESS_CONTENT)) == false)
{
// the style of the content-box itself is already contained in the <td> tag. So there is no need
// to duplicate the style here
if (textExtractor.performOutput(content, cellStyle.getCellStyle(), recordedBounds, runtime) == false)
{
if (emptyCellsUseCSS == false)
{
xmlWriter.writeText(" ");
}
}
}
final Object rawFooterContent = content.getAttributes().getAttribute(AttributeNames.Html.NAMESPACE,
AttributeNames.Html.EXTRA_RAW_FOOTER_CONTENT);
if (rawFooterContent != null)
{
xmlWriter.writeText(String.valueOf(rawFooterContent));
}