Hello to everyone,
 
I try to make a new PdfPCell object using a Phrase object.
 
PdfPCell _cell = new PdfPCell(RetailPdfUtil.getPhrase(_labelLine, p_fontFull));
 
( getPhrase(...) returns a Phrase with the specific font. )
 
My problem is when I add spaces at the end of the String used to construct a Phrase
 
_labelLine = "BlaBlaBla" + "      ";
PdfPCell _cell = new PdfPCell(RetailPdfUtil.getPhrase(_labelLine, p_fontFull));
 
The cell's text is good, but spaces vanished ... !
It seems that a trim() is called somewhere, so is there any way to append and see spaces in my Phrase ?
 
Thanks,
 
Regards,
 
R.Nicolau
 
 

Reply via email to