# OfficeDocumentPageProvenance

Describes how a page-like location was obtained from the source format.

Enum 

`OfficeIMO.Reader`

**Namespace**

`OfficeIMO.Reader`

**Assembly**

`OfficeIMO.Reader.Core`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[OfficeDocumentLocation.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Reader.Core/OfficeDocumentLocation.cs#L8)

**Base**

`Enum`

**Implements**

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

**Modifiers**

sealed

Describes how a page-like location was obtained from the source format.

## Inheritance

- Enum
- OfficeDocumentPageProvenance

## Usage

Explore 10 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 10

- Property [OfficeDocumentPageLocation.Provenance](/api/reader/officeimo-reader-officedocumentpagelocation/#property-provenance)
- Property [OfficeDocumentPageMarkdown.Provenance](/api/reader/officeimo-reader-officedocumentpagemarkdown/#property-provenance)
- Field [OfficeDocumentPageProvenance.Computed](/api/reader/officeimo-reader-officedocumentpageprovenance/#field-computed)
- Field [OfficeDocumentPageProvenance.ExplicitBreak](/api/reader/officeimo-reader-officedocumentpageprovenance/#field-explicitbreak)
- Field [OfficeDocumentPageProvenance.LogicalContainer](/api/reader/officeimo-reader-officedocumentpageprovenance/#field-logicalcontainer)
- Field [OfficeDocumentPageProvenance.Native](/api/reader/officeimo-reader-officedocumentpageprovenance/#field-native)
- Field [OfficeDocumentPageProvenance.Unknown](/api/reader/officeimo-reader-officedocumentpageprovenance/#field-unknown)
- Property [OfficeDocumentPageText.Provenance](/api/reader/officeimo-reader-officedocumentpagetext/#property-provenance)
- Extension method [OfficeDocumentReadResult.GetPageProvenance](/api/reader/officeimo-reader-officedocumentreadresult/#extension-getpageprovenance-officeimo-reader-officedocumentreadresult)
- Method [OfficeDocumentReadResultExtensions.GetPageProvenance](/api/reader/officeimo-reader-officedocumentreadresultextensions/#method-getpageprovenance-officeimo-reader-officedocumentreadresult)

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 OfficeDocumentPageProvenance Unknown` [#](#field-unknown)

[OfficeDocumentLocation.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Reader.Core/OfficeDocumentLocation.cs#L10)

The producer did not identify how the page was obtained.

Value: `0`

`public const OfficeDocumentPageProvenance Native` [#](#field-native)

[OfficeDocumentLocation.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Reader.Core/OfficeDocumentLocation.cs#L13)

The source format stores fixed physical pages.

Value: `1`

`public const OfficeDocumentPageProvenance Computed` [#](#field-computed)

[OfficeDocumentLocation.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Reader.Core/OfficeDocumentLocation.cs#L16)

The page was calculated by an OfficeIMO layout engine.

Value: `2`

`public const OfficeDocumentPageProvenance ExplicitBreak` [#](#field-explicitbreak)

[OfficeDocumentLocation.cs:19](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Reader.Core/OfficeDocumentLocation.cs#L19)

The page was reconstructed from explicit or saved page-break hints.

Value: `3`

`public const OfficeDocumentPageProvenance LogicalContainer` [#](#field-logicalcontainer)

[OfficeDocumentLocation.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Reader.Core/OfficeDocumentLocation.cs#L22)

The source stores a page-like logical container such as a slide or sheet.

Value: `4`

<!-- PowerForge markdown artifact sha256:828FDEA3228D0B42F1366E8284BE4B191767309F03BB3FF85FC63891CE72847C -->
