Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


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

unpublished interface XFormsSupplier2
Base Interfaces
XFormsSupplier2XFormsSupplier

XFormsSupplier
(referenced interface's summary:)
provides the access to a collection of forms.
Usage Restrictions
not published
Description
extends the XFormsSupplier with convenience methods

Methods' Summary
hasForms determines whether there are currently forms available at all  
Methods' Details
hasForms
boolean
hasForms();

Description
determines whether there are currently forms available at all

If you need read access to the forms collection, then you might check the existence of forms using hasForms, and if it returns false, you can do as if XFormsSupplier::getForms would have returned an empty container.

Semantically, hasForms is equivalent to calling ::XElementAccess::hasElements on the container returned by XFormsSupplier::getForms. But when using the latter, the implementation is forced to create a empty container, which might be potentially expensive.

Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.