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.spreadsheet
Class SpreadsheetDocument

java.lang.Object
  extended by ag.ion.bion.officelayer.document.AbstractDocument
      extended by ag.ion.bion.officelayer.internal.spreadsheet.SpreadsheetDocument
All Implemented Interfaces:
IDocument, ISpreadsheetDocument, ISelectionProvider

public class SpreadsheetDocument
extends AbstractDocument
implements ISpreadsheetDocument

OpenOffice.org calc 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
SpreadsheetDocument(com.sun.star.sheet.XSpreadsheetDocument xSpreadsheetDocument)
          Constructs new OpenOffice.org scalc document.
 
Method Summary
 java.lang.String getDocumentType()
          Returns type of the document.
 com.sun.star.sheet.XSpreadsheetDocument getSpreadsheetDocument()
          Returns OpenOffice.org XSpreadsheet 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

SpreadsheetDocument

public SpreadsheetDocument(com.sun.star.sheet.XSpreadsheetDocument xSpreadsheetDocument)
                    throws java.lang.IllegalArgumentException
Constructs new OpenOffice.org scalc document.

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

getSpreadsheetDocument

public com.sun.star.sheet.XSpreadsheetDocument getSpreadsheetDocument()
Returns OpenOffice.org XSpreadsheet interface.

Specified by:
getSpreadsheetDocument in interface ISpreadsheetDocument
Returns:
OpenOffice.org XSpreadsheet 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