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

            Bug ID: 99125
           Summary: Property ParaBackColor in Writer can no longer be set
                    via Basic
           Product: LibreOffice
           Version: 4.4.6.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: [email protected]
          Reporter: [email protected]

Since at least release 4.4.6 the property ParaBackColor in Writer cannot be
set.
A simple test: in a writer document with at least one paragraph execute the
code:

Sub Main
firstParagraph = Thiscomponent.text.createEnumeration.nextElement
firstParagraph.setPropertyValue("ParaBackColor", RGB(39,0,119))
'    or:    firstParagraph.ParaBackColor = RGB(39,0,119)
msgbox firstParagraph.ParaBackColor
End Sub

The results are:
- in the document the paragraph is coloured
- the msgbox returns -1
- after saving, closing and reopening the document the colour is no longer
visible, consistent with the msgbox return.

This worked in older versions of LibreOffice and still works in Apache
OpenOffice 4.1.2.
It still does not work in LO 5.1.1.
Similar settings for CharColor and CharBackColor do work as usual (but these
operate on a lower enumeration level).

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to