# OfficeTextIntegrityCleaner

Removes only exact findings explicitly selected by a caller.

Class 

`OfficeIMO.Provenance`

**Namespace**

`OfficeIMO.Provenance`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[OfficeTextIntegrity.cs:419](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Provenance/OfficeTextIntegrity.cs#L419)

**Modifiers**

static

Removes only exact findings explicitly selected by a caller.

## Inheritance

- object
- OfficeTextIntegrityCleaner

Filter members 

Show inherited

## Methods

`public static string RemoveSelected(string text, IEnumerable<OfficeTextIntegrityFinding> findings)` [#](#method-removeselected-string-collections-generic-ienumerable-officeimo-provenance-officetextintegrityfinding)

[OfficeTextIntegrity.cs:419](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Provenance/OfficeTextIntegrity.cs#L419)

Removes the selected source ranges after verifying that every finding still identifies the same code point. The method has no blanket-cleaning default.

Parameters

**text string required**

**findings System.Collections.Generic.IEnumerable<OfficeIMO.Provenance.OfficeTextIntegrityFinding> required**

Returns

`string`

## Inherited Methods

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

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

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

Inherited from object

Returns

`int`

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

Inherited from object

Returns

`Type`

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

Inherited from object

Returns

`string?`

<!-- PowerForge markdown artifact sha256:DC899587311D3105E6B225B7CA8ED92376F0EB19065E97A249C8981968846EA7 -->
