summaryrefslogtreecommitdiff
path: root/oovbaapi/ooo/vba/msforms
diff options
context:
space:
mode:
authorNoel Power <npower@openoffice.org>2009-09-18 15:24:22 +0000
committerNoel Power <npower@openoffice.org>2009-09-18 15:24:22 +0000
commit4cea79ccdfde2c25b376ca46fdcbe3e91e2405ec (patch)
treef7156472b9939e17e6fbaae57cd89e133307b403 /oovbaapi/ooo/vba/msforms
parenta6462b7c27252e42a2a0924cd3561057779c3840 (diff)
initial commit of code reorg, existing files that are modified
Diffstat (limited to 'oovbaapi/ooo/vba/msforms')
-rw-r--r--oovbaapi/ooo/vba/msforms/XControl.idl1
-rw-r--r--oovbaapi/ooo/vba/msforms/XShape.idl17
-rw-r--r--oovbaapi/ooo/vba/msforms/XShapeRange.idl16
-rw-r--r--oovbaapi/ooo/vba/msforms/XShapes.idl1
-rw-r--r--oovbaapi/ooo/vba/msforms/makefile.mk1
5 files changed, 25 insertions, 11 deletions
diff --git a/oovbaapi/ooo/vba/msforms/XControl.idl b/oovbaapi/ooo/vba/msforms/XControl.idl
index 75f9becd253c..8db43ffdccf2 100644
--- a/oovbaapi/ooo/vba/msforms/XControl.idl
+++ b/oovbaapi/ooo/vba/msforms/XControl.idl
@@ -61,6 +61,7 @@ interface XControl
[attribute] double Left;
[attribute] double Top;
[attribute] string Name;
+ [attribute] string ControlTipText;
};
//=============================================================================
diff --git a/oovbaapi/ooo/vba/msforms/XShape.idl b/oovbaapi/ooo/vba/msforms/XShape.idl
index e43726134680..45a37f23f47a 100644
--- a/oovbaapi/ooo/vba/msforms/XShape.idl
+++ b/oovbaapi/ooo/vba/msforms/XShape.idl
@@ -34,10 +34,6 @@
#include <ooo/vba/XHelperInterface.idl>
#endif
-#ifndef __ooo_vba_excel_XTextFrame_idl__
-#include <ooo/vba/excel/XTextFrame.idl>
-#endif
-
#ifndef __ooo_vba_msforms_XLineFormat_idl__
#include <ooo/vba/msforms/XLineFormat.idl>
#endif
@@ -66,14 +62,13 @@ interface XShape : ooo::vba::XHelperInterface
[attribute, readonly] XLineFormat Line;
[attribute, readonly] XFillFormat Fill;
[attribute, readonly] XPictureFormat PictureFormat;
+ [attribute] boolean LockAspectRatio;
+ [attribute] boolean LockAnchor;
+ [attribute] long RelativeHorizontalPosition;
+ [attribute] long RelativeVerticalPosition;
- /*
- using in word
- [attribute] RelativeHorizontalPosition
- [attribute] RelativeVerticalPosition
- [attribute] XWrapFormat WrapFormat;
- */
- ooo::vba::excel::XTextFrame TextFrame();
+ any TextFrame();
+ any WrapFormat();
void Delete();
void ZOrder( [in] long ZOrderCmd );
void IncrementRotation( [in] double Increment );
diff --git a/oovbaapi/ooo/vba/msforms/XShapeRange.idl b/oovbaapi/ooo/vba/msforms/XShapeRange.idl
index e0ceb79f94bd..079406ac1e5f 100644
--- a/oovbaapi/ooo/vba/msforms/XShapeRange.idl
+++ b/oovbaapi/ooo/vba/msforms/XShapeRange.idl
@@ -44,9 +44,25 @@
module ooo { module vba { module msforms {
+interface XLineFormat;
+interface XFillFormat;
interface XShapeRange
{
interface ooo::vba::XCollection;
+
+ [attribute] double Height;
+ [attribute] double Width;
+ [attribute] double Left;
+ [attribute] double Top;
+ [attribute, readonly] XLineFormat Line;
+ [attribute, readonly] XFillFormat Fill;
+ [attribute] boolean LockAspectRatio;
+ [attribute] boolean LockAnchor;
+ [attribute] long RelativeHorizontalPosition;
+ [attribute] long RelativeVerticalPosition;
+
+ any TextFrame();
+ any WrapFormat();
void Select();
XShape Group();
void IncrementRotation( [in] double Increment );
diff --git a/oovbaapi/ooo/vba/msforms/XShapes.idl b/oovbaapi/ooo/vba/msforms/XShapes.idl
index 3d49fbc0701b..1bb5dc2a0429 100644
--- a/oovbaapi/ooo/vba/msforms/XShapes.idl
+++ b/oovbaapi/ooo/vba/msforms/XShapes.idl
@@ -51,6 +51,7 @@ interface XShapes
*/
any AddLine( [in] long StartX, [in] long StartY, [in] long endX, [in] long endY );
any AddShape([in] long ShapeType, [in] long StartX, [in] long StartY, [in] long endX, [in] long endY );
+ any AddTextbox([in] long Orientation, [in] long Left, [in] long Top, [in] long Width, [in] long Height );
};
}; }; };
diff --git a/oovbaapi/ooo/vba/msforms/makefile.mk b/oovbaapi/ooo/vba/msforms/makefile.mk
index f6549931444b..012cc7b91a59 100644
--- a/oovbaapi/ooo/vba/msforms/makefile.mk
+++ b/oovbaapi/ooo/vba/msforms/makefile.mk
@@ -71,6 +71,7 @@ IDLFILES=\
XSpinButton.idl \
XImage.idl \
XControls.idl \
+ XTextFrame.idl \
# ------------------------------------------------------------------