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.web
Class WebDocument

java.lang.Object
  extended by ag.ion.bion.officelayer.document.AbstractDocument
      extended by ag.ion.bion.officelayer.internal.web.WebDocument
All Implemented Interfaces:
IDocument, IWebDocument, ISelectionProvider

public class WebDocument
extends AbstractDocument
implements IWebDocument

OpenOffice.org web document.


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
WebDocument(com.sun.star.text.XTextDocument xtextDocument)
          Constructs new OpenOffice.org web document.
 
Method Summary
 java.lang.String getDocumentType()
          Returns type of the document.
 com.sun.star.text.XTextDocument getWebDocument()
          Returns OpenOffice.org public XTextDocument 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
 
Methods inherited from interface ag.ion.bion.officelayer.document.IDocument
addCloseListener, addDocumentListener, addDocumentModifyListener, close, equalsTo, fireDocumentEvent, getFilterProvider, getFormService, getFrame, getLocationURL, getPersistenceService, getPrintService, getScriptingService, getServiceProvider, getXComponent, isModified, isOpen, print, removeCloseListener, removeDocumentListener, removeDocumentModifyListener, setModified
 
Methods inherited from interface ag.ion.noa.view.ISelectionProvider
setSelection
 

Constructor Detail

WebDocument

public WebDocument(com.sun.star.text.XTextDocument xtextDocument)
            throws java.lang.IllegalArgumentException
Constructs new OpenOffice.org web document.

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

getWebDocument

public com.sun.star.text.XTextDocument getWebDocument()
Returns OpenOffice.org public XTextDocument interface.

Specified by:
getWebDocument in interface IWebDocument
Returns:
OpenOffice.org XTextDocument 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