iText 7 7.1.8 API
iText.Kernel.XMP.Options.ParseOptions Class Reference

Options for iText.Kernel.XMP.XMPMetaFactory.Parse(System.IO.Stream, ParseOptions) More...

Inheritance diagram for iText.Kernel.XMP.Options.ParseOptions:
iText.Kernel.XMP.Options.Options

Public Member Functions

  ParseOptions ()
  Sets the options to the default values. More...
 
bool  GetRequireXMPMeta ()
 
Returns
Returns the requireXMPMeta.

 
iText.Kernel.XMP.Options.ParseOptions  SetRequireXMPMeta (bool value)
 
bool  GetStrictAliasing ()
 
Returns
Returns the strictAliasing.

 
iText.Kernel.XMP.Options.ParseOptions  SetStrictAliasing (bool value)
 
bool  GetFixControlChars ()
 
Returns
Returns the strictAliasing.

 
iText.Kernel.XMP.Options.ParseOptions  SetFixControlChars (bool value)
 
bool  GetAcceptLatin1 ()
 
Returns
Returns the strictAliasing.

 
iText.Kernel.XMP.Options.ParseOptions  SetOmitNormalization (bool value)
 
bool  GetOmitNormalization ()
 
Returns
Returns the option "omit normalization".

 
iText.Kernel.XMP.Options.ParseOptions  SetAcceptLatin1 (bool value)
 
- Public Member Functions inherited from iText.Kernel.XMP.Options.Options
  Options ()
  The default constructor. More...
 
  Options (int options)
  Constructor with the options bit mask. More...
 
virtual void  Clear ()
  Resets the options. More...
 
virtual bool  IsExactly (int optionBits)
 
virtual bool  ContainsAllOptions (int optionBits)
 
virtual bool  ContainsOneOf (int optionBits)
 
virtual void  SetOption (int optionBits, bool value)
 
virtual int  GetOptions ()
  Is friendly to access it during the tests. More...
 
virtual void  SetOptions (int options)
 
override bool  Equals (Object obj)
 
See also
System.Object.Equals(System.Object)

 
override int  GetHashCode ()
 
See also
System.Object.GetHashCode()

 
virtual String  GetOptionsString ()
  Creates a human readable string from the set options. More...
 
override String  ToString ()
 
Returns
Returns the options as hex bitmask.

 

Static Public Attributes

const int  REQUIRE_XMP_META = 0x0001
  Require a surrounding "x:xmpmeta" element in the xml-document. More...
 
const int  STRICT_ALIASING = 0x0004
  Do not reconcile alias differences, throw an exception instead. More...
 
const int  FIX_CONTROL_CHARS = 0x0008
  Convert ASCII control characters 0x01 - 0x1F (except tab, cr, and lf) to spaces. More...
 
const int  ACCEPT_LATIN_1 = 0x0010
  If the input is not unicode, try to parse it as ISO-8859-1. More...
 
const int  OMIT_NORMALIZATION = 0x0020
  Do not carry run the XMPNormalizer on a packet, leave it as it is. More...
 

Detailed Description

Options for iText.Kernel.XMP.XMPMetaFactory.Parse(System.IO.Stream, ParseOptions)

24.01.2006

Constructor & Destructor Documentation

◆ ParseOptions()

iText.Kernel.XMP.Options.ParseOptions.ParseOptions ( )
inline

Sets the options to the default values.

Member Function Documentation

◆ SetAcceptLatin1()

iText.Kernel.XMP.Options.ParseOptions iText.Kernel.XMP.Options.ParseOptions.SetAcceptLatin1 ( bool  value )
inline
Parameters
value the value to set
Returns
Returns the instance to call more set-methods.

◆ SetFixControlChars()

iText.Kernel.XMP.Options.ParseOptions iText.Kernel.XMP.Options.ParseOptions.SetFixControlChars ( bool  value )
inline
Parameters
value the value to set
Returns
Returns the instance to call more set-methods.

◆ SetOmitNormalization()

iText.Kernel.XMP.Options.ParseOptions iText.Kernel.XMP.Options.ParseOptions.SetOmitNormalization ( bool  value )
inline
Parameters
value the value to set
Returns
Returns the instance to call more set-methods.

◆ SetRequireXMPMeta()

iText.Kernel.XMP.Options.ParseOptions iText.Kernel.XMP.Options.ParseOptions.SetRequireXMPMeta ( bool  value )
inline
Parameters
value the value to set
Returns
Returns the instance to call more set-methods.

◆ SetStrictAliasing()

iText.Kernel.XMP.Options.ParseOptions iText.Kernel.XMP.Options.ParseOptions.SetStrictAliasing ( bool  value )
inline
Parameters
value the value to set
Returns
Returns the instance to call more set-methods.

Member Data Documentation

◆ ACCEPT_LATIN_1

const int iText.Kernel.XMP.Options.ParseOptions.ACCEPT_LATIN_1 = 0x0010
static

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

◆ FIX_CONTROL_CHARS

const int iText.Kernel.XMP.Options.ParseOptions.FIX_CONTROL_CHARS = 0x0008
static

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

◆ OMIT_NORMALIZATION

const int iText.Kernel.XMP.Options.ParseOptions.OMIT_NORMALIZATION = 0x0020
static

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

◆ REQUIRE_XMP_META

const int iText.Kernel.XMP.Options.ParseOptions.REQUIRE_XMP_META = 0x0001
static

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

◆ STRICT_ALIASING

const int iText.Kernel.XMP.Options.ParseOptions.STRICT_ALIASING = 0x0004
static

Do not reconcile alias differences, throw an exception instead.