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

            Bug ID: 168284
           Summary: keyNodeColor.setPropertyValue(Parameter,Colour(Value))
                    no longer works
           Product: LibreOffice
           Version: 25.8.1.1 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: [email protected]
          Reporter: [email protected]

Description:
We have been using a macro to assign the document background color since
version 24.8.2 or even earlier. It stopped working for version 25.2, but it
stopped again for version 25.8 which did auto-updated this morning.

Version: 25.8.1.1 (X86_64)
Build ID: 54047653041915e595ad4e45cccea684809c77b5
CPU threads: 4; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster;
VCL: win
Locale: en-CA (en_CA); UI: en-GB
Calc: CL threaded

Actual Results:
Run the macro ChangeDocBGColor.
Pick a color like light grey.
The macro errors out with the message:
Type: com.sun.star.beans.UnknownPropertyException

with this line:
 keyNodeColor.setPropertyValue(Parameter,Colour(Value))

It also fails if you select color 13, which uses RGB values on our
spreadsheet's Setup sheet.

keyNodeColor.setPropertyValue(Parameter, rgb(R,G,B))

Expected Results:
The macro should run and the document background should be changed from white
to the chosen colour.


Reproducible: Always


User Profile Reset: No

Additional Info:
It worked up to 24.8.2, broke in 25.2, was fixed after I filed a bug report,
and now stopped working in 25.8.1.1.

Version: 25.8.1.1 (X86_64)
Build ID: 54047653041915e595ad4e45cccea684809c77b5
CPU threads: 4; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster;
VCL: win
Locale: en-CA (en_CA); UI: en-GB
Calc: CL threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to