Hello!
I successfully builded a simple table. But now, i want to navigate to a specific cell, edit the text inside the cell and jump back to the end of the table(the old position?) and append more cells.
I tried something like this:
Paragraph par_Buffer = builder.getCurrentParagraph();//builder is a DocumentBuilder object
Cell cell_Buffer = lst_Date_Cells.get(j);
if(null != cell_Buffer)
{builder.moveTo(cell_Buffer.getFirstParagraph());}
builder.writeln(str_Wert);
builder.moveTo(par_Buffer);
builder.insertCell();
//j is an integer from a surrounding for()
//lst_Date_Cells is a list of cells, i want to edit
//At the end of this process, i want to insert another new cell
This code produces a very bad table structure… So, i don’t have any ideas to slove this problem. Please help me.