C# 클래스 iTextSharp.text.pdf.PdfReader

상속: IPdfViewerPreferences, IDisposable
파일 보기 프로젝트 열기: red-gate/iTextSharp-4.1.6 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
acroForm PRAcroForm
acroFormParsed bool
catalog PdfDictionary
certificate Org.BouncyCastle.X509.X509Certificate
certificateKey ICipherParameters
consolidateNamedDestinations bool
decrypt PdfEncryption
encrypted bool
eofPos int
freeXref int
lastXref int
newXrefType bool
objStmMark Hashtable
objStmToOffset IntHashtable
pValue int
pageRefs PageRefs
password byte[]
pdfVersion char
rValue int
rebuilt bool
sharedStreams bool
strings ArrayList
tampered bool
tokens PRTokeniser
trailer PdfDictionary
xref int[]

Private Properties

프로퍼티 타입 설명
CheckPRStreamLength void
EnsureXrefSize void
EqualsArray bool
Equalsn bool
ExistsName bool
GetCryptoRef PdfIndirectReference
GetFontName String
GetNameArray PdfArray
GetPageRotation int
GetSubsetPrefix String
IterateBookmarks void
ReadDecryptedDocObj void
ReplaceNamedDestination bool
SetViewerPreferences void
SetXrefPartialObject void

공개 메소드들

메소드 설명
ASCII85Decode ( byte inp ) : byte[]
ASCIIHexDecode ( byte inp ) : byte[]
AddPdfObject ( PdfObject obj ) : PRIndirectReference
AddViewerPreference ( PdfName key, PdfObject value ) : void
Close ( ) : void
ComputeUserPassword ( ) : byte[]
ConsolidateNamedDestinations ( ) : void
CreateFakeFontSubsets ( ) : int
DecodePredictor ( byte inp, PdfObject dicPar ) : byte[]
DumpPerc ( ) : double
EliminateSharedStreams ( ) : void
FlateDecode ( byte inp ) : byte[]
FlateDecode ( byte inp, bool strict ) : byte[]
GetBoxSize ( int index, String boxName ) : Rectangle
GetCertificationLevel ( ) : int
GetCropBox ( int index ) : Rectangle
GetCryptoMode ( ) : int
GetJavaScript ( RandomAccessFileOrArray file ) : String
GetLinks ( int page ) : ArrayList
GetNamedDestination ( ) : Hashtable
GetNamedDestination ( bool keepNames ) : Hashtable
GetNamedDestinationFromNames ( ) : Hashtable
GetNamedDestinationFromNames ( bool keepNames ) : Hashtable
GetNamedDestinationFromStrings ( ) : Hashtable
GetNormalizedRectangle ( PdfArray box ) : Rectangle
GetPageContent ( int pageNum ) : byte[]
GetPageContent ( int pageNum, RandomAccessFileOrArray file ) : byte[]
GetPageN ( int pageNum ) : PdfDictionary
GetPageNRelease ( int pageNum ) : PdfDictionary
GetPageOrigRef ( int pageNum ) : PRIndirectReference
GetPageRotation ( int index ) : int
GetPageSize ( PdfDictionary page ) : Rectangle
GetPageSize ( int index ) : Rectangle
GetPageSizeWithRotation ( PdfDictionary page ) : Rectangle
GetPageSizeWithRotation ( int index ) : Rectangle
GetPdfObject ( PdfObject obj ) : PdfObject
GetPdfObject ( PdfObject obj, PdfObject parent ) : PdfObject
GetPdfObject ( int idx ) : PdfObject
GetPdfObjectRelease ( PdfObject obj ) : PdfObject
GetPdfObjectRelease ( PdfObject obj, PdfObject parent ) : PdfObject
GetPdfObjectRelease ( int idx ) : PdfObject
GetStreamBytes ( PRStream stream ) : byte[]
GetStreamBytes ( PRStream stream, RandomAccessFileOrArray file ) : byte[]
GetStreamBytesRaw ( PRStream stream ) : byte[]
GetStreamBytesRaw ( PRStream stream, RandomAccessFileOrArray file ) : byte[]
Is128Key ( ) : bool
IsEncrypted ( ) : bool
IsHybridXref ( ) : bool
IsMetadataEncrypted ( ) : bool
IsNewXrefType ( ) : bool
IsRebuilt ( ) : bool
KillIndirect ( PdfObject obj ) : PdfObject
LZWDecode ( byte inp ) : byte[]
PdfReader ( PdfReader reader ) : System
PdfReader ( RandomAccessFileOrArray raf, byte ownerPassword ) : System
PdfReader ( Stream isp ) : System
PdfReader ( Stream isp, byte ownerPassword ) : System
PdfReader ( String filename ) : System
PdfReader ( String filename, X509Certificate certificate, ICipherParameters certificateKey ) : System
PdfReader ( String filename, byte ownerPassword ) : System
PdfReader ( Uri url ) : System
PdfReader ( Uri url, byte ownerPassword ) : System
PdfReader ( byte pdfIn ) : System
PdfReader ( byte pdfIn, byte ownerPassword ) : System
ReleaseLastXrefPartial ( ) : void
ReleaseLastXrefPartial ( PdfObject obj ) : void
ReleasePage ( int pageNum ) : void
RemoveAnnotations ( ) : void
RemoveFields ( ) : void
RemoveUnusedObjects ( ) : int
RemoveUsageRights ( ) : void
ResetLastXrefPartial ( ) : void
ResetReleasePage ( ) : void
SelectPages ( ArrayList pagesToKeep ) : void
SelectPages ( String ranges ) : void
SetPageContent ( int pageNum, byte content ) : void
SetPageContent ( int pageNum, byte content, int compressionLevel ) : void
ShuffleSubsetNames ( ) : int

