The following project and generated document show may different table displays, playing with border types, cell color, size, alignment, merge,... It is based on a very simple eCore model.
The generated document is self-explanatory, as source code of the shown table is provided each time.
If you want to run your own tests: in Eclipse, select File -> New -> Example and then pxDoc TableCookBook Example
Run/debug it as an Eclipse application.
In the 2nd Eclipse, select File -> New -> Example and then pxDoc TableCookBook Test Model
To launch the generation: open MyTestEcorePackage.ecore, right-click on MyTestPackage ->pxDoc->TableCookBook