OfficeIMO

API Reference

Enum

DocumentCleanupOptions

Namespace OfficeIMO.Word
Assembly OfficeIMO.Word
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed
Attributes
Flags

Specifies document cleanup operations.

Inheritance

  • Enum
  • DocumentCleanupOptions

Values

public const DocumentCleanupOptions None #

No cleanup.

Value: 0
public const DocumentCleanupOptions MergeIdenticalRuns #

Merge consecutive runs that share identical formatting.

Value: 1
public const DocumentCleanupOptions RemoveEmptyRuns #

Remove runs with no text content.

Value: 2
public const DocumentCleanupOptions RemoveRedundantRunProperties #

Remove run properties that have no children.

Value: 4
public const DocumentCleanupOptions RemoveEmptyParagraphs #

Delete paragraphs that end up with no runs.

Value: 8
public const DocumentCleanupOptions All #

Perform all cleanup operations.

Value: 15