Closed Parz90 closed 7 years ago
I guess you want some kind of nested layouts, is that correct?
Hi ralfstuckert,
Yes, exactly. I have for example one page with several flows that I can set the position(x,y,width and height). And the flows have paragraphs inside.
And one more question, how to manually do page breaks?
Thank you for your support.
Sorry, nested layout is not possible with the current design, since layouting is done on the fly during rendering. To allow arbitrary nesting, a pre-rendering layout phase would be needed.
Does this mean that it's not possible to have multiple elements within a frame? For example, I would like to have multiple images in a frame or an image and some text. Basically, I just want to draw a box around multiple elements.
I saw that pdfbox-layout has frames in a document and paragraphs in a frame. I need one more level between document and frame that can be places to specific positions.
Flows have for example Parameters like: xCoord, yCoord, width and height.
How can I do this? Is there already existing something similar?