iText 5

SimpleBookmark

SimpleBookmark Public class

Diagram

flowchart LR classDef interfaceStyle stroke-dasharray: 5 5; classDef abstractStyle stroke-width:4px subgraph iTextSharp.text.pdf iTextSharp.text.pdf.SimpleBookmark[[SimpleBookmark]] end subgraph iTextSharp.text.xml.simpleparser iTextSharp.text.xml.simpleparser.ISimpleXMLDocHandler[[ISimpleXMLDocHandler]] class iTextSharp.text.xml.simpleparser.ISimpleXMLDocHandler interfaceStyle; end iTextSharp.text.xml.simpleparser.ISimpleXMLDocHandler --> iTextSharp.text.pdf.SimpleBookmark

Members

Methods

Public Static methods

Returns

Name

void

EliminatePages

(IList<Dictionary<string, object>> list, int``[] pageRange)

string

EscapeBinaryString

(string s)

void

ExportToXML

(...)

void

ExportToXMLNode

(IList<Dictionary<string, object>> list, TextWriter outp, int indent, bool onlyASCII)

IList<Dictionary<string, object>>

GetBookmark

(...)

string

GetVal

(Dictionary<string, object> map, string key)

IList<Dictionary<string, object>>

ImportFromXML

(...)

object``[]

IterateOutlines

(

PdfWriter

writer,

PdfIndirectReference

parent, IList<Dictionary<string, object>> kids, bool namedAsNames)

void

ShiftPageNumbers

(IList<Dictionary<string, object>> list, int pageShift, int``[] pageRange)

string

UnEscapeBinaryString

(string s)

Internal Static methods

Returns

Name

void

CreateOutlineAction

(

PdfDictionary

outline, Dictionary<string, object> map,

PdfWriter

writer, bool namedAsNames)

Public methods

Returns

Name

void

EndDocument

()

void

EndElement

(string tag)

void

StartDocument

()

void

StartElement

(string tag, IDictionary<string, string> h)

void

Text

(string str)

Details

Inheritance

Methods

GetBookmark [1/2]

Source code

public static IList<Dictionary<string, object>> GetBookmark(PdfReader reader)

Arguments

Type

Name

Description

PdfReader

reader

GetBookmark [2/2]

Source code

public static IList<Dictionary<string, object>> GetBookmark(PdfReader reader, PdfDictionary outline, bool includeRoot)

Arguments

Type

Name

Description

PdfReader

reader

PdfDictionary

outline

bool

includeRoot

EliminatePages

Source code

public static void EliminatePages(IList<Dictionary<string, object>> list, int[] pageRange)

Arguments

Type

Name

Description

IList<Dictionary<string, object>>

list

int``[]

pageRange

ShiftPageNumbers

Source code

public static void ShiftPageNumbers(IList<Dictionary<string, object>> list, int pageShift, int[] pageRange)

Arguments

Type

Name

Description

IList<Dictionary<string, object>>

list

int

pageShift

int``[]

pageRange

GetVal

Source code

public static string GetVal(Dictionary<string, object> map, string key)

Arguments

Type

Name

Description

Dictionary<string, object>

map

string

key

CreateOutlineAction

Source code

internal static void CreateOutlineAction(PdfDictionary outline, Dictionary<string, object> map, PdfWriter writer, bool namedAsNames)

Arguments

Type

Name

Description

PdfDictionary

outline

Dictionary<string, object>

map

PdfWriter

writer

bool

namedAsNames

IterateOutlines

Source code

public static object IterateOutlines(PdfWriter writer, PdfIndirectReference parent, IList<Dictionary<string, object>> kids, bool namedAsNames)

Arguments

Type

Name

Description

PdfWriter

writer

PdfIndirectReference

parent

IList<Dictionary<string, object>>

kids

bool

namedAsNames

ExportToXMLNode

Source code

public static void ExportToXMLNode(IList<Dictionary<string, object>> list, TextWriter outp, int indent, bool onlyASCII)

Arguments

Type

Name

Description

IList<Dictionary<string, object>>

list

TextWriter

outp

int

indent

bool

onlyASCII

ExportToXML [1/2]

Source code

public static void ExportToXML(IList<Dictionary<string, object>> list, Stream outp, string encoding, bool onlyASCII)

Arguments

Type

Name

Description

IList<Dictionary<string, object>>

list

Stream

outp

string

encoding

bool

onlyASCII

ExportToXML [2/2]

Source code

public static void ExportToXML(IList<Dictionary<string, object>> list, TextWriter wrt, string encoding, bool onlyASCII)

Arguments

Type

Name

Description

IList<Dictionary<string, object>>

list

TextWriter

wrt

string

encoding

bool

onlyASCII

ImportFromXML [1/2]

Source code

public static IList<Dictionary<string, object>> ImportFromXML(Stream inp)

Arguments

Type

Name

Description

Stream

inp

ImportFromXML [2/2]

Source code

public static IList<Dictionary<string, object>> ImportFromXML(TextReader inp)

Arguments

Type

Name

Description

TextReader

inp

EscapeBinaryString

Source code

public static string EscapeBinaryString(string s)

Arguments

Type

Name

Description

string

s

UnEscapeBinaryString

Source code

public static string UnEscapeBinaryString(string s)

Arguments

Type

Name

Description

string

s

EndDocument

Source code

public virtual void EndDocument()

EndElement

Source code

public virtual void EndElement(string tag)

Arguments

Type

Name

Description

string

tag

StartDocument

Source code

public virtual void StartDocument()

StartElement

Source code

public virtual void StartElement(string tag, IDictionary<string, string> h)

Arguments

Type

Name

Description

string

tag

IDictionary<string, string>

h

Text

Source code

public virtual void Text(string str)

Arguments

Type

Name

Description

string

str

Generated with ModularDoc