https://bugs.documentfoundation.org/show_bug.cgi?id=165282
Bug ID: 165282
Summary: Our macro for setting the Document Background Color
stopped working with version 25.2.0.3
Product: LibreOffice
Version: 25.2.0.3 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Calc
Assignee: [email protected]
Reporter: [email protected]
We have been using a macro to change the Document Background Color. This macro
stopped working with version 25.02.0.3. The problem is with this line:
keyNodeColor.setPropertyValue("Color", rgb(R,G,B))
where:
keyNode =
Tools.Misc.GetRegistryKeyContent("org.openoffice.Office.UI/ColorScheme", False)
curScheme = keyNode.CurrentColorScheme
' Get the scheme node
nodeName = "org.openoffice.Office.UI/ColorScheme/ColorSchemes/" & curScheme &
"/DocColor"
' Set the root path for our configuration access
keyNodeColor = Tools.Misc.GetRegistryKeyContent(nodeName, True)
This is the error message:
BASIC runtime error.
An exception occurred
Type: com.sun.star.beans.UnknownPropertyException
Message: Color.
Version: 25.2.0.3 (X86_64) / LibreOffice Community
Build ID: e1cf4a87eb02d755bce1a01209907ea5ddc8f069
CPU threads: 4; OS: Windows 11 X86_64 (10.0 build 22000); UI render:
Skia/Raster; VCL: win
Locale: en-CA (en_CA); UI: en-US
Calc: CL threaded
I can supply the entire macro if needed, but I think the line with the error
and the definitions should suffice.
--
You are receiving this mail because:
You are the assignee for the bug.