NCommon Namespace Reference


Namespaces

namespace  CoreProperty
namespace  Image

Typedefs

typedef unsigned char UInt8
typedef unsigned int UInt32
typedef unsigned short UInt16
typedef unsigned long long UInt64
typedef char Int8
typedef int Int32
typedef short Int16
typedef long long Int64
typedef std::string UTF8String

Enumerations

enum  Error {
  ERR_DEFAULT_VISITHANDLER_CALLED = 0x1001, ERR_OUT_OF_MEMORY = 0x1002, ERR_CANNOT_CONVERT_TO_UTF8 = 0x1003, ERR_BUFFER_OVERFLOW = 0x1004,
  ERR_GENERIC_ERROR = 0x1005, ERR_UNKNOWN_CONTENT_TYPE = 0x1006, ERR_INTERNAL_OVERFLOW = 0x1007, ERR_FILE_CANNOT_READ = 0x1103,
  ERR_FILE_CANNOT_WRITE = 0x1104, ERR_FILE_CORRUPT_READ = 0x1105, ERR_INIT_TOO_MANY_PARTS = 0x1201, ERR_INIT_TOO_MANY_RELATIONSHIPS = 0x1202,
  ERR_INIT_FIXEDDOCUMENTSEQUENCE_NOT_FOUND = 0x1203, ERR_INIT_DOCUMENTPART_NOT_FOUND = 0x1204, ERR_INIT_UNKNOWN_RELATIONSHIP = 0x1205, ERR_INIT_UNKNOWN_PART = 0x1206,
  ERR_INIT_CANNOT_FIND_SOURCE_OF_RELATIONSHIP = 0x1207, ERR_INIT_CANNOT_FIND_FILE = 0x1208, ERR_INIT_PARSE_ERROR = 0x1209, ERR_INIT_CANNOT_CREATE_RELATIONSHIP_NAME = 0x1210,
  ERR_ZIP_CANNOT_READ = 0x1301, ERR_ZIP_CORRUPT_READ = 0x1302, ERR_ZIP_CANNOT_FIND_FILE = 0x1303, ERR_ZIP_CANNOT_WRITE = 0x1304,
  ERR_ACCESS_PART_ID_OUT_OF_RANGE = 0x1401, ERR_ACCESS_PART_NOT_FOUND = 0x1402, ERR_ACCESS_TARGET_RELATIONSHIP_NOT_FOUND = 0x1403, ERR_ACCESS_CANNOT_CREATE = 0x1404,
  ERR_ACCESS_SYNTAX_ERROR = 0x1405, ERR_ACCESS_CANNOT_FIND_CONTENT_TYPES_PART = 0x1406, ERR_ACCESS_UNKNOWN_PAGE = 0x1407, ERR_ACCESS_INTERNAL_OVERFLOW = 0x1408,
  ERR_ACCESS_CANNOT_ACCESS_EXTERNAL_FILE = 0x1409, ERR_ACCESS_CANNOT_COPY_FILE = 0x1410, ERR_ACCESS_UNKNOWN_DOCUMENT = 0x1411, ERR_ACCESS_PART_NAME_ALREADY_IN_USE = 0x1412,
  ERR_ACCESS_FONT_CANNOT_READ = 0x1413, ERR_ACCESS_FONT_ILLEGAL_FILE = 0x1414, ERR_ACCESS_FONT_ILLEGAL_UUID = 0x1415, ERR_ACCESS_IMAGE_NOT_IN_MEMORY = 0x1416,
  ERR_WRITE_CANNOT_DETERMINE_PART_DATA_SOURCE = 0x1501, ERR_OBJECT_NO_CORE_PROPERTIES = 0x1601, ERR_OBJECT_NO_FIXED_DOCUMENT_SEQUENCE = 0x1602, ERR_OBJECT_DOCUMENT_NOT_FOUND = 0x1603,
  ERR_OBJECT_NO_THUMBNAIL = 0x1604, ERR_OBJECT_NO_PACKAGE = 0x1605, ERR_OBJECT_PAGE_NOT_FOUND = 0x1606, ERR_OBJECT_FONT_NOT_FOUND = 0x1607,
  ERR_RUNNER_UNKNOWN_ACTION = 0x1701, ERR_CANNOT_GENERATE_PREVIEW = 0x1801
}


Detailed Description

Namespace defining common types for the NiXPS Library


Typedef Documentation

typedef short NCommon::Int16

16 bits, signed

typedef int NCommon::Int32

32 bits, signed

typedef long long NCommon::Int64

64 bits, signed

