Hello,
I use richTextBox and I save it in my database using HtmlFormatProvider. I need to print this text in the very same way in report. But the HtmlTextBox support only text formatting option.
Any suggestion to convert someting this :
To this :
Any clue ou suggestion will be VERY appreciate.
Thank you
I use richTextBox and I save it in my database using HtmlFormatProvider. I need to print this text in the very same way in report. But the HtmlTextBox support only text formatting option.
Any suggestion to convert someting this :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><
html
xmlns
=
"http://www.w3.org/1999/xhtml"
><
head
><
meta
http-equiv
=
"Content-Type"
content
=
"text/html; charset=utf-8"
/><
title
>Untitled</
title
><
style
type
=
"text/css"
>
.p_CC664AAA { margin: 0px 0px 12px 0px;text-align: left;text-indent: 0pt;padding: 0px 0px 0px 0px; }
.s_76E779F8 { font-family: 'Times New Roman';font-style: Normal;font-weight: normal;font-size: 16px;color: #000000;background-color: #FFFFFF; }
.s_D8D99854 { font-family: 'Verdana';font-style: Normal;font-weight: normal;font-size: 16px;color: #000000;background-color: #FFFFFF; }
</
style
></
head
><
body
><
p
class
=
"p_CC664AAA"
><
span
class
=
"s_76E779F8"
>q </
span
><
span
class
=
"s_76E779F8"
> Demeurer en contact avec la victime (victime consciente:</
span
><
span
class
=
"s_76E779F8"
>q</
span
><
span
class
=
"s_76E779F8"
> oui</
span
><
span
class
=
"s_76E779F8"
>q</
span
><
span
class
=
"s_76E779F8"
> non</
span
><
span
class
=
"s_76E779F8"
>q</
span
><
span
class
=
"s_76E779F8"
> ne sait pas)</
span
><
span
class
=
"s_D8D99854"
><
br
/></
span
><
span
class
=
"s_76E779F8"
>q </
span
><
span
class
=
"s_76E779F8"
> Déterminer les causes possibles de l'accident</
span
></
p
></
body
></
html
>
To this :
<
p
style
=
"{margin: 0px 0px 12px 0px;text-align: left;text-indent: 0pt;padding: 0px 0px 0px 0px;}"
><
span
style
=
"{font-family: 'Times New Roman';font-style: Normal;font-weight: normal;font-size: 16px;color: #000000;background-color: #FFFFFF;}"
>q </
span
><
span
style
=
"{font-family: 'Times New Roman';font-style: Normal;font-weight: normal;font-size: 16px;color: #000000;background-color: #FFFFFF;}"
> Demeurer en contact avec la victime (victime consciente:</
span
>
Any clue ou suggestion will be VERY appreciate.
Thank you