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 DocumentExporter

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

public class DocumentExporter
extends java.lang.Object

Document exporting helper class.


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

Constructor Detail

DocumentExporter

public DocumentExporter()
Method Detail

exportDocument

public static void exportDocument(IDocument document,
                                  java.lang.String URL,
                                  IFilter filter)
                           throws java.io.IOException
Exports document on the basis of the submitted filter and URL.

Parameters:
document - document to be exported
URL - URL to be used
filter - OpenOffice.org filter to be used
Throws:
java.io.IOException - if any error occurs

exportDocument

public static void exportDocument(IDocument document,
                                  java.lang.String URL,
                                  IFilter filter,
                                  com.sun.star.beans.PropertyValue[] properties)
                           throws java.io.IOException
Exports document on the basis of the submitted filter and URL.

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

exportDocument

public static void exportDocument(IDocument document,
                                  com.sun.star.io.XOutputStream xOutputStream,
                                  IFilter filter)
                           throws java.io.IOException
Exports document on the basis of the submitted filter and XOutputStream implementation.

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

exportDocument

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

Parameters:
document - document to be stored
xOutputStream - OpenOffice.org XOutputStream inplementation
filter - filter to be used
properties - 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