Re: Markers: Determining the last generated area for a LM

2005-05-28 Thread Jeremias Maerki
Sadly, that won't work. You'd have to make FOP a two-pass system to use that approach where side regions are layed out in the second pass. With your idea getLastPVWithID() will only result in a correct value after an FO is fully distributed to PageViewports. That would, for example, kill the

Re: Markers: Determining the last generated area for a LM

2005-05-27 Thread Glen Mazza
Also, one more point--I think it may be a good idea for us to abstract out AreaTreeModel from PSLM and encapsulate it back into AreaTreeHandler (i.e. RootLayoutManager), including moving resolveRetrieveMarker() there. IIRC I was the guilty party who moved ATM into PSLM to begin with, quite

Re: Markers: Determining the last generated area for a LM

2005-05-24 Thread Luca Furini
Jeremias Maerki wrote: The isfirst and islast parameters must be set correctly. Currently, I don't see a reliable way to determine these values. For example, there's some code in AreaAdditionUtils that sets IS_FIRST and IS_LAST flags on the layout context but I found this doesn't work