보호된 메소드들

메소드 설명
DuplicatePdfDictionary ( PdfDictionary original, PdfDictionary copy, PdfReader newReader ) : PdfDictionary
DuplicatePdfObject ( PdfObject original, PdfReader newReader ) : PdfObject
GetPdfReaderInstance ( PdfWriter writer ) : PdfReaderInstance
KillXref ( PdfObject obj ) : void
PdfReader ( ) : System
ReadArray ( ) : PdfArray
ReadDictionary ( ) : PdfDictionary
ReadDocObj ( ) : void
ReadDocObjPartial ( ) : void
ReadObjStm ( PRStream stream, IntHashtable map ) : void
ReadOneObjStm ( PRStream stream, int idx ) : PdfObject
ReadPRObject ( ) : PdfObject
ReadPages ( ) : void
ReadPdf ( ) : void
ReadPdfPartial ( ) : void
ReadSingleObject ( int k ) : PdfObject
ReadXRefStream ( int ptr ) : bool
ReadXref ( ) : void
ReadXrefSection ( ) : PdfDictionary
RebuildXref ( ) : void
RemoveUnusedNode ( PdfObject obj, bool hits ) : void

비공개 메소드들

메소드 설명
CheckPRStreamLength ( PRStream stream ) : void
EnsureXrefSize ( int size ) : void
EqualsArray ( byte ar1, byte ar2, int size ) : bool
Equalsn ( byte a1, byte a2 ) : bool
ExistsName ( PdfDictionary dic, PdfName key, PdfName value ) : bool
GetCryptoRef ( ) : PdfIndirectReference
GetFontName ( PdfDictionary dic ) : String
GetNameArray ( PdfObject obj ) : PdfArray
GetPageRotation ( PdfDictionary page ) : int
GetSubsetPrefix ( PdfDictionary dic ) : String
IterateBookmarks ( PdfObject outlineRef, Hashtable names ) : void
ReadDecryptedDocObj ( ) : void
ReplaceNamedDestination ( PdfObject obj, Hashtable names ) : bool
SetViewerPreferences ( PdfViewerPreferencesImp vp ) : void
SetXrefPartialObject ( int idx, PdfObject obj ) : void

메소드 상세

ASCII85Decode() 공개 정적인 메소드

public static ASCII85Decode ( byte inp ) : byte[]
inp byte
리턴 byte[]

ASCIIHexDecode() 공개 정적인 메소드

public static ASCIIHexDecode ( byte inp ) : byte[]
inp byte
리턴 byte[]

AddPdfObject() 공개 메소드

