//Open document and create Documentbuilder
doc = new ("");
DocumentBuilder builder = new DocumentBuilder(doc);
//Set table formating
//Set borders
= ;
= ;
//Set left indent
= 100;
// etc...
//Move documentBuilder cursor to the bookmark
("myBookmark");
//Insert some table
for (int i = 0; i < 5; i++)
{
for (int j = 0; j < 5; j++)
{
();
("this is cell");
}
();
}
();
//Save output document
("");