Table of Contents

Class PDFMergerUtility

Namespace
Org.Apache.Pdfbox.Multipdf
Assembly
MASES.NetPDF.dll
public class PDFMergerUtility : JVMBridgeBase<PDFMergerUtility>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
PDFMergerUtility
Implements
Inherited Members

Constructors

PDFMergerUtility()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public PDFMergerUtility()

PDFMergerUtility(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public PDFMergerUtility(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

DestinationDocumentInformation

public PDDocumentInformation DestinationDocumentInformation { get; set; }

Property Value

PDDocumentInformation

DestinationFileName

public String DestinationFileName { get; set; }

Property Value

String

DestinationMetadata

public PDMetadata DestinationMetadata { get; set; }

Property Value

PDMetadata

DestinationStream

public OutputStream DestinationStream { get; set; }

Property Value

OutputStream

GetAcroFormMergeMode

public PDFMergerUtility.AcroFormMergeMode GetAcroFormMergeMode { get; }

Property Value

PDFMergerUtility.AcroFormMergeMode

GetDocumentMergeMode

public PDFMergerUtility.DocumentMergeMode GetDocumentMergeMode { get; }

Property Value

PDFMergerUtility.DocumentMergeMode

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements Closeable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

AddSource(File)

public void AddSource(File arg0)

Parameters

arg0 File

File

Exceptions

FileNotFoundException

AddSource(String)

public void AddSource(String arg0)

Parameters

arg0 String

String

Exceptions

FileNotFoundException

AddSource(RandomAccessRead)

public void AddSource(RandomAccessRead arg0)

Parameters

arg0 RandomAccessRead

RandomAccessRead

AddSources(List<RandomAccessRead>)

public void AddSources(List<RandomAccessRead> arg0)

Parameters

arg0 List<RandomAccessRead>

List

AppendDocument(PDDocument, PDDocument)

public void AppendDocument(PDDocument arg0, PDDocument arg1)

Parameters

arg0 PDDocument

PDDocument

arg1 PDDocument

PDDocument

Exceptions

IOException

IsIgnoreAcroFormErrors()

public bool IsIgnoreAcroFormErrors()

Returns

bool

bool

MergeDocuments(StreamCacheCreateFunction)

public void MergeDocuments(RandomAccessStreamCache.StreamCacheCreateFunction arg0)

Parameters

arg0 RandomAccessStreamCache.StreamCacheCreateFunction

RandomAccessStreamCache.StreamCacheCreateFunction

Exceptions

IOException

MergeDocuments(StreamCacheCreateFunction, CompressParameters)

public void MergeDocuments(RandomAccessStreamCache.StreamCacheCreateFunction arg0, CompressParameters arg1)

Parameters

arg0 RandomAccessStreamCache.StreamCacheCreateFunction

RandomAccessStreamCache.StreamCacheCreateFunction

arg1 CompressParameters

CompressParameters

Exceptions

IOException

SetAcroFormMergeMode(AcroFormMergeMode)

public void SetAcroFormMergeMode(PDFMergerUtility.AcroFormMergeMode arg0)

Parameters

arg0 PDFMergerUtility.AcroFormMergeMode

PDFMergerUtility.AcroFormMergeMode

SetDocumentMergeMode(DocumentMergeMode)

public void SetDocumentMergeMode(PDFMergerUtility.DocumentMergeMode arg0)

Parameters

arg0 PDFMergerUtility.DocumentMergeMode

PDFMergerUtility.DocumentMergeMode

SetIgnoreAcroFormErrors(bool)

public void SetIgnoreAcroFormErrors(bool arg0)

Parameters

arg0 bool

bool