Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 18.188.188.152
<?php
$main_src = substr($_SERVER['SCRIPT_FILENAME'], 0, strlen($_SERVER['SCRIPT_FILENAME']) - 7);
error_reporting(E_ALL);
ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);
date_default_timezone_set('GMT+5:30');
ini_set('max_execution_time', 300);
ini_set('memory_limit', '2G');
// PHPExcel_Shared_Font::setAutoSizeMethod(PHPExcel_Shared_Font::AUTOSIZE_METHOD_EXACT);
if (PHP_SAPI == 'cli')
die('This example should only be run from a Web Browser');
/** Include PHPExcel */
$pdf_writer_class = $main_src . '/PHPExcel/Classes/PHPExcel.php';
require_once($pdf_writer_class);
function getheaders($objPHPExcel, $fileName)
{
//To Fit To Page while printing
ini_set('max_execution_time', '300');
$objPHPExcel->getActiveSheet()->getPageSetup()->setRowsToRepeatAtTopByStartAndEnd(1);
$objPHPExcel->getActiveSheet()->getPageSetup()->setFitToWidth(1);
$objPHPExcel->getActiveSheet()->getPageSetup()->setFitToHeight(0);
$objPHPExcel->getActiveSheet()->getPageSetup()->setHorizontalCentered(true);
$objPHPExcel->getActiveSheet()->getPageSetup()->setVerticalCentered(false);
// Redirect output to a client’s web browser (Excel5)
header('Content-Type: application/vnd.ms-excel');
header('Content-Disposition: attachment;filename="' . $fileName . '.xls"');
header('Cache-Control: max-age=0');
// If you're serving to IE 9, then the following may be needed
header('Cache-Control: max-age=1');
// If you're serving to IE over SSL, then the following may be needed
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); // Date in the past
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT'); // always modified
header('Cache-Control: cache, must-revalidate'); // HTTP/1.1
header('Pragma: public'); // HTTP/1.0
ob_clean();
$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel5');
$objWriter->save('php://output');
}
function genbonf_EXCEL($aobj_context)
{
$univcode = $aobj_context->mobj_data["univcode"];
$collcode = $aobj_context->mobj_data["college"];
$degfrm = $aobj_context->mobj_data["deg_frm"];
$degto = $aobj_context->mobj_data["deg_to"];
$regfrm = $aobj_context->mobj_data["reg_frm"];
$regto = $aobj_context->mobj_data["reg_to"];
ini_set('MAX_EXECUTION_TIME', '300');
$query = "SELECT st.fdob AS DOB_As_In_Tenth,IFNULL(st.faadharname,st.fname) AS Name_As_In_Aadhaar, 'NA' AS Hash_of_Student_Aadhaar,
'NA' AS Vault_Reference_Number,'2223 ' AS Academic_Year_code, scl.funivname AS University_Name,
c.funivsspcode AS University_SSP_Code,st.fregno AS University_Registration_Number,
st.fname AS Student_Name,st.FFATNAME AS Student_Father_Name,
st.fmotname AS Student_Mother_Name,'NA' AS Student_Guardian_Name,
IF(st.fgender = 'M','1',IF(st.fgender = 'F','2','')) AS Gender,
scl.fcollname AS College_Name,cl.FSSPCOLLCODE AS College_SSP_Code,
cl.FCOLLTYPE AS College_Type, cl.FSSPCOLLTYPE AS College_Type_SSP_Code,
stl.fdistrictname AS College_District_Name,cl.FSSPDISTCODE AS District_SSP_Code,
stl.ftalukname AS College_Taluk_Name, cl.FSSPTALUKCODE AS Taluk_SSP_Code,
st.FSTUDYMODESSP AS Study_Mode,sdg.fdegreename AS Course_Name,sdg.fdegree_ssp AS Course_Code,
scc.fcombname AS Discipline_Name, scc.fcombcode AS Discipline_Code,
st.fcuryear AS Course_Year,st.fseattype AS Seat_Type_Name, st.FSEATTYPESSP AS Seat_Type_SSP_Code,
st.fayear AS Admission_Year, 'N' AS Is_Lateral_Entry,IFNULL(st.fsspstudid,'NA') AS SSP_Student_ID,
IFNULL(st.fpdegpassyear,'') AS Previous_Course_Passed_Year,
IFNULL(st.fpunivcode,'') AS Previous_Year_SSP_University_Code, IFNULL(st.fpunivname,'') AS Previous_Year_SSP_University_Name,
IFNULL(st.fpcollcode,'') AS Previous_Year_SSP_College_Code, IFNULL(st.fpcollname,'') AS Previous_Year_SSP_College_Name,
IFNULL(st.fpdegcode,'') AS Previous_Year_SSP_Course_Code,IFNULL(st.fpdegname,'') AS Previous_Year_SSP_Course_Name,
IFNULL(st.fpdecplcode,'') AS Previous_Year_SSP_Discipline_Code,IFNULL(st.fpdecplname,'') AS Previous_Year_SSP_Discipline_Name,
IFNULL(st.fpdegyear,'') AS Previous_Year_Course_Year,IFNULL(st.fpseatcode,'') AS Previous_Year_SSP_Seat_Type_Code,
IFNULL(st.fpseatname,'') AS Previous_Year_SSP_Seat_Type_Name,IFNULL(st.fpmarks,'') AS Previous_Year_Max_Marks,
IFNULL(st.fpinedmarks,'') AS Previous_Year_Obtained_Marks,IFNULL(st.fpentageobtained,'') AS Previous_Year_Percentage_Obtained,
IFNULL(st.fpass,'') AS PASS_or_FAIL,IFNULL(st.fpromoted,'') AS Promoted,IFNULL(st.temunivregno,'') AS Temp_University_Registration_Number,
IFNULL(st.ugpg,'') AS UG_PG
FROM student st
INNER JOIN degree dg ON st.fdegree = dg.fdegree AND dg.fexamno = 'A'
INNER JOIN college cl ON st.fcollcode = cl.fcollcode
INNER JOIN control c ON 1=1
LEFT JOIN logisys3_comexam.ssp_course_master sdeg ON dg.fsspdegcode = sdeg.fdegree_ssp
LEFT JOIN logisys3_comexam.ssp_college scl ON cl.FSSPCOLLCODE = scl.fcollsspcode
AND c.funivsspcode = scl.funvsspcode
LEFT JOIN logisys3_comexam.ssp_taluk stl ON cl.fsspdistcode = stl.fdistrictssp
AND cl.fssptalukcode = stl.ftalukssp
LEFT JOIN logisys3_comexam.ssp_course_master sdg ON dg.fsspdegcode = sdg.fdegree_ssp
LEFT JOIN logisys3_comexam.ssp_course_comb scc ON dg.fsspdegcode = scc.fdegree_ssp
AND dg.fsspcombcode = scc.fcombcode
WHERE ifnull(st.fcuryear,'') <> '' and
st.fcollcode = '{$collcode}'
AND st.fdegree BETWEEN '{$degfrm}' AND '{$degto}'
AND st.fregno BETWEEN '{$regfrm}' AND '{$regto}'
ORDER BY st.fregno,st.fname";
$result = $aobj_context->pobj_db->GetAll($query);
// var_dump($result);
// die();
$objPHPExcel = new PHPExcel();
$fileName = 'BONAFIDE DATA(EXCEL)';
$objPHPExcel->getProperties()->setCreator("Uniclare")
->setLastModifiedBy("Me")->setTitle("My Excel Sheet")
->setSubject("My Excel Sheet")->setDescription("Excel Sheet")
->setKeywords("Excel Sheet")->setCategory("Me");
// Set active sheet index to the first sheet, so Excel opens this as the first sheet
$objPHPExcel->setActiveSheetIndex(0);
// Add column headers and make them bold
$styleArray = array(
'borders' => array(
'allborders' => array(
'style' => PHPExcel_Style_Border::BORDER_THIN,
'color' => array('argb' => '000000'),
),
),
);
$count = "";
$alpha = ['A', 'B', 'C', 'D', 'E', 'F', 'G'];
$j=4;
$objPHPExcel->getActiveSheet()->getStyle('1:1')->getFont()->setBold(true);
$objPHPExcel->getActiveSheet()->getStyle('1:1')->getFont()->setSize(12);
$objPHPExcel->getActiveSheet()->getColumnDimension('A1')->setwidth(30);
$objPHPExcel->getActiveSheet()->getColumnDimension('D1')->setwidth(15);
$objPHPExcel->getActiveSheet()->freezePane('A1');
$objPHPExcel->getActiveSheet()->setCellValue('A1', 'SSP_Student_ID')
->setCellValue('B1', 'Hash_of_Student_Aadhaar')
->setCellValue('C1', 'Vault_Reference_Number')
->setCellValue('D1', 'Name_As_In_Aadhaar')
->setCellValue('E1', 'DOB_As_In_Tenth')
->setCellValue('F1', 'Academic_Year_code')
->setCellValue('G1', 'University_Registration_Number')
->setCellValue('H1', 'Student_Name')
->setCellValue('I1', 'Student_Father_Name')
->setCellValue('J1', 'Student_Mother_Name')
->setCellValue('K1', 'Student_Guardian_Name')
->setCellValue('L1', 'Gender')
->setCellValue('M1', 'University_SSP_Code')
->setCellValue('N1', 'University_Name')
->setCellValue('O1', 'College_Name')
->setCellValue('P1', 'College_SSP_Code')
->setCellValue('Q1', 'College_Type')
->setCellValue('R1', 'College_Type_SSP_Code')
->setCellValue('S1', 'College_District_Name')
->setCellValue('T1', 'District_SSP_Code')
->setCellValue('U1', 'College_Taluk_Name')
->setCellValue('V1', 'Taluk_SSP_Code')
->setCellValue('W1', 'Study_Mode')
->setCellValue('X1', 'Course_Name')
->setCellValue('Y1', 'Course_Code')
->setCellValue('Z1', 'Discipline_Name')
->setCellValue('AA1', 'Discipline_Code')
->setCellValue('AB1', 'Course_Year')
->setCellValue('AC1', 'Seat_Type_Name')
->setCellValue('AD1', 'Seat_Type_SSP_Code')
->setCellValue('AE1', 'Admission_Year')
->setCellValue('AF1', 'Is_Lateral_Entry')
->setCellValue('AG1', 'Previous_Course_Passed_Year')
->setCellValue('AH1', 'Previous_Year_SSP_University_Code')
->setCellValue('AI1', 'Previous_Year_SSP_University_Name')
->setCellValue('AJ1', 'Previous_Year_SSP_College_Code')
->setCellValue('AK1', 'Previous_Year_SSP_College_Name')
->setCellValue('AL1', 'Previous_Year_SSP_Course_Code')
->setCellValue('AM1', 'Previous_Year_SSP_Course_Name')
->setCellValue('AN1', 'Previous_Year_SSP_Discipline_Code')
->setCellValue('AO1', 'Previous_Year_SSP_Discipline_Name')
->setCellValue('AP1', 'Previous_Year_Course_Year')
->setCellValue('AQ1', 'Previous_Year_SSP_Seat_Type_Code')
->setCellValue('AR1', 'Previous_Year_SSP_Seat_Type_Name')
->setCellValue('AS1', 'Previous_Year_Max_Marks')
->setCellValue('AT1', 'Previous_Year_Obtained_Marks')
->setCellValue('AU1', 'Previous_Year_Percentage_Obtained')
->setCellValue('AV1', 'PASS_or_FAIL')
->setCellValue('AW1', 'Promoted')
->setCellValue('AX1', 'Temp_University_Registration_Number')
->setCellValue('AY1', 'UG_PG');
$objPHPExcel->getActiveSheet()->getStyle('A1:AY1')->applyFromArray($styleArray);
$objPHPExcel->getActiveSheet()->getColumnDimension('1')->setAutoSize(true);
$objPHPExcel->getActiveSheet()->getRowDimension('1')->setRowHeight(40);
//$objPHPExcel->getActiveSheet()->getStyle('A1:AI1')->getAlignment()->setWrapText(true);
$objPHPExcel->getActiveSheet()->getStyle('A1:AY1')->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
$objPHPExcel->getActiveSheet()->getStyle('A1:AY1')->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
$count=rtrim($count,", ");
foreach ($result as $key => $value) {
$slNo = $key + 2;
$j=4;
$objPHPExcel->getActiveSheet()->setCellValue('A' . $slNo, $slNo - 1)->getColumnDimension('A')->setwidth(8);
$objPHPExcel->getActiveSheet()->setCellValue('A' . $slNo, $value['SSP_Student_ID'])->getColumnDimension('A')->setwidth(30);
$objPHPExcel->getActiveSheet()->setCellValue('B' . $slNo, $value['Hash_of_Student_Aadhaar'])->getColumnDimension('B')->setwidth(10);
$objPHPExcel->getActiveSheet()->setCellValue('C' . $slNo, $value['Vault_Reference_Number'])->getColumnDimension('C')->setwidth(10);
$objPHPExcel->getActiveSheet()->setCellValue('D' . $slNo, $value['Name_As_In_Aadhaar'])->getColumnDimension('D')->setwidth(50);
$objPHPExcel->getActiveSheet()->setCellValue('E' . $slNo, $value['DOB_As_In_Tenth'])->getColumnDimension('E')->setwidth(10);
$objPHPExcel->getActiveSheet()->setCellValue('F' . $slNo, $value['Academic_Year_code'])->getColumnDimension('F')->setwidth(25);
$objPHPExcel->getActiveSheet()->setCellValue('G' . $slNo, $value['University_Registration_Number'])->getColumnDimension('G')->setwidth(8);
$objPHPExcel->getActiveSheet()->setCellValue('H' . $slNo, $value['Student_Name'])->getColumnDimension('H')->setwidth(60);
$objPHPExcel->getActiveSheet()->setCellValue('I' . $slNo, $value['Student_Father_Name'])->getColumnDimension('I')->setwidth(10);
$objPHPExcel->getActiveSheet()->setCellValue('J' . $slNo, $value['Student_Mother_Name'])->getColumnDimension('J')->setwidth(30);
$objPHPExcel->getActiveSheet()->setCellValue('K' . $slNo, $value['Student_Guardian_Name'])->getColumnDimension('K')->setwidth(10);
$objPHPExcel->getActiveSheet()->setCellValue('L' . $slNo, $value['Gender'])->getColumnDimension('L')->setwidth(10);
$objPHPExcel->getActiveSheet()->setCellValue('M' . $slNo, $value['University_SSP_Code'])->getColumnDimension('M')->setwidth(25);
$objPHPExcel->getActiveSheet()->setCellValue('N' . $slNo, $value['University_Name'])->getColumnDimension('N')->setwidth(8);
$objPHPExcel->getActiveSheet()->setCellValue('O' . $slNo, $value['College_Name'])->getColumnDimension('O')->setwidth(60);
$objPHPExcel->getActiveSheet()->setCellValue('P' . $slNo, $value['College_SSP_Code'])->getColumnDimension('P')->setwidth(10);
$objPHPExcel->getActiveSheet()->setCellValue('Q' . $slNo, $value['College_Type'])->getColumnDimension('Q')->setwidth(30);
$objPHPExcel->getActiveSheet()->setCellValue('R' . $slNo, $value['College_Type_SSP_Code'])->getColumnDimension('R')->setwidth(10);
$objPHPExcel->getActiveSheet()->setCellValue('S' . $slNo, $value['College_District_Name'])->getColumnDimension('S')->setwidth(10);
$objPHPExcel->getActiveSheet()->setCellValue('T' . $slNo, $value['District_SSP_Code'])->getColumnDimension('T')->setwidth(25);
$objPHPExcel->getActiveSheet()->setCellValue('U' . $slNo, $value['College_Taluk_Name'])->getColumnDimension('U')->setwidth(8);
$objPHPExcel->getActiveSheet()->setCellValue('V' . $slNo, $value['Taluk_SSP_Code'])->getColumnDimension('V')->setwidth(60);
$objPHPExcel->getActiveSheet()->setCellValue('W' . $slNo, $value['Study_Mode'])->getColumnDimension('W')->setwidth(10);
$objPHPExcel->getActiveSheet()->setCellValue('X' . $slNo, $value['Course_Name'])->getColumnDimension('X')->setwidth(30);
$objPHPExcel->getActiveSheet()->setCellValue('Y' . $slNo, $value['Course_Code'])->getColumnDimension('Y')->setwidth(10);
$objPHPExcel->getActiveSheet()->setCellValue('Z' . $slNo, $value['Discipline_Name'])->getColumnDimension('Z')->setwidth(10);
$objPHPExcel->getActiveSheet()->setCellValue('AA' . $slNo, $value['Discipline_Code'])->getColumnDimension('AA')->setwidth(25);
$objPHPExcel->getActiveSheet()->setCellValue('AB' . $slNo, $value['Course_Year'])->getColumnDimension('AB')->setwidth(8);
$objPHPExcel->getActiveSheet()->setCellValue('AC' . $slNo, $value['Seat_Type_Name'])->getColumnDimension('AC')->setwidth(60);
$objPHPExcel->getActiveSheet()->setCellValue('AD' . $slNo, $value['Seat_Type_SSP_Code'])->getColumnDimension('AD')->setwidth(10);
$objPHPExcel->getActiveSheet()->setCellValue('AE' . $slNo, $value['Admission_Year'])->getColumnDimension('AE')->setwidth(30);
$objPHPExcel->getActiveSheet()->setCellValue('AF' . $slNo, $value['Is_Lateral_Entry'])->getColumnDimension('AF')->setwidth(10);
$objPHPExcel->getActiveSheet()->setCellValue('AG' . $slNo, $value['Previous_Course_Passed_Year'])->getColumnDimension('AG')->setwidth(10);
$objPHPExcel->getActiveSheet()->setCellValue('AH' . $slNo, $value['Previous_Year_SSP_University_Code'])->getColumnDimension('AH')->setwidth(25);
$objPHPExcel->getActiveSheet()->setCellValue('AI' . $slNo, $value['Previous_Year_SSP_University_Name'])->getColumnDimension('AI')->setwidth(8);
$objPHPExcel->getActiveSheet()->setCellValue('AJ' . $slNo, $value['Previous_Year_SSP_College_Code'])->getColumnDimension('AJ')->setwidth(60);
$objPHPExcel->getActiveSheet()->setCellValue('AK' . $slNo, $value['Previous_Year_SSP_College_Name'])->getColumnDimension('AK')->setwidth(10);
$objPHPExcel->getActiveSheet()->setCellValue('AL' . $slNo, $value['Previous_Year_SSP_Course_Code'])->getColumnDimension('AL')->setwidth(30);
$objPHPExcel->getActiveSheet()->setCellValue('AM' . $slNo, $value['Previous_Year_SSP_Course_Name'])->getColumnDimension('AM')->setwidth(10);
$objPHPExcel->getActiveSheet()->setCellValue('AN' . $slNo, $value['Previous_Year_SSP_Discipline_Code'])->getColumnDimension('AN')->setwidth(10);
$objPHPExcel->getActiveSheet()->setCellValue('AO' . $slNo, $value['Previous_Year_SSP_Discipline_Name'])->getColumnDimension('AO')->setwidth(25);
$objPHPExcel->getActiveSheet()->setCellValue('AP' . $slNo, $value['Previous_Year_Course_Year'])->getColumnDimension('AP')->setwidth(8);
$objPHPExcel->getActiveSheet()->setCellValue('AQ' . $slNo, $value['Previous_Year_SSP_Seat_Type_Code'])->getColumnDimension('AQ')->setwidth(60);
$objPHPExcel->getActiveSheet()->setCellValue('AR' . $slNo, $value['Previous_Year_SSP_Seat_Type_Name'])->getColumnDimension('AR')->setwidth(10);
$objPHPExcel->getActiveSheet()->setCellValue('AS' . $slNo, $value['Previous_Year_Max_Marks'])->getColumnDimension('AS')->setwidth(30);
$objPHPExcel->getActiveSheet()->setCellValue('AT' . $slNo, $value['Previous_Year_Obtained_Marks'])->getColumnDimension('AT')->setwidth(10);
$objPHPExcel->getActiveSheet()->setCellValue('AU' . $slNo, $value['Previous_Year_Percentage_Obtained'])->getColumnDimension('AU')->setwidth(10);
$objPHPExcel->getActiveSheet()->setCellValue('AV' . $slNo, $value['PASS_or_FAIL'])->getColumnDimension('AV')->setwidth(25);
$objPHPExcel->getActiveSheet()->setCellValue('AW' . $slNo, $value['Promoted'])->getColumnDimension('AW')->setwidth(25);
$objPHPExcel->getActiveSheet()->setCellValue('AX' . $slNo, $value['Temp_University_Registration_Number'])->getColumnDimension('AX')->setwidth(25);
$objPHPExcel->getActiveSheet()->setCellValue('AY' . $slNo, $value['UG_PG'])->getColumnDimension('AY')->setwidth(25);
// $objPHPExcel->getActiveSheet()->getStyle('A' . $slNo . ':AW'. $slNo)->applyFromArray($styleArray);
// $objPHPExcel->getActiveSheet()->getStyle('A' . $slNo . ':A' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('A' . $slNo . ':A' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('B' . $slNo . ':B' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('B' . $slNo . ':B' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('C' . $slNo . ':C' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('C' . $slNo . ':C' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('D' . $slNo . ':D' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('D' . $slNo . ':D' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('E' . $slNo . ':E' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('E' . $slNo . ':E' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('F' . $slNo . ':F' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('F' . $slNo . ':F' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('G' . $slNo . ':G' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('G' . $slNo . ':G' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('H' . $slNo . ':H' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('H' . $slNo . ':H' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('I' . $slNo . ':I' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('I' . $slNo . ':I' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('J' . $slNo . ':J' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('J' . $slNo . ':J' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('K' . $slNo . ':K' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('K' . $slNo . ':K' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('L' . $slNo . ':L' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('L' . $slNo . ':L' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('M' . $slNo . ':M' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('M' . $slNo . ':M' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('N' . $slNo . ':N' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('N' . $slNo . ':N' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('O' . $slNo . ':O' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('O' . $slNo . ':O' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('P' . $slNo . ':P' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('P' . $slNo . ':P' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('Q' . $slNo . ':Q' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('Q' . $slNo . ':Q' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('R' . $slNo . ':R' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('R' . $slNo . ':R' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('S' . $slNo . ':S' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('S' . $slNo . ':S' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('T' . $slNo . ':T' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('T' . $slNo . ':T' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('U' . $slNo . ':U' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('U' . $slNo . ':U' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('V' . $slNo . ':V' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('V' . $slNo . ':V' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('W' . $slNo . ':W' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('W' . $slNo . ':W' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('X' . $slNo . ':X' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('X' . $slNo . ':X' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('Y' . $slNo . ':Y' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('Y' . $slNo . ':Y' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('Z' . $slNo . ':Z' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('Z' . $slNo . ':Z' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AA' . $slNo . ':AA' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AA' . $slNo . ':AA' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AB' . $slNo . ':AB' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AB' . $slNo . ':AB' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AC' . $slNo . ':AC' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AC' . $slNo . ':AC' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AD' . $slNo . ':AD' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AD' . $slNo . ':AD' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AE' . $slNo . ':AE' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AE' . $slNo . ':AE' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AF' . $slNo . ':AF' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AF' . $slNo . ':AF' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AG' . $slNo . ':AG' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AG' . $slNo . ':AG' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AH' . $slNo . ':AH' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AH' . $slNo . ':AH' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AI' . $slNo . ':AI' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AI' . $slNo . ':AI' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AJ' . $slNo . ':AJ' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AJ' . $slNo . ':AJ' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AK' . $slNo . ':AK' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AK' . $slNo . ':AK' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AL' . $slNo . ':AL' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AL' . $slNo . ':AL' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AM' . $slNo . ':AM' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AM' . $slNo . ':AM' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AN' . $slNo . ':AN' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AN' . $slNo . ':AN' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AO' . $slNo . ':AO' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AO' . $slNo . ':AO' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AP' . $slNo . ':AP' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AP' . $slNo . ':AP' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AQ' . $slNo . ':AQ' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AQ' . $slNo . ':AQ' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AR' . $slNo . ':AR' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AR' . $slNo . ':AR' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AS' . $slNo . ':AS' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AS' . $slNo . ':AS' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AT' . $slNo . ':AT' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AT' . $slNo . ':AT' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AU' . $slNo . ':AU' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AU' . $slNo . ':AU' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AV' . $slNo . ':AV' . $slNo)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AV' . $slNo . ':AV' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AW' . $slNo . ':AW' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AW' . $slNo . ':AW' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AX' . $slNo . ':AX' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
// $objPHPExcel->getActiveSheet()->getStyle('AX' . $slNo . ':AX' . $slNo)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
}
getheaders($objPHPExcel, $fileName);
}
?>
|