iText 8.0.5 API
|
Public Member Functions |
|||
SerializeOptions () | |||
Default constructor. More... |
|||
SerializeOptions (int options) | |||
Constructor using inital options More... |
|||
bool | GetOmitPacketWrapper () | ||
|
|||
iText.Kernel.XMP.Options.SerializeOptions | SetOmitPacketWrapper (bool value) | ||
bool | GetOmitXmpMetaElement () | ||
|
|||
iText.Kernel.XMP.Options.SerializeOptions | SetOmitXmpMetaElement (bool value) | ||
bool | GetReadOnlyPacket () | ||
|
|||
iText.Kernel.XMP.Options.SerializeOptions | SetReadOnlyPacket (bool value) | ||
bool | GetUseCompactFormat () | ||
|
|||
iText.Kernel.XMP.Options.SerializeOptions | SetUseCompactFormat (bool value) | ||
bool | GetUseCanonicalFormat () | ||
|
|||
iText.Kernel.XMP.Options.SerializeOptions | SetUseCanonicalFormat (bool value) | ||
bool | GetIncludeThumbnailPad () | ||
|
|||
iText.Kernel.XMP.Options.SerializeOptions | SetIncludeThumbnailPad (bool value) | ||
bool | GetExactPacketLength () | ||
|
|||
iText.Kernel.XMP.Options.SerializeOptions | SetExactPacketLength (bool value) | ||
bool | GetSort () | ||
|
|||
iText.Kernel.XMP.Options.SerializeOptions | SetSort (bool value) | ||
bool | GetEncodeUTF16BE () | ||
|
|||
iText.Kernel.XMP.Options.SerializeOptions | SetEncodeUTF16BE (bool value) | ||
bool | GetEncodeUTF16LE () | ||
|
|||
iText.Kernel.XMP.Options.SerializeOptions | SetEncodeUTF16LE (bool value) | ||
int | GetBaseIndent () | ||
|
|||
iText.Kernel.XMP.Options.SerializeOptions | SetBaseIndent (int baseIndent) | ||
String | GetIndent () | ||
|
|||
iText.Kernel.XMP.Options.SerializeOptions | SetIndent (String indent) | ||
String | GetNewline () | ||
|
|||
iText.Kernel.XMP.Options.SerializeOptions | SetNewline (String newline) | ||
int | GetPadding () | ||
|
|||
iText.Kernel.XMP.Options.SerializeOptions | SetPadding (int padding) | ||
bool | GetOmitVersionAttribute () | ||
String | GetEncoding () | ||
|
|||
Object | Clone () | ||
|
|||
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) | ||
|
|||
override int | GetHashCode () | ||
|
|||
virtual String | GetOptionsString () | ||
Creates a human readable string from the set options. More... |
|||
override String | ToString () | ||
|
|||
Static Public Attributes |
|
const int | OMIT_PACKET_WRAPPER = 0x0010 |
Omit the XML packet wrapper. More... |
|
const int | READONLY_PACKET = 0x0020 |
Mark packet as read-only. More... |
|
const int | USE_COMPACT_FORMAT = 0x0040 |
Use a compact form of RDF. More... |
|
const int | USE_CANONICAL_FORMAT = 0x0080 |
Use the canonical form of RDF if set. More... |
|
const int | INCLUDE_THUMBNAIL_PAD = 0x0100 |
Include a padding allowance for a thumbnail image. More... |
|
const int | EXACT_PACKET_LENGTH = 0x0200 |
The padding parameter provides the overall packet length. More... |
|
const int | OMIT_XMPMETA_ELEMENT = 0x1000 |
Omit the |
|
const int | SORT = 0x2000 |
Sort the struct properties and qualifier before serializing More... |
|
const int | ENCODE_UTF8 = 0 |
UTF8 encoding; this is the default More... |
|
const int | ENCODE_UTF16BE = UTF16_BIT |
UTF16BE encoding More... |
|
const int | ENCODE_UTF16LE = UTF16_BIT | LITTLEENDIAN_BIT |
UTF16LE encoding More... |
|
Package Functions |
|
override String | DefineOptionName (int option) |
|
|
override int | GetValidOptions () |
|
|
Package Functions inherited from iText.Kernel.XMP.Options.Options | |
virtual bool | GetOption (int optionBit) |
virtual void | AssertConsistency (int options) |
The inheriting option class can do additional checks on the options. More... |
|
Options for
|
inline |
Default constructor.
|
inline |
Constructor using inital options
options | the inital options |
|
inline |
|
inline |
baseIndent | The baseIndent to set. |
|
inline |
value | the value to set |
|
inline |
value | the value to set |
|
inline |
value | the value to set |
|
inline |
value | the value to set |
|
inline |
indent | The indent to set. |
|
inline |
newline | The newline to set. |
|
inline |
value | the value to set |
|
inline |
value | the value to set |
|
inline |
padding | The padding to set. |
|
inline |
value | the value to set |
|
inline |
value | the value to set |
|
inline |
value | the value to set |
|
inline |
value | the value to set |
|
static |
UTF16BE encoding
|
static |
UTF16LE encoding
|
static |
UTF8 encoding; this is the default
|
static |
The padding parameter provides the overall packet length.
The padding parameter provides the overall packet length. The actual amount of padding is computed. An exception is thrown if the packet exceeds this length with no padding.
|
static |
Include a padding allowance for a thumbnail image.
Include a padding allowance for a thumbnail image. If no xmp:Thumbnails
property is present, the typical space for a JPEG thumbnail is used.
|
static |
Omit the XML packet wrapper.
|
static |
Omit the
|
static |
Mark packet as read-only.
Mark packet as read-only. Default is a writeable packet.
|
static |
Sort the struct properties and qualifier before serializing
|
static |
Use the canonical form of RDF if set.
Use the canonical form of RDF if set. By default the compact form is used
|
static |
Use a compact form of RDF.
Use a compact form of RDF. The compact form is the default serialization format (this flag is technically ignored). To serialize to the canonical form, set the flag USE_CANONICAL_FORMAT. If both flags "compact" and "canonical" are set, canonical is used.