Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc for Elexis version 2.1.7.dev vom 17.03.2013

ag.ion.bion.officelayer.internal.formula
Class FormulaDocument

java.lang.Object
  extended by ag.ion.bion.officelayer.document.AbstractDocument
      extended by ag.ion.bion.officelayer.internal.formula.FormulaDocument
All Implemented Interfaces:
IDocument, IFormulaDocument, ISelectionProvider

public class FormulaDocument
extends AbstractDocument
implements IFormulaDocument

OpenOffice.org formula document representation.


Field Summary
 
Fields inherited from class ag.ion.bion.officelayer.document.AbstractDocument
xComponent
 
Fields inherited from interface ag.ion.bion.officelayer.document.IDocument
BASE, CALC, DRAW, EVENT_ON_ALPHA_CHAR_INPUT, EVENT_ON_FOCUS, EVENT_ON_INSERT_DONE, EVENT_ON_INSERT_START, EVENT_ON_LOAD, EVENT_ON_LOAD_DONE, EVENT_ON_LOAD_FINISHED, EVENT_ON_MODIFY_CHANGED, EVENT_ON_MOUSE_OUT, EVENT_ON_MOUSE_OVER, EVENT_ON_NEW, EVENT_ON_NON_ALPHA_CHAR_INPUT, EVENT_ON_SAVE, EVENT_ON_SAVE_AS, EVENT_ON_SAVE_AS_DONE, EVENT_ON_SAVE_DONE, EVENT_ON_SAVE_FINISHED, EVENT_ON_UNLOAD, GLOBAL, IMPRESS, MATH, WEB, WRITER
 
Constructor Summary
FormulaDocument(com.sun.star.beans.XPropertySet xPropertySet)
          Constructs new OpenOffice.org formula document.
 
Method Summary
 java.lang.String getDocumentType()
          Returns type of the document.
 com.sun.star.beans.XPropertySet getPropertySet()
          Returns OpenOffice.org XPropertySet interface.
 void reformat()
          Reformats the document.
 
Methods inherited from class ag.ion.bion.officelayer.document.AbstractDocument
addCloseListener, addDocumentListener, addDocumentModifyListener, close, equalsTo, fireDocumentEvent, getFilterProvider, getFormService, getFrame, getLocationURL, getPersistenceService, getPrintService, getScriptingService, getServiceProvider, getXComponent, getXFrame, isModified, isOpen, print, removeCloseListener, removeCloseListeners, removeDocumentListener, removeDocumentListeners, removeDocumentModifyListener, removeModifyListeners, setModified, setSelection, setServiceProvider, setXInterfaceObjectSelection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormulaDocument

public FormulaDocument(com.sun.star.beans.XPropertySet xPropertySet)
                throws java.lang.IllegalArgumentException
Constructs new OpenOffice.org formula document.

Parameters:
xPropertySet - OpenOffice.org API interface of a formula document
Throws:
java.lang.IllegalArgumentException - if the submitted OpenOffice.org interface is not valid
Method Detail

getPropertySet

public com.sun.star.beans.XPropertySet getPropertySet()
Returns OpenOffice.org XPropertySet interface.

Specified by:
getPropertySet in interface IFormulaDocument
Returns:
OpenOffice.org XPropertySet interface

getDocumentType

public java.lang.String getDocumentType()
Returns type of the document.

Specified by:
getDocumentType in interface IDocument
Returns:
type of the document

reformat

public void reformat()
Reformats the document.

Specified by:
reformat in interface IDocument
Overrides:
reformat in class AbstractDocument

Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc for Elexis version 2.1.7.dev vom 17.03.2013