Dbg_ properties and Python

Keyboard macros or custom scripts

Dbg_ properties and Python

Postby chris-barry » Mon Aug 15, 2016 6:20 pm

In Openoffice Basic every object has a Dbg_Properties and a Dbg_Methods property. Both these properties are of the type SbxSTRING and contain lists of the properties and methods implemented by the Object. In the list of properties, of course, are the Dbg_Properties and Dbg_Methods properties themselves.

So far, every property that I have tried has been accessible to Python, except for the Dbg_ properties. These result in an AttributeError exception. So:

1. Why are these properties not accessible to Python?
2. Given that in the Properties list there are no obvious features to distinguish them from other properties, are there other properties and methods that appear in the list but are not available to Python.
3. Is there a way that I can access the Dbg_Properties and Dbg_Methods properties from Python?
OpenOffice 4.1.1, Linux (Gentoo)
chris-barry
 
Posts: 8
Joined: Sun Sep 20, 2015 4:29 pm

Re: Dbg_ properties and Python

Postby Villeroy » Tue Aug 16, 2016 9:03 am

This was something written when StarBasic was the only macro language and before object inspectors had been developed. Install MRI or Xray and you will not miss dbg_Properties any longer.
[Tutorial] Introduction into object inspection with MRI
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04, OpenOffice 4.x & LibreOffice 6.x
User avatar
Villeroy
Volunteer
 
Posts: 25764
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany


Return to OpenOffice Basic, Python, BeanShell, JavaScript

Who is online

Users browsing this forum: No registered users and 1 guest