On Oct 19, 2007, at 21:07, Puppala, Kumar (LNG-CON) wrote:
Hi
We are transitioning to 0.94 version from 0.20.5. We are noticing an
issue with fo:markers with the new FOP. If an fo:marker is placed
directly under an fo:block, it works. But if I place it directly under
an fo:inline, it does not work.
Attached with this mail are examples for
both scenarios (fo and pdf files). I cannot go with the fo:block
approach since it introduces a new line and hence breaks the text. I
need to have the text continue on the same line. Any help is
appreciated.
AFAICT from the code, you have hit a bug here: markers are currently
only working on block-level.
Inline-level FOs don't register their markers in the containing page,
yet.
PageViewport.addMarkers() is only called for blocks, block-
containers, lists, tables and footnotes.
It does not seem too difficult to fix.
I just tried adding the necessary calls to make the inline add its
markers to the current page while adding its areas, just as the block-
level LayoutManagers do. It seems to be working at first glance, so
after some further testing I'll be committing the fix for inlines to
the trunk soon. fo:wrappers are another case to look at.
I'll keep you posted.
Cheers
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]