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…...ArrayList(); Document doc = new Document(); TextFragment tf...add(heading2); } // Save the updated document doc.save(“TOC_Output_Java...