PDF Document structure, that need for managing of PDF file. It uses in all functions from EMF2PDF SDK.

Similar documents
int fnvgetconfig(handle h, UINT32 id, const void *cfg, size_t sz);... 4

Variables Data types Variable I/O. C introduction. Variables. Variables 1 / 14

University of Technology. Laser & Optoelectronics Engineering Department. C++ Lab.

Variables. Data Types.

Programming in C++ 4. The lexical basis of C++

Recap. ANSI C Reserved Words C++ Multimedia Programming Lecture 2. Erwin M. Bakker Joachim Rijsdam

Lab # 4. Files & Queues in C

Tokens, Expressions and Control Structures

ADVENTURE_IO Input/Output format and libraries for ADVENTURE modules List of Input/Output Functions February 17, 2006

typedef Labeling<unsigned char,short> LabelingBS; typedef Labeling<unsigned char,short>::regioninfo RegionInfoBS;

The Nifty Way to Call Hell from Heaven ANDREAS LÖSCHER AND KONSTANTINOS SAGONAS UPPSAL A UNIVERSIT Y

OptimiData. JPEG2000 Software Development Kit for C/C++ Reference Manual. Version 1.6. from

CS242 COMPUTER PROGRAMMING

Variables in C. Variables in C. What Are Variables in C? CMSC 104, Fall 2012 John Y. Park

ArduCAM USB Camera SDK

Types and Structures

The New C Standard (Excerpted material)

Android X Y Android sample ios sample

Armide Documentation. Release Kyle Mayes

CS 261 Fall Mike Lam, Professor. Structs and I/O

PusleIR Multitouch Screen Software SDK Specification. Revision 4.0

Procedures, Parameters, Values and Variables. Steven R. Bagley

C Language, Token, Keywords, Constant, variable

Variables in C. CMSC 104, Spring 2014 Christopher S. Marron. (thanks to John Park for slides) Tuesday, February 18, 14

IT 1033: Fundamentals of Programming Data types & variables

Section 3: File I/O, JSON, Generics. Meghan Cowan

Intermediate Programming, Spring 2017*

Basic program The following is a basic program in C++; Basic C++ Source Code Compiler Object Code Linker (with libraries) Executable

Remote Procedure Call Implementations

Object-Oriented Programming

Artemis SDK. Copyright Artemis CCD Limited October 2011 Version

Structures. Today s Goals. Structure Operations. Structure Type Declaration. Struct Instance. typedef. CS246 Lec12. Structures

Presented By : Gaurav Juneja

Introduction to C++ Systems Programming

Laboratory 2: Programming Basics and Variables. Lecture notes: 1. A quick review of hello_comment.c 2. Some useful information

Creating a C++ Program

Developer manual. (Onvif Client Library) Happytimesoft Technology Co.,LTD

Final assignment: Hash map

Introduction to Programming

P.G.TRB - COMPUTER SCIENCE. c) data processing language d) none of the above

12 CREATING NEW TYPES

Syntax and Variables

6.096 Introduction to C++ January (IAP) 2009

Extensions for the programming language C to support new character data types VERSION FOR PDTR APPROVAL BALLOT. Contents

Chapter 15 - C++ As A "Better C"

firebase-arduino Documentation

Type Checking. Prof. James L. Frankel Harvard University

CSci 4061 Introduction to Operating Systems. Input/Output: High-level

NVJPEG. DA _v0.2.0 October nvjpeg Libary Guide

grib_api.h File Reference

Short Notes of CS201

Advanced Pointer Topics

Basic Types, Variables, Literals, Constants

libtheora Reference Manual

CS201 - Introduction to Programming Glossary By

Introduction to N1031. Components of N1031. Guiding Principles. Walk through, issues, and rationale

.. Cal Poly CPE 101: Fundamentals of Computer Science I Alexander Dekhtyar..

Binghamton University. CS-211 Fall Syntax. What the Compiler needs to understand your program

C Concepts - I/O. Lecture 19 COP 3014 Fall November 29, 2017

Programming Fundamentals (CS 302 ) Dr. Ihsan Ullah. Lecturer Department of Computer Science & IT University of Balochistan

ArduCAM USB Camera C/C++ SDK

ECE 264 Exam 2. 6:30-7:30PM, March 9, You must sign here. Otherwise you will receive a 1-point penalty.

Programming. C++ Basics

Do not start the test until instructed to do so!

SENSORAY CO., INC. 24oo Software Development Kit Version 1.0.1

#include <stdio.h> int main() { char s[] = Hsjodi, *p; for (p = s + 5; p >= s; p--) --*p; puts(s); return 0;

HikVision Mpeg4 linux Player SDK

Files. Eric McCreath

Call DLL from Limnor Applications

NVJPEG. DA _v0.1.4 August nvjpeg Libary Guide

Compiler Construction. Lecture 10

The component base of C language. Nguyễn Dũng Faculty of IT Hue College of Science

User Manual of VeryDOC Advanced PDF Tools User Handbook

ArduCAM USB Camera SDK

C# SDK Wrapper Silicon Software Runtime

NOTE: Debug and DebugSingle are the only MPI library configurations that will produce trace output.

NextGenRaster API Reference

Recitation #11 Malloc Lab. November 7th, 2017

ENERGY 211 / CME 211. Functions

Quantum Random Number Generator QRNG

Agenda. The main body and cout. Fundamental data types. Declarations and definitions. Control structures

The C++ Language. Arizona State University 1

Matlab? Chapter 3-4 Matlab and IPT Basics. Working Environment. Matlab Demo. Array. Data Type. MATLAB Desktop:

