Fit content in table cells (MailMerge)
Posted: Tue Oct 11, 2011 1:20 pm
Hi
I'm doing a mailmerge with tables (fixed cell height and width). The problem occurs when the data(text) is too long to fit in a cell. In this case I should decrement font size until all text fits in.
And I'm doing this in XML first, than I load it in RV and print it with TRVReportHelper.
Any idea how to do this?
First I need to detect that the text is too long. But this can be done only after TRVReportHelper.FormatNextPage or ... I fact I don't know how to do it there either so ... help me out.
Thanks
I'm doing a mailmerge with tables (fixed cell height and width). The problem occurs when the data(text) is too long to fit in a cell. In this case I should decrement font size until all text fits in.
And I'm doing this in XML first, than I load it in RV and print it with TRVReportHelper.
Any idea how to do this?
First I need to detect that the text is too long. But this can be done only after TRVReportHelper.FormatNextPage or ... I fact I don't know how to do it there either so ... help me out.
Thanks