# OfficeWorkflowOperation

Operations supported by the local workflow runner.

Enum 

`OfficeIMO.Workflows`

**Namespace**

`OfficeIMO.Workflows`

**Assembly**

`OfficeIMO.Workflows`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[OfficeWorkflowContracts.cs:7](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/OfficeWorkflowContracts.cs#L7)

**Base**

`Enum`

**Implements**

`IComparable` `ISpanFormattable` `IFormattable` `IConvertible`

**Modifiers**

sealed

Operations supported by the local workflow runner.

## Inheritance

- Enum
- OfficeWorkflowOperation

## Usage

Explore 18 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 18

- Field [OfficeWorkflowOperation.AnalyzeWordImages](/api/workflows/officeimo-workflows-officeworkflowoperation/#field-analyzewordimages)
- Field [OfficeWorkflowOperation.Compare](/api/workflows/officeimo-workflows-officeworkflowoperation/#field-compare)
- Field [OfficeWorkflowOperation.Convert](/api/workflows/officeimo-workflows-officeworkflowoperation/#field-convert)
- Field [OfficeWorkflowOperation.ConvertToPdfA](/api/workflows/officeimo-workflows-officeworkflowoperation/#field-converttopdfa)
- Field [OfficeWorkflowOperation.ExtractPages](/api/workflows/officeimo-workflows-officeworkflowoperation/#field-extractpages)
- Field [OfficeWorkflowOperation.Inspect](/api/workflows/officeimo-workflows-officeworkflowoperation/#field-inspect)
- Field [OfficeWorkflowOperation.Optimize](/api/workflows/officeimo-workflows-officeworkflowoperation/#field-optimize)
- Field [OfficeWorkflowOperation.OptimizeWordImages](/api/workflows/officeimo-workflows-officeworkflowoperation/#field-optimizewordimages)
- Field [OfficeWorkflowOperation.ProtectPdf](/api/workflows/officeimo-workflows-officeworkflowoperation/#field-protectpdf)
- Field [OfficeWorkflowOperation.RemovePdfProtection](/api/workflows/officeimo-workflows-officeworkflowoperation/#field-removepdfprotection)
- Field [OfficeWorkflowOperation.Repair](/api/workflows/officeimo-workflows-officeworkflowoperation/#field-repair)
- Field [OfficeWorkflowOperation.RepairPlan](/api/workflows/officeimo-workflows-officeworkflowoperation/#field-repairplan)
- Field [OfficeWorkflowOperation.Sanitize](/api/workflows/officeimo-workflows-officeworkflowoperation/#field-sanitize)
- Field [OfficeWorkflowOperation.ScanCleanup](/api/workflows/officeimo-workflows-officeworkflowoperation/#field-scancleanup)
- Field [OfficeWorkflowOperation.SignPdf](/api/workflows/officeimo-workflows-officeworkflowoperation/#field-signpdf)
- Property [OfficeWorkflowRequest.Operation](/api/workflows/officeimo-workflows-officeworkflowrequest/#property-operation)
- Property [OfficeWorkflowResult.Operation](/api/workflows/officeimo-workflows-officeworkflowresult/#property-operation)
- Property [PdfHealthReport.Operation](/api/workflows/officeimo-workflows-pdfhealthreport/#property-operation)

Filter members 

Show inherited

## Inherited Methods

`public int CompareTo(object? target)` [#](#method-compareto-object)

Inherited from Enum

Parameters

**target object? required**

Returns

`int`

`public override bool Equals(object? obj)` [#](#method-equals-object)

Inherited from Enum

Parameters

**obj object? required**

Returns

`bool`

`public override int GetHashCode()` [#](#method-gethashcode)

Inherited from Enum

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public TypeCode GetTypeCode()` [#](#method-gettypecode)

Inherited from Enum

Returns

`TypeCode`

`public bool HasFlag(Enum flag)` [#](#method-hasflag-enum)

Inherited from Enum

Parameters

**flag Enum required**

Returns

`bool`

ToString 4 overloads

`public override string ToString()` [#](#method-tostring)

Inherited from Enum

Returns

`string`

`public string ToString(string? format)` [#](#method-tostring-string)

Inherited from Enum

Parameters

**format string? required**

Returns

`string`

`public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString() instead.")`

Parameters

**provider IFormatProvider? required**

Returns

`string`

`public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString(String) instead.")`

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

`string`

## Values

`public const OfficeWorkflowOperation Convert` [#](#field-convert)

[OfficeWorkflowContracts.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/OfficeWorkflowContracts.cs#L9)

Convert one supported document format to another.

Value: `0`

`public const OfficeWorkflowOperation Inspect` [#](#field-inspect)

[OfficeWorkflowContracts.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/OfficeWorkflowContracts.cs#L11)

Inspect a PDF and return a health snapshot.

Value: `1`

`public const OfficeWorkflowOperation Compare` [#](#field-compare)

[OfficeWorkflowContracts.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/OfficeWorkflowContracts.cs#L13)

Compare two PDFs structurally and with the managed OfficeIMO renderer.

Value: `2`

`public const OfficeWorkflowOperation Optimize` [#](#field-optimize)

[OfficeWorkflowContracts.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/OfficeWorkflowContracts.cs#L15)

Apply deterministic lossless PDF optimization.

Value: `3`

`public const OfficeWorkflowOperation RepairPlan` [#](#field-repairplan)

[OfficeWorkflowContracts.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/OfficeWorkflowContracts.cs#L17)

Assess whether recovered PDF defects can be persisted as a verified repair artifact.

Value: `4`

`public const OfficeWorkflowOperation Repair` [#](#field-repair)

[OfficeWorkflowContracts.cs:19](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/OfficeWorkflowContracts.cs#L19)

Create a verified normalized artifact from explicitly recovered PDF defects.

Value: `5`

`public const OfficeWorkflowOperation Sanitize` [#](#field-sanitize)

[OfficeWorkflowContracts.cs:21](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/OfficeWorkflowContracts.cs#L21)

Remove forbidden active content and embedded payloads from a PDF.

Value: `6`

`public const OfficeWorkflowOperation ExtractPages` [#](#field-extractpages)

[OfficeWorkflowContracts.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/OfficeWorkflowContracts.cs#L23)

Extract an ordered selection of PDF pages into a separate PDF.

Value: `7`

`public const OfficeWorkflowOperation ProtectPdf` [#](#field-protectpdf)

[OfficeWorkflowContracts.cs:25](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/OfficeWorkflowContracts.cs#L25)

Create a separate PDF with new or replacement password protection.

Value: `8`

`public const OfficeWorkflowOperation RemovePdfProtection` [#](#field-removepdfprotection)

[OfficeWorkflowContracts.cs:27](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/OfficeWorkflowContracts.cs#L27)

Create a separate unencrypted PDF after owner authorization.

Value: `9`

`public const OfficeWorkflowOperation SignPdf` [#](#field-signpdf)

[OfficeWorkflowContracts.cs:29](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/OfficeWorkflowContracts.cs#L29)

Create a separate PDF with a cryptographically verified certificate signature.

Value: `10`

`public const OfficeWorkflowOperation ScanCleanup` [#](#field-scancleanup)

[OfficeWorkflowContracts.cs:31](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/OfficeWorkflowContracts.cs#L31)

Create an explicitly reviewed raster PDF from prepared scan pages.

Value: `11`

`public const OfficeWorkflowOperation AnalyzeWordImages` [#](#field-analyzewordimages)

[OfficeWorkflowContracts.cs:33](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/OfficeWorkflowContracts.cs#L33)

Analyze Word embedded-image candidates without publishing an artifact.

Value: `12`

`public const OfficeWorkflowOperation OptimizeWordImages` [#](#field-optimizewordimages)

[OfficeWorkflowContracts.cs:35](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/OfficeWorkflowContracts.cs#L35)

Optimize embedded Word media and publish a separate Word or PDF copy.

Value: `13`

`public const OfficeWorkflowOperation ConvertToPdfA` [#](#field-converttopdfa)

[OfficeWorkflowContracts.cs:37](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/OfficeWorkflowContracts.cs#L37)

Create a separate PDF/A copy, or report every reason the source cannot be converted without changing its content.

Value: `14`

<!-- PowerForge markdown artifact sha256:683B1D4853F52E5DE397BF06E4AA74D428E41FEDC95AE5C093B752A4961CFC7E -->
