Results 1 to 8 of 8

Thread: RTF to HTML Package

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2009
    Location
    Castlegar, BC Canada
    Posts
    4,836

    Default RTF to HTML Package

    I wanted a way to convert my RTF fields into HTML code so my customers don't
    have to know any html to publish fields in our database...

    First I purchased Starzens RichEdit class to add the RTF to VDF...

    Then I build the attached pkg to handle the conversion in WAS...

    It provides simple conversion only (Fonts, Bullets, Indents, Colors &
    sizes)

    I use the PKG as an

    #INCLUDE in the top section of my Web WBO
    and then I use the message

    Send pRTF2HTML sRFTMessage

    to write the RTF as HTML to the ASP page...

    Any feedback and/or improvements welcome

    Mike

    --
    Michael Cooper,
    Grasp Software Corporation
    mcooper@grasp.ca
    www.grasp.ca




    Attached Files Attached Files

  2. #2
    Join Date
    Mar 2009
    Location
    Cumming, Georgia USA
    Posts
    1,891

    Default Re: RTF to HTML Package

    Have you modified (or how could it be modified) this pkg to just convert the RTF string (sMessage) to an HTML string so that is can be used in an email?

  3. #3
    Join Date
    Feb 2009
    Location
    Castlegar, BC Canada
    Posts
    4,836

    Default Re: RTF to HTML Package

    Hi Sam

    Here are the two latest versions and of course you can modify them as needed.

    For example, it doesn't handle accented characters properly. I actually don't use it much any more and have switched to an html editor for email so never got around to changing / updating these files.

    I had two versions .... one for my WebApp and one for my VDF applications.

    Hope this helps

    Mike
    Attached Files Attached Files

  4. #4
    Join Date
    Apr 2009
    Location
    Wilmington NC, USA or Oaxaca Mexico
    Posts
    919

    Default Re: RTF to HTML Package

    Mike,

    which html editor are are you using?

  5. #5
    Join Date
    Feb 2009
    Location
    Castlegar, BC Canada
    Posts
    4,836

    Default Re: RTF to HTML Package

    Hi Dan and Sam...

    I purchased the package from Wil which uses TinyMCE.

    I did a bit of tinkering with it to perform how I wanted it to work

    Here is an instructional introduction for my customers
    https://youtu.be/3ARO5zBSRBo

    Mike

  6. #6
    Join Date
    Mar 2009
    Location
    Cumming, Georgia USA
    Posts
    1,891

    Default Re: RTF to HTML Package

    Thanks, I appreciate the help!! Same as Dan, which HTML editor?

  7. #7
    Join Date
    Feb 2009
    Location
    Castlegar, BC Canada
    Posts
    4,836

    Default Re: RTF to HTML Package

    Hi Dan and Sam...

    I purchased the package from Wil which uses TinyMCE.

    I did a bit of tinkering with it to perform how I wanted it to work

    Here is an instructional introduction for my customers
    https://youtu.be/3ARO5zBSRBo

    Mike

  8. #8
    Join Date
    Mar 2009
    Location
    Cumming, Georgia USA
    Posts
    1,891

    Default Re: RTF to HTML Package

    WORKS GREAT! Thanks.

Similar Threads

  1. RTF
    By jos in forum Crystal Reports
    Replies: 0
    Last Post: 4-Oct-2006, 05:10 AM
  2. RTF
    By jos in forum Crystal Reports
    Replies: 0
    Last Post: 4-Oct-2006, 05:09 AM
  3. RTF
    By jos in forum Crystal Reports
    Replies: 0
    Last Post: 4-Oct-2006, 05:06 AM
  4. RTF
    By José Aparecido Queiroz in forum Crystal Reports
    Replies: 2
    Last Post: 4-Oct-2006, 04:28 AM
  5. Compose and Send RTF or HTML email
    By alspaugh in forum Code Library
    Replies: 15
    Last Post: 12-May-2006, 05:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •