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.filter
Class PDFFilter

java.lang.Object
  extended by ag.ion.noa.filter.AbstractFilter
      extended by ag.ion.bion.officelayer.filter.PDFFilter
All Implemented Interfaces:
IFilter

public class PDFFilter
extends AbstractFilter
implements IFilter

Contains information in order to export an OpenOffice.org document to PDF.


Field Summary
static IFilter FILTER
          Global filter for PDF.
 
Fields inherited from interface ag.ion.bion.officelayer.filter.IFilter
FILTERS
 
Constructor Summary
PDFFilter()
           
 
Method Summary
 java.lang.String getFileExtension(java.lang.String documentType)
          Returns file extension of the filter.
 java.lang.String getFilterDefinition(IDocument document)
          Returns definition of the filter.
 java.lang.String getName(IDocument document)
          Returns name of the filter.
 boolean isExternalFilter()
          Returns information whether the filter constructs a document which can not be interpreted again.
 
Methods inherited from class ag.ion.noa.filter.AbstractFilter
getFileExtension, isSupported
 
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.filter.IFilter
getFileExtension, isSupported
 

Field Detail

FILTER

public static final IFilter FILTER
Global filter for PDF.

Constructor Detail

PDFFilter

public PDFFilter()
Method Detail

getFilterDefinition

public java.lang.String getFilterDefinition(IDocument document)
Returns definition of the filter.

Specified by:
getFilterDefinition in interface IFilter
Parameters:
document - document to be exported
Returns:
definition of the filter

isExternalFilter

public boolean isExternalFilter()
Returns information whether the filter constructs a document which can not be interpreted again.

Specified by:
isExternalFilter in interface IFilter
Overrides:
isExternalFilter in class AbstractFilter
Returns:
information whether the filter constructs a document which can not be interpreted again

getFileExtension

public java.lang.String getFileExtension(java.lang.String documentType)
Returns file extension of the filter. Returns null if the document type is not supported by the filter.

Specified by:
getFileExtension in interface IFilter
Parameters:
documentType - document type to be used
Returns:
file extension of the filter

getName

public java.lang.String getName(IDocument document)
Returns name of the filter. Returns null if the submitted document is not supported by the filter.

Specified by:
getName in interface IFilter
Overrides:
getName in class AbstractFilter
Parameters:
document - document to be used
Returns:
name of the filter

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