ComOfficeby KDAN API Reference for Windows and Linux
Table of Contents

Enum ErrorKind

Namespace
ComOfficeKit
Assembly
ComOfficeKit.dll

What kind of failure a ComOfficeKitException reports.

public enum ErrorKind

Fields

ContentLost = 9

A save as OpenDocument text (.odt) would leave content out: comments, tracked changes or drawing shapes OpenDocument text does not carry here. Nothing was written. The exception is a ContentLossException, whose Loss has the counts.

EngineMismatch = 7

The native engine beside this assembly is missing, or is not the one this assembly was built against. Install the package's native files as they ship.

IO = 2

A file could not be read or written.

Internal = 99

The engine failed in a way it did not expect. The message is the engine's.

InvalidArgument = 1

A value the engine refused: out of range, or not allowed where it was used.

License = 6

The licence does not allow the operation. The exception is a LicenseException.

LimitExceeded = 8

A limit set with Configure(EngineOptions) would be passed: the working directory's quota (WorkingDirectoryQuota). Nothing was done: an open opened nothing, a save replaced nothing.

Parse = 4

The file could not be read as its format.

Unsupported = 5

The operation is not available here: not for this kind of document, or it needs something the machine does not have, such as a printer by the name given.

UnsupportedFormat = 3

The file is not of a format ComOffice reads or writes.