I tried supportsService()
but it always returns false for Base Services.
Is there an equivalent test for Base to these 4 other support tests?
oDoc = ThisComponent
msgbox oDoc.supportsService("com.sun.star.sheet.SpreadsheetDocument" )
msgbox oDoc.supportsService("com.sun.star.drawing.DrawingDocument" )
msgbox oDoc.supportsService("com.sun.star.presentation.PresentationDocument" )
msgbox oDoc.supportsService("com.sun.star.text.TextDocument" )
In other words when you’re in Calc, and only Calc, ThisComponent.supportsService("com.sun.star.sheet.SpreadsheetDocument")
returns True.
I’m looking for the same sort of test for base.