PRTokeniser Public class
Diagram
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph iTextSharp.text.pdf
iTextSharp.text.pdf.PRTokeniser[[PRTokeniser]]
end
Members
Properties
Public properties
Methods
Public methods
Public Static methods
Details
Nested types
Enums
Constructors
PRTokeniser
Source code
public PRTokeniser(RandomAccessFileOrArray file)
Arguments
Methods
Seek
Source code
public virtual void Seek(long pos)
Arguments
Type | Name | Description |
---|
long | pos | |
Close
Source code
public virtual void Close()
Read
Source code
public virtual int Read()
ReadString
Source code
public virtual string ReadString(int size)
Arguments
Type | Name | Description |
---|
int | size | |
IsWhitespace [1/2]
Source code
public static bool IsWhitespace(int ch)
Arguments
IsWhitespace [2/2]
Source code
public static bool IsWhitespace(int ch, bool isWhitespace)
Arguments
Type | Name | Description |
---|
int | ch | |
bool | isWhitespace | |
IsDelimiter
Source code
public static bool IsDelimiter(int ch)
Arguments
BackOnePosition
Source code
public virtual void BackOnePosition(int ch)
Arguments
ThrowError
Source code
public virtual void ThrowError(string error)
Arguments
Type | Name | Description |
---|
string | error | |
Source code
public virtual int GetHeaderOffset()
Source code
public virtual char CheckPdfHeader()
Source code
public virtual void CheckFdfHeader()
GetStartxref
Source code
public virtual long GetStartxref()
GetHex
Source code
public static int GetHex(int v)
Arguments
NextValidToken
Source code
public virtual void NextValidToken()
NextToken
Source code
public virtual bool NextToken()
ReadLineSegment [1/2]
Source code
public virtual bool ReadLineSegment(byte[] input)
Arguments
Type | Name | Description |
---|
byte``[] | input | |
ReadLineSegment [2/2]
Source code
public virtual bool ReadLineSegment(byte[] input, bool isNullWhitespace)
Arguments
Type | Name | Description |
---|
byte``[] | input | |
bool | isNullWhitespace | |
CheckObjectStart
Source code
public static long CheckObjectStart(byte[] line)
Arguments
Type | Name | Description |
---|
byte``[] | line | |
IsHexString
Source code
public virtual bool IsHexString()
Properties
FilePointer
public virtual long FilePointer { get; }
Length
public virtual long Length { get; }
SafeFile
public virtual RandomAccessFileOrArray SafeFile { get; }
File
public virtual RandomAccessFileOrArray File { get; }
TokenType
public virtual TokType TokenType { get; }
StringValue
public virtual string StringValue { get; }
Reference
public virtual int Reference { get; }
Generation
public virtual int Generation { get; }
LongValue
public virtual long LongValue { get; }
IntValue
public virtual int IntValue { get; }
Generated with ModularDoc