| 
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc for Elexis version 2.1.7.dev vom 17.03.2013  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectag.ion.bion.officelayer.internal.form.FormService
public class FormService
The implementation of the form service of a document.
| Constructor Summary | |
|---|---|
FormService(IDocument document,
            com.sun.star.drawing.XDrawPage xDrawPage)
Constructs new FormService.  | 
|
| Method Summary | |
|---|---|
 IFormComponent[] | 
getFormComponents()
Returns all form components contained in this component.  | 
 java.lang.String[] | 
getFormComponentsNames()
Returns all form components names contained in this component.  | 
 IForm[] | 
getForms(java.lang.String formName)
Returns the forms for the given form name as an array.  | 
 int | 
getIndexInForm(IForm form,
               IFormComponent formComponent)
Returns the index of the given form component in the given form, or -1 if not found.  | 
 com.sun.star.script.XEventAttacherManager | 
getXEventAttacherManager(IForm form)
Returns the OpenOffice.org XEventAttacherManager interface for the given form, or null if not available.  | 
 boolean | 
hasFormComponents()
Returns if the component contains other form components.  | 
 boolean | 
hasForms()
Returns if the component has forms.  | 
 void | 
removeFormComponent(IFormComponent formComponent)
Removes the given form component.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public FormService(IDocument document,
                   com.sun.star.drawing.XDrawPage xDrawPage)
            throws java.lang.IllegalArgumentException
document - the document of the servicexDrawPage - the OpenOffice.org XDrawPage interface to be used
java.lang.IllegalArgumentException - if the submitted document or the OpenOffice.org XFormsSupplier interface 
 is not valid| Method Detail | 
|---|
public IForm[] getForms(java.lang.String formName)
                 throws NOAException
getForms in interface IFormServiceformName - the form name to be used
NOAException - if the return of forms fails
public com.sun.star.script.XEventAttacherManager getXEventAttacherManager(IForm form)
                                                                   throws NOAException
getXEventAttacherManager in interface IFormServiceform - the form to be used
NOAException - if the return of OpenOffice.org XEventAttacherManager interface fails
public int getIndexInForm(IForm form,
                          IFormComponent formComponent)
                   throws NOAException
getIndexInForm in interface IFormServiceform - the form to check index informComponent - the form component to get index for
NOAException - if anything fails
public boolean hasForms()
                 throws NOAException
hasForms in interface IFormServiceNOAException - if the check fails
public boolean hasFormComponents()
                          throws NOAException
hasFormComponents in interface IFormServiceNOAException - if the check fails
public IFormComponent[] getFormComponents()
                                   throws NOAException
getFormComponents in interface IFormServiceNOAException - if the return fails
public java.lang.String[] getFormComponentsNames()
                                          throws NOAException
getFormComponentsNames in interface IFormServiceNOAException - if the return fails
public void removeFormComponent(IFormComponent formComponent)
                         throws NOAException
removeFormComponent in interface IFormServiceformComponent - the form component to remove
NOAException - if the remove fails
  | 
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc for Elexis version 2.1.7.dev vom 17.03.2013  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||