Hi,I'm wondering what happened to the indefinite page-height feature. Andreas L Delmelle had some thoughts on that topic last September. Well, I need this feature and would like to bring it into life.As a first test, I hacked curPage.getPageViewport().getViewArea().setFrame(10, 10, 200*1000, 200*10
Hi Andreas,
thanks for the prompt answer. Sounds like a thorough cooking recipe.
I will start working on this following your trace. May take a while
to get into the code and get a better understanding of the layout
process ;-)
Regards,
Walter
Andreas, Matthias,
I've digged a little more into the code and would like to share what
I've done and tested and so far.
I've added at the end of
PageSequenceLayoutManager.PageBreaker.finishPart:
if (getCurrentPage().getSimplePageMaster().getPageHeight().getEnum()
== Constants.EN_INDEFINIT
Hello Andreas,Only the offset of the regionViewport in question needs to be altered (decrease by Integer.MAX_VALUE - PBP.difference? Something like that...?) yes, and that's exactly what I don' t get to work.Where to put it (finishPart or finishPage) is a different story. Putting this into "my" fin
Hi Andreas,
Well... it depends. I had another glance at the related code. Where
exactly in finishPage have you put your code?
I'm guessing here, but if you put it all the way at the top --
before the calls to layoutSideRegion()-- wouldn't that solve the
problem?
That's what don't underst
update page viewport size
Rectangle2D rect = curPage.getPageViewport().getViewArea();
rect.setRect(rect.getX(), rect.getY(), rect.getWidth(),
height);
}
I haven't thought about reference orientation issues yet, but maybe
useful to somebody already.
Regards,
Walter Bauer