RTFToHTML function does not support TextForm. CAn someone help ?

Last post 12-03-2007, 11:48 PM by mcaamit. 2 replies.
Sort Posts: Previous Next
  •  12-03-2007, 7:23 AM 35587

    RTFToHTML function does not support TextForm. CAn someone help ?

    RTFToHTML function does not support TextForm. CAn someone help ?
     
    Regards,
    Amit
  •  12-03-2007, 8:27 AM 35589 in reply to 35587

    Re: RTFToHTML function does not support TextForm. CAn someone help ?

  •  12-03-2007, 11:48 PM 35612 in reply to 35589

    Re: RTFToHTML function does not support TextForm. CAn someone help ?

    Hi Adam,
     
    Thanks for your Response.
    However I am not able to extract solution to my problem from the demo you suggested.
    For simplicity I am sending my RTF that needs to be converted to HTML.
    The problem is that FormText are not getting converted properly.
    Regards,
    Amit
     
    -------------------------------------
    {\rtf1\adeflang1025\ansi\ansicpg1252\uc1\adeff0\deff0\stshfdbch0\stshfloch0\stshfhich0\stshfbi0\deflang1033\deflangfe1033{\fonttbl{\f0\froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman{\*\falt Times New Roman};}{\f120\fswiss\fcharset0\fprq2{\*\panose 020b0500000000000000}Avenir 45 Book{\*\falt Arial Narrow};}
    {\f121\froman\fcharset238\fprq2 Times New Roman CE{\*\falt Times New Roman};}{\f122\froman\fcharset204\fprq2 Times New Roman Cyr{\*\falt Times New Roman};}{\f124\froman\fcharset161\fprq2 Times New Roman Greek{\*\falt Times New Roman};}
    {\f125\froman\fcharset162\fprq2 Times New Roman Tur{\*\falt Times New Roman};}{\f126\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew){\*\falt Times New Roman};}
    {\f127\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic){\*\falt Times New Roman};}{\f128\froman\fcharset186\fprq2 Times New Roman Baltic{\*\falt Times New Roman};}
    {\f129\froman\fcharset163\fprq2 Times New Roman (Vietnamese){\*\falt Times New Roman};}}{\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0;\red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;
    \red255\green255\blue255;\red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;\red128\green0\blue128;\red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;}{\stylesheet{
    \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs20\alang1025 \ltrch\fcs0 \fs20\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 \snext0 Normal;}{\*\cs10 \additive \ssemihidden Default Paragraph Font;}{\*
    \ts11\tsrowd\trftsWidthB3\trpaddl108\trpaddr108\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\tblind0\tblindtype3\tscellwidthfts0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv
    \ql \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\lang1024\langfe1024\cgrid\langnp1024\langfenp1024 \snext11 \ssemihidden Normal Table;}{
    \s15\ql \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 \sbasedon0 \snext15 Body Text;}{\s16\ql \li0\ri0\nowidctlpar
    \tqc\tx4320\tqr\tx8640\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs20\alang1025 \ltrch\fcs0 \fs20\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 \sbasedon0 \snext16 \styrsid16321430 header;}{\s17\ql \li0\ri0\nowidctlpar
    \tqc\tx4320\tqr\tx8640\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs20\alang1025 \ltrch\fcs0 \fs20\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 \sbasedon0 \snext17 \styrsid16321430 footer;}}{\*\latentstyles\lsdstimax156\lsdlockeddef0}
    {\*\pgptbl {\pgp\ipgp0\itap0\li0\ri0\sb0\sa0}}{\*\rsidtbl \rsid275960\rsid338892\rsid397393\rsid525361\rsid616154\rsid816564\rsid1263726\rsid1534035\rsid1859221\rsid1991950\rsid2622749\rsid3220783\rsid3896059\rsid4069025\rsid4135872\rsid4459946
    \rsid4487226\rsid4535321\rsid4605259\rsid4742368\rsid4941447\rsid5013085\rsid5849638\rsid6317619\rsid6969745\rsid7557091\rsid7733382\rsid7743545\rsid7894016\rsid8015292\rsid8550166\rsid8798867\rsid8978558\rsid8991604\rsid9072099\rsid9594141\rsid9964024
    \rsid10106838\rsid10356594\rsid10440484\rsid10555550\rsid10617484\rsid10748278\rsid10841450\rsid10965230\rsid11040618\rsid11368709\rsid11876024\rsid11957712\rsid12276134\rsid13053074\rsid13449819\rsid13919807\rsid14025990\rsid14423305\rsid14441869
    \rsid14499377\rsid14557579\rsid14632164\rsid14692359\rsid15339504\rsid15404511\rsid15599279\rsid15733822\rsid16074043\rsid16204679\rsid16255861\rsid16321430\rsid16464309}{\*\generator Microsoft Word 11.0.8134;}{\info{\title Xtrac Letter}
    {\author Systems Development}{\operator a387007}{\creatim\yr2007\mo7\dy2\hr20\min2}{\revtim\yr2007\mo12\dy3\hr16\min45}{\version4}{\edmins2}{\nofpages1}{\nofwords295}{\nofchars1687}{\*\company Fidelity Investments}{\nofcharsws1979}
    {\vern24611}{\*\password 00000000}}{\*\xmlnstbl {\xmlns1 http://schemas.microsoft.com/office/word/2003/wordml}{\xmlns2 http://schemas.microsoft.com/office/word/2003/wordm}}\paperw12240\paperh15840\margl1440\margr1440\margt2448\margb720\gutter0\ltrsect
    \widowctrl\ftnbj\aenddoc\donotembedsysfont0\donotembedlingdata1\grfdocevents0\validatexml0\showplaceholdtext0\ignoremixedcontent0\saveinvalidxml0\showxmlerrors0\noxlattoyen\expshrtn\noultrlspc\dntblnsbdb
    \nospaceforul\hyphcaps0\formshade\horzdoc\dghspace120\dgvspace120\dghorigin1701\dgvorigin1984\dghshow0\dgvshow3\jcompress\viewkind1\viewscale100\nolnhtadjtbl\rsidroot3896059 \fet0{\*\wgrffmtfilter 013f}\ilfomacatclnup0{\*\template CORRADMN.DOT}
    {\*\docvar {TempDirectory}{C:\'5cWINDOWS\'5cTEMP}}\ltrpar \sectd \ltrsect\binfsxn259\binsxn259\psz1\linex0\footery1008\endnhere\sectdefaultcl\sectrsid16255861\sftnbj {\*\pnseclvl1\pnucrm\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl2
    \pnucltr\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl3\pndec\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl4\pnlcltr\pnstart1\pnindent720\pnhang {\pntxta )}}{\*\pnseclvl5\pndec\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl6
    \pnlcltr\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl7\pnlcrm\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl8\pnlcltr\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl9\pnlcrm\pnstart1\pnindent720\pnhang
    {\pntxtb (}{\pntxta )}}\pard\plain \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0\pararsid13053074 \rtlch\fcs1 \af0\afs20\alang1025 \ltrch\fcs0 \fs20\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {\*\bkmkstart Text1}
    {\field\fldedit{\*\fldinst {\rtlch\fcs1 \af0\afs24 \ltrch\fcs0 \fs24\insrsid13053074\charrsid14025990  FORMTEXT }{\rtlch\fcs1 \af0\afs24 \ltrch\fcs0 \fs24\insrsid14557579 {\*\datafield
    000000000000000005546578743100114e6f76656d6265722031392c20323030370000000000000000000000}{\*\formfield{\fftype0\fftypetxt0{\*\ffname Text1}{\*\ffdeftext November 19, 2007}}}}}{\fldrslt {\rtlch\fcs1 \af0\afs24 \ltrch\fcs0
    \fs24\lang1024\langfe1024\noproof\insrsid13053074\charrsid14025990 November 19, 2007}}}\sectd \binfsxn259\binsxn259\psz1\linex0\footery1008\endnhere\sectdefaultcl\sectrsid16255861\sftnbj {\rtlch\fcs1 \af0\afs24 \ltrch\fcs0
    \fs24\insrsid13053074\charrsid14025990 {\*\bkmkend Text1}
    \par
    \par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0\pararsid8798867 {\*\bkmkstart OLE_LINK1}{\*\bkmkstart OLE_LINK2}{\field\fldedit{\*\fldinst {\rtlch\fcs1 \af0\afs24 \ltrch\fcs0 \fs24\insrsid8798867\charrsid7557091  FORMTEXT }{
    \rtlch\fcs1 \af0\afs24 \ltrch\fcs0 \fs24\insrsid14557579 {\*\datafield 000000001400000005546578743100000000000000000000000000}{\*\formfield{\fftype0\fftypetxt0\ffhps20{\*\ffname Text1}}}}}{\fldrslt {\rtlch\fcs1 \af0\afs24 \ltrch\fcs0
    \fs24\lang1024\langfe1024\noproof\insrsid8798867\charrsid7557091
    \par }}}\pard\plain \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0\pararsid8798867 \rtlch\fcs1 \af0\afs20\alang1025 \ltrch\fcs0 \fs20\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 \sectd
    \binfsxn259\binsxn259\psz1\linex0\footery1008\endnhere\sectdefaultcl\sectrsid16255861\sftnbj {\rtlch\fcs1 \af0\afs22 \ltrch\fcs0 \f120\fs22\insrsid8798867\charrsid8798867 {\*\bkmkend OLE_LINK1}{\*\bkmkend OLE_LINK2}
    \par }\pard\plain \ltrpar\s15\ql \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {\*\bkmkstart Text7}
    {\field\flddirty{\*\fldinst {\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid525361\charrsid14025990  FORMTEXT }{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid14557579 {\*\datafield 000000000000000005546578743700000000000000000000000000}{\*\formfield{\fftype0\fftypetxt0
    {\*\ffname Text7}}}}}{\fldrslt }}\sectd \binfsxn259\binsxn259\psz1\linex0\footery1008\endnhere\sectdefaultcl\sectrsid16255861\sftnbj {\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid13053074\charrsid14025990 {\*\bkmkend Text7}
    \par }{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid10440484\charrsid14025990
    \par }{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid16464309\charrsid14025990 Thank you for contacting us }{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid8015292\charrsid14025990
    your request to recharacterize your Fidelity IRA contribution or conversion.  We have processed your IRA recharacterization.  }{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid16464309\charrsid14025990
    \par }{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid8015292\charrsid14025990
    \par }{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid9964024\charrsid14025990 When performing a recharacterizati, the Internal Rev
    enue Service (IRS) requires a calculation to determine the earnings or loss on the IRA conversion or contribution amount to be recharacterized.  The earnings or loss applicable to the recharacterization were calculated based on the metoutlined in IRS Noti
    ce 2000-39 and IRS Final Regulation 1.408-11.  The calculation is based on the total earnings in your IRA during the period the IRA held the contribution or conversion \endash
    specifically from the business day immediately prior to the contribution or conversion deposit date to the business day immediately prior to the date you recharacterize, known as the computation period. 
    \par
    \par }{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid8015292\charrsid14025990 Based on your request to recharacterize ${\*\bkmkstart Text2}}{\field\flddirty{\*\fldinst {\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid8015292\charrsid14025990  FORMTEXT }{\rtlch\fcs1 \af0
    \ltrch\fcs0 \insrsid14557579 {\*\datafield 000000000000000005546578743200000000000000000000000000}{\*\formfield{\fftype0\fftypetxt0{\*\ffname Text2}}}}}{\fldrslt }}\sectd
    \binfsxn259\binsxn259\psz1\linex0\footery1008\endnhere\sectdefaultcl\sectrsid16255861\sftnbj {\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid8015292\charrsid14025990 {\*\bkmkend Text2} and applicable }{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid9964024\charrsid14025990
    IRS}{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid8015292\charrsid14025990 regulations pertaining to IRA recharacterizations, the total applicable earnings or loss for the computation period was}{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid6317619  {\*\bkmkstart Text3}$
    }{\field\flddirty{\*\fldinst {\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid8015292\charrsid14025990  FORMTEXT }{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid14557579 {\*\datafield 00000000000000000000000000000000000000000000}{\*\formfield{\fftype0\fftypetxt0}}}
    }{\fldrslt }}\sectd \binfsxn259\binsxn259\psz1\linex0\footery1008\endnhere\sectdefaultcl\sectrsid16255861\sftnbj {\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid8015292\charrsid14025990 {\*\bkmkend Text3} and the total amount recharacterized was}{\rtlch\fcs1 \af0
    \ltrch\fcs0 \insrsid6317619  ${\*\bkmkstart Text4}}{\field\flddirty{\*\fldinst {\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid8015292\charrsid14025990  FORMTEXT }{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid14557579 {\*\datafield
    000000000000000005546578743400000000000000000000000000}{\*\formfield{\fftype0\fftypetxt0{\*\ffname Text4}}}}}{\fldrslt }}\sectd \binfsxn259\binsxn259\psz1\linex0\footery1008\endnhere\sectdefaultcl\sectrsid16255861\sftnbj {\rtlch\fcs1 \af0 \ltrch\fcs0
    \insrsid8015292\charrsid14025990 {\*\bkmkend Text4}.  The amount of the recharacterization reported on your next statement and tax forms issued next January (Form 5498 and Form 1099-R) may be slightly different th}{\rtlch\fcs1 \af0 \ltrch\fcs0
    \insrsid6317619 a}{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid8015292\charrsid14025990 n this calculation due to intra-day price fluctuations}{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid1534035  of the securities recharacteriz}{\rtlch\fcs1 \af0 \ltrch\fcs0
    \insrsid8015292\charrsid14025990 ed. 
    \par }{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid9964024\charrsid14025990
    \par Additional information on the topic of IRA recharacterizations can be obtained in the IRS Publication 590, Notice 200}{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid1534035 0}{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid9964024\charrsid14025990 -39 and the Final}{
    \rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid1534035  Regulation 1.408-11.  You are also}{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid14441869\charrsid14025990 encouraged to contact your tax advisor for specific questions about the tax implicatio
    ns of any IRA recharacterization.  }{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid9964024\charrsid14025990
    \par }{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid14441869\charrsid14025990
    \par }{\rtlch\fcs1 \af0 \ltrch\fcs0 \b\insrsid14441869\charrsid14557579 Thank you for entrusting your retirement savings to Fidelity.  If you have any questions, you may contact a Fidelity Retir}{\rtlch\fcs1 \af0 \ltrch\fcs0 \b\insrsid1534035\charrsid14557579
    ement Specialist at 800-544-}{\rtlch\fcs1 \af0 \ltrch\fcs0 \b\insrsid275960\charrsid14557579 4774}{\rtlch\fcs1 \af0 \ltrch\fcs0 \b\insrsid14441869\charrsid14557579 . 
    \par }{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid16464309\charrsid14025990
    \par }\pard\plain \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0\pararsid4535321 \rtlch\fcs1 \af0\afs20\alang1025 \ltrch\fcs0 \fs20\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {\*\bkmkstart Text8}{\field{\*\fldinst {\rtlch\fcs1 \af0
    \ltrch\fcs0 \insrsid11368709  FORMTEXT }{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid14557579 {\*\datafield
    0000000000000000055465787438005c53696e636572656c792c0d0d0d476175726176204b657368617277616e690d5265746972656d656e7420446973747269627574696f6e2053657276696365730d0d4f75722066696c653a2020573035353733302d31344e4f5630370d0000000000000000000000}
    {\*\formfield{\fftype0\fftypetxt0{\*\ffname Text8}{\*\ffdeftext Sincerely,\'0d\'0d\'0dGaurav Kesharwani\'0dRetirement Distribution Services\'0d\'0dOur file:  W055730-14NOV07\'0d}}}}}{\fldrslt {\rtlch\fcs1 \af0\afs24 \ltrch\fcs0
    \fs24\insrsid13919807\charrsid4535321 Sincerely,
    \par }{\rtlch\fcs1 \af0\afs24 \ltrch\fcs0 \fs24\insrsid4535321\charrsid4535321
    \par
    \par Gaurav Kesharwani
    \par }{\rtlch\fcs1 \af0\afs24 \ltrch\fcs0 \fs24\insrsid13919807\charrsid4535321 Retirement Distribution Services}{\rtlch\fcs1 \af0\afs24 \ltrch\fcs0 \fs24\insrsid13919807
    \par }{\rtlch\fcs1 \af0\afs24 \ltrch\fcs0 \fs24\insrsid338892
    \par Our file:  W055730-14NOV07}{\rtlch\fcs1 \af0\afs24 \ltrch\fcs0 \fs24\insrsid338892\charrsid4535321
    \par }\pard\plain \ltrpar\s15\ql \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 }}\pard\plain \ltrpar
    \s15\ql \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 \sectd
    \binfsxn259\binsxn259\psz1\linex0\footery1008\endnhere\sectdefaultcl\sectrsid16255861\sftnbj {\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid16464309\charrsid14025990 {\*\bkmkend Text8}
    \par
    \par
    \par }}
    ------------------------------------
View as RSS news feed in XML