RE: align=justify in preformatting content

2004-12-07 Thread Yann Bonnaillie
Yes I could, but it won't be very nice, and it would take a very long
time to do that...
I hope there is another way to solve my problem :)

Thanks

Yann



  -Original Message-
  From: Yann Bonnaillie [mailto:[EMAIL PROTECTED]
 
 
 Hi,
 
  Well, I succeed to keep my new line after fop transformation,
  but now when I use text-align=justify on my fo:block, last line
  of each chapter (ie : before each new line) are expanded, what
  looks very bad.
 
 Hmmm... Not really sure how to solve this, but I think you could avoid this
 by terminating your DOM nodes at the newline character (or character
 sequence)... That way, you would generate a separate fo:block for each
 paragraph...?
 
 May be a long shot, but HTH!
 
 Greetz,
 
 Andreas


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



How to preserve new line

2004-12-06 Thread Yann Bonnaillie
Hello,


I generate a DOM by using Java, with values that can be long text with new line 
inside...
But when i apply transformation with FOP, new line contained in my texts are 
not preserved.
How can i do to keep them ? Should i replace them by some special code 
representing new line in pdf format ?

Thanks :)


Yann


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



align=justify in preformatting content

2004-12-06 Thread Yann Bonnaillie
Well, I succeed to keep my new line after fop transformation,
but now when I use text-align=justify on my fo:block, last line
of each chapter (ie : before each new line) are expanded, what looks very bad.
I tried to set text-align-last=start but it doesn't seem to be good.
It's just the really last one that is aligned at start, but not the one at end 
of each chapter...

In my DOM, new line characters are #xD;#xA;
May be, it's not the good new line character ?

Help me please ;)
Sorry if i look like a noob...



Yann


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]