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



 Hi,

 I am currently working on issue #118842 (https://bugs.documentfoundation.org/show_bug.cgi?id=118842) and #39217 (https://bugs.documentfoundation.org/show_bug.cgi?id=39217).

 Both are related to the copy of formatted text from a web browser, and then using "undo".

 The first issue is that rows' height are not restored with the undo.
 The other one is that images copied this way are not removed with the undo.

 I was able to work around the first by forcing a call to "AdjustRowHeight()" after the undo, but it doesn't address the root cause, so I'm not sure this can be called a fix.

 For the second, I think the image creation doesn't trigger the creation of an "undo action" at all - only the text is registered in the undo.  I've tracked the image creation into the scfilt library (ScEEImport::InsertGraphic()), but it doesn't looks like the right place to manage undo actions. Now the caller (ScImportExport::HTML2Doc()) doesn't have a clue that a graphic has been created, so I'm not sure how it could handle the undo part...

 All in all, I think I lack some better understanding of how the undo management is performed in LibreOffice.
 Do you have any suggestion / documentation to help me troubleshoot this?


 Best regards,

 Julien




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.