I am trying to create an RTF document with tables with empty cells.
I am using the com.lowagie.text.rtf.* Package in java.
font for empty cells - all Times New Roman size 12.
How to set the font of empty cells to another font ?
I used RtfCell cellSpacer = new RtfCell(new Phrase("", new RtfFont("Arial", 9, RtfFont.NORMAL))); , but since the string "" empty, the font does not take effect. When "" filled with something other than space , the font takes effect.
Thanks.
mnish source share