Saturday 11 March 2006 7:02:37 am
Hi, I'm doing my first experiences with pdf export - and have some questions. I want to output the contact data (address and sometimes email, phone, mobile and fax) of some people. - Is it really necessary to define the
{pdf( 'set_margin',
hash( 'line_space', 0.45 ) )}
before <i>each</i>
{pdf( 'new_line' )}
to avoid huge spaces between e.g. street and town? What is the unit of line_space? - How can I avoid pagebreaks while outputting the contact data of one person so that pagebreaks only occur between the data of different persons? Do I need to calculate the needed space for each record and check myself if there is enough place? - Is it possible to print a simple linebreak in the outputted text without any new_line, e.g. the outputtet text is "first line<br>second line" or instead of "<br>" using "\n" or whatever - I didn't find a solution. Or do I need a text command for each line? Thank you Thomas
|