I try to get the cell's background color with below code, but it doesn't work
Code: Select all
xCellProps = (XPropertySet)UnoRuntime.queryInterface(XPropertySet.class, xCell);
System.out.println(xCellProps.getPropertyValue("BackColor").toString());
Code: Select all
com.sun.star.beans.UnknownPropertyException:
at com.sun.star.lib.uno.environments.remote.Job.remoteUnoRequestRaisedException(Job.java:177)
at com.sun.star.lib.uno.environments.remote.Job.execute(Job.java:143)
Thanks.