summaryrefslogtreecommitdiff
path: root/oovbaapi
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2018-09-13 15:38:07 +0100
committerMichael Meeks <michael.meeks@collabora.com>2018-09-17 10:49:38 +0200
commitbe9b83445ec19346a4d5c830c955ed573469591a (patch)
tree089da6003d1e862f745942cfaea996068c265f77 /oovbaapi
parent694a433d5fbc9ab77dd37e7be9e79f3d3776eb24 (diff)
oovbaapi: hack Excel / OptionButton compatibility into Button for now.
Change-Id: I22d2d545a6201cbb89d430c65f66e0fea8794d83 Reviewed-on: https://gerrit.libreoffice.org/60541 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'oovbaapi')
-rw-r--r--oovbaapi/ooo/vba/excel/XButton.idl10
1 files changed, 6 insertions, 4 deletions
diff --git a/oovbaapi/ooo/vba/excel/XButton.idl b/oovbaapi/ooo/vba/excel/XButton.idl
index 4a7f803ffc85..03ca15b0072f 100644
--- a/oovbaapi/ooo/vba/excel/XButton.idl
+++ b/oovbaapi/ooo/vba/excel/XButton.idl
@@ -29,8 +29,6 @@
module ooo { module vba { module excel {
-
-
/** Additional attributes for a push button drawing control (this interface
does not belong to ActiveX form controls).
*/
@@ -52,12 +50,16 @@ interface XButton : com::sun::star::uno::XInterface
ooo::vba::excel::XlOrientation. */
[attribute] long Orientation;
+ /** OptionButton only hack - are we checked */
+ [attribute] any Value;
+
+ /** OptionButton only hack - another way to get the text */
+ [attribute] string Text;
+
/** Access to text and text formatting of the button caption. */
XCharacters Characters( [in] any Start, [in] any Length );
};
-
-
}; }; };
#endif