Hello!
Necessary to develop a code that generates archive pdf leading in consideration that the data are in a data base PostgreSQL. However, these data, come of some tables, where the grouping of these data (text and images) forms a content block to be displayed in archive pdf. The election of the fields already was made. The problem involves the disposal of the content in archive pdf, therefore a content block never could be broken or either, has a text and an image, for example, and this bit string cannot be shown in different pages, nor columns. As I can make to know the busy space for string of joined text the image, or either, the size that a block will occupy in archive pdf, without before inseriz it, therefore thus I can condition the column exchange, as well as of page if the block to exceed the limits of the page!