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
Methods
Protected methods
Public methods
Protected internal methods
Internal methods
Internal Static methods
Details
Inheritance
Nested types
Classes
IndirectReferences
ImportedPage
PageStamp
StampContent
Constructors
PdfCopy
Source code
public PdfCopy(Document document, Stream os)
Arguments
Type | Name | Description |
---|
Document | document | |
Stream | 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 |
---|
PdfReader | reader | |
int | pageNumber | |
GetImportedPage [2/2]
Source code
public virtual PdfImportedPage GetImportedPage(PdfReader reader, int pageNumber, bool keepTaggedPdfStructure)
Arguments
Type | Name | Description |
---|
PdfReader | reader | |
int | pageNumber | |
bool | keepTaggedPdfStructure | |
StructureTreeRootKidsForReaderImported
Source code
protected internal virtual void StructureTreeRootKidsForReaderImported(PdfReader reader)
Arguments
FixStructureTreeRoot
Source code
internal virtual void FixStructureTreeRoot(HashSet2<RefKey> activeKeys, HashSet2<PdfName> activeClassMaps)
Arguments
Type | Name | Description |
---|
HashSet2 <RefKey > | activeKeys | |
HashSet2 <PdfName > | activeClassMaps | |
GetImportedPageImpl
Source code
protected virtual PdfImportedPage GetImportedPageImpl(PdfReader reader, int pageNumber)
Arguments
Type | Name | Description |
---|
PdfReader | reader | |
int | pageNumber | |
CopyIndirect [1/2]
Source code
protected internal virtual PdfIndirectReference CopyIndirect(PRIndirectReference inp, bool keepStructure, bool directRootKids)
Arguments
CopyIndirect [2/2]
Source code
protected virtual PdfIndirectReference CopyIndirect(PRIndirectReference inp)
Arguments
CopyDictionary [1/2]
Source code
protected virtual PdfDictionary CopyDictionary(PdfDictionary inp, bool keepStruct, bool directRootKids)
Arguments
Type | Name | Description |
---|
PdfDictionary | inp | |
bool | keepStruct | |
bool | directRootKids | |
CopyDictionary [2/2]
Source code
protected virtual PdfDictionary CopyDictionary(PdfDictionary inp)
Arguments
CopyStream
Source code
protected virtual PdfStream CopyStream(PRStream inp)
Arguments
CopyArray [1/2]
Source code
protected virtual PdfArray CopyArray(PdfArray inp, bool keepStruct, bool directRootKids)
Arguments
Type | Name | Description |
---|
PdfArray | inp | |
bool | keepStruct | |
bool | directRootKids | |
CopyArray [2/2]
Source code
protected virtual PdfArray CopyArray(PdfArray inp)
Arguments
CopyObject [1/2]
Source code
protected internal virtual PdfObject CopyObject(PdfObject inp, bool keepStruct, bool directRootKids)
Arguments
Type | Name | Description |
---|
PdfObject | inp | |
bool | keepStruct | |
bool | directRootKids | |
CopyObject [2/2]
Source code
protected internal virtual PdfObject CopyObject(PdfObject inp)
Arguments
SetFromIPage
Source code
protected virtual int SetFromIPage(PdfImportedPage iPage)
Arguments
SetFromReader
Source code
protected virtual void SetFromReader(PdfReader reader)
Arguments
AddPage [1/2]
Source code
public virtual void AddPage(PdfImportedPage iPage)
Arguments
AddPage [2/2]
Source code
public virtual void AddPage(Rectangle rect, int rotation)
Arguments
AddDocument [1/2]
Source code
public virtual void AddDocument(PdfReader reader, List<int> pagesToKeep)
Arguments
Type | Name | Description |
---|
PdfReader | reader | |
List <int > | pagesToKeep | |
CopyDocumentFields
Source code
public virtual void CopyDocumentFields(PdfReader reader)
Arguments
AddDocument [2/2]
Source code
public virtual void AddDocument(PdfReader reader)
Arguments
AddToBody [1/2]
Source code
public override PdfIndirectObject AddToBody(PdfObject objecta, PdfIndirectReference refa)
Arguments
AddToBody [2/2]
Source code
public override PdfIndirectObject AddToBody(PdfObject objecta, PdfIndirectReference refa, bool formBranching)
Arguments
CacheObject
Source code
protected internal override void CacheObject(PdfIndirectObject iobj)
Arguments
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 |
---|
string | name | |
Item | item | |
GetCatalog
Source code
protected override PdfDictionary GetCatalog(PdfIndirectReference rootObj)
Arguments
IsStructTreeRootReference
Source code
protected virtual bool IsStructTreeRootReference(PdfIndirectReference prRef)
Arguments
Close
Source code
public override void Close()
AddAnnotation
Source code
public override void AddAnnotation(PdfAnnotation annot)
Arguments
Add
Source code
internal override PdfIndirectReference Add(PdfPage page, PdfContents contents)
Arguments
FreeReader
Source code
public override void FreeReader(PdfReader reader)
Arguments
GetOffStateName
Source code
protected virtual PdfName GetOffStateName(PdfDictionary widget)
Arguments
GetFlags
Source code
internal static Nullable<int> GetFlags(PdfDictionary field)
Arguments
Source code
internal static bool IsCheckButton(PdfDictionary field)
Arguments
Source code
internal static bool IsRadioButton(PdfDictionary field)
Arguments
IsTextField
Source code
internal static bool IsTextField(PdfDictionary field)
Arguments
CreatePageStamp
Source code
public virtual PageStamp CreatePageStamp(PdfImportedPage iPage)
Arguments
Properties
PageEvent
public override IPdfPageEvent PageEvent { set; }
RotateContents
public virtual bool RotateContents { get; set; }
Generated with ModularDoc