Search found 918 matches

by reinaldocrespo
Fri Feb 10, 2006 3:47 pm
Forum: FiveWin for Harbour/xHarbour
Topic: RePrint -- richtext
Replies: 8
Views: 1887

Silvio;

Would you mind sending me trichprev.prg?

reinaldocrespo@structuredsystems.com

Thank you,


Reinaldo.
by reinaldocrespo
Fri Feb 10, 2006 1:36 pm
Forum: FiveWin for Harbour/xHarbour
Topic: RePrint -- richtext
Replies: 8
Views: 1887

Silvio;

I'm glad you remember. I'll take a look today.

Thank you,



Reinaldo.
by reinaldocrespo
Wed Feb 08, 2006 9:51 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Richtext printing
Replies: 11
Views: 2838

Antonio;

Hi.

Glad to hear the news. I'll be waiting in line to place the order for March build. :-)


BTW -- with it, I'll be able to print rtf data to a region of an already opened tprinter object. Right?


Reinaldo.
by reinaldocrespo
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...
by reinaldocrespo
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...
by reinaldocrespo
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( ...
by reinaldocrespo
Wed Feb 08, 2006 1:16 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Migrating to Linux
Replies: 4
Views: 1095

Frank;

You know, you could always try wine. I mean the wine project. I hear it works quite well. I'd suppose that the only other option we have left is porting the application, which should envolve some extra work.

Please let me know how it goes. ok?


Reinaldo.
by reinaldocrespo
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...
by reinaldocrespo
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,...
by reinaldocrespo
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...
by reinaldocrespo
Tue Feb 07, 2006 8:11 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Migrating to Linux
Replies: 4
Views: 1095

Frank;

Is your customer migrating the server or the workstations?

If it is only the server, no changes needed. Just run samba on the server. Windows workstations will see it as a windows nt server. Only it works better and faster.

Reinaldo.
by reinaldocrespo
Mon Feb 06, 2006 5:03 pm
Forum: FiveWin for Harbour/xHarbour
Topic: RePrint -- richtext
Replies: 8
Views: 1887

Silvio,

Thanks for your help. Your work is a much needed feature, but I think it is a bit different than my pressing need at the time. Please do post your work or send it to me via e-mail. It should help with my needs.

Much appreciated.


Reinaldo.
by reinaldocrespo
Mon Feb 06, 2006 5:01 pm
Forum: FiveWin for Harbour/xHarbour
Topic: RePrint -- richtext
Replies: 8
Views: 1887

James;

I read through it. I will spend time today trying to implement it. Not very complex. Just thick. It seems like it will work.

Thank you.


Reinaldo.
by reinaldocrespo
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 ...
by reinaldocrespo
Sun Feb 05, 2006 5:36 pm
Forum: FiveWin for Harbour/xHarbour
Topic: RichtText Class
Replies: 2
Views: 775

Enrico; Thank you for the tip. I seldom make any contributions. Below is what I wrote. That's my 2 cents. //----------------------------------------------------------------------------// HB_FUNC( HIGHLIGHTSELECTION ) { CHARFORMAT2 cfrm; memset( ( char * ) &cfrm, 0, sizeof( cfrm ) ); cfrm.cbSize ...