final boolean emptyCellsUseCSS = getTagHelper().isEmptyCellsUseCSS(); StyleBuilder styleBuilder = getStyleBuilder(); DefaultStyleBuilderFactory styleBuilderFactory = getStyleBuilderFactory(); textExtractor = new HtmlTextExtractor( metaData, xmlWriter, contentGenerator, getTagHelper() ); final int rowHeight = (int) StrictGeomUtility.toExternalValue( sheetLayout.getRowHeight( row ) ); final HtmlRowBackgroundStruct struct = getCommonBackground( logicalPage, sheetLayout, row, contentProducer ); xmlWriter.writeTag( HtmlPrinter.XHTML_NAMESPACE, "tr", getTagHelper().createRowAttributes( rowHeight, struct ), XmlWriterSupport.OPEN ); realBackground, null, null ); final AttributeList cellAttributes = getTagHelper().createCellAttributes( colSpan, rowSpan, content.getAttributes(), content.getStyleSheet(), realBackground, cellStyle ); xmlWriter.writeTag( HtmlPrinter.XHTML_NAMESPACE, "td", cellAttributes, XmlWriterSupport.OPEN );