summaryrefslogtreecommitdiff
path: root/oovbaapi
diff options
context:
space:
mode:
authorHannah Meeks <hmeeks4135@gmail.com>2022-08-04 09:45:22 +0100
committerMichael Meeks <michael.meeks@collabora.com>2022-08-05 12:06:59 +0200
commitc9b57b7226de7062b9feaf7706825f6dc2a6fee8 (patch)
tree35457f53b9bebd53d11ffcf8c211a2afae6c0f62 /oovbaapi
parentf3234f4f14702da71528561418f07ee6670a8c2a (diff)
VBA Add conversion methods to Application
Change-Id: Ic0de06699a647565deca7985742965a72614df16 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137787 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'oovbaapi')
-rw-r--r--oovbaapi/ooo/vba/word/XApplication.idl11
1 files changed, 10 insertions, 1 deletions
diff --git a/oovbaapi/ooo/vba/word/XApplication.idl b/oovbaapi/ooo/vba/word/XApplication.idl
index 257903eb47f2..0475c2d82829 100644
--- a/oovbaapi/ooo/vba/word/XApplication.idl
+++ b/oovbaapi/ooo/vba/word/XApplication.idl
@@ -52,7 +52,16 @@ interface XApplication : XConnectable
any Addins( [in] any Index );
any Dialogs( [in] any Index );
any ListGalleries( [in] any aIndex );
- float CentimetersToPoints([in] float Centimeters );
+ float CentimetersToPoints( [in] float Centimeters );
+ float PointsToCentimeters( [in] float Points);
+ float PixelsToPoints( [in] float Pixels, [in] boolean fVertical );
+ float PointsToPixels( [in] float Points, [in] boolean fVertical);
+ float InchesToPoints( [in] float Inches);
+ float PointsToInches( [in] float Points);
+ float MillimetersToPoints( [in] float Millimeters );
+ float PointsToMillimeters( [in] float Points);
+ float PicasToPoints( [in] float Picas);
+ float PointsToPicas( [in] float Points);
void ShowMe();
void Resize( [in] long Width, [in] long Height );
void Move( [in] long Left, [in] long Top );