资源简介
PDFLib是用于创建PDF文档的开发库,提供了简单易用的API,隐藏了创建PDF的复杂细节且不需要第3方软件的支持。PDFLib库对于个人是免费的,对于商业产品需要购买许可。
代码片段和文件信息
/*---------------------------------------------------------------------------*
| PDFlib - A library for generating PDF on the fly |
+---------------------------------------------------------------------------+
| Copyright (c) 1997-2002 PDFlib GmbH and Thomas Merz. All rights reserved. |
+---------------------------------------------------------------------------+
| This software is NOT in the public domain. It can be used under two |
| substantially different licensing terms: |
| |
| The commercial license is available for a fee and allows you to |
| - ship a commercial product based on PDFlib |
| - implement commercial Web services with PDFlib |
| - distribute (free or commercial) software when the source code is |
| not made available |
| Details can be found in the file PDFlib-license.pdf. |
| |
| The “Aladdin Free Public License“ doesn‘t require any license fee |
| and allows you to |
| - develop and distribute PDFlib-based software for which the complete |
| source code is made available |
| - redistribute PDFlib non-commercially under certain conditions |
| - redistribute PDFlib on digital media for a fee if the complete |
| contents of the media are freely redistributable |
| Details can be found in the file aladdin-license.pdf. |
| |
| These conditions extend to ports to other programming languages. |
| PDFlib is distributed with no warranty of any kind. Commercial users |
| however will receive warranty and support statements in writing. |
*---------------------------------------------------------------------------*/
/* $Id: except.cv 1.1.2.6 2002/01/07 18:26:29 tm Exp $ */
#include “stdafx.h“
#include
#include “pdflib.h“
#include “except.h“
void pdf_cpp_errorhandler(PDF *p int type const char *msg)
{
pdf_err_info *ei = (pdf_err_info *) PDF_get_opaque(p);
ei->type = type;
strcpy(ei->msg msg);
longjmp(ei->jbuf 1);
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2555 2004-03-17 16:43 except.cpp
文件 2550 2004-03-18 09:59 except.h
文件 21946 2004-03-18 10:06 pdflib.cpp
文件 648014 2002-03-04 22:17 pdflib.dll
文件 26525 2004-03-18 09:33 pdflib.h
文件 12028 2004-03-18 09:39 pdflib.hpp
文件 30842 2003-05-27 22:46 pdflib.lib
----------- --------- ---------- ----- ----
744460 7
评论
共有 条评论