typedef char NCommon::Int8

8 bits, signed

typedef unsigned short NCommon::UInt16

16 bits, unsigned

typedef unsigned int NCommon::UInt32

32 bits, unsigned

Examples:
docexample_contentstream.cpp, docexample_extractimage.cpp, docexample_getthumbnail.cpp, and docexample_nocontentstream.cpp.

typedef unsigned long long NCommon::UInt64

64 bits, unsigned

typedef unsigned char NCommon::UInt8

8 bits, unsigned

Examples:
docexample_getthumbnail.cpp.

typedef std::string NCommon::UTF8String

UTF-8 encoded string


Enumeration Type Documentation

enum NCommon::Error

Error codes.

Enumerator:
ERR_DEFAULT_VISITHANDLER_CALLED  0x1001
ERR_OUT_OF_MEMORY  0x1002
ERR_CANNOT_CONVERT_TO_UTF8  0x1003
ERR_BUFFER_OVERFLOW  0x1004
ERR_GENERIC_ERROR  0x1005
ERR_UNKNOWN_CONTENT_TYPE  0x1006
ERR_INTERNAL_OVERFLOW  0x1007
ERR_FILE_CANNOT_READ  0x1103
ERR_FILE_CANNOT_WRITE  0x1104
ERR_FILE_CORRUPT_READ  0x1105
ERR_INIT_TOO_MANY_PARTS  0x1201
ERR_INIT_TOO_MANY_RELATIONSHIPS  0x1202
ERR_INIT_FIXEDDOCUMENTSEQUENCE_NOT_FOUND  0x1203
ERR_INIT_DOCUMENTPART_NOT_FOUND  0x1204
ERR_INIT_UNKNOWN_RELATIONSHIP  0x1205
ERR_INIT_UNKNOWN_PART  0x1206
ERR_INIT_CANNOT_FIND_SOURCE_OF_RELATIONSHIP  0x1207
ERR_INIT_CANNOT_FIND_FILE  0x1208
ERR_INIT_PARSE_ERROR  0x1209
ERR_INIT_CANNOT_CREATE_RELATIONSHIP_NAME  0x1210
ERR_ZIP_CANNOT_READ  0x1301
ERR_ZIP_CORRUPT_READ  0x1302
ERR_ZIP_CANNOT_FIND_FILE  0x1303
ERR_ZIP_CANNOT_WRITE  0x1304
ERR_ACCESS_PART_ID_OUT_OF_RANGE  0x1401
ERR_ACCESS_PART_NOT_FOUND  0x1402
ERR_ACCESS_TARGET_RELATIONSHIP_NOT_FOUND  0x1403
ERR_ACCESS_CANNOT_CREATE  0x1404
ERR_ACCESS_SYNTAX_ERROR  0x1405
ERR_ACCESS_CANNOT_FIND_CONTENT_TYPES_PART  0x1406
ERR_ACCESS_UNKNOWN_PAGE  0x1407
ERR_ACCESS_INTERNAL_OVERFLOW  0x1408
ERR_ACCESS_CANNOT_ACCESS_EXTERNAL_FILE  0x1409
ERR_ACCESS_CANNOT_COPY_FILE  0x1410
ERR_ACCESS_UNKNOWN_DOCUMENT  0x1411
ERR_ACCESS_PART_NAME_ALREADY_IN_USE  0x1412
ERR_ACCESS_FONT_CANNOT_READ  0x1413
ERR_ACCESS_FONT_ILLEGAL_FILE  0x1414
ERR_ACCESS_FONT_ILLEGAL_UUID  0x1415
ERR_ACCESS_IMAGE_NOT_IN_MEMORY  0x1416
ERR_WRITE_CANNOT_DETERMINE_PART_DATA_SOURCE  0x1501
ERR_OBJECT_NO_CORE_PROPERTIES  0x1601
ERR_OBJECT_NO_FIXED_DOCUMENT_SEQUENCE  0x1602
ERR_OBJECT_DOCUMENT_NOT_FOUND  0x1603
ERR_OBJECT_NO_THUMBNAIL  0x1604
ERR_OBJECT_NO_PACKAGE  0x1605
ERR_OBJECT_PAGE_NOT_FOUND  0x1606
ERR_OBJECT_FONT_NOT_FOUND  0x1607
ERR_RUNNER_UNKNOWN_ACTION  0x1701
ERR_CANNOT_GENERATE_PREVIEW  0x1801


Generated on Thu Jul 19 09:33:09 2007 for NiXPS Library by  doxygen 1.5.2