[Closed] MRI Object Inspection Tutorial Odt File

Creating a macro - Writing a Script - Using the API

[Closed] MRI Object Inspection Tutorial Odt File

Postby rajibando » Thu Aug 31, 2017 12:02 pm

The Tutorial, Introduction into object inspection with MRI contains these sentences:
As the macro has been called from a Writer document the 'ThisComponent' variable represents the “SwTextDocument” object/service. MRI displays this window where (sic, "it" missing?) is possible to examine all the properties, methods etc applicable to this Writer document:

I had changed the security settings and let the macro run in my system. An MRI window opened. I have posted a snapshot. The MRI tool's Help is not very helping.
Any advice?
MRI_Tool_Window.jpeg
Last edited by rajibando on Thu Aug 31, 2017 2:00 pm, edited 2 times in total.
LibreOffice 4.0.3.3 (Build ID: 400m0(Build:3)) in Knoppix 7.2.0
rajibando
 
Posts: 52
Joined: Sat Jul 29, 2017 4:59 am

Re: MRI Object Inspection Tutorial Odt File

Postby RoryOF » Thu Aug 31, 2017 12:07 pm

Apache OpenOffice 4.1.6 on Xubuntu 18.04.2 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 28938
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: MRI Object Inspection Tutorial Odt File

Postby RPG » Thu Aug 31, 2017 12:50 pm

Hello

Documentation of OpenOffice BASIC objects, etc.
The link makes it maybe clear to you why it is so difficult when you just started with macros in OOo. You have to study first the BASIC guide and need to understand the idea of services and interfaces. Then you must learn special the service which are important for you. But in the BASIC guide the most important services, interfaces, methods and properties are there. Also you have to learn the complete help file when you want learn BASIC or you need to study the script language of your choice.

Maybe the most important question for starters is always: Why do I want study all those things.

Romke
LibreOffice 6.1.5.2 on openSUSE Leap 15
RPG
Volunteer
 
Posts: 2164
Joined: Tue Apr 14, 2009 7:15 pm
Location: Netherlands

[Closed] MRI Object Inspection Tutorial Odt File

Postby rajibando » Thu Aug 31, 2017 2:00 pm

RoryOF wrote:More documentation at
https://github.com/hanya/MRI/wiki

Thank you, Rory, for the link.
LibreOffice 4.0.3.3 (Build ID: 400m0(Build:3)) in Knoppix 7.2.0
rajibando
 
Posts: 52
Joined: Sat Jul 29, 2017 4:59 am


Return to Macros and UNO API

Who is online

Users browsing this forum: No registered users and 5 guests