xsl fo - Avoid line break between minus sign and amount -
i'm generating pdf using fop.
due box width constraint, message "balance of -$578.09 previous bill" split 2 lines, minus sign @ end of first line , amount @ beginning of second line.
input:
<fo:block>balance of -$578.09 previous bill</fo:block>
output:
balance of - $578.09 from.
how can keep value in message?
you can use keep property ensure minus sign not considered feasible position line break:
<fo:block> balance of <fo:inline keep-together="always">-$578.09</fo:inline> previous bill </fo:block>
Comments
Post a Comment