HOME | SIGN UP | ACCOUNT | SUBSCRIBE | STORE | WHAT'S NEW | TESTIMONIALS | TROUBLESHOOTING | SUPPORT AREA | SITE NEWS | LOGIN
Classes & methods · News · Jobs · Links · Downloads · Articles · Conferences · Magazines · Training · Consultants · Consulting · Blogs · FAQ
Books · Applications · Meetings · User groups · Speakers · User group leaders · Universal Thread Magazine · Coverages · Photos · Videos

 ID: 35834Created on: August 9, 2008 12:19Updated on: April 22, 2010 21:37

PDF Listener class and Haru PDF library wrapper class
URL:http://pdfclasses.googlepages.com/
Downloads:1039
Summary:Free VFP classes that can be used to generate PDFs, programatically or using PDFListener class (extremely fast output) . The wrapper class can be used as generic PDF tool and can be compiled as COM DLL. .
Rating:4.00/5.00 (2 rates) Rate this entry
Created by:
Dorin Vasilescu
ALL Trans Romania
Arad

There are two classes available:
Haru PDF library wrapper, the low level wrapper, which support almost all features of the Haru PDF library. Features:
1. Generating PDF files with lines, text, images.
supports rotated text and images, various styles of text formatting and alignment , scaling, skewing, rotating images and text, char and word spacing settings
2. Outline, hyperlinks, annotations .
supports Outline, Table of Contents, hyperlinks to external sites
3. Compressing document with deflate-decode.
4. Embedding PNG, Jpeg images.
5. Embedding Type1 font and TrueType font.
6. Creating encrypted PDF files.
supports permissions (copy,print) and encryption. Encryption method can be specified
7. Various character sets
8. Can be compiled as COM object
9. Error messages support, in .ErrorMsg property
Check test suite prgs to see various samples and output

PDF Listener class, the Listener class implementation. Features:

1. Based on UpdateListener class with the nice Carlos Alloati progressbar class
2. Very fast PDF output, almost as fast as native rendering
3. Font substitution through PDFFONT: directive in page header user data ( can use native Adobe PDF fonts instead, avoiding font embedding ). Example:
PDFFONT:Arial=Helvetica
PDFFONT:Times New Roman=Times-Roman
4. Limited support for underline / strikethrough, only one line text objects
5. Support for lines, shapes, ellipses, rounded rectangles, color filled shapes
6. All types of images, images of other format than jpg/png are converted to jpg and included in pdf output

Limitations:
- can use only true type fonts with font file present
- no clipping for images
- no support for text and images rotation ( is possible as future improvment, because is supported at wrapper level )
- no support for hyperlinks ( supported only in wrapper )
Possible future improvements:
- Table of contents for groups/subgroups
- Text and object rotattion/scaling/skewing

The listener class is very simple to use:

oListener = NewObject('PDFListener','PDFListener.prg')
oListener.PdfDoc = {PDFdocument_name}

REPORT FORMAT {report} object oListener preview

Comments
Add a comment

More entries from this member

  1. Combobox class with column headers May 27, 2004
    The combobox class is based on native VFP combobox class (not a container + command button), but the DropDown() event will activate a special always on top form with a grid on it to simulate combo drop down list, instead the VFP generated list. The .ColumnCount, .BoundColumn, .ColumnWidths properties are also available. Incremental searching capabilities with the search string memorized

  2. Date and DateTime picker October 3, 2004
    The class has the look of the standard themed VFP Combobox. It is not based on Container or Control class but textbox. It is easy to bind directly to fields, memory variables or object property.

  3. Firebird/Interbase services API wrapper class January 14, 2004
    A class that can be used to start several server tasks on Firebird/Interbase databases from VFP applications. Also users management is possible. Can be used directly in programs or compiled as a DLL and used as external object.

  4. Grid footer class with subtotals November 11, 2006
    The class is based on grid base class and can be used to replace usual textboxes below grids that contains totals. It has support for horizontal scrolling in sync with source grid (even with LockColumns set).Needs VFP9.

  5. Multiselect combobox October 11, 2006
    Combobox that supports multiple selections of items. Supports column headers, and customizable tag all/tag none buttons. Good for small lists where a multiple selection is needed. .

  6. Outlook style listbar control April 21, 2001
    Outlook style listbar control class, written entirely in Visual Foxpro. Using this class you can design Outlook like interface. Has support for groups, each with its own background color , buttons with large or small icons, support for selecting buttons with keyboard, etc. This updated version has XP like buttons, nice highlighting and 3D effects, improved code (no more macro substitution), builder that can be registered and used from designer, methods for removing folders or buttons at runti...

  7. Quick format toolbar May 14, 2003
    This toolbar class will allow quick acces to many formatting options for various objects, in design mode (form or class designer). No need to select Layout tab in properties window or scroll properties list to select and change desired format property, just click on toolbar button.

  8. Taskbar control November 11, 2005
    A toolbar class control written in VFP that mimics windows taskbar behavior. It monitors forms and add a button for every active form. Buttons provide single click form activation. Needs VFP9. This update needs _gdiplus class library .

DevTeach 2003
DateContentDetail
08/09 17:50NewsSouthwest Fox Speaker Ch...
06/09 16:31MeetingSQL Server Tools, Strate...
02/09 00:44NewsPEM Editor 6 has been re...
27/08 17:57NewsSouthwest Fox 2010 Early...
25/08 04:30NewsCryptoLicensing For .Net...
22/08 09:58NewsWindows Phone 7 Gold Rush
16/08 03:05NewsVisual WebGui reveals it...
11/08 17:54MeetingSo You Think You Want To...
10/08 16:41News.NET Training for VFP Pr...
09/08 18:33MeetingLINQ & SQL Server Reporting
03/08 08:15JobsSQL/VFP Developer for Ma...
29/07 10:59News.NET 4 for VFP Developer...
26/07 10:13JobsVFP Developer (Two Perma...
25/07 06:44NewsWith Visual WebGui 6.4 R...
24/07 11:00JobsQuality Assurance Softwa...

Copyright © 1993 - 2010 Level Extreme Inc., All Rights Reserved · Telephone: 506-783-9007 Email: info@universalthread.com · Privacy & Security · Copyright · Terms & Conditions