Committed


>From: Sam TH <[EMAIL PROTECTED]>
>To: AbiWord Dev <[EMAIL PROTECTED]>
>Subject: patch -- remove "norm" class from HTML export
>Date: Mon, 15 Jan 2001 08:22:06 -0600
>
>The following patch removes the use of the "norm" class from our HTML
>export.  I had intended to use this to distinguish between different
>types of paragraphs, but that was never neccessary.  It has just
>become clutter, and should be removed.
>
>Index: src/wp/impexp//xp/ie_exp_HTML.cpp
>===================================================================
>RCS file: /cvsroot/abi/src/wp/impexp/xp/ie_exp_HTML.cpp,v
>retrieving revision 1.32
>diff -u -r1.32 ie_exp_HTML.cpp
>--- src/wp/impexp//xp/ie_exp_HTML.cpp  2001/01/12 01:38:26     1.32
>+++ src/wp/impexp//xp/ie_exp_HTML.cpp  2001/01/15 14:20:17
>@@ -263,7 +263,7 @@
>                               // <p style="<anything else!>"> ...
>
>                               m_iBlockType = BT_NORMAL;
>-                              m_pie->write("<p class=\"norm\"");
>+                              m_pie->write("<p");
>                               wasWritten = UT_TRUE;
>                       }
>               }
>@@ -273,7 +273,7 @@
>                       // <p> with no style attribute ...
>
>                 m_iBlockType = BT_NORMAL;
>-                m_pie->write("<p class=\"norm\"");
>+                m_pie->write("<p");
>                 wasWritten = UT_TRUE;
>               }
>
>@@ -294,7 +294,7 @@
>               // <p> with no style attribute, and no properties either
>
>         m_iBlockType = BT_NORMAL;
>-        m_pie->write("<p class=\"norm\"");
>+        m_pie->write("<p");
>         wasWritten = UT_TRUE;
>       }
>       if (wasWritten)
>@@ -894,7 +894,7 @@
>       m_pie->write("\"></meta>\n");//</meta> looks ugly, but it should work.
>       m_pie->write("<title>AbiWord Document</title>\n");
>       m_pie->write("<style type=\"text/css\">\n");
>-      m_pie->write("<!-- \n P.norm { margin-top: 0pt; margin-bottom: 0pt } \n 
>-->\n");
>+      m_pie->write("<!-- \n P { margin-top: 0pt; margin-bottom: 0pt } \n 
>-->\n");
>       m_pie->write("</style>\n");
>       m_pie->write("</head>\n");
>       m_pie->write("<body>\n");
>
>                               sam th
>                               [EMAIL PROTECTED]
>                               http://www.abisource.com/~sam
>                               GnuPG Key:
>                               http://www.abisource.com/~sam/key
><< attach3 >>

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


Reply via email to