Posted by Adrienne Boswell on 06/07/06 21:04
travismcmahan wote:
> Hello,
>
> I am working on a project that requires me to paginate a dynamic length
> html document so I can then in turn send each page to a PDF conversion
> component. I have been researching for an hour now and have yet to
> come across a solution.
>
> The data I am dealing with is a string with embedded html. I need to
> determine how many lines the rendered output will use in a browser so I
> can issue a page break appropriately.
>
> Any suggestions? Thanks in advance!
You could perhaps do something with characters. When 70 characters are
reached, you might have a line break, so you could calculate from that.
--
Adrienne Boswell at work
http://atlas.nextblock.com/files/
Please respond to the group so others can share
Navigation:
[Reply to this message]
|