interface XControlShape in module com::sun::star::drawing::

(Global Index)

Syntax

interface XControlShape : com::sun::star::drawing::XShape ;

Description

is implemented by a ControlShape to access the controls model.

See also

ControlShape

See also

ControlModel

Method Summary

getControl returns the control model of this Shape .

setControl sets the control model for this Shape .

Known Services Which Export this Interface

com::sun::star::drawing::ControlShape

Method Details



getControl

Syntax

com::sun::star::awt::XControlModel getControl ();

Description

returns the control model of this Shape .

Returns

if there is already a control model assigned to this ControlShape , than its returned. Otherwise you get an empty reference.

setControl

Syntax

oneway void setControl (
com::sun::star::awt::XControlModel xControl );

Description

sets the control model for this Shape .

Parameter xControl

this will be the new control model that is displayed with this shape. You may change the model more than once during the lifetime of a ControlShape
Top of Page