Thanks for the suggestion Norman,

This would work if it wasn't a styled EditField that I needed: mixed font sizes and styles. This only works with the very simple fixed line height single font layouts, but great suggestion, thanks Norman!

Anyone else have any ideas?

Thanks

M@
Matt

Not sure but if you put styled text into a PDFText can it tell you
how big tall it will be if you tell it how wide to make it ?
That sounds more like what you need

Matt wrote:

Hello again

PAGINATION -- ANY HELP?
I'm trying to work out a way to do pagination on a Styled
TextField.   I want to be able to find where page breaks occur, so
that I can chunk in page at a time to the PDF encoder.  I think
this might work, however I can't for the life of me work out how to
find the end of a page based on a page width and height.  I have
mixed fonts and sizes.  Effectively,   I think I need to mimic some
of the StyledTextPrinter DrawBlock functionality somehow... am I
missing something really obvious?

I thought perhaps using CharPosAtXY but this doesn't marry printing
DPI with screen resolution, I see inaccuracies in this process.

Any ideas?

Many thanks again, still digging trying to effectively get a multi-
page PDF from a long single Styled TextField with mixed font sizes.


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to