Hi,
our corporate design forces me to put the toc title to the left.
No matter how I format the Textfragment, it is alway in the center.
I found a code snippet from you and I added the corresponding
“HorizontalAlignm…...TextFragment(“Heading 3”); Page page = doc.getPages().add(); page.getParagraphs()...getParagraphs().add(tf); page.getParagraphs().add(tf2); page.getParagraphs()...