summaryrefslogtreecommitdiff
path: root/oovbaapi
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2013-05-01 12:05:22 +0100
committerNoel Power <noel.power@suse.com>2013-05-09 14:11:14 +0100
commitb1dc5ed5693c8ed23e0bd14f29ad796666c27785 (patch)
tree133eed35cd845ab67996ef0cb8f0f75997a02c7e /oovbaapi
parent04eb03cc0b01e5dd862aa073810d3ab898661e8f (diff)
tweak vba Control implementation to aritificially fire events from api
Previouslly there were some internal methods to allow event handlers to be triggered. To test some functionality from the unit tests we now expose some of that functionality via uno. Change-Id: I11022226260d3dacd82f42ce89413102ce34cc13
Diffstat (limited to 'oovbaapi')
-rw-r--r--oovbaapi/ooo/vba/msforms/XControl.idl5
1 files changed, 4 insertions, 1 deletions
diff --git a/oovbaapi/ooo/vba/msforms/XControl.idl b/oovbaapi/ooo/vba/msforms/XControl.idl
index 319ff721c80f..b70315415b3b 100644
--- a/oovbaapi/ooo/vba/msforms/XControl.idl
+++ b/oovbaapi/ooo/vba/msforms/XControl.idl
@@ -19,6 +19,7 @@
#define __ooo_vba_msforms_XControl_idl__
#include <com/sun/star/uno/XInterface.idl>
+#include <com/sun/star/script/ScriptEvent.idl>
#include <ooo/vba/XHelperInterface.idl>
module ooo { module vba { module msforms {
@@ -29,7 +30,9 @@ interface XControl
interface ::ooo::vba::XHelperInterface;
void SetFocus();
void Move( [in] double Left, [in] double Top, [in] any Width, [in] any Height );
-
+ // support for unit test harness ( and possibly internal clients )
+ // to generate events that will call appropriate event handlers
+ void fireEvent( [in] com::sun::star::script::ScriptEvent evt );
[attribute, readonly ] com::sun::star::uno::XInterface Object;
[attribute] string ControlSource;
[attribute] string RowSource;