Keiron --

> > I'm using the docbook-xsl-1.14 tools from docbook.sourceforge.net to
> > convert a DocDook XML file into xsl:fo and then using FOP to convert
> > that into PDF. I've noticed FOP printing messages like this:
> > 
> >   warning: property - "linefeed-treatment" is not implemented yet.
> > 
> > it turns out that docbook-xsl is using that attribute on the fo:block
> > elements it creates out of my <screen> DocBook elements.
> > 
> > Is linefeed-treatment handling on the radar screen?
> > I'm getting the correct output, so I'm wondering if by setting
> > white-space-collapse='false' in the fo:block, docbook-xsl is causing
> > FOP to do the right thing? Is it true that white-space-collapse='false'
> > implies the same effect as linefeed-treatment='preserve'?
> 
> Gregor,
> 
> This is not a comment on how fop handles the situation.
> According to the spec if white-space-collapse="false" then it "Specifies no
> special action".
> If it is true then it collapses multiple white space char except preserved
> linefeeds (if linefeed-treatment='preserve').
> For linefeed-treatment if the value is preserve then it "Specifies no
> special action".
> 
> So if FOP does nothing different it will be correct.
> 
> Any other combination may be an entirely different situation.

Thanks for the reply.

So, does that mean that the entry in src/codegen/foproperties.xml
should be edited so it doesn't say <datatype>ToBeImplemented</datatype>?
If its being handled correctly, then we don't need the message to be
printed. If there is some work still to be done before it can be
considered completely supported, perhaps its a small enough task that
I could figure it out...

If nobody else is working on this, I'll go dig into the spec to see
where the possibilities are discussed and then crawl through the code
to see if I can find the right place(s) to make changes. I've not
contributed code before, so pointers would be appreciated. From a
little find+grep I see that linefeed-treatment is mentioned only in
foproperties.xml and in src/org/apache/fop/fo/flow/Block.java (but
it is only in a comment there). I see that white-space-collapse is
mentioned in a few places.



Regards,

-- Gregor
 _____________________________________________________________________ 
/                                                                     \
   Gregor N. Purdy                          [EMAIL PROTECTED]
   Focus Research, Inc.                http://www.focusresearch.com/
   8080 Beckett Center Drive #203                   513-860-3570 vox
   West Chester, OH 45069                           513-860-3579 fax
\_____________________________________________________________________/



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

Reply via email to