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

ch.elexis.views
Class RnPrintView2

java.lang.Object
  extended by org.eclipse.core.commands.common.EventManager
      extended by org.eclipse.ui.part.WorkbenchPart
          extended by org.eclipse.ui.part.ViewPart
              extended by ch.elexis.views.RnPrintView2
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.core.runtime.IExecutableExtension, org.eclipse.ui.IPersistable, org.eclipse.ui.IViewPart, org.eclipse.ui.IWorkbenchPart, org.eclipse.ui.IWorkbenchPart2, org.eclipse.ui.IWorkbenchPart3, org.eclipse.ui.part.IWorkbenchPartOrientation

public class RnPrintView2
extends org.eclipse.ui.part.ViewPart

This is a pop-in replacement for RnPrintView. To avoid several problems around OpenOffice based bills we keep things easier here. Thus this approach does not optimize printer access but rather waits for each page to be printed before starting the next. We also corrected several problems around the TrustCenter-system. Tokens are printed only on TG bills and only if the mandator has a TC contract. Tokens are computed correctly now with the TC number as identifier in TG bills and left as ESR in TP bills.


Field Summary
static java.lang.String ID
           
 
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
 
Constructor Summary
RnPrintView2()
           
 
Method Summary
 void createPartControl(org.eclipse.swt.widgets.Composite parent)
           
 boolean doPrint(Rechnung rn, IRnOutputter.TYPE rnType, java.lang.String saveFile, boolean withESR, boolean withForms, boolean doVerify, org.eclipse.core.runtime.IProgressMonitor monitor)
          Druckt die Rechnung auf eine Vorlage, deren Ränder alle auf 0.5cm eingestellt sein müssen, und die unterhalb von 170 mm leer ist.
 void setFocus()
           
 
Methods inherited from class org.eclipse.ui.part.ViewPart
checkSite, getViewSite, init, init, saveState, setContentDescription, setInitializationData, setPartName
 
Methods inherited from class org.eclipse.ui.part.WorkbenchPart
addPartPropertyListener, addPropertyListener, dispose, firePartPropertyChanged, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, getTitleToolTip, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy
 
Methods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.ui.IWorkbenchPart
addPropertyListener, dispose, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Field Detail

ID

public static final java.lang.String ID
See Also:
Constant Field Values
Constructor Detail

RnPrintView2

public RnPrintView2()
Method Detail

createPartControl

public void createPartControl(org.eclipse.swt.widgets.Composite parent)
Specified by:
createPartControl in interface org.eclipse.ui.IWorkbenchPart
Specified by:
createPartControl in class org.eclipse.ui.part.WorkbenchPart

setFocus

public void setFocus()
Specified by:
setFocus in interface org.eclipse.ui.IWorkbenchPart
Specified by:
setFocus in class org.eclipse.ui.part.WorkbenchPart

doPrint

public boolean doPrint(Rechnung rn,
                       IRnOutputter.TYPE rnType,
                       java.lang.String saveFile,
                       boolean withESR,
                       boolean withForms,
                       boolean doVerify,
                       org.eclipse.core.runtime.IProgressMonitor monitor)
Druckt die Rechnung auf eine Vorlage, deren Ränder alle auf 0.5cm eingestellt sein müssen, und die unterhalb von 170 mm leer ist. (Papier mit EZ-Schein wird erwartet) Zweite und Folgeseiten müssen gem Tarmedrechnung formatiert sein.

Parameters:
rn - die Rechnung
saveFile - Filename für eine XML-Kopie der Rechnung oder null: Keine Kopie
withForms -
monitor -
Returns:

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