<?php

namespace App\Exports;

use Maatwebsite\Excel\Concerns\WithHeadings;
use Maatwebsite\Excel\Concerns\ShouldAutoSize;
use Maatwebsite\Excel\Concerns\WithStyles;
use PhpOffice\PhpSpreadsheet\Worksheet\Worksheet;

class ExportTestItemRangeFormat implements WithHeadings, ShouldAutoSize, WithStyles
{
    /**
    * @return \Illuminate\Support\Collection
    */
    
	public function headings(): array
	{
	    return [
	        'Gender (Male, Female & Transgender)',
	        'Min Age',
	        'Max Age',
	        'Age Factor (Hours, Days & Years)',
	        'Min Value',
	        'Max Value',
	        'Report Output',
	        'Special Case (Common, Pregnant Woman, Cancer Patient & Baby)',
	        'Status (Active/Inactive)',
	    ];
	}

	public function styles(Worksheet $sheet)
	{
	    return [
	        1  => ['font' => ['bold' => true]],
	    ];
	}
}