diff options
author | Noel Power <noel.power@novell.com> | 2012-04-05 14:17:24 +0100 |
---|---|---|
committer | Noel Power <noel.power@novell.com> | 2012-04-17 14:30:31 +0100 |
commit | f39d0b837742c69488e43e919f7f1a927c2859ed (patch) | |
tree | 27da4d582e3e1fd422237dd015b115c8569f236f /oovbaapi/ooo | |
parent | implement relativeHeight (z-order) in .docx import (part of bnc#747461) (diff) | |
download | core-f39d0b837742c69488e43e919f7f1a927c2859ed.tar.gz core-f39d0b837742c69488e43e919f7f1a927c2859ed.zip |
add support for MousePointer attribute in controls
For Useforms it doesn't quite work exactly as MSO, for examply if we set the MousePointer for the Userform it works as expected until we mouse over another control at which point the mouse pointer is changed to that of the control. In MSO it would appear that the Userform mousepointer is king, perhaps all that is necessary is to apply the mouse pointer to each contained control, needs some investigation. Also only a limited number of the possible mouse pointer styles are processed, the conversions of mso -> lo pointer styles ( and vice-versa ) and not really tested to see if they all make sense
Diffstat (limited to 'oovbaapi/ooo')
-rw-r--r-- | oovbaapi/ooo/vba/msforms/XControl.idl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/oovbaapi/ooo/vba/msforms/XControl.idl b/oovbaapi/ooo/vba/msforms/XControl.idl index 5ece205ee465..9f2c6ee78720 100644 --- a/oovbaapi/ooo/vba/msforms/XControl.idl +++ b/oovbaapi/ooo/vba/msforms/XControl.idl @@ -44,6 +44,7 @@ interface XControl [attribute] string RowSource; [attribute] boolean Enabled; [attribute] boolean Visible; + [attribute] long MousePointer; //Size. there are some defferent between Mso and OOo. //Mso use double but OOo use long. OOo 1 = 1/100mm but Mso use pt. //in Dialogs Mso uses pixels |