I am facing a strange issue in center alignment of text using poi in my project.
I am unable to set the text in center align mode. here is my code.
The code for setting text in center align mode is as below.
The above code is working fine,but when i am integrating the above code with my code which is shown below.I am not able to see my text center aligned.