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.document
Class DocumentWriter

java.lang.Object
  extended by ag.ion.bion.officelayer.internal.document.DocumentWriter

public class DocumentWriter
extends java.lang.Object

Document storing helper class.


Constructor Summary
DocumentWriter()
           
 
Method Summary
static void storeDocument(IDocument document)
          Stores document.
static void storeDocument(IDocument document, java.lang.String URL)
          Stores document to the submitted URL.
static void storeDocument(IDocument document, java.lang.String URL, com.sun.star.beans.PropertyValue[] properties)
          Stores document to the submitted URL.
static void storeDocument(IDocument document, com.sun.star.io.XOutputStream xOutputStream)
          Stores document on the basis of the submitted xOutputStream implementation.
static void storeDocument(IDocument document, com.sun.star.io.XOutputStream xOutputStream, com.sun.star.beans.PropertyValue[] properties)
          Stores document on the basis of the submitted xOutputStream implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentWriter

public DocumentWriter()
Method Detail

storeDocument

public static void storeDocument(IDocument document)
                          throws java.io.IOException
Stores document.

Parameters:
document - document document to be stored
Throws:
java.io.IOException - IOException if any error occurs

storeDocument

public static void storeDocument(IDocument document,
                                 java.lang.String URL)
                          throws java.io.IOException
Stores document to the submitted URL.

Parameters:
document - document to be stored
URL - URL to be used
Throws:
java.io.IOException - if any error occurs

storeDocument

public static void storeDocument(IDocument document,
                                 java.lang.String URL,
                                 com.sun.star.beans.PropertyValue[] properties)
                          throws java.io.IOException
Stores document to the submitted URL.

Parameters:
document - document to be stored
URL - URL to be used
properties - properties for OpenOffice.org
Throws:
java.io.IOException - if any error occurs

storeDocument

public static void storeDocument(IDocument document,
                                 com.sun.star.io.XOutputStream xOutputStream)
                          throws java.io.IOException
Stores document on the basis of the submitted xOutputStream implementation.

Parameters:
document - document to be stored
xOutputStream - OpenOffice.org XOutputStream inplementation
Throws:
java.io.IOException - if any error occurs

storeDocument

public static void storeDocument(IDocument document,
                                 com.sun.star.io.XOutputStream xOutputStream,
                                 com.sun.star.beans.PropertyValue[] properties)
                          throws java.io.IOException
Stores document on the basis of the submitted xOutputStream implementation.

Parameters:
document - document to be stored
xOutputStream - OpenOffice.org XOutputStream inplementation
properties - properties for OpenOffice.org
Throws:
java.io.IOException - if any error occurs

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