Hi everybody,
To continue my post here :
http://www.docx4java.org/forums/docx-java-f6/convert-a-html-file-into-one-column-of-docx-table-t1888.html?sid=9b7b2605f896ed74f148fbb7ee01e9f3 , I'm wondering if it's possible to add an AltChunk with in a table cell object? I have to the following example code now:
public class AltChunkAddOfTypeHtml {
private static ObjectFactory factory;
public static void main(String[] args) throws Exception {
WordprocessingMLPackage wordMLPackage = WordprocessingMLPackage
.createPackage();
factory = Context.getWmlObjectFactory();
Tbl table = factory.createTbl();
Tr tableRow = factory.createTr();
Tc tableCell = factory.createTc();
tableCell.getContent().add(
wordMLPackage.getMainDocumentPart().createParagraphOfText(
"Field 1"));
tableRow.getContent().add(tableCell);
table.getContent().add(tableRow); ...