Missing links in the API documention [closed]

asked 2013-11-11 06:40:48 +0100

Shane gravatar image

updated 2013-11-11 06:57:20 +0100

Here is an example of the first line of a basic macro for calc -

oSheet = ThisComponent.getSheets.getByIndex(0)

In the API documention, I see the method getByIndex is part of interface XIndexAccess and the method getSheets is part of interface XSpreadsheetDocument.

How would I know ThisComponent supports the method getSheets?

If I understand http://www.openoffice.org/api/docs/common/ref/com/sun/star/sheet/XSpreadsheetDocument.html correctly, getSheets() returns an XSpreadsheets.

How would I know XSpreadsheets supports the method getByIndex?

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by Alex Kemp
close date 2015-11-14 12:19:06.516319