On Feb 03, 2007, at 3:39 PM, Matt Denton 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.
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
_______________________________________________
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>