Advanced Integrated RPGIntegrating RPG with Java and Open Source
Session 2
Create PDFs from RPG using iText
Tom Snyder
Electronic Documents
Portability of PDFs
Usability with Microsoft Excel Spreadsheets
Standardization
Distribution with Email
Using Java with RPG
Accessing Java Objects from RPG
Working with the Java Virtual Machine
Java Native Interface
iText Official Website
SourceForge Download Files
iText Jar FileIFS Location Options
Setting the Class Path
AIR File Naming ConventionsiText, Java, and Generic Functionality
SPAIRPDF contains iText Prototypes
SVAIRPDF is the iText Service Program
SPAIRJAVA contains generic Java Prototypes
SVAIRJAVA is the generic Java Service Program
SPAIRFUNC contains generic Prototypes
SVAIRFUNC is the generic Service Program
iText Document Class
Document ConstructorDefault Constructor and Rectangle
iText RectangleUsing PageSize getRectangle Method
PageSize getRectanglePredefined Rectangles Available
iText ChunkReference Variable and Constructor
iText PhraseReference Variable and Constructor
iText ParagraphReference Variable and Constructors
AirPdf_newParagraph ProcedureAutomatic String Conversion with Font Option
Document add MethodiText Element Parameter
iText Element InterfaceImplemented by Chunk, Phrase, and Paragraph
PdfWriter ClassNo Constructor Method, use getInstance
Java FileOutputStreamextends OutputStream
AirPdf_setPdfWriterVariables, Initialization, EBCDIC to ASCII
AirPdf_setPdfWriterUsing JNI to getInstance
AirPdf_setPdfWriterCalling the Static getInstance Method
iText Document OpenMethod and Prototype
AirPdf_newDocumentOutputParameters
AirPdf_newDocumentOutputOpen Document with Output Stream
Hello World!RPG Code Used to Create PDF
Static and Non StaticConceptual Example
Static and Non StaticParameter Behavior
Colors and FontsWorking with Colors and Fonts in iText
Java Color ClassReference Variable and Constructor
Hexadecimal Color CodesGraphical Tools and Constants
HTML using Hexadecimal ColorsUsing the Same Codes as Java
Integer parseInt MethodStatic Method with Radix
Air_getColorFromHex ProcedureConverting Hexadecimal String to Integer
iText FontReference Variable and Constructor
Font ConstantsRPG Constants and JavaDoc
iText Font setColor Method
PDF Fonts and ColorsCreating the Fonts in RPG
PDF Fonts and ColorsAssigning the Fonts to the Paragraphs
iText TableCreating a PDF Table with RPG
PdfPTable ClassReference Variable and Constructor
PdfPCell setColspan MethodOne Cell Spanning Multiple Table Columns
PdfPTable addCell MethodAdding Cells to a Table
Creating a PDF TableVariables, Chunks and Text
Creating a PDF TableCreate Table and Add Cells
iText ImagesAdding Images to PDFs
iText Image ClassReference Variable and Constructor
AirPdf_getImage ProcedureString Conversion and getInstance
iText Image setAlignment Method
iText Image setBorder MethodsSet Border Color and Width
Creating a PDF with an ImageVariables and Initialization
Creating a PDF with an ImageSet Image Alignment and Border
Wrapping Text Around an Image
iText Image scalePercent MethodResizing the Image
Wrapping Text Around an ImageVariables and Initialization
Wrapping Text Around an ImageScale and Text Wrap
iTextBarcodes, Lists, Hyperlinks and Metadata
Advanced Integrated RPG10% Discount Code: OMNI2010
Valid Through November 9th
http://www.mc-store.com/