Apache OpenOffice (AOO) Bugzilla – Issue 47505
specified properties in a new css.text.TextGraphicObject object not available
Last modified: 2013-02-24 21:08:03 UTC
When i create a new css.text.GraphicObject and try directly to get a property value of a specified property (e.g. Gamma), i got an UnknownPropertyException. This is probably a bug. The new graphic object is not inserted in a document but these properties should be accessible before the object is inserted (to set the properties)
set owner
.
As long as the object is only a descriptor there are numerous not set default properties (like Gamma) that can not be obtained from the object unless the were set explicitly before. If the descriptor object is inserted the Gamma property will also get a value since then a format will be availbale. I see no problem with this behaviour. If you are not interested in having such a property like Gamma to have a specific value it does not matter if the property is not set and you get the exception. And if you like to give it a specific value you can do so with 'setPropertyValue' and after that you can retrieve that value with 'getPropertyValue' even though the object is still a descriptor.
Set to 'invalid'.
closed