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).

 The problem is the following: when you paste formatted text from the web browser into calc, then undo the paste, the rows height is not restored. Copying from calc itself doesn't cause this error.

 Simply restoring the lines height will be enough. I actually added a call to "AdjustRowHeight()" after the undo to verify that, and this removes the problem... but I hardly call that a fix :-( I'd like to understand when they're supposed to be restored and why they are not.

 My understanding so far is that the "undo file" generated before the paste is copied back in place when we make the "undo" (in the "UndoToDocument()" function). The process is very similar in the "working" and "non-working" paths, so I expect the problem to come from the content of the undo file.

 Could the "undo file" contain the already modified heights? How can I verify?

 If lines height are not in the undo file at all, how are they supposed to be restored?

 Is there a way to catch when the lines height is modified?


 Any answer / pointer for these questions are welcome.

 And obviously, if you think of other leads I should follow, I'm willing to learn them :)


 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.