https://issues.apache.org/ooo/show_bug.cgi?id=98734
hanya <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #4 from hanya <[email protected]> --- Created attachment 82390 --> https://issues.apache.org/ooo/attachment.cgi?id=82390&action=edit Patch to support ScaleMode export and import for Image control ScaleMode property is not exported/imported to xdl file from ImageControl when the dialog is stored. The attached patch contains the changes to support ScaleMode property for ImageControl. There is a problem between ScaleImage and ScaleMode property during createPeer call. Dialog importer loads xdl file and construct dialog model and loads properties from the file. It is happend before the peer created of the dialog. When the peer is created by calling UnoControl::createPeer method, in the method, the control is updated from properties of the model by updateFromModel method. This makes the property change event fired, so UnoControl::ImplModelPropertiesChanged respond to it. The problem is happend at the end of this method, ImplSetPeerProperty method is called for each properties should be to set to the peer. VCLXImageControl::setProperty method is called for ScaleImage property and the value from ScaleMode property is overwritten. -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug. You are watching all bug changes.
