download pdf file in mvc : Bulk pdf to jpg converter online control Library system azure .net winforms console e128860-part407

Oracle® Outside In PDF Export
Developer’s Guide  
Release 8.4.1 
E12886-05
May 2013
Bulk pdf to jpg converter online - Convert PDF to JPEG images in C#.net, ASP.NET MVC, WinForms, WPF project
How to convert PDF to JPEG using C#.NET PDF to JPEG conversion / converter library control SDK
batch pdf to jpg; best pdf to jpg converter for
Bulk pdf to jpg converter online - VB.NET PDF Convert to Jpeg SDK: Convert PDF to JPEG images in vb.net, ASP.NET MVC, WinForms, WPF project
Online Tutorial for PDF to JPEG (JPG) Conversion in VB.NET Image Application
convert pdf file into jpg format; convert pdf page to jpg
Oracle Outside In PDF Export Developer's Guide, Release 8.4.1  
E12886-05
Copyright © 2013 Oracle and/or its affiliates. All rights reserved.
Primary Author: Mike Manier
This software and related documentation are provided under a license agreement containing restrictions on use and 
disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or 
allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, 
perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or 
decompilation of this software, unless required by law for interoperability, is prohibited.
The information contained herein is subject to change without notice and is not warranted to be error-free. If you find 
any errors, please report them to us in writing.
If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of 
the U.S. Government, the following notice is applicable:
U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data delivered 
to U.S. Government customers are "commercial computer software" or "commercial technical data" pursuant to the 
applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, duplication, 
disclosure, modification, and adaptation shall be subject to the restrictions and license terms set forth in the applicable 
Government contract, and, to the extent applicable by the terms of the Government contract, the additional rights set 
forth in FAR 52.227-19, Commercial Computer Software License (December 2007). Oracle America, Inc., 500 Oracle 
Parkway, Redwood City, CA 94065.
This software or hardware is developed for general use in a variety of information management applications. It is not 
developed or intended for use in any inherently dangerous applications, including applications that may create a risk of 
personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all 
appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its 
affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their 
respective owners.
Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used 
under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, 
and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered 
trademark of The Open Group.
This software or hardware and documentation may provide access to or information on content, products, and services 
from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of 
any kind with respect to third-party content, products, and services. Oracle Corporation and its affiliates will not be 
responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or 
services.
C# Imaging - Planet Barcode Generation Guide
Draw, paint PLANET bar codes on images of jpeg/jpg, png, gif, and bmp formats. Creating single or bulk PLANET bar codes on documents such as PDF, Office Word
convert pdf file to jpg file; batch pdf to jpg online
iii
Contents
Preface
.................................................................................................................................................................   xi
1 Introduction
1.1
What’s New in Release 8.4.1......................................................................................................   1-1
1.2
Architectural Overview.............................................................................................................   1-2
1.3
Definition of Terms.....................................................................................................................   1-2
1.4
Directory Structure.....................................................................................................................   1-3
1.4.1
Installing Multiple SDKs....................................................................................................   1-3
1.5
How to Use PDF Export.............................................................................................................   1-3
1.6
Copyright Information...............................................................................................................   1-4
2 Windows Implementation Details
2.1
Installation...................................................................................................................................   2-1
2.1.1
NSF Support.........................................................................................................................   2-2
2.2
Libraries and Structure...............................................................................................................   2-2
2.2.1
API DLLs...............................................................................................................................   2-2
2.2.2
Support DLLs.......................................................................................................................   2-2
2.2.3
Engine Libraries...................................................................................................................   2-4
2.2.4
Filter and Export Filter Libraries.......................................................................................   2-4
2.2.5
Premier Graphics Filters.....................................................................................................   2-5
2.2.6
Additional Files....................................................................................................................   2-5
2.3
The Basics.....................................................................................................................................   2-5
2.3.1
What You Need in Your Source Code..............................................................................   2-6
2.3.2
Options and Information Storage......................................................................................   2-6
2.3.3
Structure Alignment............................................................................................................   2-6
2.3.4
Character Sets.......................................................................................................................   2-7
2.3.5
Runtime Considerations.....................................................................................................   2-7
2.4
Default Font Aliases...................................................................................................................   2-7
2.5
Changing Resources...................................................................................................................   2-7
3 UNIX Implementation Details
3.1
Installation...................................................................................................................................   3-1
3.1.1
NSF Support.........................................................................................................................   3-2
3.2
Libraries and Structure...............................................................................................................   3-2
3.2.1
API Libraries.........................................................................................................................   3-3
iv
3.2.2
Support Libraries.................................................................................................................   3-3
3.2.3
Engine Libraries...................................................................................................................   3-4
3.2.4
Filter and Export Filter Libraries.......................................................................................   3-4
3.2.5
Premier Graphics Filters.....................................................................................................   3-5
3.2.6
Additional Files....................................................................................................................   3-5
3.3
The Basics.....................................................................................................................................   3-6
3.3.1
What You Need in Your Source Code..............................................................................   3-6
3.3.2
Information Storage.............................................................................................................   3-6
3.4
Character Sets..............................................................................................................................   3-7
3.5
Runtime Considerations............................................................................................................   3-7
3.5.1
OLE2 Objects........................................................................................................................   3-7
3.5.2
Signal Handling...................................................................................................................   3-7
3.5.3
Runtime Search Path and $ORIGIN..................................................................................   3-8
3.6
Environment Variables..............................................................................................................   3-8
3.7
Default Font Aliases...................................................................................................................   3-8
3.8
Changing Resources................................................................................................................   3-11
3.9
HP-UX Compiling and Linking.............................................................................................   3-11
3.9.1
HP-UX on RISC.................................................................................................................   3-11
3.9.2
HP-UX on Itanium (64 bit)..............................................................................................   3-12
3.10
IBM AIX Compiling and Linking..........................................................................................   3-12
3.10.1
IBM AIX (32-bit pSeries)..................................................................................................   3-12
3.11
Linux Compiling and Linking...............................................................................................   3-13
3.11.1
Library Compatibility......................................................................................................   3-13
3.11.1.1
GLIBC and Compiler Versions................................................................................   3-13
3.11.1.2
Other Libraries...........................................................................................................   3-13
3.11.2
Compiling and Linking....................................................................................................   3-15
3.11.2.1
Linux 32-bit.................................................................................................................   3-15
3.11.2.2
Linux 64-bit.................................................................................................................   3-15
3.12
Oracle Solaris Compiling and Linking.................................................................................   3-15
3.12.1
Oracle Solaris SPARC.......................................................................................................   3-16
4 Data Access Common Functions
4.1
Deprecated Functions.................................................................................................................   4-1
4.2
DAInitEx.......................................................................................................................................   4-2
4.3
DADeInit......................................................................................................................................   4-2
4.4
DAOpenDocument.....................................................................................................................   4-3
4.4.1
IOSPECLINKEDOBJECT Structure..................................................................................   4-4
4.4.2
IOSPECARCHIVEOBJECT Structure...............................................................................   4-4
4.5
DAOpenNextDocument............................................................................................................   4-5
4.6
DACloseDocument.....................................................................................................................   4-6
4.7
DARetrieveDocHandle..............................................................................................................   4-6
4.8
DASetOption...............................................................................................................................   4-6
4.9
DAGetOption..............................................................................................................................   4-7
4.10
DAGetFileId.................................................................................................................................   4-7
4.11
DAGetFileIdEx............................................................................................................................   4-8
4.12
DAGetErrorString.......................................................................................................................   4-9
4.13
DAGetTreeCount........................................................................................................................   4-9
v
4.14
DAGetTreeRecord....................................................................................................................   4-10
4.14.1
SCCDATREENODE Structure........................................................................................   4-10
4.15
DAOpenTreeRecord................................................................................................................   4-11
4.16
DASaveTreeRecord..................................................................................................................   4-12
4.17
DACloseTreeRecord................................................................................................................   4-12
4.18
DASetStatCallback...................................................................................................................   4-13
4.19
DASetFileAccessCallback.......................................................................................................   4-14
5 Export Functions
5.1
General Functions.......................................................................................................................   5-1
5.1.1
EXOpenExport.....................................................................................................................   5-1
5.1.2
EXCALLBACKPROC..........................................................................................................   5-3
5.1.3
EXCloseExport.....................................................................................................................   5-4
5.1.4
EXRunExport........................................................................................................................   5-4
5.1.5
EXExportStatus....................................................................................................................   5-4
5.2
Annotation Functions.................................................................................................................   5-5
5.2.1
EXHiliteText.........................................................................................................................   5-6
5.2.2
EXInsertText.........................................................................................................................   5-8
5.2.3
EXHideText........................................................................................................................   5-10
5.2.3.1
EXANNOHIDETEXT Structure..............................................................................   5-11
6 Redirected IO
6.1
Using Redirected IO...................................................................................................................   6-1
6.2
Opening Files...............................................................................................................................   6-2
6.3
IOClose.........................................................................................................................................   6-3
6.4
IORead..........................................................................................................................................   6-3
6.5
IOWrite.........................................................................................................................................   6-4
6.6
IOSeek...........................................................................................................................................   6-4
6.7
IOTell............................................................................................................................................   6-5
6.8
IOGetInfo......................................................................................................................................   6-5
6.8.1
IOGENSECONDARY and IOGENSECONDARYW Structures...................................   6-8
6.8.2
File Types That Cause IOGETINFO_GENSECONDARY.............................................   6-9
6.9
IOSEEK64PROC / IOTELL64PROC.....................................................................................   6-10
6.9.1
IOSeek64.............................................................................................................................   6-10
6.9.2
IOTell64..............................................................................................................................   6-10
7 Callbacks
7.1
Callbacks Used In PDF Export..................................................................................................   7-1
7.1.1
EX_CALLBACK_ID_CREATENEWFILE........................................................................   7-1
7.1.1.1
EXURLFILEIOCALLBACKDATA / EXURLFILEIOCALLBACKDATAW 
Structures   7-3
7.1.2
EX_CALLBACK_ID_NEWFILEINFO..............................................................................   7-3
7.1.3
EX_CALLBACK_ID_PAGECOUNT.................................................................................   7-4
vi
8 Implementation Issues
8.1
Running in 24x7 Environments................................................................................................   8-1
8.2
Running in Multiple Threads or Processes.............................................................................   8-1
8.3
PDF Export Issues.......................................................................................................................   8-2
9 Sample Applications
9.1
Building the Samples on a Windows System.........................................................................   9-1
9.2
An Overview of the Sample Applications...............................................................................   9-2
9.2.1
pxsample...............................................................................................................................   9-2
9.2.2
export (Windows Only)......................................................................................................   9-2
9.2.2.1
The export Main Window...........................................................................................   9-2
9.2.3
exsimple................................................................................................................................   9-3
9.2.4
exredir....................................................................................................................................   9-4
9.2.5
extract_archive.....................................................................................................................   9-4
9.2.6
pxanno...................................................................................................................................   9-4
9.3
Accessing the SDK via a Java Wrapper...................................................................................   9-5
9.3.1
The ExJava Wrapper API....................................................................................................   9-5
9.3.2
The C-Based Exporter Application...................................................................................   9-5
9.3.3
Compiling the Executables.................................................................................................   9-6
9.3.4
The ExportTest Sample Application.................................................................................   9-6
9.3.5
An Example Conversion Using the ExJava Wrapper.....................................................   9-6
A Copyrights and Licensing
A.1
Oracle Outside In PDF Export Licensing...............................................................................   A-1
B PDF Export Options
B.1
PDF Export C/C++ Options.....................................................................................................   B-1
B.1.1
Character Mapping.............................................................................................................   B-1
B.1.1.1
SCCOPT_DEFAULTINPUTCHARSET....................................................................   B-1
B.1.1.2
SCCOPT_UNMAPPABLECHAR..............................................................................   B-2
B.1.2
Input Handling...................................................................................................................   B-2
B.1.2.1
SCCOPT_FALLBACKFORMAT...............................................................................   B-2
B.1.2.2
SCCOPT_FIFLAGS......................................................................................................   B-3
B.1.2.3
SCCOPT_FORMATFLAGS........................................................................................   B-4
B.1.2.4
SCCOPT_SYSTEMFLAGS..........................................................................................   B-4
B.1.2.5
SCCOPT_IGNORE_PASSWORD..............................................................................   B-5
B.1.2.6
SCCOPT_LOTUSNOTESDIRECTORY....................................................................   B-5
B.1.2.7
SCCOPT_PDF_FILTER_REORDER_BIDI................................................................   B-6
B.1.2.8
SCCOPT_REORDERMETHOD.................................................................................   B-6
B.1.2.9
SCCOPT_TIMEZONE.................................................................................................   B-6
B.1.2.10
SCCOPT_HTML_COND_COMMENT_MODE......................................................   B-7
B.1.2.11
SCCOPT_ARCFULLPATH........................................................................................   B-7
B.1.3
Compression........................................................................................................................   B-8
B.1.3.1
SCCOPT_APPLYFILTER............................................................................................   B-8
B.1.3.2
SCCOPT_FILTERJPG..................................................................................................   B-8
vii
B.1.3.3
SCCOPT_FILTERLZW................................................................................................   B-9
B.1.4
Graphics.............................................................................................................................   B-10
B.1.4.1
SCCOPT_GRAPHIC_OUTPUTDPI........................................................................   B-10
B.1.4.2
SCCOPT_GRAPHIC_SIZEMETHOD.....................................................................   B-11
B.1.4.3
SCCOPT_IMAGEPASSTHROUGH........................................................................   B-11
B.1.5
Spreadsheet and Database File Rendering....................................................................   B-11
B.1.5.1
SCCOPT_DBPRINTFITTOPAGE............................................................................   B-12
B.1.5.2
SCCOPT_DBPRINTGRIDLINES.............................................................................   B-12
B.1.5.3
SCCOPT_DBPRINTHEADINGS.............................................................................   B-13
B.1.5.4
SCCOPT_MAXSSDBPAGEHEIGHT......................................................................   B-13
B.1.5.5
SCCOPT_MAXSSDBPAGEWIDTH........................................................................   B-15
B.1.5.6
SCCOPT_SSPRINTDIRECTION.............................................................................   B-16
B.1.5.7
SCCOPT_SSPRINTFITTOPAGE.............................................................................   B-16
B.1.5.8
SCCOPT_SSPRINTGRIDLINES..............................................................................   B-17
B.1.5.9
SCCOPT_SSPRINTHEADINGS..............................................................................   B-17
B.1.5.10
SCCOPT_SSPRINTSCALEPERCENT....................................................................   B-18
B.1.5.11
SCCOPT_SSPRINTSCALEXHIGH.........................................................................   B-18
B.1.5.12
SCCOPT_SSPRINTSCALEXWIDE.........................................................................   B-19
B.1.5.13
SCCOPT_SSSHOWHIDDENCELLS.......................................................................   B-19
B.1.5.14
SCCOPT_EX_SHOWHIDDENSSDATA................................................................   B-19
B.1.6
Page Rendering.................................................................................................................   B-20
B.1.6.1
SCCOPT_DEFAULTPAGESIZE..............................................................................   B-20
B.1.6.2
SCCOPT_DEFAULTPRINTMARGINS..................................................................   B-21
B.1.6.3
SCCOPT_PRINTENDPAGE....................................................................................   B-22
B.1.6.4
SCCOPT_PRINTSTARTPAGE................................................................................   B-22
B.1.6.5
SCCOPT_USEDOCPAGESETTINGS.....................................................................   B-22
B.1.6.6
SCCOPT_WHATTOPRINT......................................................................................   B-23
B.1.6.7
SCCOPT_NUMBERFORMAT.................................................................................   B-24
B.1.6.8
SCCOPT_DOLINEARIZATION.............................................................................   B-26
B.1.6.9
SCCOPT_WPEMAILHEADEROUTPUT...............................................................   B-26
B.1.6.10
SCCOPT_MAILHEADERVISIBLE.........................................................................   B-26
B.1.6.11
SCCOPT_MAILHEADERHIDDEN........................................................................   B-28
B.1.6.12
SCCOPT_EXPORTEMAILATTACHMENTS........................................................   B-28
B.1.7
Font Rendering..................................................................................................................   B-29
B.1.7.1
SCCOPT_DEFAULTPRINTFONT..........................................................................   B-29
B.1.7.2
SCCOPT_EMBEDFONTS.........................................................................................   B-29
B.1.7.3
SCCOPT_FONTDIRECTORY..................................................................................   B-30
B.1.7.4
SCCOPT_FONTFILTER............................................................................................   B-30
B.1.7.5
SCCOPT_PRINTFONTALIAS.................................................................................   B-31
B.1.7.6
SCCOPT_FONTEMBEDPOLICY............................................................................   B-33
B.1.8
Watermarks.......................................................................................................................   B-33
B.1.8.1
SCCOPT_ENABLEWATERMARK.........................................................................   B-33
B.1.8.2
SCCOPT_WATERMARKIO.....................................................................................   B-34
B.1.8.3
SCCOPT_WATERMARKPOSITION......................................................................   B-35
B.1.9
Callbacks............................................................................................................................   B-36
B.1.9.1
SCCOPT_EX_CALLBACKS.....................................................................................   B-36
B.1.9.2
SCCOPT_EX_UNICODECALLBACKSTR.............................................................   B-37
viii
B.1.10
File System.........................................................................................................................   B-37
B.1.10.1
SCCOPT_IO_BUFFERSIZE......................................................................................   B-37
B.1.10.2
SCCOPT_TEMPDIR..................................................................................................   B-39
B.1.10.3
SCCOPT_DOCUMENTMEMORYMODE.............................................................   B-40
B.1.10.4
SCCOPT_REDIRECTTEMPFILE.............................................................................   B-41
B.2
PDF Export SOAP Options.....................................................................................................   B-41
B.2.1
How Options Work..........................................................................................................   B-41
B.2.2
Character Mapping...........................................................................................................   B-41
B.2.2.1
defaultInputCharset..................................................................................................   B-41
B.2.2.2
unmappableCharacter..............................................................................................   B-42
B.2.3
Input Handling.................................................................................................................   B-42
B.2.3.1
fallbackFormat...........................................................................................................   B-42
B.2.3.2
extendedTestForText.................................................................................................   B-43
B.2.3.3
ignorePassword.........................................................................................................   B-44
B.2.3.4
reorderBIDI.................................................................................................................   B-44
B.2.3.5
timezone......................................................................................................................   B-44
B.2.3.6
htmlCondCommentIE5On.......................................................................................   B-45
B.2.3.7
htmlCondCommentIE6On.......................................................................................   B-45
B.2.3.8
htmlCondCommentIE7On.......................................................................................   B-45
B.2.3.9
htmlCondCommentIE8On.......................................................................................   B-46
B.2.3.10
htmlCondCommentIE9On.......................................................................................   B-46
B.2.3.11
htmlCondCommentAllOn.......................................................................................   B-46
B.2.4
Compression......................................................................................................................   B-47
B.2.4.1
applyZLIB...................................................................................................................   B-47
B.2.4.2
allowJPEG...................................................................................................................   B-47
B.2.4.3
allowLZW...................................................................................................................   B-47
B.2.5
Graphics.............................................................................................................................   B-48
B.2.5.1
graphicOutputDPI.....................................................................................................   B-48
B.2.5.2
graphicSizeMethod...................................................................................................   B-49
B.2.6
Spreadsheet and Database File Rendering....................................................................   B-50
B.2.6.1
databaseFitToPage.....................................................................................................   B-50
B.2.6.2
databaseShowGridLines...........................................................................................   B-50
B.2.6.3
databaseShowHeadings...........................................................................................   B-51
B.2.6.4
maxSsDbPageHeight.................................................................................................   B-51
B.2.6.5
maxSsDbPageWidth..................................................................................................   B-53
B.2.6.6
showHiddenSpreadsheetCells.................................................................................   B-53
B.2.6.7
spreadsheetPageDirection........................................................................................   B-53
B.2.6.8
spreadsheetFitToPage...............................................................................................   B-54
B.2.6.9
spreadsheetShowGridLines.....................................................................................   B-55
B.2.6.10
spreadsheetShowHeadings......................................................................................   B-55
B.2.6.11
spreadsheetScalePercentage.....................................................................................   B-55
B.2.6.12
spreadsheetScaleXPagesHigh..................................................................................   B-56
B.2.6.13
spreadsheetScaleXPagesWide.................................................................................   B-56
B.2.7
Page Rendering.................................................................................................................   B-56
B.2.7.1
defaultMargins...........................................................................................................   B-56
B.2.7.2
defaultPageHeight.....................................................................................................   B-57
B.2.7.3
defaultPageWidth......................................................................................................   B-57
ix
B.2.7.4
defaultPageUnits.......................................................................................................   B-57
B.2.7.5
emailHeaderOutput..................................................................................................   B-58
B.2.7.6
endPage.......................................................................................................................   B-58
B.2.7.7
startPage......................................................................................................................   B-59
B.2.7.8
useDocumentPageSettings.......................................................................................   B-59
B.2.7.9
usePageRange............................................................................................................   B-60
B.2.8
Font Rendering..................................................................................................................   B-60
B.2.8.1
defaultFont.................................................................................................................   B-60
B.2.8.2
embedFonts................................................................................................................   B-61
B.2.8.3
excludeFont................................................................................................................   B-61
B.2.8.4
includeFont.................................................................................................................   B-61
B.2.8.5
fontDirectory..............................................................................................................   B-62
B.2.8.6
fontAlias......................................................................................................................   B-62
B.2.9
Watermarks.......................................................................................................................   B-63
B.2.9.1
enableWatermark......................................................................................................   B-63
B.2.9.2
watermarkHorizOffset..............................................................................................   B-63
B.2.9.3
watermarkImage........................................................................................................   B-63
B.2.9.4
watermarkPosition....................................................................................................   B-64
B.2.9.5
watermarkScalePercent............................................................................................   B-64
B.2.9.6
watermarkScaling......................................................................................................   B-64
B.2.9.7
watermarkVertOffset................................................................................................   B-65
B.2.10
File System.........................................................................................................................   B-65
B.2.10.1
fileAccess.....................................................................................................................   B-65
B.2.10.2
readBufferSize............................................................................................................   B-65
B.2.10.3
memoryMappedInputSize.......................................................................................   B-66
B.2.10.4
tempBufferSize...........................................................................................................   B-66
Index
x
Documents you may be interested
Documents you may be interested