资源简介
利用PDFLib生成PDF文档,生成 PDF 格式文件
代码片段和文件信息
/*---------------------------------------------------------------------------*
| 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);
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2004-03-26 20:06 PDFLibTest
目录 0 2004-03-26 20:06 PDFLibTest\PDFLib
文件 2555 2004-03-17 16:43 PDFLibTest\PDFLib\except.cpp
文件 2550 2004-03-18 09:59 PDFLibTest\PDFLib\except.h
文件 21946 2004-03-18 10:06 PDFLibTest\PDFLib\pdflib.cpp
文件 648014 2002-03-04 22:17 PDFLibTest\PDFLib\pdflib.dll
文件 26525 2004-03-18 09:33 PDFLibTest\PDFLib\pdflib.h
文件 12028 2004-03-18 09:39 PDFLibTest\PDFLib\pdflib.hpp
文件 30842 2003-05-27 22:46 PDFLibTest\PDFLib\pdflib.lib
目录 0 2004-03-26 20:32 PDFLibTest\PDFlibTest
文件 2346 2004-03-26 20:28 PDFLibTest\PDFlibTest\PDFlibTest.cpp
文件 4726 2004-03-18 11:31 PDFLibTest\PDFlibTest\PDFlibTest.dsp
文件 545 2004-03-26 20:14 PDFLibTest\PDFlibTest\PDFlibTest.dsw
文件 297 2004-03-18 09:22 PDFLibTest\PDFlibTest\StdAfx.cpp
文件 769 2004-03-18 09:22 PDFLibTest\PDFlibTest\StdAfx.h
文件 17138 2004-03-19 09:51 PDFLibTest\PDFlibTest\vckba
文件 19727 2004-03-26 20:28 PDFLibTest\PDFlibTest\vckba
文件 174 2004-03-18 18:38 PDFLibTest\PDFlibTest\vckba
文件 129 2004-03-26 20:32 PDFLibTest\说明.txt
----------- --------- ---------- ----- ----
790311 19
- 上一篇:用zgf实现触屏控制和虚拟按键
- 下一篇:Idea的Eclipse风格字体颜色
评论
共有 条评论