code: func (obj *Doc) ClearAll(ctx context.Context, lockedAlso bool, stateName string) error {
  	err := obj.rpc(ctx, "ClearAll", nil, lockedAlso, stateName)
  	return err 
  }
docs: // Clear selections in fields for current state. Locked fields are not cleared by default.
  //
  // Parameters:
  //
  // ◾ lockedAlso   -   When true, clears the selection for locked fields.
  //
  // ◾ stateName    -   Alternate state name. When set, applies to alternate state instead of current
  //