Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

Support Excel cell Comments #863

Closed
kambasana opened this issue Jan 28, 2022 · 2 comments
Closed

Support Excel cell Comments #863

kambasana opened this issue Jan 28, 2022 · 2 comments

Comments

@kambasana
Copy link

Support importing cell excel comments when importing.

@kambasana
Copy link
Author

PHPExcel has this functionality, can this be implemented?

include '/PHPExcel_Library/Classes/PHPExcel.php';

$inputFileType = 'Excel5';
$inputFileName = 'CS2template_all_products_v12.xls';

$objPHPExcelReader = PHPExcel_IOFactory::createReader($inputFileType);
$objPHPExcel = $objPHPExcelReader->load($inputFileName);

$sheet = $objPHPExcel->getActiveSheet();

$comments = $sheet->getComments();
foreach($comments  as $cellID => $comment) {
    echo $cellID,PHP_EOL;
    var_dump($comment->getText()->getPlainText());
}

@adrilo
Copy link
Collaborator

adrilo commented Jan 28, 2022

Spout does not support comments as of today. There's no plan to add support

@adrilo adrilo closed this as completed Jan 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants