C# Class iTextSharp.text.pdf.BaseFont

Summary description for BaseFont.
Afficher le fichier Open project: mapo80/iTextSharp-Monotouch Class Usage Examples

Méthodes publiques

Свойство Type Description
CHAR_RANGE_ARABIC int[]
CHAR_RANGE_CYRILLIC int[]
CHAR_RANGE_HEBREW int[]
CHAR_RANGE_LATIN int[]

Protected Properties

Свойство Type Description
BuiltinFonts14 PdfName>.Dictionary
charBBoxes int[][]
compressionLevel int
differences string[]
directTextToByte bool
embedded bool
encoding string
fastWinansi bool
fontCache BaseFont>.Dictionary
fontSpecific bool
forceWidthsOutput bool
resourceSearch List
specialMap IntHashtable
subset bool
subsetRanges List
unicodeDifferences char[]
widths int[]

Méthodes publiques

Méthode Description
AddSubsetRange ( int range ) : void
AddToResourceSearch ( object obj ) : void
CharExists ( int c ) : bool
ConvertToBytes ( string text ) : byte[]
CorrectArabicAdvance ( ) : void
CreateFont ( ) : BaseFont
CreateFont ( PRIndirectReference fontRef ) : BaseFont
CreateFont ( String name, String encoding, bool embedded ) : BaseFont
CreateFont ( String name, String encoding, bool embedded, bool forceRead ) : BaseFont
CreateFont ( String name, String encoding, bool embedded, bool cached, byte ttfAfm, byte pfb ) : BaseFont
CreateFont ( String name, String encoding, bool embedded, bool cached, byte ttfAfm, byte pfb, bool noThrow ) : BaseFont
CreateFont ( String name, String encoding, bool embedded, bool cached, byte ttfAfm, byte pfb, bool noThrow, bool forceRead ) : BaseFont
CreateSubsetPrefix ( ) : string
EnumerateTTCNames ( byte ttcArray ) : string[]
EnumerateTTCNames ( string ttcFile ) : string[]
GetAllFontNames ( String name, String encoding, byte ttfAfm ) : Object[]
GetAllNameEntries ( String name, String encoding, byte ttfAfm ) : String[][]
GetAscent ( String text ) : int
GetAscentPoint ( String text, float fontSize ) : float
GetCharBBox ( int c ) : int[]
GetCidCode ( int c ) : int
GetDescent ( String text ) : int
GetDescentPoint ( String text, float fontSize ) : float
GetDocumentFonts ( PdfReader reader ) : List
GetDocumentFonts ( PdfReader reader, int page ) : List
GetFontDescriptor ( int key, float fontSize ) : float
GetFullFontName ( string name, string encoding, byte ttfAfm ) : string[][]
GetFullFontStream ( ) : PdfStream
GetKerning ( int char1, int char2 ) : int
GetResourceStream ( string key ) : System.Stream
GetUnicodeEquivalent ( int c ) : int
GetWidth ( int char1 ) : int
GetWidth ( string text ) : int
GetWidthPoint ( int char1, float fontSize ) : float
GetWidthPoint ( string text, float fontSize ) : float
GetWidthPointKerned ( String text, float fontSize ) : float
HasKernPairs ( ) : bool
IsEmbedded ( ) : bool
IsFontSpecific ( ) : bool
SetCharAdvance ( int c, int advance ) : bool
SetFontDescriptor ( int key, float value ) : void
SetKerning ( int char1, int char2, int kern ) : bool

Méthodes protégées

Méthode Description
CreateEncoding ( ) : void
GetBaseName ( string name ) : string
GetRawCharBBox ( int c, String name ) : int[]
NormalizeEncoding ( string enc ) : string

Private Methods

Méthode Description
AddFont ( PRIndirectReference fontRef, IntHashtable hits, List fonts ) : void
BaseFont ( ) : System
ConvertToBytes ( int char1 ) : byte[]
GetRawWidth ( int c, string name ) : int
GetUnicodeDifferences ( int index ) : char
RecourseFonts ( PdfDictionary page, IntHashtable hits, List fonts, int level ) : void
WriteFont ( PdfWriter writer, PdfIndirectReference piRef, Object oParams ) : void

Method Details

