Hello everyone,
I have adapted the getCounter XVolatileResult example from Java to Python, but I’m struggling to make the ResultEvent return a Sequence. I’ve adapted the getResults method to;
class ExampleAddinResult(unohelper.Base, XVolatileResult):
...
def getResult(self):
aEvent = ResultEvent()
aEvent.Value = ((1, 2), (3, 4))
aEvent.Source = self
return aEvent
However, I’m getting a “Wrong Data Type” error in my spreadsheet. If I change it back to a single value it works flawlessly.
Any hints?