Pixel Power (P2) Eliane Kabkab System Integrator Nageswar Keetha Language Guru Eric Liu Project Manager Kaushik Viswanathan System Architect

Airence C Library v1.2 for Windows

OVP VMI View Function Reference

ME240 Computation for Mechanical Engineering. Lecture 4. C++ Data Types

Objectives. Describe ways to create constants const readonly enum

PROGRAMMING IN C++ CVIČENÍ

Type Checking. Chapter 6, Section 6.3, 6.5

C-types: basic & constructed. C basic types: int, char, float, C constructed types: pointer, array, struct

Data Structures Unit 02

libtcod Documentation

2. C99 standard guarantees uniqueness of characters for internal names. A. 12 B. 26 C. 31 D. 48

AET60 BioCARDKey. Application Programming Interface. Subject to change without prior notice

C++14 Reflections Without Macros, Markup nor External Tooling

ECE 551D Spring 2018 Midterm Exam

CS Spring 05 - MidTerm

11 'e' 'x' 'e' 'm' 'p' 'l' 'i' 'f' 'i' 'e' 'd' bool equal(const unsigned char pstr[], const char *cstr) {

robotics/ openel.h File Reference Macros Macro Definition Documentation Typedefs Functions

Transcription:

EMF2PDF SDK Pilot Structures struct pdf_document { PDFDocument4 *pdfdoc; }; PDF Document structure, that need for managing of PDF file. It uses in all functions from EMF2PDF SDK. typedef enum { conone = 0, coflate = 1 } CompressionType; EMF2PDF SDK supports the following compression types: conone (=0) None; coflate (=1) - Use the "flate" method. EMF2PDF SDK Pilot Functions void pdf_init( Create and initialize PDF object. void pdf_free( Release PDF object. void pdf_setlicensedata( pdf_document &doc, const char *name, const char *key) This function sets user license data to remove all demo version limitations. void pdf_setauthor(pdf_document &doc, const wchar_t *author) void pdf_settitle(pdf_document &doc, const wchar_t *title) void pdf_setcreator(pdf_document &doc, const wchar_t *creator) information about the author of the information about the title of the current PDF document. information about the creator of the

void pdf_setkeywords(pdf_document &doc, const wchar_t *keywords) This function sets the keywords for the void pdf_setproducer(pdf_document &doc, const wchar_t *producer) void pdf_setproducepdfa( pdf_document &doc, bool pdfa) bool pdf_getproducepdfa( void pdf_setcompression( pdf_document &doc, CompressionType type) CompressionType pdf_getcompression ( bool pdf_setpageresolution( resolution) information about the producer of the This function sets the value indicating whether to produce a PDF/A compatible output file. This function returns the value indicating whether to produce a PDF/A compatible output file. This function sets the value indicating whether PDF page streams are compressed or not. This function returns the value indicating whether PDF page streams are compressed or not. This function sets the resolution (in DPI) of the size_t pdf_getpageresolution( This function returns the resolution (in DPI) of the bool pdf_setpageheight(pdf_document &doc, size_t height) This function sets the height of the size_t pdf_getpageheight( This function returns the height of the bool pdf_setpagewidth(pdf_document &doc, size_t width) This function sets the width of the

size_t pdf_getpagewidth( This function returns the width of the bool pdf_addmetafile(pdf_document &doc, const wchar_t *metafilename) This function adds a metafile from a file to a PDF document. bool pdf_playmetafile(pdf_document &doc, const wchar_t *metafilename, float x, float y, float scalex, float scaley) This function adds a metafile from a file to a PDF document. bool pdf_playmetafilefromhandle( pdf_document &doc, unsigned int metafilehandle, float x, float y, float scalex, float scaley) This function adds a metafile from a handle to a PDF document. bool pdf_open(pdf_document &doc, const wchar_t *filename, const char This function opens an existing PDF document, reads and parses its contents. bool pdf_openfrombuffer( pdf_document &doc, const unsigned char* documentbuffer, size_t buffersizeinbytes, const char This function opens an existing PDF document from a buffer, reads and parses its contents. bool pdf_append(pdf_document &doc, const wchar_t *filename, const char This function appends the contents of a previously saved PDF file (not a buffer) to a newly created (or opened) PDF document. bool pdf_appendfrombuffer( pdf_document &doc, const unsigned char* documentbuffer, size_t buffersizeinbytes, const char This function appends the contents of a previously saved buffer to a newly created (or opened) PDF document.

bool pdf_newpage(pdf_document &doc) bool pdf_addpage(pdf_document &doc) size_t pdf_addwatermark( This function creates a new PDF page, appends it to the end of the PDF document, and makes it current. This function creates a new PDF page, appending it to the end of the PDF document. This function creates a watermark in a PDF document. size_t pdf_addwatermark2( pdf_document &doc, bool showonbackground) This function creates a watermark in a PDF document. Show background. bool pdf_switchtowatermark( watermarknumber) This function switches all output commands to the specified watermark. void pdf_switchtocurrentpage( bool pdf_attachwatermark( pagenumber, size_t watermarknumber) This function switches all output commands back to the current PDF page. This function attaches a watermark to a page. bool pdf_setcurrentpage( pagenumber) This function sets the index of the bool pdf_savetofile (pdf_document &doc, const wchar_t *name, bool autolaunch) This function saves a PDF document to the file specified. size_t pdf_getbuffersize( This function returns the size (in bytes) of a PDF file generated in memory.

size_t pdf_getbuffer(pdf_document &doc, const unsigned char** pbuffer) This function returns a generated PDF document as a byte array.