wPDF

<< Click to Display Table of Contents >>

Navigation:  Programming > Printing and PDF Export > PDF Products by WPCubed >

wPDF

Used alone, with your own component or linked with WPTools, wPDF instantly creates PDF files at high speed.

 

wPDF supports

Developer Express(tm)  EXPRESS PrintingSuite, (example included)

ReportBuilder, (interface included)

ACE Reporter, (interface included)

RichEdit, (example included)

RichView

RAVE Report, (interface included)

HTMLView,

FAST Report 2, (interface included)

FAST Report 3+4, (interface included)

QuickReport, (interface included)

WPTools 4 (incl. links and bookmarks, component included) ,

WPTools 5 (incl. links and bookmarks, component included) ,

WPTools 8 (incl. links, fields and bookmarks, component included) ,

WPForm, (example included)

List&Label

... and most other components which can create a metafile or draw to a HDC / Canvas. You always can combine the output of different components into one PDF file!

 

wPDF 4 introduces Type3 fonts which help to create very small PDF files due to the conversion of the character glyphs in special fonts. This provides much better output for asian and symbol fonts.

 

 

The integration with WPTools extremely tight. So, other than just exporting text and images these features are supported:

Export hyperlinks

Export Bookmarks

Export JPEG data without additional compression

Create PDF tags (Also known as "marked PDF" - this is a prerequisite for PDF/A compliancy. Tagged PDF Documents can be better converted to formatted text. Our own "PDF to RTF" converter will even recreate table structures!)

create edit fields (Example ...)

create checkbox fields (Example ...)

embed data stored in a special object instance (Example ...)

 

 

Features in wPDF

Support for standard brush styles (hatching)

TransparentBitBlt

Automatic reuse of the same image data. This way, when you export a document which often uses a logo the PDF file will be significantly smaller!

Creation of PDF/A complient PDF files (with added meta data and PDF tagging when you use it with WPTools)

Support of CID fonts (known as "unicode" support)

Binary Data embedding: You can store the document source which was used to create a PDF file within this PDF file. When you use WPTools for the PDF creation you can store the RTF source document inside of the created PDF data, the user only has to click on an icon to extract this document. This can be a great feature if you use it to embed programming examples within your programming manual!

Type3 Font embedding - create smaller files and embed characters as they are rendered by Windows

Modify Copyright XMP flag

Append file data

Add additional XML data, i.e. ZUGFerD

 

Code as simple as this will export the text in PDF format:

 

uses ..., WPPDFWP, WPRTEDefs, WPCTRMemo, WPCTRRich;

 

procedure TForm1.ExportFromWPTools(Sender: TObject);

var pdf : TWPPDFExport;

begin

 pdf := TWPPDFExport.Create(nil);

 pdf.Source := WPRichText1;

try

   pdf.FileName := 'c:\exported_rtf.pdf';

   pdf.Print;

finally

   pdf.Free;

end;

end;