public AddPdfObject ( PdfObject obj ) : PRIndirectReference
obj PdfObject
리턴 PRIndirectReference

AddViewerPreference() 공개 메소드

public AddViewerPreference ( PdfName key, PdfObject value ) : void
key PdfName
value PdfObject
리턴 void

Close() 공개 메소드

public Close ( ) : void
리턴 void

ComputeUserPassword() 공개 메소드

public ComputeUserPassword ( ) : byte[]
리턴 byte[]

ConsolidateNamedDestinations() 공개 메소드

public ConsolidateNamedDestinations ( ) : void
리턴 void

CreateFakeFontSubsets() 공개 메소드

public CreateFakeFontSubsets ( ) : int
리턴 int

DecodePredictor() 공개 정적인 메소드

public static DecodePredictor ( byte inp, PdfObject dicPar ) : byte[]
inp byte
dicPar PdfObject
리턴 byte[]

DumpPerc() 공개 메소드

public DumpPerc ( ) : double
리턴 double

DuplicatePdfDictionary() 보호된 정적인 메소드

protected static DuplicatePdfDictionary ( PdfDictionary original, PdfDictionary copy, PdfReader newReader ) : PdfDictionary
original PdfDictionary
copy PdfDictionary
newReader PdfReader
리턴 PdfDictionary

DuplicatePdfObject() 보호된 정적인 메소드

protected static DuplicatePdfObject ( PdfObject original, PdfReader newReader ) : PdfObject
original PdfObject
newReader PdfReader
리턴 PdfObject

EliminateSharedStreams() 공개 메소드

public EliminateSharedStreams ( ) : void
리턴 void

FlateDecode() 공개 정적인 메소드

public static FlateDecode ( byte inp ) : byte[]
inp byte
리턴 byte[]

FlateDecode() 공개 정적인 메소드

public static FlateDecode ( byte inp, bool strict ) : byte[]
inp byte
strict bool
리턴 byte[]

GetBoxSize() 공개 메소드

public GetBoxSize ( int index, String boxName ) : Rectangle
index int
boxName String
리턴 iTextSharp.text.Rectangle

GetCertificationLevel() 공개 메소드

public GetCertificationLevel ( ) : int
리턴 int

GetCropBox() 공개 메소드

public GetCropBox ( int index ) : Rectangle
index int
리턴 iTextSharp.text.Rectangle

GetCryptoMode() 공개 메소드

public GetCryptoMode ( ) : int
리턴 int

GetJavaScript() 공개 메소드

public GetJavaScript ( RandomAccessFileOrArray file ) : String
file RandomAccessFileOrArray
리턴 String

GetLinks() 공개 메소드

public GetLinks ( int page ) : ArrayList
page int
리턴 ArrayList

GetNamedDestination() 공개 메소드

public GetNamedDestination ( ) : Hashtable
리턴 Hashtable

GetNamedDestination() 공개 메소드

public GetNamedDestination ( bool keepNames ) : Hashtable
keepNames bool
리턴 Hashtable

GetNamedDestinationFromNames() 공개 메소드

public GetNamedDestinationFromNames ( ) : Hashtable
리턴 Hashtable

GetNamedDestinationFromNames() 공개 메소드

public GetNamedDestinationFromNames ( bool keepNames ) : Hashtable
keepNames bool
리턴 Hashtable

GetNamedDestinationFromStrings() 공개 메소드

public GetNamedDestinationFromStrings ( ) : Hashtable
리턴 Hashtable

GetNormalizedRectangle() 공개 정적인 메소드

public static GetNormalizedRectangle ( PdfArray box ) : Rectangle
box PdfArray
리턴 iTextSharp.text.Rectangle

GetPageContent() 공개 메소드

public GetPageContent ( int pageNum ) : byte[]
pageNum int
리턴 byte[]

GetPageContent() 공개 메소드

public GetPageContent ( int pageNum, RandomAccessFileOrArray file ) : byte[]
pageNum int
file RandomAccessFileOrArray
리턴 byte[]

GetPageN() 공개 메소드

public GetPageN ( int pageNum ) : PdfDictionary
pageNum int
리턴 PdfDictionary

GetPageNRelease() 공개 메소드

