Methods' Details |
getLinkMode
- Description
- returns the link mode of the spreadsheet.
If the returned value is SheetLinkMode::NORMAL ,
formulas are copied. With SheetLinkMode::VALUE ,
only results of formulas are used.
|
|
setLinkMode
- Description
- enables the linking of the sheet and controls whether formulas
are copied.
- Parameter nLinkMode
-
the value specifying the link mode for this spreadsheet.
If the value is SheetLinkMode::NORMAL ,
formulas are copied. With SheetLinkMode::VALUE ,
only results of formulas are used.
|
|
getLinkUrl
- Description
- returns the target URL of the link.
|
|
setLinkUrl
void |
setLinkUrl( |
[in] string |
aLinkUrl ); |
- Description
- sets the target URL of the link.
A ::com::sun::star::sheet::SheetLink object with the same file name must
exist already or the link will not work.
|
|
getLinkSheetName
string |
getLinkSheetName(); |
- Description
- returns the sheet name of the sheet in the source document.
|
|
setLinkSheetName
void |
setLinkSheetName( |
[in] string |
aLinkSheetName ); |
- Description
- sets the name of the linked sheet in the source document.
This method sets the sheet name in the ::com::sun::star::sheet::SheetLink
object, it does not modify the sheet name in the source document.
|
|
link
void |
link( |
[in] string |
aUrl, |
| [in] string |
aSheetName, |
| [in] string |
aFilterName, |
| [in] string |
aFilterOptions, |
| [in] ::com::sun::star::sheet::SheetLinkMode |
nMode ); |
- Description
- links the sheet to another sheet in another document.
A ::com::sun::star::sheet::SheetLink object is created if it does not exist,
and the link mode, the URL of the linked document and the linked
sheet name are set.
|
|
Copyright © 2003 Sun Microsystems, Inc.