trichview.support
RTF to HTML export |
Author |
Message |
Gad D Lord |
Posted: 06/21/2004 16:06:42 Hi, Please, help me to solve the following problem. I want to export RTF to HTML where table borders are one pixel thick. I am using TDBRichViewEdit in RTF mode. Here is a what I want to achieve. One pixel border. http://palmroot.com/rv/screenshot.jpg I use the following settings for the Table when I add it to RV. http://www.palmroot.com/rv/settings.jpg I save the RTF into HTML using SaveHTML. I do not want to use SaveHTMLEx because of other reasons (for some reason the Bold settings and alignment are not exported, but that's another story). Perhaps the problem is with me. Please help me to solve this situation. Currently my rtf look like this: ==== {\rtf1\ansi\ansicpg0\uc1\deff0\deflang1024\deflangfe1024{\fonttbl{\f0\fnil\f charset1 Times New Roman;}{\f1\fnil\fcharset1 Arial;}{\f2\fnil\fcharset0 Times New Roman;}}{\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red0\green255\bl ue255;\red0\green255\blue0;\red255\green0\blue255;\red255\green0\blue0;\red2 55\green255\blue0;\red255\green255\blue255;\red0\green0\blue128;\red0\green1 28\blue128;\red0\green128\blue0;\red128\green0\blue128;\red128\green0\blue0; \red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;\re d255\green128\blue0;\red204\green204\blue204;\red212\green208\blue200;\red23 8\green238\blue238;}{\*\listtable{\list\listtemplateid880391189 \listid333945451} } {\*\listoverridetable {\listoverride\listid333945451\listoverridecount0\ls1} } \uc1 \pard\fi0\li0\qc\ri0\sb105\sa105\itap0 \plain \f2\lang1033\fs36 Appointment <@ST_APPOINTMENT_DATE> @ <@ST_APPOINTMENT_TIME> \par\pard\fi0\li0\ql\ri0\sb105\sa105\itap0 \plain \f0\fs24 DEAR JACQUELINE, \line\plain \f0\fs24 \line\plain \f0\fs24 We are pleased to present you with this appointment notification. \line\plain \f0\fs24 \line\plain \f0\fs24 Below are the general details of your appointment. If anything appears inaccurate, or you are unable to make your appointment, please contact us as soon as possible by e-mailing us at <@ST_STORE_MAIL>. OR call us at <@ST_STORE_PHONE>. \line\plain \f0\fs24 \line\plain \f0\fs24 Thank you in advance for your continued loyalty. \par\pard\fi0\li0\ql\ri0\sb105\sa105\itap0 \plain \f0\fs24 \par\pard\fi0\li0\ql\ri0\sb105\sa105\itap0 \plain \f0\fs24 <NAME> = <GIVNAME> + <SURNAME> \par\pard\fi0\li0\ql\ri0\sb0\sa0\itap0 {\trowd\trgaph82\trleft0\itap1\trpaddl75\trpaddt75\trpaddr75\trpaddb75\trpad dfl3\trpaddft3\trpaddfr3\trpaddfb3\trspdl-8\trspdr-8\trspdfl3\trspdfr3\trspd t0\trspdb-8\trspdft3\trspdfb3\trwWidth5000\trftsWidth2\richviewtbw-100\trbrd rl\brdrs\brdrw15\brdrcf18\trbrdrt\brdrs\brdrw15\brdrcf18\trbrdrr\brdrs\brdrw 15\brdrcf18\trbrdrb\brdrs\brdrw15\brdrcf18\clmgf\clftsWidth1\richviewcbw0\ri chviewcbh0\clbrdrl\brdrs\brdrw15\brdrcf19\clbrdrt\brdrs\brdrw15\brdrcf19\clb rdrr\brdrs\brdrw15\brdrcf19\clbrdrb\brdrs\brdrw15\brdrcf19\clcbpat20\cellx32 32\clmrg\clbrdrl\brdrs\brdrw15\brdrcf19\clbrdrt\brdrs\brdrw15\brdrcf19\clbrd rr\brdrs\brdrw15\brdrcf19\clbrdrb\brdrs\brdrw15\brdrcf19\clcbpat20\cellx7972 \clmrg\clbrdrl\brdrs\brdrw15\brdrcf19\clbrdrt\brdrs\brdrw15\brdrcf19\clbrdrr \brdrs\brdrw15\brdrcf19\clbrdrb\brdrs\brdrw15\brdrcf19\clcbpat20\cellx9248\c lmrg\clbrdrl\brdrs\brdrw15\brdrcf19\clbrdrt\brdrs\brdrw15\brdrcf19\clbrdrr\b rdrs\brdrw15\brdrcf19\clbrdrb\brdrs\brdrw15\brdrcf19\clcbpat20\cellx10508\pa rd\intbl\itap1{{ \pard\fi0\li0\qc\ri0\sb0\sa0\itap1\intbl {\field{\*\fldinst HYPERLINK "_SYS_APPT_SERVICES"}{\fldrslt\plain \f0\b\fs24\cf1 SCHEDULED SERVICES}}\cell}{\cell}{\cell}{\cell}}\pard\intbl\itap1\row}{\trowd\trgaph82 \trleft0\itap1\trpaddl75\trpaddt75\trpaddr75\trpaddb75\trpaddfl3\trpaddft3\t rpaddfr3\trpaddfb3\trspdl-8\trspdr-8\trspdfl3\trspdfr3\trspdt-8\trspdb0\trsp dft3\trspdfb3\trwWidth5000\trftsWidth2\richviewtbw-100\trbrdrl\brdrs\brdrw15 \brdrcf18\trbrdrt\brdrs\brdrw15\brdrcf18\trbrdrr\brdrs\brdrw15\brdrcf18\trbr drb\brdrs\brdrw15\brdrcf18\clwWidth1600\clftsWidth2\richviewcbw-32\richviewc bh0\clbrdrl\brdrs\brdrw15\brdrcf19\clbrdrt\brdrs\brdrw15\brdrcf19\clbrdrr\br drs\brdrw15\brdrcf19\clbrdrb\brdrs\brdrw15\brdrcf19\clcbpat20\cellx3232\clwW idth2250\clftsWidth2\richviewcbw-45\richviewcbh0\clbrdrl\brdrs\brdrw15\brdrc f19\clbrdrt\brdrs\brdrw15\brdrcf19\clbrdrr\brdrs\brdrw15\brdrcf19\clbrdrb\br drs\brdrw15\brdrcf19\clcbpat20\cellx7972\clwWidth600\clftsWidth2\richviewcbw -12\richviewcbh0\clbrdrl\brdrs\brdrw15\brdrcf19\clbrdrt\brdrs\brdrw15\brdrcf 19\clbrdrr\brdrs\brdrw15\brdrcf19\clbrdrb\brdrs\brdrw15\brdrcf19\clcbpat20\c ellx9248\clwWidth600\clftsWidth2\richviewcbw-12\richviewcbh0\clbrdrl\brdrs\b rdrw15\brdrcf19\clbrdrt\brdrs\brdrw15\brdrcf19\clbrdrr\brdrs\brdrw15\brdrcf1 9\clbrdrb\brdrs\brdrw15\brdrcf19\clcbpat20\cellx10508\pard\intbl\itap1{{ \pard\fi0\li0\qc\ri0\sb0\sa0\itap1\intbl \plain \f0\b\fs24\cf1 Provider\cell}{ \pard\fi0\li0\qc\ri0\sb0\sa0\itap1\intbl \plain \f0\b\fs24\cf1 Service Name\cell}{ \pard\fi0\li0\qc\ri0\sb0\sa0\itap1\intbl \plain \f0\b\fs24\cf1 From\cell}{ \pard\fi0\li0\qc\ri0\sb0\sa0\itap1\intbl \plain \f0\b\fs24\cf1 To\cell}}\pard\intbl\itap1\row} \pard\fi0\li0\ql\ri0\sb0\sa0\itap0 \plain \f0\fs24 \par\pard\fi0\li0\qc\ri0\sb105\sa105\itap0 \plain \f0\fs24 Recently you have purchased the following products and may want to check your supply prior to your appointment... \par\pard\fi0\li0\qc\ri0\sb0\sa0\itap0 \plain \f0\fs24 \par\pard\fi0\li0\ql\ri0\sb0\sa0\itap0 {\trowd\trgaph82\trleft0\itap1\trpaddl75\trpaddt75\trpaddr75\trpaddb75\trpad dfl3\trpaddft3\trpaddfr3\trpaddfb3\trspdl-8\trspdr-8\trspdfl3\trspdfr3\trspd t0\trspdb-8\trspdft3\trspdfb3\trwWidth5000\trftsWidth2\richviewtbw-100\trbrd rl\brdrs\brdrw15\brdrcf18\trbrdrt\brdrs\brdrw15\brdrcf18\trbrdrr\brdrs\brdrw 15\brdrcf18\trbrdrb\brdrs\brdrw15\brdrcf18\clmgf\clftsWidth1\richviewcbw0\ri chviewcbh0\clbrdrl\brdrs\brdrw15\brdrcf19\clbrdrt\brdrs\brdrw15\brdrcf19\clb rdrr\brdrs\brdrw15\brdrcf19\clbrdrb\brdrs\brdrw15\brdrcf19\clcbpat20\cellx32 32\clmrg\clbrdrl\brdrs\brdrw15\brdrcf19\clbrdrt\brdrs\brdrw15\brdrcf19\clbrd rr\brdrs\brdrw15\brdrcf19\clbrdrb\brdrs\brdrw15\brdrcf19\clcbpat20\cellx7972 \clmrg\clbrdrl\brdrs\brdrw15\brdrcf19\clbrdrt\brdrs\brdrw15\brdrcf19\clbrdrr \brdrs\brdrw15\brdrcf19\clbrdrb\brdrs\brdrw15\brdrcf19\clcbpat20\cellx10508\ pard\intbl\itap1{{ \pard\fi0\li0\qc\ri0\sb0\sa0\itap1\intbl {\field{\*\fldinst HYPERLINK "_SYS_CLIENT_PROD_PAST_PURCH"}{\fldrslt\plain \f0\b\fs24\cf1 PRODUCTS PURCHASED}}\cell}{\cell}{\cell}}\pard\intbl\itap1\row}{\trowd\trgaph82\trlef t0\itap1\trpaddl75\trpaddt75\trpaddr75\trpaddb75\trpaddfl3\trpaddft3\trpaddf r3\trpaddfb3\trspdl-8\trspdr-8\trspdfl3\trspdfr3\trspdt-8\trspdb0\trspdft3\t rspdfb3\trwWidth5000\trftsWidth2\richviewtbw-100\trbrdrl\brdrs\brdrw15\brdrc f18\trbrdrt\brdrs\brdrw15\brdrcf18\trbrdrr\brdrs\brdrw15\brdrcf18\trbrdrb\br drs\brdrw15\brdrcf18\clwWidth1600\clftsWidth2\richviewcbw-32\richviewcbh0\cl brdrl\brdrs\brdrw15\brdrcf19\clbrdrt\brdrs\brdrw15\brdrcf19\clbrdrr\brdrs\br drw15\brdrcf19\clbrdrb\brdrs\brdrw15\brdrcf19\clcbpat20\cellx3232\clwWidth22 50\clftsWidth2\richviewcbw-45\richviewcbh0\clbrdrl\brdrs\brdrw15\brdrcf19\cl brdrt\brdrs\brdrw15\brdrcf19\clbrdrr\brdrs\brdrw15\brdrcf19\clbrdrb\brdrs\br drw15\brdrcf19\clcbpat20\cellx7972\clwWidth1200\clftsWidth2\richviewcbw-24\r ichviewcbh0\clbrdrl\brdrs\brdrw15\brdrcf19\clbrdrt\brdrs\brdrw15\brdrcf19\cl brdrr\brdrs\brdrw15\brdrcf19\clbrdrb\brdrs\brdrw15\brdrcf19\clcbpat20\cellx1 0508\pard\intbl\itap1{{ \pard\fi0\li0\qc\ri0\sb0\sa0\itap1\intbl \plain \f0\b\fs24\cf1 Last Purchase\cell}{ \pard\fi0\li0\qc\ri0\sb0\sa0\itap1\intbl \plain \f0\b\fs24\cf1 Product Name\cell}{ \pard\fi0\li0\qc\ri0\sb0\sa0\itap1\intbl \plain \f0\b\fs24\cf1 Product Code\cell}}\pard\intbl\itap1\row} \pard\fi0\li0\ql\ri0\sb0\sa0\itap0 \plain \f2\lang1033\fs36 \par\pard\fi0\li0\ql\ri0\sb0\sa0\itap0 \plain \f0\fs24 Mail sent on <@ST_CURRENT_DATE> @ <@ST_CURRENT_TIME> \par\pard\fi0\li0\ql\ri0\sb0\sa0\itap0 \plain \f0\fs24 \par\pard\fi0\li0\ql\ri0\sb0\sa0\itap0 \plain \f0\fs24 \par\pard\fi0\li0\ql\ri0\sb0\sa0\itap0 \plain \f0\fs24 \par\pard\fi0\li0\ql\ri0\sb0\sa0\itap0 \plain \f0\fs24 \par\pard\fi0\li0\ql\ri0\sb0\sa0\itap0 \plain \f0\fs24 \par} === |
Powered by ABC Amber Outlook Express Converter