Table of Contents

Class ParseOptions

Namespace
iText.Kernel.XMP.Options
Assembly
itext.kernel.dll
public sealed class ParseOptions : Options
Inheritance
ParseOptions
Inherited Members

Constructors

ParseOptions()

Sets the options to the default values.

public ParseOptions()

Fields

ACCEPT_LATIN_1

If the input is not unicode, try to parse it as ISO-8859-1.

public const int ACCEPT_LATIN_1 = 16

Field Value

int

FIX_CONTROL_CHARS

Convert ASCII control characters 0x01 - 0x1F (except tab, cr, and lf) to spaces.

public const int FIX_CONTROL_CHARS = 8

Field Value

int

OMIT_NORMALIZATION

Do not carry run the XMPNormalizer on a packet, leave it as it is.

public const int OMIT_NORMALIZATION = 32

Field Value

int

REQUIRE_XMP_META

Require a surrounding "x:xmpmeta" element in the xml-document.

public const int REQUIRE_XMP_META = 1

Field Value

int

STRICT_ALIASING

Do not reconcile alias differences, throw an exception instead.

public const int STRICT_ALIASING = 4

Field Value

int

Methods

DefineOptionName(int)

protected override string DefineOptionName(int option)

Parameters

option int

Returns

string
See Also

GetAcceptLatin1()

public bool GetAcceptLatin1()

Returns

bool

Returns the strictAliasing.

GetFixControlChars()

public bool GetFixControlChars()

Returns

bool

Returns the strictAliasing.

GetOmitNormalization()

public bool GetOmitNormalization()

Returns

bool

Returns the option "omit normalization".

GetRequireXMPMeta()

public bool GetRequireXMPMeta()

Returns

bool

Returns the requireXMPMeta.

GetStrictAliasing()

public bool GetStrictAliasing()

Returns

bool

Returns the strictAliasing.

GetValidOptions()

protected override int GetValidOptions()

Returns

int
See Also

SetAcceptLatin1(bool)

public ParseOptions SetAcceptLatin1(bool value)

Parameters

value bool

the value to set

Returns

ParseOptions

Returns the instance to call more set-methods.

SetFixControlChars(bool)

public ParseOptions SetFixControlChars(bool value)

Parameters

value bool

the value to set

Returns

ParseOptions

Returns the instance to call more set-methods.

SetOmitNormalization(bool)

public ParseOptions SetOmitNormalization(bool value)

Parameters

value bool

the value to set

Returns

ParseOptions

Returns the instance to call more set-methods.

SetRequireXMPMeta(bool)

public ParseOptions SetRequireXMPMeta(bool value)

Parameters

value bool

the value to set

Returns

ParseOptions

Returns the instance to call more set-methods.

SetStrictAliasing(bool)

public ParseOptions SetStrictAliasing(bool value)

Parameters

value bool

the value to set

Returns

ParseOptions

Returns the instance to call more set-methods.