DocumentFormulaKind Class

public final class DocumentFormulaKind
extends ExpandableStringEnum<DocumentFormulaKind>

Formula kind.

Field Summary

Modifier and Type Field and Description
static final DocumentFormulaKind DISPLAY

A formula in display mode that takes up an entire line.

static final DocumentFormulaKind INLINE

A formula embedded within the content of a paragraph.

Constructor Summary

Constructor Description
DocumentFormulaKind()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DocumentFormulaKind value.

Method Summary

Modifier and Type Method and Description
static DocumentFormulaKind fromString(String name)

Creates or finds a DocumentFormulaKind from its string representation.

static Collection<DocumentFormulaKind> values()

Gets known DocumentFormulaKind values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DISPLAY

public static final DocumentFormulaKind DISPLAY

A formula in display mode that takes up an entire line.

INLINE

public static final DocumentFormulaKind INLINE

A formula embedded within the content of a paragraph.

Constructor Details

DocumentFormulaKind

@Deprecated
public DocumentFormulaKind()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DocumentFormulaKind value.

Method Details

fromString

public static DocumentFormulaKind fromString(String name)

Creates or finds a DocumentFormulaKind from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding DocumentFormulaKind.

values

public static Collection values()

Gets known DocumentFormulaKind values.

Returns:

known DocumentFormulaKind values.

Applies to