Elexis API documentation
Version 2.1.6 as of December 11 2011

ch.elexis.views
Class RnPrintView2

java.lang.Object
  extended by ViewPart
      extended by ch.elexis.views.RnPrintView2

public class RnPrintView2
extends 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.

Author:
Gerry

Field Summary
static java.lang.String ID
           
 
Constructor Summary
RnPrintView2()
           
 
Method Summary
 void createPartControl(Composite parent)
           
 boolean doPrint(Rechnung rn, IRnOutputter.TYPE rnType, java.lang.String saveFile, boolean withESR, boolean withForms, boolean doVerify, 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 java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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(Composite parent)

setFocus

public void setFocus()

doPrint

public boolean doPrint(Rechnung rn,
                       IRnOutputter.TYPE rnType,
                       java.lang.String saveFile,
                       boolean withESR,
                       boolean withForms,
                       boolean doVerify,
                       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 API documentation
Version 2.1.6 as of December 11 2011

Copyright 2005-2011 by Gerry Weirich, Elexis