SynPDF-master 2016-07-12

上传者: xing_1988 | 上传时间: 2023-04-13 14:48:54 | 文件大小: 707KB | 文件类型: ZIP
SynPDF ====== Synopse PDF engine is a fully featured *Open Source* PDF document creation library for Delphi and FPC, embedded in one unit. It's used e.g. in our [*mORMot* framework](https://github.com/synopse/mORMot), for creating PDF files from generated reports. But you can use it stand-alone, without our main ORM/SOA framework. If you download the whole *mORMot* source code, you do not need this separate package: ensure you get rid of any existing separated *SynPDF* installation, and use the PDF units as available in the main *mORMot* trunk. This *SynPDF* distribution/GitHub account targets only people needing PDF writing, without other *mORMot* features. Features -------- * Pure Delphi code, with no external .dll, and adding very small code size to your executable; * Targets Delphi 5 up to Delphi 10 Seattle (and latest version of FPC), for Win32 and Win64 platforms, with full source code provided; * Includes most vectorial drawing commands, including text,lines or curves; * Renders bitmaps, and metafiles (even most .emf files with clipping and regioning); * Introduce metadata, bookmarks and outline information; * Produce very small .pdf files; * Optionally [encrypt and secure the .pdf content](http://blog.synopse.info/post/2013/06/19/SynPDF-now-implements-40-bit-and-128-bit-security) using 40 bit or 128 bit keys; * Fast file generation with low memory overhead (tested with several thousands of pages); * Access a true VCL TCanvas instance to create the PDF content; * Optionally embed True Type fonts subsets; * Unicode ready, even with pre-Unicode versions of Delphi, including advanced [Uniscribe Glyph shading and Font fallback](http://blog.synopse.info/tag/Uniscribe); * Can publish PDF/A-1 archive files; * Used in a lot of applications, with regular enhancements, mainly from active end-users; * Licensed under a [MPL/GPL/LGPL tri-license](http://synopse.info/forum/viewtopic.php?id=27). Sample code ----------- In fact, you have at least three ways of generating pdfs using the library: * [Directly call](http://synopse.info/forum/viewtopic.php?pid=370#p370) of a `TPdfCanvas` as published by a `TPdfDocument` instance - this is the most direct but also more difficult way of rendering; * [Use regular VCL `TCanvas` methods](http://synopse.info/forum/viewtopic.php?pid=1909#p1909) thanks to `TMetaFile` support - see `TPdfDocumentGDI.VCLCanvas` property and the `TPdfCanvas.RenderMetaFile` method - this is very easy if you want to use "regular" `TCanvas` methods to draw the page content, especially if you have some existing printing code; * [Use `TGDIPages` of the supplied `mORMotReport.pas` unit](http://blog.synopse.info/post/2010/06/30/Making-report-from-code) (extracted from our *mORMot* ORM/SOA framework) to easily create the content from code, with some report-oriented methods (including complex rtf with `TGDIPages.AppendRichEdit`) - for basic reporting features, it is pretty much the solution. The 2nd and 3rd ways are preferred, for most applications. Documentation

文件下载

资源详情

[{"title":"( 13 个子文件 707KB ) SynPDF-master 2016-07-12","children":[{"title":"SynPDF-master","children":[{"title":"trees.obj <span style='color:#111;'> 11.93KB </span>","children":null,"spread":false},{"title":"deflate.obj <span style='color:#111;'> 10.97KB </span>","children":null,"spread":false},{"title":"SynPdf.pas <span style='color:#111;'> 391.89KB </span>","children":null,"spread":false},{"title":"SynLZ.pas <span style='color:#111;'> 39.00KB </span>","children":null,"spread":false},{"title":"SynZip.pas <span style='color:#111;'> 171.77KB </span>","children":null,"spread":false},{"title":"SynFPCTypInfo.pas <span style='color:#111;'> 5.31KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 3.79KB </span>","children":null,"spread":false},{"title":"SynGdiPlus.pas <span style='color:#111;'> 95.28KB </span>","children":null,"spread":false},{"title":"SynCrypto.pas <span style='color:#111;'> 247.38KB </span>","children":null,"spread":false},{"title":"SynopseCommit.inc <span style='color:#111;'> 13B </span>","children":null,"spread":false},{"title":"mORMotReport.pas <span style='color:#111;'> 198.18KB </span>","children":null,"spread":false},{"title":"SynCommons.pas <span style='color:#111;'> 1.93MB </span>","children":null,"spread":false},{"title":"Synopse.inc <span style='color:#111;'> 19.53KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明