public GetPageNRelease ( int pageNum ) : PdfDictionary
pageNum int
리턴 PdfDictionary

GetPageOrigRef() 공개 메소드

public GetPageOrigRef ( int pageNum ) : PRIndirectReference
pageNum int
리턴 PRIndirectReference

GetPageRotation() 공개 메소드

public GetPageRotation ( int index ) : int
index int
리턴 int

GetPageSize() 공개 메소드

public GetPageSize ( PdfDictionary page ) : Rectangle
page PdfDictionary
리턴 iTextSharp.text.Rectangle

GetPageSize() 공개 메소드

public GetPageSize ( int index ) : Rectangle
index int
리턴 iTextSharp.text.Rectangle

GetPageSizeWithRotation() 공개 메소드

public GetPageSizeWithRotation ( PdfDictionary page ) : Rectangle
page PdfDictionary
리턴 iTextSharp.text.Rectangle

GetPageSizeWithRotation() 공개 메소드

public GetPageSizeWithRotation ( int index ) : Rectangle
index int
리턴 iTextSharp.text.Rectangle

GetPdfObject() 공개 정적인 메소드

public static GetPdfObject ( PdfObject obj ) : PdfObject
obj PdfObject
리턴 PdfObject

GetPdfObject() 공개 정적인 메소드

public static GetPdfObject ( PdfObject obj, PdfObject parent ) : PdfObject
obj PdfObject
parent PdfObject
리턴 PdfObject

GetPdfObject() 공개 메소드

public GetPdfObject ( int idx ) : PdfObject
idx int
리턴 PdfObject

GetPdfObjectRelease() 공개 정적인 메소드

public static GetPdfObjectRelease ( PdfObject obj ) : PdfObject
obj PdfObject
리턴 PdfObject

GetPdfObjectRelease() 공개 정적인 메소드

public static GetPdfObjectRelease ( PdfObject obj, PdfObject parent ) : PdfObject
obj PdfObject
parent PdfObject
리턴 PdfObject

GetPdfObjectRelease() 공개 메소드

public GetPdfObjectRelease ( int idx ) : PdfObject
idx int
리턴 PdfObject

GetPdfReaderInstance() 보호된 메소드

protected GetPdfReaderInstance ( PdfWriter writer ) : PdfReaderInstance
writer PdfWriter
리턴 PdfReaderInstance

GetStreamBytes() 공개 정적인 메소드

public static GetStreamBytes ( PRStream stream ) : byte[]
stream PRStream
리턴 byte[]

GetStreamBytes() 공개 정적인 메소드

public static GetStreamBytes ( PRStream stream, RandomAccessFileOrArray file ) : byte[]
stream PRStream
file RandomAccessFileOrArray
리턴 byte[]

GetStreamBytesRaw() 공개 정적인 메소드

public static GetStreamBytesRaw ( PRStream stream ) : byte[]
stream PRStream
리턴 byte[]

GetStreamBytesRaw() 공개 정적인 메소드

public static GetStreamBytesRaw ( PRStream stream, RandomAccessFileOrArray file ) : byte[]
stream PRStream
file RandomAccessFileOrArray
리턴 byte[]

Is128Key() 공개 메소드

public Is128Key ( ) : bool
리턴 bool

IsEncrypted() 공개 메소드

public IsEncrypted ( ) : bool
리턴 bool

IsHybridXref() 공개 메소드

public IsHybridXref ( ) : bool
리턴 bool

IsMetadataEncrypted() 공개 메소드

public IsMetadataEncrypted ( ) : bool
리턴 bool

IsNewXrefType() 공개 메소드

public IsNewXrefType ( ) : bool
리턴 bool

IsRebuilt() 공개 메소드

public IsRebuilt ( ) : bool
리턴 bool

KillIndirect() 공개 정적인 메소드

public static KillIndirect ( PdfObject obj ) : PdfObject
obj PdfObject
리턴 PdfObject

KillXref() 보호된 메소드

protected KillXref ( PdfObject obj ) : void
obj PdfObject
리턴 void

LZWDecode() 공개 정적인 메소드

public static LZWDecode ( byte inp ) : byte[]
inp byte
리턴 byte[]

