interface XSheetLinkable in module com::sun::star::sheet::

(Global Index)

[ DEPRECATED ]

Syntax

interface XSheetLinkable : com::sun::star::uno::XInterface ;

Description

enables a sheet to refer to another sheet in a different document.

Method 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.

Method Details



getLinkMode

Syntax

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

Syntax

void setLinkMode (
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

Syntax

string getLinkUrl ();

Description

returns the target URL of the link.


setLinkUrl

Syntax

void setLinkUrl (
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

Syntax

string getLinkSheetName ();

Description

returns the sheet in the source URL.


setLinkSheetName

Syntax

void setLinkSheetName (
string aLinkSheetName );

Description

sets the sheet in the source URL.


link

Syntax

void link (
string aUrl,
string aSheetName,
string aFilterName,
string aFilterOptions,
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