| 
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.text.VariableTextFieldMaster
public class VariableTextFieldMaster
Master of a variable text field of a text document.
| Constructor Summary | |
|---|---|
VariableTextFieldMaster(ITextDocument textDocument,
                        com.sun.star.beans.XPropertySet xPropertySet)
Constructs new VariableTextFieldMaster.  | 
|
| Method Summary | |
|---|---|
 ITextField | 
constructNewVariableTextField(java.lang.String content,
                              boolean visible)
Constructs new variable text field on the basis of this variable text field master.  | 
 ITextField | 
constructNewVariableTextField(java.lang.String content,
                              boolean visible,
                              INumberFormat numberFormat,
                              boolean isFormula)
Constructs new variable text field on the basis of this variable text field master.  | 
 java.lang.String | 
getName()
Returns name of the master of a variable text field.  | 
 ITextField[] | 
getVariableTextFields()
Returns all related variable text fields of this variable text field master.  | 
 com.sun.star.beans.XPropertySet | 
getXPropertySet()
Returns the property set of this master.  | 
 void | 
remove()
Removes the master of a variable text field from the document.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public VariableTextFieldMaster(ITextDocument textDocument,
                               com.sun.star.beans.XPropertySet xPropertySet)
                        throws java.lang.IllegalArgumentException
textDocument - text document to be usedxPropertySet - OpenOffice.org XPropertySet interface to be used
java.lang.IllegalArgumentException - if the submitted text document or 
 OpenOffice.org XPropertySet interface is not valid| Method Detail | 
|---|
public com.sun.star.beans.XPropertySet getXPropertySet()
getXPropertySet in interface IVariableTextFieldMasterpublic java.lang.String getName()
getName in interface IVariableTextFieldMaster
public ITextField[] getVariableTextFields()
                                   throws TextException
getVariableTextFields in interface IVariableTextFieldMasterTextException - if the variable text fields can not be fetched
public ITextField constructNewVariableTextField(java.lang.String content,
                                                boolean visible)
                                         throws NOAException
constructNewVariableTextField in interface IVariableTextFieldMastercontent - the content of the variable textfieldvisible - if the variable should be visible
NOAException - if the new variable text field can not be constructed
public ITextField constructNewVariableTextField(java.lang.String content,
                                                boolean visible,
                                                INumberFormat numberFormat,
                                                boolean isFormula)
                                         throws NOAException
constructNewVariableTextField in interface IVariableTextFieldMastercontent - the content of the variable textfieldvisible - if the variable should be visiblenumberFormat - the number format used for the variableisFormula - if the given content is a formula
NOAException - if the new variable text field can not be constructedpublic void remove()
remove in interface IVariableTextFieldMaster
  | 
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 | ||||||||