xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abhijit Junnare <mavlaa...@yahoo.com>
Subject Re: White space problem and text wrapping problem
Date Thu, 04 Dec 2003 23:20:34 GMT
Thanks much!
The wrapping problem is solved by using a non-breaking
space. Which FAP should I exactly look for the first
problem. COuld you send me the link pleas.e Will
really appreciate.
Thanks
Abhi

--- "J.Pietschmann" <j3322ptm@yahoo.de> wrote:
> Abhijit Junnare wrote:
> > Problem1:
> > I am having problem with line feed/carriage
> return.
> > The line feeds from the souce xml are being
> converted
> > to a single white space automatically. I would
> like to
> > ignore these line feeds meaning convert these line
> > feeds to zero width space.
> > I know that using linefeed-treatment would solve
> my
> > problem. But as per the FOP compliance page
> > linefeed-treatment is not supported.
> > Is there any way to get around this problem.
> 
> You have to convert the LW to zero width space
> before feeding
> it into FOP. If you generate the FO using XSLT,
> check the S&R
> templates in the XSL FAQ.
> 
> > Problem 2:
> > I would like to keep some text on the sam eline.
> This
> > for example I have text string as "FirstName
> LastName"
> > and it appears somewhere in the source. Now if
> both
> > FirstName and LastName can fit in the same line I
> > would like to print them as such but if not then I
> > would like to print both FirstName and LastName
> > starting on the next line. I guess 
> > "wrap-option" property should help me with this.
> But I
> > am not able to get this to working. Am I missing
> > something here?
> 
> I don't think wrap-option would be appropriate.
> Anyway,
> this can easily be solved by using a non-breaking
> space
> instead of the normal space between the words.
> 
> J.Pietschmann
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> fop-user-unsubscribe@xml.apache.org
> For additional commands, e-mail:
> fop-user-help@xml.apache.org
> 


__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Mime
View raw message