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
|
Type |
Name |
Methods |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Methods
Public methods
|
Returns |
Name |
|---|---|
|
|
( |
|
|
() |
|
|
() |
|
|
() |
|
|
() |
|
|
() |
|
|
() |
|
|
() |
|
|
() |
|
|
() |
|
|
( |
|
|
( |
|
|
( |
|
|
( |
Public Static methods
|
Returns |
Name |
|---|---|
|
|
( |
|
|
( |
|
|
( |
|
|
( |
Details
Nested types
Enums
-
TokType
Constructors
PRTokeniser
Source code
public PRTokeniser(RandomAccessFileOrArray file)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
file |
Methods
Seek
Source code
public virtual void Seek(long pos)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
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 |
|---|---|---|
|
|
size |
IsWhitespace [1/2]
Source code
public static bool IsWhitespace(int ch)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
ch |
IsWhitespace [2/2]
Source code
public static bool IsWhitespace(int ch, bool isWhitespace)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
ch |
|
|
|
isWhitespace |
IsDelimiter
Source code
public static bool IsDelimiter(int ch)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
ch |
BackOnePosition
Source code
public virtual void BackOnePosition(int ch)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
ch |
ThrowError
Source code
public virtual void ThrowError(string error)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
error |
GetHeaderOffset
Source code
public virtual int GetHeaderOffset()
CheckPdfHeader
Source code
public virtual char CheckPdfHeader()
CheckFdfHeader
Source code
public virtual void CheckFdfHeader()
GetStartxref
Source code
public virtual long GetStartxref()
GetHex
Source code
public static int GetHex(int v)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
v |
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 |
|---|---|---|
|
|
input |
ReadLineSegment [2/2]
Source code
public virtual bool ReadLineSegment(byte[] input, bool isNullWhitespace)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
input |
|
|
|
isNullWhitespace |
CheckObjectStart
Source code
public static long CheckObjectStart(byte[] line)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
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