AddSubsetRange() public méthode

public AddSubsetRange ( int range ) : void
range int
Résultat void

AddToResourceSearch() public static méthode

public static AddToResourceSearch ( object obj ) : void
obj object
Résultat void

CharExists() public méthode

public CharExists ( int c ) : bool
c int
Résultat bool

ConvertToBytes() public méthode

public ConvertToBytes ( string text ) : byte[]
text string
Résultat byte[]

CorrectArabicAdvance() public méthode

public CorrectArabicAdvance ( ) : void
Résultat void

CreateEncoding() protected méthode

protected CreateEncoding ( ) : void
Résultat void

CreateFont() public static méthode

public static CreateFont ( ) : BaseFont
Résultat BaseFont

CreateFont() public static méthode

public static CreateFont ( PRIndirectReference fontRef ) : BaseFont
fontRef PRIndirectReference
Résultat BaseFont

CreateFont() public static méthode

public static CreateFont ( String name, String encoding, bool embedded ) : BaseFont
name String
encoding String
embedded bool
Résultat BaseFont

CreateFont() public static méthode

public static CreateFont ( String name, String encoding, bool embedded, bool forceRead ) : BaseFont
name String
encoding String
embedded bool
forceRead bool
Résultat BaseFont

CreateFont() public static méthode

public static CreateFont ( String name, String encoding, bool embedded, bool cached, byte ttfAfm, byte pfb ) : BaseFont
name String
encoding String
embedded bool
cached bool
ttfAfm byte
pfb byte
Résultat BaseFont

CreateFont() public static méthode

public static CreateFont ( String name, String encoding, bool embedded, bool cached, byte ttfAfm, byte pfb, bool noThrow ) : BaseFont
name String
encoding String
embedded bool
cached bool
ttfAfm byte
pfb byte
noThrow bool
Résultat BaseFont

CreateFont() public static méthode

public static CreateFont ( String name, String encoding, bool embedded, bool cached, byte ttfAfm, byte pfb, bool noThrow, bool forceRead ) : BaseFont
name String
encoding String
embedded bool
cached bool
ttfAfm byte
pfb byte
noThrow bool
forceRead bool
Résultat BaseFont

CreateSubsetPrefix() public static méthode

public static CreateSubsetPrefix ( ) : string
Résultat string

EnumerateTTCNames() public static méthode

public static EnumerateTTCNames ( byte ttcArray ) : string[]
ttcArray byte
Résultat string[]

EnumerateTTCNames() public static méthode

public static EnumerateTTCNames ( string ttcFile ) : string[]
ttcFile string
Résultat string[]

GetAllFontNames() public static méthode

public static GetAllFontNames ( String name, String encoding, byte ttfAfm ) : Object[]
name String
encoding String
ttfAfm byte
Résultat Object[]

GetAllNameEntries() public static méthode

public static GetAllNameEntries ( String name, String encoding, byte ttfAfm ) : String[][]
name String
encoding String
ttfAfm byte
Résultat String[][]

GetAscent() public méthode

public GetAscent ( String text ) : int
text String
Résultat int

GetAscentPoint() public méthode

public GetAscentPoint ( String text, float fontSize ) : float
text String
fontSize float
Résultat float

GetBaseName() protected static méthode

protected static GetBaseName ( string name ) : string
name string
Résultat string

GetCharBBox() public méthode

public GetCharBBox ( int c ) : int[]
c int
Résultat int[]

GetCidCode() public méthode

public GetCidCode ( int c ) : int
c int
Résultat int

GetDescent() public méthode

public GetDescent ( String text ) : int
text String
Résultat int

GetDescentPoint() public méthode

public GetDescentPoint ( String text, float fontSize ) : float
text String
fontSize float
Résultat float

GetDocumentFonts() public static méthode

public static GetDocumentFonts ( PdfReader reader ) : List
reader PdfReader
Résultat List

GetDocumentFonts() public static méthode

public static GetDocumentFonts ( PdfReader reader, int page ) : List
reader PdfReader
page int
Résultat List

GetFontDescriptor() public abstract méthode

public abstract GetFontDescriptor ( int key, float fontSize ) : float
key int
fontSize float
Résultat float

GetFullFontName() public static méthode

