public class TableWriter extends AbstractTableWriter
AbstractTableWriter.TableModelTransformStateWriter.TransformState| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
logger |
protected static java.lang.String |
TABLE_BORDER_MODEL |
NODE_TABLE, NODE_TABLE_BODY, NODE_TABLE_BODY_CELL, NODE_TABLE_BODY_ROW, NODE_TABLE_COLUMN, NODE_TABLE_COLUMN_GROUP, NODE_TABLE_HEADER, NODE_TABLE_HEADER_CELL, NODE_TABLE_HEADER_ROW, PATTERN_PERCENTAGES, WRITER_IDwriterId| Constructor and Description |
|---|
TableWriter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyAttributes(AbstractWmlConversionContext context,
java.util.List<Property> properties,
org.w3c.dom.Element element) |
protected void |
applyColumnCustomAttributes(AbstractWmlConversionContext context,
AbstractTableWriterModel table,
Writer.TransformState transformState,
org.w3c.dom.Element column,
int columnIndex,
int columnWidth) |
protected void |
applyTableCellCustomAttributes(AbstractWmlConversionContext context,
AbstractTableWriterModel table,
Writer.TransformState transformState,
TableModelCell tableCell,
org.w3c.dom.Element cellNode,
boolean isHeader,
boolean isDummyCell) |
protected void |
applyTableCustomAttributes(AbstractWmlConversionContext context,
AbstractTableWriterModel table,
Writer.TransformState transformState,
org.w3c.dom.Element tableRoot) |
protected void |
applyTableRowContainerCustomAttributes(AbstractWmlConversionContext context,
AbstractTableWriterModel table,
Writer.TransformState transformState,
org.w3c.dom.Element rowContainer,
boolean isHeader) |
protected org.w3c.dom.Element |
createNode(org.w3c.dom.Document doc,
int nodeType) |
protected org.w3c.dom.Element |
interposeBlockContainer(org.w3c.dom.Document doc,
org.w3c.dom.Element cellNode,
org.docx4j.wml.TcPr tcPr)
In the FO case, if we need to rotate the text, we do that
by inserting a block-container.
|
appendNoneBordersAndShading, applyColumnGroupCustomAttributes, applyTableRowCustomAttributes, applyTableStyles, calcHexColor, createCellProperties, createCellProperties, createCellProperties, createCellProperties, createColumns, createNode, createRowProperties, createShading, createTransformState, extractColor, extractPattern, getElement, processAttributes, resetProperties, toNode, toNodegetIDprotected static final org.slf4j.Logger logger
protected static final java.lang.String TABLE_BORDER_MODEL
protected org.w3c.dom.Element createNode(org.w3c.dom.Document doc,
int nodeType)
createNode in class AbstractTableWriterprotected void applyAttributes(AbstractWmlConversionContext context, java.util.List<Property> properties, org.w3c.dom.Element element)
applyAttributes in class AbstractTableWriterprotected void applyTableCustomAttributes(AbstractWmlConversionContext context, AbstractTableWriterModel table, Writer.TransformState transformState, org.w3c.dom.Element tableRoot)
applyTableCustomAttributes in class AbstractTableWriterprotected void applyColumnCustomAttributes(AbstractWmlConversionContext context, AbstractTableWriterModel table, Writer.TransformState transformState, org.w3c.dom.Element column, int columnIndex, int columnWidth)
applyColumnCustomAttributes in class AbstractTableWriterprotected void applyTableCellCustomAttributes(AbstractWmlConversionContext context, AbstractTableWriterModel table, Writer.TransformState transformState, TableModelCell tableCell, org.w3c.dom.Element cellNode, boolean isHeader, boolean isDummyCell)
applyTableCellCustomAttributes in class AbstractTableWriterprotected void applyTableRowContainerCustomAttributes(AbstractWmlConversionContext context, AbstractTableWriterModel table, Writer.TransformState transformState, org.w3c.dom.Element rowContainer, boolean isHeader)
applyTableRowContainerCustomAttributes in class AbstractTableWriterprotected org.w3c.dom.Element interposeBlockContainer(org.w3c.dom.Document doc,
org.w3c.dom.Element cellNode,
org.docx4j.wml.TcPr tcPr)
interposeBlockContainer in class AbstractTableWritercellNode - Copyright © 2007-2023. All Rights Reserved.