ralfstuckert / pdfbox-layout

MIT License
155 stars 74 forks source link

Combing elements into a paragraph #48

Open CBarratt63 opened 6 years ago

CBarratt63 commented 6 years ago

Hi, Just looking to see if this library will help me at all - certainly has potential, however I am struggling to work out how I might do my most important need. That is to have a number of paragraphs which are in turn a combination of paragraphs themselves. For instance I would like a paragraph with a centred heading, followed by two columns of text and all within a border. This box of paragraphs might then be only half a page wide with a similar box of paragraphs next to it. Ideally, if a paragraph could be built up from other paragraphs and then included in a frame, that would work nicely but I don't seem to be able to get that working. Any ideas or pointers in the right direction ? Thanks, chris

ralfstuckert commented 6 years ago

Sorry, nested layouts are currently not possible. There are a lot of folks asking for that, but this would need a redesign (as already said, this library was started stupid simple), and currently I'm a bit out of time for that. Sorry :-\