Hi.
Back with more richtext needs.
In hopes of printing rtfs to an existing and opened oprn:hdc and only occupy a given region of the document, I'm taking a peek at HB_FUNC( REPRINT ).
I can't see how using RePrint. It would take some serious modifications.
I think the fw world would really benefit from having the ability to print rtf text to a region of a trpinter object. Or just add rtf printing to tprinter. Something like:
oprn:RtfPrint( ntop, nLeft, nbottom, nRight, oRTF:GetSel() )
::rtfPrint would print the selected text with its attributes --that is font, color, background color, etc...
I'm hoping some of the Guru's here can shed some light on the subject.
Reinaldo.
RePrint -- richtext
- reinaldocrespo
- Posts: 918
- Joined: Thu Nov 17, 2005 5:49 pm
- Location: Fort Lauderdale, FL
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Reinaldo,
I did some searching and I found this page:
http://home.att.net/~robertdunn/Papers/REPnP2.html
I think the answer may be there. It shows how to print an Richedit control in a specified area of a page.
James
I did some searching and I found this page:
http://home.att.net/~robertdunn/Papers/REPnP2.html
I think the answer may be there. It shows how to print an Richedit control in a specified area of a page.
James
thanks to all
WITH EM_FORMATRANGE I finished the method Preview on Trichedit class
this routine change the rtf format into EMF format : we can use it and put on rpreview program
I 'm testing it and perhaps This morning I insert it on Forum it is very usefull and it run with our rpreview program.
It run ok.....
I post later here
WITH EM_FORMATRANGE I finished the method Preview on Trichedit class
this routine change the rtf format into EMF format : we can use it and put on rpreview program
I 'm testing it and perhaps This morning I insert it on Forum it is very usefull and it run with our rpreview program.
It run ok.....
I post later here
- reinaldocrespo
- Posts: 918
- Joined: Thu Nov 17, 2005 5:49 pm
- Location: Fort Lauderdale, FL
- reinaldocrespo
- Posts: 918
- Joined: Thu Nov 17, 2005 5:49 pm
- Location: Fort Lauderdale, FL
- reinaldocrespo
- Posts: 918
- Joined: Thu Nov 17, 2005 5:49 pm
- Location: Fort Lauderdale, FL
- reinaldocrespo
- Posts: 918
- Joined: Thu Nov 17, 2005 5:49 pm
- Location: Fort Lauderdale, FL
Silvio;
Would you mind sending me trichprev.prg?
reinaldocrespo@structuredsystems.com
Thank you,
Reinaldo.
Would you mind sending me trichprev.prg?
reinaldocrespo@structuredsystems.com
Thank you,
Reinaldo.