[Libreoffice-bugs] [Bug 99125] Property ParaBackColor in Writer can no longer be set via Basic

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat May 13 12:59:32 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=99125

--- Comment #10 from Butch <lobug at skofic.eu> ---
@Gerhard Weydt: After two days of desperate and useless occupation with this
problem I finally discovered this bug report... 

Here a detailed description of my experience with a macro using ParaBackColor.
There are a few aspects not mentioned here so far.

1) After applying the macro on a selection (e.g. one ore two paragraphs) the
background color is changed apparently as desired.
(2) However, if I open the paragraph format dialog > Area (with the cursor in
one of the involved paragraphs), the activated option is None!
(3) If I do the same change manually, the activated option is Color, and the
New field shows the new color (completely as expected).
(4) If I save the file as odt or fodt, the color change made by macro is lost.
(5) If I save the file as doc, and open this doc, the new background color is
shown, but the result is as described in (2). Not only for a paragraph changed
by macro, but also for a paragraph changed manually!!! If I save the file again
as doc, this behavior continues. If I save it as odt, both changes are lost.
(6) In rtf the background color is preserved correctly (in both cases,
macro/manually). (The only difference is that the text is not displayed white
on red but black on red.)

Gerhard, do you know a workaround to change the paragraph background color by a
macro using another method?

Butch

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170513/21c69280/attachment-0001.html>


More information about the Libreoffice-bugs mailing list