# OdfStyleFamily

Style families shared by OpenDocument text, spreadsheet, and presentation documents.

Enum 

`OfficeIMO.OpenDocument`

**Namespace**

`OfficeIMO.OpenDocument`

**Assembly**

`OfficeIMO.OpenDocument`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[OdfStyleFamily.cs:4](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Styles/OdfStyleFamily.cs#L4)

**Base**

`Enum`

**Implements**

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

**Modifiers**

sealed

Style families shared by OpenDocument text, spreadsheet, and presentation documents.

## Inheritance

- Enum
- OdfStyleFamily

## Usage

Explore 14 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 11

- Property [OdfStyle.Family](/api/open-document/officeimo-opendocument-odfstyle/#property-family)
- Field [OdfStyleFamily.Chart](/api/open-document/officeimo-opendocument-odfstylefamily/#field-chart)
- Field [OdfStyleFamily.DrawingPage](/api/open-document/officeimo-opendocument-odfstylefamily/#field-drawingpage)
- Field [OdfStyleFamily.Graphic](/api/open-document/officeimo-opendocument-odfstylefamily/#field-graphic)
- Field [OdfStyleFamily.Paragraph](/api/open-document/officeimo-opendocument-odfstylefamily/#field-paragraph)
- Field [OdfStyleFamily.Presentation](/api/open-document/officeimo-opendocument-odfstylefamily/#field-presentation)
- Field [OdfStyleFamily.Table](/api/open-document/officeimo-opendocument-odfstylefamily/#field-table)
- Field [OdfStyleFamily.TableCell](/api/open-document/officeimo-opendocument-odfstylefamily/#field-tablecell)
- Field [OdfStyleFamily.TableColumn](/api/open-document/officeimo-opendocument-odfstylefamily/#field-tablecolumn)
- Field [OdfStyleFamily.TableRow](/api/open-document/officeimo-opendocument-odfstylefamily/#field-tablerow)
- Field [OdfStyleFamily.Text](/api/open-document/officeimo-opendocument-odfstylefamily/#field-text)

### Accepted by parameters 3

- Method [OdfStyleRepository.CreateAutomatic](/api/open-document/officeimo-opendocument-odfstylerepository/#method-createautomatic-officeimo-opendocument-odfstylefamily-string-string) parameter `family`
- Method [OdfStyleRepository.CreateNamed](/api/open-document/officeimo-opendocument-odfstylerepository/#method-createnamed-string-officeimo-opendocument-odfstylefamily-string) parameter `family`
- Method [OdfStyleRepository.Find](/api/open-document/officeimo-opendocument-odfstylerepository/#method-find-officeimo-opendocument-odfstylefamily-string) parameter `family`

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 OdfStyleFamily Text` [#](#field-text)

[OdfStyleFamily.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Styles/OdfStyleFamily.cs#L6)

Inline text formatting.

Value: `0`

`public const OdfStyleFamily Paragraph` [#](#field-paragraph)

[OdfStyleFamily.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Styles/OdfStyleFamily.cs#L8)

Paragraph formatting.

Value: `1`

`public const OdfStyleFamily Table` [#](#field-table)

[OdfStyleFamily.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Styles/OdfStyleFamily.cs#L10)

Table formatting.

Value: `2`

`public const OdfStyleFamily TableRow` [#](#field-tablerow)

[OdfStyleFamily.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Styles/OdfStyleFamily.cs#L12)

Table row formatting.

Value: `3`

`public const OdfStyleFamily TableColumn` [#](#field-tablecolumn)

[OdfStyleFamily.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Styles/OdfStyleFamily.cs#L14)

Table column formatting.

Value: `4`

`public const OdfStyleFamily TableCell` [#](#field-tablecell)

[OdfStyleFamily.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Styles/OdfStyleFamily.cs#L16)

Table cell formatting.

Value: `5`

`public const OdfStyleFamily Graphic` [#](#field-graphic)

[OdfStyleFamily.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Styles/OdfStyleFamily.cs#L18)

Drawing and presentation graphic formatting.

Value: `6`

`public const OdfStyleFamily Presentation` [#](#field-presentation)

[OdfStyleFamily.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Styles/OdfStyleFamily.cs#L20)

Presentation page formatting.

Value: `7`

`public const OdfStyleFamily DrawingPage` [#](#field-drawingpage)

[OdfStyleFamily.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Styles/OdfStyleFamily.cs#L22)

Drawing page background and transition formatting.

Value: `8`

`public const OdfStyleFamily Chart` [#](#field-chart)

[OdfStyleFamily.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Styles/OdfStyleFamily.cs#L24)

Chart formatting.

Value: `9`

<!-- PowerForge markdown artifact sha256:89056225AED68D6F01A0E103BD269F00E777061E7B13018EEB4F277817CD1970 -->
