Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Cecil Champenois
  Where is Cecil Champenois?
 Little Elm
 Texas - United States
 Cecil Champenois
 To: Cesar
  Where is Cesar?
 
 Brazil
 Cesar
 Tags
Subject: RE: FoxyPreviewer new cool feature
Thread ID: 331112 Message ID: 331211 # Views: 34 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Reports and Printers
Date: Tuesday, December 27, 2011 9:40:17 PM         
   


> Just released FoxyPreviewer v2.91b
>
> This brings a super cool new feature, allowing you to add some basic HTML texts to your fields. This means that you can from now on determine how EACH WORD in your field should be formatted!
>
> See the image below, all the text is in ONE SINGLE FIELD !
>
>
> How to do it ?
> Very very simple:
>
> - Open your report, in Edit mode
> - Double-click the field that you want to add the tagged formatting. This will open the field properties dialog
> - Click on the "Other" tab
> - Click on the "Edit user data..." button
> - Add the string "< TF >" (without spaces) as shown in the picture below
>
>
> And just add the HTML code below to that field:
>
>
>
> The search capabilities are kept, and exporting to PDF returns an excellent output as well.
>
> Here are the available TAGS (please remove the spaces between the "<" and ">"):
>
>

> < b > < /b > - bold
> < i > < /i > - italic
> < u > < /u > - underline
> < s > < /s > - strikethru
> < color=rgb/ncolor > < /color> // < c=> < /c> - forecolor
> < highlight=rgb/ncolor > < /highlight> // < h=> < /h> - backcolor
> < fontname="name" > < /fontname> // < fname=> < /fname> - font name
> < fontsize=0 > < /fontsize> // < fsize=> < /fsize> - font size
> < fontstyle="BIUS" > < /fontstyle> // < fstyle=> < /fstyle> - font style string // will alter < b>< i>< u>< s> previous state
> NB: color could be stored a number with RGB()
> NB: could prevent transform if '>

>
> Special thanks to Eduard Shor, from Bucarest, Romania, for his essential help in this feature, help in discussions and for providing some procedures to deal with the tagged texts.
>
> This feature still needs some tests. It is possible that you find some tags that are not being considered, please tell us!
> Check sample SAMPLE_TF.FRX to play with the new features
>
>
> Hope you like it !
>
> Regards,
>
> m.Cesar
> My Blog

This is the kind of programming that should have gone into Visual FoxPro 10. Good job Cesar!

Cecil Champenois, Jr.

ENTIRE THREAD

FoxyPreviewer new HTML formatting Posted by Cesar @ 12/27/2011 5:19:00 AM
RE: FoxyPreviewer new cool feature Posted by Jun Tangunan @ 12/27/2011 5:27:42 AM
RE: FoxyPreviewer new cool feature Posted by Ugur YILMAZ @ 12/27/2011 10:40:21 AM
RE: FoxyPreviewer new cool feature Posted by Soykan OZCELIK @ 12/27/2011 10:59:10 AM
RE: FoxyPreviewer new cool feature Posted by Jijo Pappachan @ 12/27/2011 12:18:54 PM
RE: FoxyPreviewer new cool feature Posted by Koen Piller @ 12/27/2011 12:38:54 PM
RE: FoxyPreviewer new cool feature Posted by mk sharma @ 12/27/2011 12:59:40 PM
RE: FoxyPreviewer new cool feature Posted by Luis Maria Guayan @ 12/27/2011 1:21:26 PM
RE: FoxyPreviewer new cool feature Posted by Cesar @ 12/27/2011 2:21:36 PM
RE: FoxyPreviewer new cool feature Posted by Stefan Wuebbe @ 12/27/2011 7:05:10 PM
RE: FoxyPreviewer new cool feature Posted by Cesar @ 12/27/2011 7:16:49 PM
RE: FoxyPreviewer new cool feature Posted by Zul Rahim @ 12/27/2011 2:51:30 PM
RE: FoxyPreviewer new cool feature Posted by M. Tanveer Ul Hassan Shaheen @ 12/27/2011 5:18:07 PM
RE: FoxyPreviewer new cool feature Posted by Cesar @ 12/27/2011 7:18:21 PM
RE: FoxyPreviewer new cool feature Posted by Cecil Champenois @ 12/27/2011 9:40:17 PM