PdfReader() 보호된 메소드

protected PdfReader ( ) : System
리턴 System

PdfReader() 공개 메소드

public PdfReader ( PdfReader reader ) : System
reader PdfReader
리턴 System

PdfReader() 공개 메소드

public PdfReader ( RandomAccessFileOrArray raf, byte ownerPassword ) : System
raf RandomAccessFileOrArray
ownerPassword byte
리턴 System

PdfReader() 공개 메소드

public PdfReader ( Stream isp ) : System
isp Stream
리턴 System

PdfReader() 공개 메소드

public PdfReader ( Stream isp, byte ownerPassword ) : System
isp Stream
ownerPassword byte
리턴 System

PdfReader() 공개 메소드

public PdfReader ( String filename ) : System
filename String
리턴 System

PdfReader() 공개 메소드

public PdfReader ( String filename, X509Certificate certificate, ICipherParameters certificateKey ) : System
filename String
certificate Org.BouncyCastle.X509.X509Certificate
certificateKey ICipherParameters
리턴 System

PdfReader() 공개 메소드

public PdfReader ( String filename, byte ownerPassword ) : System
filename String
ownerPassword byte
리턴 System

PdfReader() 공개 메소드

public PdfReader ( Uri url ) : System
url System.Uri
리턴 System

PdfReader() 공개 메소드

public PdfReader ( Uri url, byte ownerPassword ) : System
url System.Uri
ownerPassword byte
리턴 System

PdfReader() 공개 메소드

public PdfReader ( byte pdfIn ) : System
pdfIn byte
리턴 System

PdfReader() 공개 메소드

public PdfReader ( byte pdfIn, byte ownerPassword ) : System
pdfIn byte
ownerPassword byte
리턴 System

ReadArray() 보호된 메소드

protected ReadArray ( ) : PdfArray
리턴 PdfArray

ReadDictionary() 보호된 메소드

protected ReadDictionary ( ) : PdfDictionary
리턴 PdfDictionary

ReadDocObj() 보호된 메소드

protected ReadDocObj ( ) : void
리턴 void

ReadDocObjPartial() 보호된 메소드

protected ReadDocObjPartial ( ) : void
리턴 void

ReadObjStm() 보호된 메소드

protected ReadObjStm ( PRStream stream, IntHashtable map ) : void
stream PRStream
map IntHashtable
리턴 void

ReadOneObjStm() 보호된 메소드

protected ReadOneObjStm ( PRStream stream, int idx ) : PdfObject
stream PRStream
idx int
리턴 PdfObject

ReadPRObject() 보호된 메소드

protected ReadPRObject ( ) : PdfObject
리턴 PdfObject

ReadPages() 보호된 메소드

protected ReadPages ( ) : void
리턴 void

ReadPdf() 보호된 메소드

protected ReadPdf ( ) : void
리턴 void

ReadPdfPartial() 보호된 메소드

protected ReadPdfPartial ( ) : void
리턴 void

ReadSingleObject() 보호된 메소드

protected ReadSingleObject ( int k ) : PdfObject
k int
리턴 PdfObject

ReadXRefStream() 보호된 메소드

protected ReadXRefStream ( int ptr ) : bool
ptr int
리턴 bool

ReadXref() 보호된 메소드

protected ReadXref ( ) : void
리턴 void

ReadXrefSection() 보호된 메소드

protected ReadXrefSection ( ) : PdfDictionary
리턴 PdfDictionary

RebuildXref() 보호된 메소드

protected RebuildXref ( ) : void
리턴 void

ReleaseLastXrefPartial() 공개 메소드

public ReleaseLastXrefPartial ( ) : void
리턴 void

ReleaseLastXrefPartial() 공개 정적인 메소드

public static ReleaseLastXrefPartial ( PdfObject obj ) : void
obj PdfObject
리턴 void

ReleasePage() 공개 메소드

public ReleasePage ( int pageNum ) : void
pageNum int
리턴 void

RemoveAnnotations() 공개 메소드

public RemoveAnnotations ( ) : void
리턴 void

RemoveFields() 공개 메소드

public RemoveFields ( ) : void
리턴 void

