## com.crystaldecisions.sdk.occa.report.data
Interface IFormulaField

All Superinterfaces:
  IField

All Known Implementing Classes:
  FormulaField

public interface IFormulaField
extends IField

This interface defines a formula field in the report.

Method Summary
`int` | `getOptions()` For internal use only.
`FormulaSyntax` | `getSyntax()` Returns the syntax used to write the formula.
`java.lang.String` | `getText()` Returns the formula string.
`void` | `setOptions(int options)` For internal use only.
`void` | `setSyntax(FormulaSyntax syntax)` Sets the syntax used to write the formula.
`void` | `setText(java.lang.String text)` Sets the formula string.

Methods inherited from interface com.crystaldecisions.sdk.occa.report.data.IField
`getDescription, getDisplayName, getFormulaForm, getHeadingText, getIsRecurring, getKind, getLength, getLongName, getName, getShortName, getType, setDescription, setHeadingText, setLength, setName, setType`

Method Detail

### getText

    public java.lang.String getText()

  Returns the formula string.

  Returns:
    The formula as a `String`.

### setText

    public void setText(java.lang.String text)

  Sets the formula string.

  Parameters:
    `text` - The formula as a `String`.

### getSyntax

    public FormulaSyntax getSyntax()

  Returns the syntax used to write the formula.

  Returns:
    The `FormulaSyntax` object.

### setSyntax

    public void setSyntax(FormulaSyntax syntax)

  Sets the syntax used to write the formula.

  Parameters:
    `syntax` - The `FormulaSyntax` object.

### getOptions

    public int getOptions()

  For internal use only.

### setOptions

    public void setOptions(int options)

  For internal use only.