[Libreoffice-bugs] [Bug 79304] FORMATTING: Copy/paste: strikethrough attribute is not exported

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Jul 8 23:45:00 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=79304

Sean Stangl <sean.stangl at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|libreoffice-bugs at lists.free |sean.stangl at gmail.com
                   |desktop.org                 |

--- Comment #6 from Sean Stangl <sean.stangl at gmail.com> ---
Created attachment 134555
  --> https://bugs.documentfoundation.org/attachment.cgi?id=134555&action=edit
Handle CrossedOut in HTML export.

The attached patch fixes HTML export for me. Headless conversion to HTML and
"Preview in Web Browser" both correctly report strikethroughs.

Note that this still does not fix strikethroughs when saving as HTML (for
example, when using Export). That function seems to use a completely different
codepath that stores the cell style information in header CSS, while the
headless/preview function uses inline HTML tags.

quikee on IRC suggested also that I add a test to
sc/qa/extras/htmlexporttest.cxx (run via "make
CppunitTest_sc_html_export_test"). I can do that once feedback is provided on
this patch, hopefully with pointers for where the CSS-related HTML code is.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170708/fe778b87/attachment.html>


More information about the Libreoffice-bugs mailing list