From c9b57b7226de7062b9feaf7706825f6dc2a6fee8 Mon Sep 17 00:00:00 2001 From: Hannah Meeks Date: Thu, 4 Aug 2022 09:45:22 +0100 Subject: 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 Reviewed-by: Michael Meeks --- oovbaapi/ooo/vba/word/XApplication.idl | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'oovbaapi') 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 ); -- cgit