Re: Return carriage

2006-04-09 Thread Jeremias Maerki

On 07.04.2006 14:52:13 Luis Fabiano wrote:
> 
> This is exactly my problem. I can´t insert (by java, at least) a space
> between the return text. It should be that way. Don´t we have any way to
> point to FOP that it should break the line with a comma, for example?

No. The problem in your particular case ("1000,1001,1002,1003...") is
that UAX#14 [�1] prohibits breaks before and after a comma if it is
surrounded by numeric characters. In this case you have to work with
zero-width-spaces as I have suggested earlier. That's to only way you
can insert a break possibility here.

[1] http://www.unicode.org/reports/tr14/

> or don´t exist a way to manipulta the string directly in FOP?

No.

> Ah, BTW, thanks for the help :-)

You're welcome.

Jeremias Maerki



Re: Return carriage

2006-04-07 Thread Luis Fabiano


Chris Bowditch wrote:
> 
> We can't help you until you tell us which version of FOP you are using.
> 

The version I´m using is the FOP 0.20.5.


Chris Bowditch wrote:
> 
> BTW, this message should have really been sent to the fop-user mailing
> list.
> 

I don´t know how toI just register on the site and still learning how it
works. :-)

Thanks for the help, anyway.
--
View this message in context: 
http://www.nabble.com/Return-carriage-t1407358.html#a3803097
Sent from the FOP - Dev forum at Nabble.com.



Re: Return carriage

2006-04-07 Thread Luis Fabiano

This is exactly my problem. I can´t insert (by java, at least) a space
between the return text. It should be that way. Don´t we have any way to
point to FOP that it should break the line with a comma, for example? or
don´t exist a way to manipulta the string directly in FOP?

Ah, BTW, thanks for the help :-)
--
View this message in context: 
http://www.nabble.com/Return-carriage-t1407358.html#a3803019
Sent from the FOP - Dev forum at Nabble.com.



Re: Return carriage

2006-04-07 Thread Jeremias Maerki
(Following up on fop-users. Questions should go there. Thank you!)

If you don't give FOP a chance for a line break, it won't break. Put a
space or a zero-width-space after each comma.

On 06.04.2006 19:54:07 Luis Fabiano wrote:
> 
> Hello all,
> 
> I started to develop using embebbed FOP just recently and I´m having a
> problem in a report.
> 
> The case is that one block field just don´t break the line when the text
> inside (dinamically loaded) is higher than the page width. Follow the code
> I´m using:
> 
> 
>   #if ($testInfo.HBM_Method == "TEST") 
> #foreach( $test in $testResults )
>   $test.VoltageRanges 
> #end
>   #else
> $summary.TestVoltages
>   #end 
> 
> 
> The result I expect was a line like that
> 
> 1000,1001,1002,1003,1004,1005...and go on
> 
> But the line just continue as the end of the page simply don´t exist :-o


Jeremias Maerki



Re: Return carriage

2006-04-07 Thread Chris Bowditch

Luis Fabiano wrote:




The result I expect was a line like that

1000,1001,1002,1003,1004,1005...and go on

But the line just continue as the end of the page simply don´t exist :-o


We can't help you until you tell us which version of FOP you are using.

BTW, this message should have really been sent to the fop-user mailing list.

Chris