https://bugs.documentfoundation.org/show_bug.cgi?id=96147
--- Comment #8 from Paolo Meozzi <[email protected]> --- I found a pattern! But I do not know how useful. The problem happens when I paste code fragment from Visual Studio (2013), but only when using a particular document template. Since version 4.x (I think), the pasted code from VS maintains the white background and thus change the background that I have assigned to the style "code" in my documents. For this reason I created a macro that applies the style and sets the background transparent the selected text. Everything works fine except in one case: 1) I paste a snippet of code from VS (OK) 2) applying macro (OK) 3) paste the new fragment of VS within the code already formatted. (OK) 4) apply the macro again (only) to the fragment just pasted (oh oh!) Save to disk ... and the document is corrupt: the background is set twice, transparent and white. I added the document templates and macros that format text. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
