[PATCH] drop attributes FRAME and RULES of <table> for HTML 3.2
Takeshi Abe
tabe at fixedpoint.jp
Tue Jan 10 08:28:29 PST 2012
This fixes fdo#44616.
HTML 3.2 does not have these attributes:
http://www.w3.org/TR/REC-html32
---
sc/source/filter/html/htmlexp.cxx | 10 ----------
1 files changed, 0 insertions(+), 10 deletions(-)
diff --git a/sc/source/filter/html/htmlexp.cxx b/sc/source/filter/html/htmlexp.cxx
index c48c570..ec550e2 100644
--- a/sc/source/filter/html/htmlexp.cxx
+++ b/sc/source/filter/html/htmlexp.cxx
@@ -736,11 +736,6 @@ void ScHTMLExport::WriteTables()
// <TABLE ...>
rtl::OStringBuffer aByteStrOut(OOO_STRING_SVTOOLS_HTML_table);
- // FRAME=VOID, we do the styling of the cells in <TD>
- aByteStrOut.append(' ').append(OOO_STRING_SVTOOLS_HTML_frame).
- append(RTL_CONSTASCII_STRINGPARAM("=\"")).
- append(OOO_STRING_SVTOOLS_HTML_TF_void).append('"');
-
bTabHasGraphics = bTabAlignedLeft = false;
if ( bAll && pDrawLayer )
PrepareGraphics( pDrawLayer, nTab, nStartCol, nStartRow,
@@ -770,11 +765,6 @@ void ScHTMLExport::WriteTables()
append(RTL_CONSTASCII_STRINGPARAM("=\"")).
append(static_cast<sal_Int32>(nColCnt)).append('"');
- // RULES=NONE, we do the styling of the cells in <TD>
- aByteStrOut.append(' ').append(OOO_STRING_SVTOOLS_HTML_O_rules).
- append(RTL_CONSTASCII_STRINGPARAM("=\"")).
- append(OOO_STRING_SVTOOLS_HTML_TR_none).append('"');
-
// BORDER=0, we do the styling of the cells in <TD>
aByteStrOut.append(' ').append(OOO_STRING_SVTOOLS_HTML_O_border).
append(RTL_CONSTASCII_STRINGPARAM("=\"0\""));
--
1.7.7.3
----Next_Part(Wed_Jan_11_02_24_21_2012_787)----
More information about the LibreOffice
mailing list