PdfCopy Public class
Diagram
flowchart LR classDef interfaceStyle stroke-dasharray: 5 5; classDef abstractStyle stroke-width:4px subgraph iTextSharp.text.pdf iTextSharp.text.pdf.PdfCopy[[PdfCopy]] iTextSharp.text.pdf.PdfWriter[[PdfWriter]] end iTextSharp.text.pdf.PdfWriter --> iTextSharp.text.pdf.PdfCopy
Members
Properties
Public properties
|
Type |
Name |
Methods |
|---|---|---|
|
|
|
|
|
|
|
|
Methods
Protected methods
|
Returns |
Name |
|---|---|
|
|
( |
|
|
( |
|
|
(
inp) |
|
|
(
inp) |
|
|
() |
|
|
() |
|
|
(
rootObj) |
|
|
() |
|
|
(
reader, |
|
|
(
widget) |
|
|
(
prRef) |
|
|
(
iPage) |
|
|
(
reader) |
Public methods
|
Returns |
Name |
|---|---|
|
|
(
annot) |
|
|
( |
|
|
( |
|
|
( |
|
|
() |
|
|
(
reader) |
|
|
(
iPage) |
|
|
(
reader) |
|
|
( |
|
|
() |
Protected internal methods
|
Returns |
Name |
|---|---|
|
|
(
iobj) |
|
|
(
inp, |
|
|
( |
|
|
(
reader) |
Internal methods
|
Returns |
Name |
|---|---|
|
|
(
page,
contents) |
|
|
(
> activeKeys,
> activeClassMaps) |
|
|
() |
|
|
() |
|
|
( |
Internal Static methods
|
Returns |
Name |
|---|---|
|
|
(
field) |
|
|
(
field) |
|
|
(
field) |
|
|
(
field) |
Details
Inheritance
Nested types
Classes
-
IndirectReferences -
ImportedPage -
PageStamp -
StampContent
Constructors
PdfCopy
Source code
public PdfCopy(Document document, Stream os)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
document |
|
|
|
os |
Methods
GetCounter
Source code
protected override ICounter GetCounter()
SetMergeFields
Source code
public virtual void SetMergeFields()
GetImportedPage [1/2]
Source code
public override PdfImportedPage GetImportedPage(PdfReader reader, int pageNumber)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
reader |
|
|
|
pageNumber |
GetImportedPage [2/2]
Source code
public virtual PdfImportedPage GetImportedPage(PdfReader reader, int pageNumber, bool keepTaggedPdfStructure)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
reader |
|
|
|
pageNumber |
|
|
|
keepTaggedPdfStructure |
StructureTreeRootKidsForReaderImported
Source code
protected internal virtual void StructureTreeRootKidsForReaderImported(PdfReader reader)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
reader |
FixStructureTreeRoot
Source code
internal virtual void FixStructureTreeRoot(HashSet2<RefKey> activeKeys, HashSet2<PdfName> activeClassMaps)
Arguments
GetImportedPageImpl
Source code
protected virtual PdfImportedPage GetImportedPageImpl(PdfReader reader, int pageNumber)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
reader |
|
|
|
pageNumber |
CopyIndirect [1/2]
Source code
protected internal virtual PdfIndirectReference CopyIndirect(PRIndirectReference inp, bool keepStructure, bool directRootKids)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
inp |
|
|
|
keepStructure |
|
|
|
directRootKids |
CopyIndirect [2/2]
Source code
protected virtual PdfIndirectReference CopyIndirect(PRIndirectReference inp)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
inp |
CopyDictionary [1/2]
Source code
protected virtual PdfDictionary CopyDictionary(PdfDictionary inp, bool keepStruct, bool directRootKids)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
inp |
|
|
|
keepStruct |
|
|
|
directRootKids |
CopyDictionary [2/2]
Source code
protected virtual PdfDictionary CopyDictionary(PdfDictionary inp)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
inp |
CopyStream
Source code
protected virtual PdfStream CopyStream(PRStream inp)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
inp |
CopyArray [1/2]
Source code
protected virtual PdfArray CopyArray(PdfArray inp, bool keepStruct, bool directRootKids)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
inp |
|
|
|
keepStruct |
|
|
|
directRootKids |
CopyArray [2/2]
Source code
protected virtual PdfArray CopyArray(PdfArray inp)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
inp |
CopyObject [1/2]
Source code
protected internal virtual PdfObject CopyObject(PdfObject inp, bool keepStruct, bool directRootKids)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
inp |
|
|
|
keepStruct |
|
|
|
directRootKids |
CopyObject [2/2]
Source code
protected internal virtual PdfObject CopyObject(PdfObject inp)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
inp |
SetFromIPage
Source code
protected virtual int SetFromIPage(PdfImportedPage iPage)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
iPage |
SetFromReader
Source code
protected virtual void SetFromReader(PdfReader reader)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
reader |
AddPage [1/2]
Source code
public virtual void AddPage(PdfImportedPage iPage)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
iPage |
AddPage [2/2]
Source code
public virtual void AddPage(Rectangle rect, int rotation)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
rect |
|
|
|
rotation |
AddDocument [1/2]
Source code
public virtual void AddDocument(PdfReader reader, List<int> pagesToKeep)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
reader |
|
|
|
pagesToKeep |
CopyDocumentFields
Source code
public virtual void CopyDocumentFields(PdfReader reader)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
reader |
AddDocument [2/2]
Source code
public virtual void AddDocument(PdfReader reader)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
reader |
AddToBody [1/2]
Source code
public override PdfIndirectObject AddToBody(PdfObject objecta, PdfIndirectReference refa)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
objecta |
|
|
|
refa |
AddToBody [2/2]
Source code
public override PdfIndirectObject AddToBody(PdfObject objecta, PdfIndirectReference refa, bool formBranching)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
objecta |
|
|
|
refa |
|
|
|
formBranching |
CacheObject
Source code
protected internal override void CacheObject(PdfIndirectObject iobj)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
iobj |
FlushTaggedObjects
Source code
internal override void FlushTaggedObjects()
FlushAcroFields
Source code
internal override void FlushAcroFields()
FixTaggedStructure
Source code
protected virtual void FixTaggedStructure()
FlushIndirectObjects
Source code
protected virtual void FlushIndirectObjects()
MergeField
Source code
internal void MergeField(string name, Item item)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
name |
|
|
|
item |
GetCatalog
Source code
protected override PdfDictionary GetCatalog(PdfIndirectReference rootObj)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
rootObj |
IsStructTreeRootReference
Source code
protected virtual bool IsStructTreeRootReference(PdfIndirectReference prRef)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
prRef |
Close
Source code
public override void Close()
AddAnnotation
Source code
public override void AddAnnotation(PdfAnnotation annot)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
annot |
Add
Source code
internal override PdfIndirectReference Add(PdfPage page, PdfContents contents)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
page |
|
|
|
contents |
FreeReader
Source code
public override void FreeReader(PdfReader reader)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
reader |
GetOffStateName
Source code
protected virtual PdfName GetOffStateName(PdfDictionary widget)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
widget |
GetFlags
Source code
internal static Nullable<int> GetFlags(PdfDictionary field)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
field |
IsCheckButton
Source code
internal static bool IsCheckButton(PdfDictionary field)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
field |
IsRadioButton
Source code
internal static bool IsRadioButton(PdfDictionary field)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
field |
IsTextField
Source code
internal static bool IsTextField(PdfDictionary field)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
field |
CreatePageStamp
Source code
public virtual PageStamp CreatePageStamp(PdfImportedPage iPage)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
iPage |
Properties
PageEvent
public override IPdfPageEvent PageEvent { set; }
RotateContents
public virtual bool RotateContents { get; set; }
Generated with ModularDoc