Silvio;
Would you mind sending me trichprev.prg?
reinaldocrespo@structuredsystems.com
Thank you,
Reinaldo.
Search found 918 matches
- Fri Feb 10, 2006 3:47 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: RePrint -- richtext
- Replies: 8
- Views: 1887
- Fri Feb 10, 2006 1:36 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: RePrint -- richtext
- Replies: 8
- Views: 1887
- Wed Feb 08, 2006 9:51 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Richtext printing
- Replies: 11
- Views: 2838
- Wed Feb 08, 2006 5:23 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Richtext printing
- Replies: 11
- Views: 2838
Enrico; My rtf file is 676 bytes long. The text obtain by ortf:gettext() is 202 bytes long. when I issue a EM_EXSETSEL message with cpmin set at any nuber above 202 it set is to 202. Example: RESetSelection( ::ortf:hWnd, nmin, len( cLine ) ) Where nmin is 300, REGetSelection( ::oRtf:hwnd, @nMin, @nM...
- Wed Feb 08, 2006 2:52 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Richtext printing
- Replies: 11
- Views: 2838
Enrico; Good to see your answer. Ok. I take your point. Let's just rephrase the question. First let's laid a couple of assumptions: With: local cRtf := RESaveAsRTF( ::ortf:hWnd, SF_RTF ) local cText := ortf:GetText() I have in cRtf all text together with all rtf tokens embedded. And cText contains o...
- Wed Feb 08, 2006 2:04 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Richtext printing
- Replies: 11
- Views: 2838
This silence only tells me that, perhaps, my note is not clear enough. So let me update the situation. I've found that with this small change it almost works. While nStart < len( cRtf ) nLast := FindEndOfText( cRtf, nStart ) cLine := SubStr( cRtf, nStart, nLast - nStart ) ::oRtf:SetSel( nMax := at( ...
- Wed Feb 08, 2006 1:16 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Migrating to Linux
- Replies: 4
- Views: 1095
- Tue Feb 07, 2006 10:16 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Cómo dibujar un rectángulo de tamaño ajustable
- Replies: 15
- Views: 4852
Rafael; Pues usando los ejemplos que Antonio menciona le añadí estos metodos a la clase timage y me dibuja el rectangulo sobre la imagen. Hasta ahi, no hay problema. Donde tengo el problema es descifrando que hacer con las coordenadas de forma tal que la imagen ahora solo venga a ser esa region enma...
- Tue Feb 07, 2006 9:41 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Cómo dibujar un rectángulo de tamaño ajustable
- Replies: 15
- Views: 4852
Rafael; Hola, que tal? Cual es tu proposito? Si se trata de enmarcar un segmento de una imagen (timage), pues me gustaría poder usarlo. Es que tengo una rutina que adquire documentos o imagenes de un scanner, y me gustaria permitir al usuario marcar el area de la imagen que desea conservar. Saludos,...
- Tue Feb 07, 2006 8:36 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Richtext printing
- Replies: 11
- Views: 2838
Richtext printing
Hi. To print richt text with tprinter class, I've decided to implement an algorithm where I parse the richtext detecting rtf tokens and printing every time a font change happens. To this end, when achange is detected I do a "selection" of the text and then with REGetCharFormat I get the fo...
- Tue Feb 07, 2006 8:11 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Migrating to Linux
- Replies: 4
- Views: 1095
- Mon Feb 06, 2006 5:03 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: RePrint -- richtext
- Replies: 8
- Views: 1887
- Mon Feb 06, 2006 5:01 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: RePrint -- richtext
- Replies: 8
- Views: 1887
- Sun Feb 05, 2006 7:51 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: RePrint -- richtext
- Replies: 8
- Views: 1887
RePrint -- richtext
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 ...
- Sun Feb 05, 2006 5:36 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: RichtText Class
- Replies: 2
- Views: 775