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.draw
Class DrawingDocument

java.lang.Object
  extended by ag.ion.bion.officelayer.document.AbstractDocument
      extended by ag.ion.bion.officelayer.internal.draw.DrawingDocument
All Implemented Interfaces:
IDocument, IDrawingDocument, ISelectionProvider

public class DrawingDocument
extends AbstractDocument
implements IDrawingDocument

OpenOffice.org drawing 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
DrawingDocument(com.sun.star.drawing.XDrawPagesSupplier xDrawPagesSupplier)
          Constructs new OpenOffice.org drawing document.
 
Method Summary
 java.lang.String getDocumentType()
          Returns type of the document.
 com.sun.star.drawing.XDrawPagesSupplier getDrawPagesSupplier()
          Returns OpenOffice.org XDrawPagesSupplier 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

DrawingDocument

public DrawingDocument(com.sun.star.drawing.XDrawPagesSupplier xDrawPagesSupplier)
                throws java.lang.IllegalArgumentException
Constructs new OpenOffice.org drawing document.

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

getDrawPagesSupplier

public com.sun.star.drawing.XDrawPagesSupplier getDrawPagesSupplier()
Returns OpenOffice.org XDrawPagesSupplier interface.

Specified by:
getDrawPagesSupplier in interface IDrawingDocument
Returns:
OpenOffice.org XDrawPagesSupplier 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