Together Workflow Editor 3.0-1 API

org.enhydra.jawe.components.graph.jped
Class PDFPlugin

java.lang.Object
  extended byorg.enhydra.jawe.components.graph.jped.PDFPlugin

public class PDFPlugin
extends java.lang.Object


Field Summary
private static com.lowagie.text.Font CHAPTER_FONT
           
static java.util.List excludedAttributes
           
private  Graph graph
           
private  com.lowagie.text.Image graphImage
           
private static java.util.logging.Logger log
           
private static com.lowagie.text.Font NORMAL_FONT
           
private static com.lowagie.text.Font PARAMETER_FONT
           
private static com.lowagie.text.Font SECTION_FONT
           
private static com.lowagie.text.Font TRANSITION_CONDITION_FONT
           
private  java.util.Map transitionPictures
           
 
Constructor Summary
PDFPlugin()
           
 
Method Summary
private  boolean addAttributeRow(com.lowagie.text.pdf.PdfPTable table, org.enhydra.shark.xpdl.elements.ExtendedAttribute elt, PDFChain chain)
           
private  boolean addParameterRow(com.lowagie.text.pdf.PdfPTable table, org.enhydra.shark.xpdl.XMLElement elt, PDFChain chain)
           
private  boolean addParameterRowNoId(com.lowagie.text.pdf.PdfPTable table, org.enhydra.shark.xpdl.XMLElement elt, PDFChain chain)
           
private  java.util.List getActivityIngoingTransitions(org.enhydra.shark.xpdl.elements.Activity activity)
           
private  java.util.List getActivityOutgoingTransitions(org.enhydra.shark.xpdl.elements.Activity activity)
           
private  com.lowagie.text.Image getGraphImage()
           
private  com.lowagie.text.Image getTransitionPicture(JaWEType type, boolean incoming, java.lang.String condition)
           
private  com.lowagie.text.Image getTransitionPicture(org.enhydra.shark.xpdl.elements.Transition t, boolean incoming)
           
private  void insertGraphImage(com.lowagie.text.Document document, org.enhydra.shark.xpdl.elements.WorkflowProcess process)
           
private  com.lowagie.text.pdf.PdfPTable makeActivityTable(org.enhydra.shark.xpdl.elements.Activity activity, PDFSectionChain chain)
           
private  com.lowagie.text.pdf.PdfPCell makeBorderLessCell(com.lowagie.text.Element elt)
           
private  com.lowagie.text.pdf.PdfPTable makeDataFieldReport(org.enhydra.shark.xpdl.elements.DataField field, PDFChain chain)
           
 com.lowagie.text.Document processDocument(PDFDocumentChain chain)
           
 com.lowagie.text.Element processElement(PDFElementChain chain)
           
 com.lowagie.text.Section processSection(PDFSectionChain chain)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static java.util.logging.Logger log

CHAPTER_FONT

private static com.lowagie.text.Font CHAPTER_FONT

SECTION_FONT

private static com.lowagie.text.Font SECTION_FONT

NORMAL_FONT

private static com.lowagie.text.Font NORMAL_FONT

PARAMETER_FONT

private static com.lowagie.text.Font PARAMETER_FONT

TRANSITION_CONDITION_FONT

private static com.lowagie.text.Font TRANSITION_CONDITION_FONT

graph

private Graph graph

graphImage

private com.lowagie.text.Image graphImage

transitionPictures

private java.util.Map transitionPictures

excludedAttributes

public static java.util.List excludedAttributes
Constructor Detail

PDFPlugin

public PDFPlugin()
Method Detail

getGraphImage

private com.lowagie.text.Image getGraphImage()

insertGraphImage

private void insertGraphImage(com.lowagie.text.Document document,
                              org.enhydra.shark.xpdl.elements.WorkflowProcess process)

addParameterRow

private boolean addParameterRow(com.lowagie.text.pdf.PdfPTable table,
                                org.enhydra.shark.xpdl.XMLElement elt,
                                PDFChain chain)
                         throws com.lowagie.text.DocumentException
Throws:
com.lowagie.text.DocumentException

addParameterRowNoId

private boolean addParameterRowNoId(com.lowagie.text.pdf.PdfPTable table,
                                    org.enhydra.shark.xpdl.XMLElement elt,
                                    PDFChain chain)
                             throws com.lowagie.text.DocumentException
Throws:
com.lowagie.text.DocumentException

addAttributeRow

private boolean addAttributeRow(com.lowagie.text.pdf.PdfPTable table,
                                org.enhydra.shark.xpdl.elements.ExtendedAttribute elt,
                                PDFChain chain)
                         throws com.lowagie.text.DocumentException
Throws:
com.lowagie.text.DocumentException

makeDataFieldReport

private com.lowagie.text.pdf.PdfPTable makeDataFieldReport(org.enhydra.shark.xpdl.elements.DataField field,
                                                           PDFChain chain)
                                                    throws com.lowagie.text.DocumentException
Throws:
com.lowagie.text.DocumentException

makeBorderLessCell

private com.lowagie.text.pdf.PdfPCell makeBorderLessCell(com.lowagie.text.Element elt)

getTransitionPicture

private com.lowagie.text.Image getTransitionPicture(JaWEType type,
                                                    boolean incoming,
                                                    java.lang.String condition)
                                             throws java.lang.Exception
Throws:
java.lang.Exception

getTransitionPicture

private com.lowagie.text.Image getTransitionPicture(org.enhydra.shark.xpdl.elements.Transition t,
                                                    boolean incoming)
                                             throws java.lang.Exception
Throws:
java.lang.Exception

getActivityOutgoingTransitions

private java.util.List getActivityOutgoingTransitions(org.enhydra.shark.xpdl.elements.Activity activity)

getActivityIngoingTransitions

private java.util.List getActivityIngoingTransitions(org.enhydra.shark.xpdl.elements.Activity activity)

makeActivityTable

private com.lowagie.text.pdf.PdfPTable makeActivityTable(org.enhydra.shark.xpdl.elements.Activity activity,
                                                         PDFSectionChain chain)
                                                  throws com.lowagie.text.DocumentException
Throws:
com.lowagie.text.DocumentException

processDocument

public com.lowagie.text.Document processDocument(PDFDocumentChain chain)
                                          throws com.lowagie.text.DocumentException
Throws:
com.lowagie.text.DocumentException

processElement

public com.lowagie.text.Element processElement(PDFElementChain chain)
                                        throws com.lowagie.text.DocumentException
Throws:
com.lowagie.text.DocumentException

processSection

public com.lowagie.text.Section processSection(PDFSectionChain chain)
                                        throws com.lowagie.text.DocumentException
Throws:
com.lowagie.text.DocumentException

Together Workflow Editor 3.0-1 API