On Friday 23 September 2005 13:10, Stanislav Komlenac wrote:
> I understand that i need to calculate number of dots and then insert them,
> but i dont know how to
> detect end of line or something like that. :-( I try to do something with
> width of chunk but that
> doesn't work...
You can't detect the end of the line since the rtf document is not rendered 
when you generate the document but when you view it. Therefore the rtf writer 
can't know when a line actually ends.

The only way to do this is to see in Word how many dots one line takes and how 
much space each letter and then try to approximate. 

Greetings,
Mark
-- 
Repartee is something we think of twenty-four hours too late.
  -- Mark Twain

My GPG public key is available at:
http://www.edu.uni-klu.ac.at/~mhall/data/security/MarkHall.asc

Attachment: pgpI0RG0tLC4M.pgp
Description: PGP signature

Reply via email to