Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


= Bug =
https://bugs.freedesktop.org/show_bug.cgi?id=46757

= Patch =
https://bugs.freedesktop.org/attachment.cgi?id=62967

= Patch Review =
https://bugs.freedesktop.org/page.cgi?id=splinter.html&bug=46757&attachment=62967

= Changes =
We were ignoring redlined (deleted) text when counting characters, but not when counting words or characters without spaces. We now mask all redlined/hidden content from the
expanded node text before operating on it.

= Open Issues =

One problem that remains with this patch is document statistics. When you save the document, 
SwXMLExport::SwXMLExport disables redlining deleted changes 
(http://cgit.freedesktop.org/libreoffice/core/commit/?id=6af264883910fe31433b4164b1956f4f9ed75ecb), 
which leads to SwTxtNode::CountWords counting the deleted text instead of masking it.

It appears that was done as a bug fix. Unfortunately, it was fixing a bug from
2001, and information on such bugs are not available anymore. The attached
patch leaves the broken document statistics behavior as is, and I'll file a
separate bug to track it.


Regards,
--Muhammad

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.