-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Open
Description
This is:
- [] a bug report
- [x] a feature request
- [] **not** a usage question (ask them on https://stackoverflow.com/questions/tagged/phpspreadsheet or https://gitter.im/PHPOffice/PhpSpreadsheet)
In the Calculation Engine section in the documentation you start with an inserting row example. The column 'E' contains obvious formula with reverences like 'E5': '=C5*D5'. With insertNewRowBefore you insert an empty row and copy the styles which is ok but you stop at the most important point filling the new empty cells with information. Means copy the 'E6' to 'E7' and update the references. I know there is a ReferenzHelper but I do not find an example how to integrate it in the code. It would useful for people who must work with excel templates.
What is the expected behavior?
What is the current behavior?
What are the steps to reproduce?
Please provide a Minimal, Complete, and Verifiable example of code that exhibits the issue without relying on an external Excel file or a web server:
<?php
require __DIR__ . '/vendor/autoload.php';
// Create new Spreadsheet object
$spreadsheet = new \PhpOffice\PhpSpreadsheet\Spreadsheet();
// add code that show the issue here...
Which versions of PhpSpreadsheet and PHP are affected?
Metadata
Metadata
Assignees
Labels
No labels