public static GetFullFontName ( string name, string encoding, byte ttfAfm ) : string[][]
name string
encoding string
ttfAfm byte
Résultat string[][]

GetFullFontStream() public abstract méthode

public abstract GetFullFontStream ( ) : PdfStream
Résultat PdfStream

GetKerning() public abstract méthode

public abstract GetKerning ( int char1, int char2 ) : int
char1 int
char2 int
Résultat int

GetRawCharBBox() protected abstract méthode

protected abstract GetRawCharBBox ( int c, String name ) : int[]
c int
name String
Résultat int[]

GetResourceStream() public static méthode

public static GetResourceStream ( string key ) : System.Stream
key string
Résultat System.Stream

GetUnicodeEquivalent() public méthode

public GetUnicodeEquivalent ( int c ) : int
c int
Résultat int

GetWidth() public méthode

public GetWidth ( int char1 ) : int
char1 int
Résultat int

GetWidth() public méthode

public GetWidth ( string text ) : int
text string
Résultat int

GetWidthPoint() public méthode

public GetWidthPoint ( int char1, float fontSize ) : float
char1 int
fontSize float
Résultat float

GetWidthPoint() public méthode

public GetWidthPoint ( string text, float fontSize ) : float
text string
fontSize float
Résultat float

GetWidthPointKerned() public méthode

public GetWidthPointKerned ( String text, float fontSize ) : float
text String
fontSize float
Résultat float

HasKernPairs() public abstract méthode

public abstract HasKernPairs ( ) : bool
Résultat bool

IsEmbedded() public méthode

public IsEmbedded ( ) : bool
Résultat bool

IsFontSpecific() public méthode

public IsFontSpecific ( ) : bool
Résultat bool

NormalizeEncoding() protected static méthode

protected static NormalizeEncoding ( string enc ) : string
enc string
Résultat string

SetCharAdvance() public méthode

public SetCharAdvance ( int c, int advance ) : bool
c int
advance int
Résultat bool

SetFontDescriptor() public méthode

public SetFontDescriptor ( int key, float value ) : void
key int
value float
Résultat void

SetKerning() public abstract méthode

public abstract SetKerning ( int char1, int char2, int kern ) : bool
char1 int
char2 int
kern int
Résultat bool

Property Details

BuiltinFonts14 protected_oe static_oe property

protected static Dictionary BuiltinFonts14
Résultat PdfName>.Dictionary

CHAR_RANGE_ARABIC public_oe static_oe property

public static int[] CHAR_RANGE_ARABIC
Résultat int[]

CHAR_RANGE_CYRILLIC public_oe static_oe property

public static int[] CHAR_RANGE_CYRILLIC
Résultat int[]

CHAR_RANGE_HEBREW public_oe static_oe property

public static int[] CHAR_RANGE_HEBREW
Résultat int[]

CHAR_RANGE_LATIN public_oe static_oe property

public static int[] CHAR_RANGE_LATIN
Résultat int[]

charBBoxes protected_oe property

protected int[][] charBBoxes
Résultat int[][]

compressionLevel protected_oe property

protected int compressionLevel
Résultat int

differences protected_oe property

protected string[] differences
Résultat string[]

directTextToByte protected_oe property

protected bool directTextToByte
Résultat bool

embedded protected_oe property

protected bool embedded
Résultat bool

encoding protected_oe property

protected string encoding
Résultat string

fastWinansi protected_oe property

protected bool fastWinansi
Résultat bool

fontCache protected_oe static_oe property

protected static Dictionary fontCache
Résultat BaseFont>.Dictionary

fontSpecific protected_oe property

protected bool fontSpecific
Résultat bool

forceWidthsOutput protected_oe property

protected bool forceWidthsOutput
Résultat bool

resourceSearch protected_oe static_oe property

protected static List resourceSearch
Résultat List

specialMap protected_oe property

protected IntHashtable,iTextSharp.text.pdf specialMap
Résultat IntHashtable

subset protected_oe property

protected bool subset
Résultat bool

subsetRanges protected_oe property

protected List subsetRanges
Résultat List

unicodeDifferences protected_oe property

protected char[] unicodeDifferences
Résultat char[]

widths protected_oe property

protected int[] widths
Résultat int[]