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

com :: sun :: star :: form ::

interface XFormsSupplier

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

Description
provides the access to a collection of forms.


Known Services which Export this Interface

com::sun::star::drawing::DrawPage This service specifies a page for the actual draw pages to contain the drawings.

Methods' Summary

getForms accesses the forms.

Methods' Details

getForms
 
com::sun::star::container::XNameContainer
getForms();
Description
accesses the forms.
Example
 'creating a new combobox and inserting it into the Standard form.
 xShape = xDoc.createInstance( "com::sun::star::drawing::ControlShape" )
 xShape.Position = Point( 5, 80 )
 xShape.Size = Size( 120, 16 )

 xControlModel = xDoc.createInstance( "com::sun::star::form::component::ComboBox" )
 xControlModel.Name = "ColorSelection"
 xControlModel.Text = "red"
 xControlModel.StringItemList = ...

 xShape.ControlModel = xControlModel
 xDoc.DrawPage.Forms.Standard.insertAtIndex( n%, xControlModel )
 xDoc.Text.insertTextContent( xTextRange, xShape )

Returns
a container to access the forms.

Top of Page