Missing links in the API documention

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

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

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 close merge delete