Hi all,
i use a seam pdf tag library and try to find out a trivial thing.
With iText i could create a cell with text and put a line break in to it very simple like:
new Cell(new Paragraph('Comp.-\nFactor', getDefaultLabelFont()))...
so the text was wrapped 'Comp.-' was in the first line, 'Factor' was in the second line.
Now i try to use the same in the template. just so:
<cell><paragraph>Comp.-\nFactor</paragrapsh</cell>
well, it generates 'Comp.-\nFactor' on one line. So my '\n' is not interpreted as a new line sequence.
Sure alternatively, i could just put all lines in it's own cell, but it would produce very much markup.
Are there any solutions for this?
thanks a lot
regards
Dmitri
i have find a way. I don't understand how it works, but it does..
<cell> <paragraph>line1</paragraph> <paragraph>line2</paragraph> </cell>
Dmitri