The HTML exporter doesn't export the strikethrough attribute. Steps to reproduce: 1. Create a new spreadsheet 2. Type some text into one ore more cells and apply the strikethrough attribute. 3. Select the cell(s) and copy/paste the into a HTML editor (like BlueGriffon) Current behavior: The exported HTML contains no indication for the strikethrough attribute. Expected behavior: Strikethrough being exported as <strike>, <s> or <del> element or as CSS style 'text-decoration'. Please also refer to AOO issue #I124992. Operating System: All Version: 4.2.4.2 release
I confirm, pasted as HTML to writer and strikethrough didn't survive. Win 7 64-bit Version: 4.4.0.0.alpha1+ Build ID: 56019dcb79475606952a954fe732a3109441ffec TinderBox: Win-x86@39, Branch:master, Time: 2014-10-30_07:27:11
Also in 4.3.5.2 when exporting spreadsheet as html
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present on a currently supported version of LibreOffice (5.0.4 or later) https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System Please DO NOT: - Update the version field - Reply via email (please reply directly on the bug tracker) - Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to "inherited from OOo"; 4b. If the bug was not present in 3.3 - add "regression" to keyword Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa Thank you for your help! -- The LibreOffice QA Team This NEW Message was generated on: 2016-01-17
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present on a currently supported version of LibreOffice (5.2.5 or 5.3.0 https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to "inherited from OOo"; 4b. If the bug was not present in 3.3 - add "regression" to keyword Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug-20170306
I've confirmed that this issue is still present in LibreOffice 5.2.7.2. I need this bug fixed for a project that uses LibreOffice for headless XLSX to HTML conversion. Currently, as reported in Comment 0, all the strikethrough effects are dropped in the HTML output. I'm willing to fix this bug myself. Would anyone be available to point me in the right direction?
Created attachment 134555 [details] 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.
Submitted for review on Gerrit: https://gerrit.libreoffice.org/#/c/39719/
Sean Stangl committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=2f2eba56d1f8ec5cdcadb4852e8856858477c008 tdf#79304 - Handle CrossedOutItems in HTML export. It will be available in 6.0.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Sean Stangl committed a patch related to this issue. It has been pushed to "libreoffice-5-4": http://cgit.freedesktop.org/libreoffice/core/commit/?id=d4d34ae87c6135b075c59adeb09739d1647aa4bb&h=libreoffice-5-4 tdf#79304 - Handle CrossedOutItems in HTML export. It will be available in 5.4.1. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Sean Stangl committed a patch related to this issue. It has been pushed to "libreoffice-5-3": http://cgit.freedesktop.org/libreoffice/core/commit/?id=884979ebe7d464e8b29d331a58ddf943bc9030df&h=libreoffice-5-3 tdf#79304 - Handle CrossedOutItems in HTML export. It will be available in 5.3.5. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Polite ping: is this bug fixed? if so, please close it as RESOLVED FIXED
A polite ping to Sean Stangl: is this bug fixed? if so, could you please close it as RESOLVED FIXED ? Thanks
The bug was fixed.