Java Doc for PurapPdf.java in  » ERP-CRM-Financial » Kuali-Financial-System » org » kuali » module » purap » pdf » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » ERP CRM Financial » Kuali Financial System » org.kuali.module.purap.pdf 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.kuali.module.purap.pdf.PurapPdf

All known Subclasses:   org.kuali.module.purap.pdf.PurchaseOrderPdf,  org.kuali.module.purap.pdf.PurchaseOrderQuotePdf,
PurapPdf
public class PurapPdf extends PdfPageEventHelper (Code)
Base class to be extended for implementing PDF documents in Purchasing/Accounts Payable module.


Field Summary
public  StringcampusName
    
public  PdfContentBytecb
    
 Fontcour_10_normal
    
public  Stringenvironment
    
public  PdfPTableheaderTable
    
public  BaseFonthelv
    
public  booleanisRetransmit
    
public  Imagelogo
    
public  StringlogoImage
    
public  PdfPTablenestedHeaderTable
    
public  PurchaseOrderDocumentpo
    
public  PdfTemplatetpl
    
 Fontver_10_bold
    
 Fontver_10_normal
    
 Fontver_11_normal
    
 Fontver_12_normal
    
 Fontver_13_normal
    
 Fontver_14_normal
    
 Fontver_15_normal
    
 Fontver_16_normal
    
 Fontver_17_normal
    
 Fontver_4_normal
    
 Fontver_5_normal
    
 Fontver_6_bold
    
 Fontver_6_normal
    
 Fontver_8_bold
    
 Fontver_8_normal
    
static  KualiDecimalzero
    

Constructor Summary
public  PurapPdf()
    

Method Summary
public  voiddeletePdf(String pdfFileLocation, String pdfFilename)
     Deletes an already created PDF.
public  DateTimeServicegetDateTimeService()
    
public  DocumentgetDocument(float f1, float f2, float f3, float f4)
     Creates an instance of a new Document and set its margins according to the given input parameters.
Parameters:
  f1 - Left margin.
Parameters:
  f2 - Right margin.
Parameters:
  f3 - Top margin.
Parameters:
  f4 - Bottom margin.
public  PurapPdfgetPageEvents()
     Gets a PageEvents object.
public  voidonCloseDocument(PdfWriter writer, Document document)
     Overrides the method in the PdfPageEventHelper from itext to put the total number of pages into the template.
public  voidonEndPage(PdfWriter writer, Document document)
     Overrides the method in PdfPageEventHelper from itext to write the headerTable, compose the footer and show the footer.
public  voidonStartPage(PdfWriter writer, Document document)
     Overrides the method in PdfPageEventHelper from itext to include our watermark text to indicate that this is a Test document and include the environment, if the environment is not a production environment.

Field Detail
campusName
public String campusName(Code)



cb
public PdfContentByte cb(Code)



cour_10_normal
Font cour_10_normal(Code)



environment
public String environment(Code)



headerTable
public PdfPTable headerTable(Code)



helv
public BaseFont helv(Code)



isRetransmit
public boolean isRetransmit(Code)



logo
public Image logo(Code)



logoImage
public String logoImage(Code)



nestedHeaderTable
public PdfPTable nestedHeaderTable(Code)



po
public PurchaseOrderDocument po(Code)



tpl
public PdfTemplate tpl(Code)
headerTable pieces need to be public



ver_10_bold
Font ver_10_bold(Code)



ver_10_normal
Font ver_10_normal(Code)



ver_11_normal
Font ver_11_normal(Code)



ver_12_normal
Font ver_12_normal(Code)



ver_13_normal
Font ver_13_normal(Code)



ver_14_normal
Font ver_14_normal(Code)



ver_15_normal
Font ver_15_normal(Code)



ver_16_normal
Font ver_16_normal(Code)



ver_17_normal
Font ver_17_normal(Code)



ver_4_normal
Font ver_4_normal(Code)



ver_5_normal
Font ver_5_normal(Code)



ver_6_bold
Font ver_6_bold(Code)



ver_6_normal
Font ver_6_normal(Code)



ver_8_bold
Font ver_8_bold(Code)



ver_8_normal
Font ver_8_normal(Code)



zero
static KualiDecimal zero(Code)




Constructor Detail
PurapPdf
public PurapPdf()(Code)




Method Detail
deletePdf
public void deletePdf(String pdfFileLocation, String pdfFilename)(Code)
Deletes an already created PDF.
Parameters:
  pdfFileLocation - The location of the pdf file.
Parameters:
  pdfFilename - The name of the pdf file.



getDateTimeService
public DateTimeService getDateTimeService()(Code)



getDocument
public Document getDocument(float f1, float f2, float f3, float f4)(Code)
Creates an instance of a new Document and set its margins according to the given input parameters.
Parameters:
  f1 - Left margin.
Parameters:
  f2 - Right margin.
Parameters:
  f3 - Top margin.
Parameters:
  f4 - Bottom margin. The created Document object.



getPageEvents
public PurapPdf getPageEvents()(Code)
Gets a PageEvents object. a new PageEvents object



onCloseDocument
public void onCloseDocument(PdfWriter writer, Document document)(Code)
Overrides the method in the PdfPageEventHelper from itext to put the total number of pages into the template.
Parameters:
  writer - The PdfWriter for this document.
Parameters:
  document - The document.
See Also:   com.lowagie.text.pdf.PdfPageEventHelper.onCloseDocument(com.lowagie.text.pdf.PdfWritercom.lowagie.text.Document)



onEndPage
public void onEndPage(PdfWriter writer, Document document)(Code)
Overrides the method in PdfPageEventHelper from itext to write the headerTable, compose the footer and show the footer.
Parameters:
  writer - The PdfWriter for this document.
Parameters:
  document - The document.
See Also:   com.lowagie.text.pdf.PdfPageEventHelper.onEndPage(com.lowagie.text.pdf.PdfWritercom.lowagie.text.Document)



onStartPage
public void onStartPage(PdfWriter writer, Document document)(Code)
Overrides the method in PdfPageEventHelper from itext to include our watermark text to indicate that this is a Test document and include the environment, if the environment is not a production environment.
Parameters:
  writer - The PdfWriter for this document.
Parameters:
  document - The document.
See Also:   com.lowagie.text.pdf.PdfPageEventHelper.onStartPage(com.lowagie.text.pdf.PdfWritercom.lowagie.text.Document)



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.