RemoveUnusedNode() 보호된 메소드

protected RemoveUnusedNode ( PdfObject obj, bool hits ) : void
obj PdfObject
hits bool
리턴 void

RemoveUnusedObjects() 공개 메소드

public RemoveUnusedObjects ( ) : int
리턴 int

RemoveUsageRights() 공개 메소드

public RemoveUsageRights ( ) : void
리턴 void

ResetLastXrefPartial() 공개 메소드

public ResetLastXrefPartial ( ) : void
리턴 void

ResetReleasePage() 공개 메소드

public ResetReleasePage ( ) : void
리턴 void

SelectPages() 공개 메소드

public SelectPages ( ArrayList pagesToKeep ) : void
pagesToKeep ArrayList
리턴 void

SelectPages() 공개 메소드

public SelectPages ( String ranges ) : void
ranges String
리턴 void

SetPageContent() 공개 메소드

public SetPageContent ( int pageNum, byte content ) : void
pageNum int
content byte
리턴 void

SetPageContent() 공개 메소드

public SetPageContent ( int pageNum, byte content, int compressionLevel ) : void
pageNum int
content byte
compressionLevel int
리턴 void

ShuffleSubsetNames() 공개 메소드

public ShuffleSubsetNames ( ) : int
리턴 int

프로퍼티 상세

acroForm 보호되어 있는 프로퍼티

protected PRAcroForm,iTextSharp.text.pdf acroForm
리턴 PRAcroForm

acroFormParsed 보호되어 있는 프로퍼티

protected bool acroFormParsed
리턴 bool

catalog 보호되어 있는 프로퍼티

protected PdfDictionary,iTextSharp.text.pdf catalog
리턴 PdfDictionary

certificate 보호되어 있는 프로퍼티

protected X509Certificate,Org.BouncyCastle.X509 certificate
리턴 Org.BouncyCastle.X509.X509Certificate

certificateKey 보호되어 있는 프로퍼티

protected ICipherParameters certificateKey
리턴 ICipherParameters

consolidateNamedDestinations 보호되어 있는 프로퍼티

protected bool consolidateNamedDestinations
리턴 bool

decrypt 보호되어 있는 프로퍼티

protected PdfEncryption,iTextSharp.text.pdf decrypt
리턴 PdfEncryption

encrypted 보호되어 있는 프로퍼티

protected bool encrypted
리턴 bool

eofPos 보호되어 있는 프로퍼티

protected int eofPos
리턴 int

freeXref 보호되어 있는 프로퍼티

protected int freeXref
리턴 int

lastXref 보호되어 있는 프로퍼티

protected int lastXref
리턴 int

newXrefType 보호되어 있는 프로퍼티

protected bool newXrefType
리턴 bool

objStmMark 보호되어 있는 프로퍼티

protected Hashtable objStmMark
리턴 Hashtable

objStmToOffset 보호되어 있는 프로퍼티

protected IntHashtable,iTextSharp.text.pdf objStmToOffset
리턴 IntHashtable

pValue 보호되어 있는 프로퍼티

protected int pValue
리턴 int

pageRefs 보호되어 있는 프로퍼티

protected PageRefs pageRefs
리턴 PageRefs

password 보호되어 있는 프로퍼티

protected byte[] password
리턴 byte[]

pdfVersion 보호되어 있는 프로퍼티

protected char pdfVersion
리턴 char

rValue 보호되어 있는 프로퍼티

protected int rValue
리턴 int

rebuilt 보호되어 있는 프로퍼티

protected bool rebuilt
리턴 bool

sharedStreams 보호되어 있는 프로퍼티

protected bool sharedStreams
리턴 bool

strings 보호되어 있는 프로퍼티

protected ArrayList strings
리턴 ArrayList

tampered 보호되어 있는 프로퍼티

protected bool tampered
리턴 bool

tokens 보호되어 있는 프로퍼티

protected PRTokeniser,iTextSharp.text.pdf tokens
리턴 PRTokeniser

trailer 보호되어 있는 프로퍼티

protected PdfDictionary,iTextSharp.text.pdf trailer
리턴 PdfDictionary

xref 보호되어 있는 프로퍼티

protected int[] xref
리턴 int[]