Top   Module   Use   Manual   Index 
 EXPORTING SERVICES | METHODS' SUMMARY | METHODS' DETAILS 

com :: sun :: star :: sheet ::

interface XSheetLinkable

Base Interface
com::sun::star::uno::XInterface

[ DEPRECATED ]
Description
enables a sheet to refer to another sheet in a different document.


Methods' Summary

getLinkMode enables the linking of the sheet and controls if formulas are copied.
setLinkMode enables the linking of the sheet and controls if formulas are copied.
getLinkUrl returns the target URL of the link.
setLinkUrl sets the target URL of the link.
getLinkSheetName returns the sheet in the source URL.
setLinkSheetName sets the sheet in the source URL.
link links the sheet to another sheet in another document.

Methods' Details

getLinkMode
 
com::sun::star::sheet::SheetLinkMode
getLinkMode();
Description
enables the linking of the sheet and controls if formulas are copied.

If this is SheetLinkMode::NORMAL , formulas are copied. With SheetLinkMode::VALUE , only results of formulas are used.

setLinkMode
 
void
setLinkMode(
[ in ] com::sun::star::sheet::SheetLinkMode nLinkMode );

Description
enables the linking of the sheet and controls if formulas are copied.

If this is SheetLinkMode::NORMAL , formulas are copied. With SheetLinkMode::VALUE , only results of formulas are used.

getLinkUrl
 
string
getLinkUrl();
Description
returns the target URL of the link.
setLinkUrl
 
void
setLinkUrl(
[ in ] string aLinkUrl );

Description
sets the target URL of the link.

A Sheet Link with the same file name must exist or the link will not work.

getLinkSheetName
 
string
getLinkSheetName();
Description
returns the sheet in the source URL.
setLinkSheetName
 
void
setLinkSheetName(
[ in ] string aLinkSheetName );

Description
sets the sheet in the source URL.
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 sheet link is created if it does not exist, and the LinkMode, LinkFileName and LinkSheetName attributes are set.


Top of Page