Re: CleanUpMicrosoftwordHTML() does'nt do any thing on my editor text. Please help urgent !!

  •  11-03-2008, 1:04 AM

    Re: CleanUpMicrosoftwordHTML() does'nt do any thing on my editor text. Please help urgent !!

    Cell 1

    Cell 2

    Cell 3

    Cell 21

    Cell 22

    Cell 23

     
    THis is the sample table which I am working on
     
     
    Below is the HTML I am getting with using Clean up HTML tool(brush icon) in the editor toolbar and clicking on "Remove word specific markup"


    <table cellspacing="0" cellpadding="0" border="1">
        <tbody>
            <tr>
                <td valign="top" width="213">
                <p><font face="Calibri">Cell 1 </font></p>
                </td>
                <td valign="top" width="213">
                <p><font face="Calibri">Cell 2 </font></p>
                </td>
                <td valign="top" width="213">
                <p><font face="Calibri">Cell 3</font></p>
                </td>
            </tr>
            <tr>
                <td valign="top" width="213">
                <p><font face="Calibri">Cell 21</font></p>
                </td>
                <td valign="top" width="213">
                <p><font face="Calibri">Cell 22</font></p>
                </td>
                <td valign="top" width="213">
                <p><font face="Calibri">Cell 23</font></p>
                </td>
            </tr>
        </tbody>
    </table>



    Below is the HTML I am getting with the server side method editor.CleanUpMicrosoftWordHTML()



      <table class="MsoTableGrid" style="border-right: medium none; border-top: medium none; margin: auto auto auto 0.5in; border-left: medium none;

    border-bottom: medium none; border-collapse: collapse;

    " cellspacing="0" cellpadding="0" border="1">
        <tbody>
          <tr>
            <td style="border-right: black 1pt solid; padding-right: 5.4pt; border-top: black 1pt solid; padding-left: 5.4pt; padding-bottom: 0in; border-left:

    black 1pt solid; width: 159.6pt; padding-top: 0in; border-bottom: black 1pt solid; background-color: transparent;

    " valign="top" width="213">
              <p class="MsoListParagraphCxSpFirst" style="margin: 0in 0in 0pt; line-height: normal;">
                <font face="Calibri">Cell 1 </font>
              </p>
            </td>
            <td style="border-right: black 1pt solid; padding-right: 5.4pt; border-top: black 1pt solid; padding-left: 5.4pt; padding-bottom: 0in; border-left:

    #ece9d8; width: 159.6pt; padding-top: 0in; border-bottom: black 1pt solid; background-color: transparent;

    " valign="top" width="213">
              <p class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt; line-height: normal;">
                <font face="Calibri">Cell 2 </font>
              </p>
            </td>
            <td style="border-right: black 1pt solid; padding-right: 5.4pt; border-top: black 1pt solid; padding-left: 5.4pt; padding-bottom: 0in; border-left:

    #ece9d8; width: 159.6pt; padding-top: 0in; border-bottom: black 1pt solid; background-color: transparent;

    " valign="top" width="213">
              <p class="MsoListParagraphCxSpLast" style="margin: 0in 0in 0pt; line-height: normal;">
                <font face="Calibri">Cell 3</font>
              </p>
            </td>
          </tr>
          <tr>
            <td style="border-right: black 1pt solid; padding-right: 5.4pt; border-top: #ece9d8; padding-left: 5.4pt; padding-bottom: 0in; border-left: black 1pt

    solid; width: 159.6pt; padding-top: 0in; border-bottom: black 1pt solid; background-color: transparent;

    " valign="top" width="213">
              <p class="MsoListParagraphCxSpFirst" style="margin: 0in 0in 0pt; line-height: normal;">
                <font face="Calibri">Cell 21</font>
              </p>
            </td>
            <td style="border-right: black 1pt solid; padding-right: 5.4pt; border-top: #ece9d8; padding-left: 5.4pt; padding-bottom: 0in; border-left: #ece9d8;

    width: 159.6pt; padding-top: 0in; border-bottom: black 1pt solid; background-color: transparent;

    " valign="top" width="213">
              <p class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt; line-height: normal;">
                <font face="Calibri">Cell 22</font>
              </p>
            </td>
            <td style="border-right: black 1pt solid; padding-right: 5.4pt; border-top: #ece9d8; padding-left: 5.4pt; padding-bottom: 0in; border-left: #ece9d8;

    width: 159.6pt; padding-top: 0in; border-bottom: black 1pt solid; background-color: transparent;

    " valign="top" width="213">
              <p class="MsoListParagraphCxSpLast" style="margin: 0in 0in 0pt; line-height: normal;">
                <font face="Calibri">Cell 23</font>
              </p>
            </td>
          </tr>
        </tbody>
      </table>



    Now my question is both these does't do the same job as mentioned in the site in this link

    http://cutesoft.net/example/CommonTasks.aspx under HTML Filtering options
     
     
    Regards
    Rama

     
     
     
     
View Complete Thread