PdfStamperImp Public class
Diagram
flowchart LR classDef interfaceStyle stroke-dasharray: 5 5; classDef abstractStyle stroke-width:4px subgraph iTextSharp.text.pdf iTextSharp.text.pdf.PdfStamperImp[[PdfStamperImp]] iTextSharp.text.pdf.PdfWriter[[PdfWriter]] end iTextSharp.text.pdf.PdfWriter --> iTextSharp.text.pdf.PdfStamperImp
Members
Properties
Internal properties
|
Type |
Name |
Methods |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Public properties
|
Type |
Name |
Methods |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Methods
Protected methods
|
Returns |
Name |
|---|---|
|
|
() |
|
|
(
info, |
|
|
() |
|
|
() |
|
|
() |
|
|
() |
Protected internal methods
|
Returns |
Name |
|---|---|
|
|
() |
|
|
() |
|
|
( |
|
|
() |
|
|
() |
|
|
() |
|
|
(
reader, |
|
|
( |
|
|
() |
|
|
() |
Internal methods
Public methods
|
Returns |
Name |
|---|---|
|
|
(
annot) |
|
|
(
fdf) |
|
|
(
key,
value) |
|
|
() |
|
|
( |
|
> |
() |
|
|
() |
|
|
(
obj) |
|
|
(
reader, |
|
|
(
actionType,
action) |
|
|
( |
|
|
(
actionType,
action) |
|
|
(
reader) |
Internal Static methods
|
Returns |
Name |
|---|---|
|
|
(
reader,
obj,
hits) |
Details
Inheritance
Nested types
Classes
-
PageStamp
Constructors
PdfStamperImp
Source code
protected internal PdfStamperImp(PdfReader reader, Stream os, char pdfVersion, bool append)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
reader |
|
|
|
os |
|
|
|
pdfVersion |
|
|
|
append |
Methods
GetCounter
Source code
protected override ICounter GetCounter()
ReadColorProfile
Source code
protected virtual void ReadColorProfile()
SetViewerPreferences
Source code
protected virtual void SetViewerPreferences()
Close [1/2]
Source code
protected internal virtual void Close(IDictionary<string, string> moreInfo)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
moreInfo |
Close [2/2]
Source code
protected virtual void Close(PdfIndirectReference info, int skipInfo)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
info |
|
|
|
skipInfo |
ApplyRotation
Source code
internal void ApplyRotation(PdfDictionary pageN, ByteBuffer out_p)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
pageN |
|
|
|
out_p |
AlterContents
Source code
protected internal virtual void AlterContents()
AlterResources
Source code
internal void AlterResources(PageStamp ps)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
ps |
GetNewObjectNumber
Source code
protected internal override int GetNewObjectNumber(PdfReader reader, int number, int generation)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
reader |
|
|
|
number |
|
|
|
generation |
GetReaderFile
Source code
internal override RandomAccessFileOrArray GetReaderFile(PdfReader reader)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
reader |
RegisterReader
Source code
public virtual void RegisterReader(PdfReader reader, bool openFile)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
reader |
|
|
|
openFile |
UnRegisterReader
Source code
public virtual void UnRegisterReader(PdfReader reader)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
reader |
FindAllObjects
Source code
internal static void FindAllObjects(PdfReader reader, PdfObject obj, IntHashtable hits)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
reader |
|
|
|
obj |
|
|
|
hits |
AddComments
Source code
public virtual void AddComments(FdfReader fdf)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
fdf |
GetPageStamp
Source code
internal PageStamp GetPageStamp(int pageNum)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
pageNum |
GetUnderContent
Source code
internal PdfContentByte GetUnderContent(int pageNum)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
pageNum |
GetOverContent
Source code
internal PdfContentByte GetOverContent(int pageNum)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
pageNum |
CorrectAcroFieldPages
Source code
internal void CorrectAcroFieldPages(int page)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
page |
ReplacePage
Source code
internal void ReplacePage(PdfReader r, int pageImported, int pageReplaced)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
r |
|
|
|
pageImported |
|
|
|
pageReplaced |
InsertPage
Source code
internal void InsertPage(int pageNumber, Rectangle mediabox)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
pageNumber |
|
|
|
mediabox |
GetAcroFields
Source code
internal AcroFields GetAcroFields()
PartialFormFlattening
Source code
internal bool PartialFormFlattening(string name)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
name |
FlatFields
Source code
protected internal virtual void FlatFields()
EliminateAcroformObjects
Source code
internal void EliminateAcroformObjects()
CalculateTemplateTransformationMatrix
Source code
internal AffineTransform CalculateTemplateTransformationMatrix(AffineTransform currentMatrix, double fieldRotation, Rectangle box)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
currentMatrix |
|
|
|
fieldRotation |
|
|
|
box |
SweepKids
Source code
internal void SweepKids(PdfObject obj)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
obj |
FlattenAnnotations
Source code
protected internal virtual void FlattenAnnotations()
FlatFreeTextFields
Source code
protected internal virtual void FlatFreeTextFields()
GetPageReference
Source code
public override PdfIndirectReference GetPageReference(int page)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
page |
AddAnnotation [1/3]
Source code
public override void AddAnnotation(PdfAnnotation annot)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
annot |
AddDocumentField
Source code
internal void AddDocumentField(PdfIndirectReference ref_p)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
ref_p |
AddFieldResources
Source code
protected internal virtual void AddFieldResources()
ExpandFields
Source code
internal void ExpandFields(PdfFormField field, List<PdfAnnotation> allAnnots)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
field |
|
|
> |
allAnnots |
AddAnnotation [2/3]
Source code
internal void AddAnnotation(PdfAnnotation annot, PdfDictionary pageN)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
annot |
|
|
|
pageN |
AddAnnotation [3/3]
Source code
internal override void AddAnnotation(PdfAnnotation annot, int page)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
annot |
|
|
|
page |
DeleteOutlines
Source code
internal void DeleteOutlines()
SetJavaScript
Source code
protected internal virtual void SetJavaScript()
AddFileAttachments
Source code
protected virtual void AddFileAttachments()
MakePackage
Source code
internal void MakePackage(PdfCollection collection)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
collection |
SetOutlines
Source code
protected internal virtual void SetOutlines()
AddViewerPreference
Source code
public override void AddViewerPreference(PdfName key, PdfObject value)
Arguments
SetPageAction [1/2]
Source code
public override void SetPageAction(PdfName actionType, PdfAction action)
Arguments
SetPageAction [2/2]
Source code
internal void SetPageAction(PdfName actionType, PdfAction action, int page)
Arguments
SetDuration
Source code
internal void SetDuration(int seconds, int page)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
seconds |
|
|
|
page |
SetTransition
Source code
internal void SetTransition(PdfTransition transition, int page)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
transition |
|
|
|
page |
MarkUsed [1/2]
Source code
public virtual void MarkUsed(PdfObject obj)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
obj |
MarkUsed [2/2]
Source code
protected internal virtual void MarkUsed(int num)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
num |
IsAppend
Source code
internal bool IsAppend()
SetAdditionalAction
Source code
public override void SetAdditionalAction(PdfName actionType, PdfAction action)
Arguments
SetOpenAction [1/2]
Source code
public override void SetOpenAction(PdfAction action)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
action |
SetOpenAction [2/2]
Source code
public override void SetOpenAction(string name)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
name |
SetThumbnail
Source code
internal void SetThumbnail(Image image, int page)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
image |
|
|
|
page |
ReadOCProperties
Source code
protected virtual void ReadOCProperties()
GetPdfLayers
Source code
public virtual Dictionary<string, PdfLayer> GetPdfLayers()
RegisterLayer
Source code
internal override void RegisterLayer(IPdfOCG layer)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
layer |
CreateXmpMetadata
Source code
public override void CreateXmpMetadata()
GetPdfReader
Source code
public PdfReader GetPdfReader()
Properties
RotateContents
internal bool RotateContents { get; set; }
ContentWritten
internal bool ContentWritten { get; }
FormFlattening
internal bool FormFlattening { set; }
FreeTextFlattening
internal bool FreeTextFlattening { set; }
FlatAnnotations
public virtual bool FlatAnnotations { set; }
ViewerPreferences
public override int ViewerPreferences { set; }
SigFlags
public override int SigFlags { set; }
Duration
public override int Duration { set; }
Transition
public override PdfTransition Transition { set; }
Thumbnail
public override Image Thumbnail { set; }
DirectContent
public override PdfContentByte DirectContent { get; }
DirectContentUnder
public override PdfContentByte DirectContentUnder { get; }
Generated with ModularDoc