You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by "Thibodeaux, Paul" <Pa...@ps.net> on 2002/08/02 15:23:38 UTC

Splitting lines on characters other than blanks

I have data that is comma-separated, but with no blanks, like
	1,2,21,44,55,34,125,245,246,247,248

I want this to split after a comma once I fill a line, but FOP tries to keep
the whole line together.  The only way I can split is to put spaces in after
each comma.

Is there any way to get FOP to use a comma as a split point?

Thanks,
Paul 




Re: Splitting lines on characters other than blanks

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Thibodeaux, Paul wrote:
> I have data that is comma-separated, but with no blanks, like
> 	1,2,21,44,55,34,125,245,246,247,248
> 
> I want this to split after a comma once I fill a line, but FOP tries to keep
> the whole line together.  The only way I can split is to put spaces in after
> each comma.
> 
> Is there any way to get FOP to use a comma as a split point?

No, unless you want to hack around in the source.
The ZWS width calculation bug will be fixed soon
though

J.Pietschmann