*
* @author Markus Kr�ger
* @date 25.01.2007
*/
public boolean hasForms() throws NOAException {
XFormsSupplier2 formsSupplier2 = ((XFormsSupplier2) UnoRuntime
.queryInterface(XFormsSupplier2.class, xDrawPage));
if (formsSupplier2 != null)
return formsSupplier2.hasForms();
XFormsSupplier formsSupplier = ((XFormsSupplier) UnoRuntime
.queryInterface(XFormsSupplier.class, xDrawPage));
if (formsSupplier != null)
return formsSupplier.getForms().hasElements();
return false;