Regarding Convertion of RTF text into Plain Text

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • maniks
    New Member
    • Jul 2014
    • 1

    Regarding Convertion of RTF text into Plain Text

    We use RTF controls for entering the comments in our application.The comments will be posted in the Database as RTF format as '{\rtf1\ansi\an sicpg1252\uc1\d eff0{\fonttbl {\f0\fnil\fchar set0\fprq2 Arial;} {\f1\fswiss\fch arset0\fprq2 Tahoma;} {\f2\froman\fch arset2\fprq2 Symbol;}} {\colortbl;\red 0\green0\blue0; \red255\green25 5\blue255;} {\stylesheet{\s 0\itap0\nowidct lpar\f0\fs24 [Normal];}{\*\cs10\addi tive Default Paragraph Font;}} {\*\generator TX_RTF32 15.0.530.502;} \deftab1134\pap erw12240\paperh 15840\margl57\m argt85\margr0\m argb0\widowctrl \formshade\sect d \headery720\foo tery720\pgwsxn1 8576\pghsxn1857 6\marglsxn57\ma rgtsxn85\margrs xn0\margbsxn0\p ard\itap0\nowid ctlpar\plain\f1 \fs20 shasak\par verma}'

    But when displaying the comments field in the report it shows the same as in DB.But the expected result is only the entered comments not all the RTF formats.....

    Does any one experience this??....
Working...