views:

118

answers:

1

I have an item in an XML-FO page ( running through FOP ) when needs exact placement for an OCR. Whenever the page is edited (or an included page) its very difficult to get the OCR line back into place.

Is it possible with FOP to specify exact placement. rather than having the item being pushed around by the previous items on the page?

+1  A: 

All of these suggestions are at the XSL-FO level, which FOP just processes.

I don't know about exact placement, but this FAQ entry may be relevant. Basically indentation is inherited, so you may need to reset it.

Also; this link discusses ways to enable/disable whitespace collapse, etc.

Another link describes using absolute positioning attributes (from CSS) to position fo:block-containers

John Weldon
It can be done, i've used block-container and absolute positioning. To be able to position correctly i've had to put it in static-content.
Peter Lindqvist