Hello everyone,
I am having a really hard time understanding the “com.sun.star…” interface. This is really awkward for beginners like me and even reading through Pitonyak s manual its for me not clear of how to make sense of this:
https://api.libreoffice.org/docs/idl/ref/namespaces.html
For example setting up a sort descriptor I would never be able to do with the help of just this website. I have done it in the end but with a lot of help from the community here…
'array of c.s.s.beans.PropertyValue
aSortDescriptor(0).Name = “ContainsHeader”
aSortDescriptor(0).Value = hasheader
aSortDescriptor(1).Name = “SortFields”
aSortDescriptor(1).Value = sFields
aSortDescriptor(2).Name = “SortColumns”
aSortDescriptor(2).Value = false
oRange.sort(aSortDescriptor()).
→ and even here I feel I am missing out on a new function like:
createSortDescriptor()
Is there any good manual of how to read this interface somewhere? Did I miss it in Pitonyaks manual (700 or so pages?)
And also: why the heck is this so confusing in comparison to vba in excel? com.sun.start.?!
Thanks a lot in advance.
Cheers