Skrol29 / opentbs

With OpenTBS you can merge OpenOffice - LibreOffice and Ms Office documents with PHP using the TinyButStrong template engine. Simple use OpenOffice - LibreOffice or Ms Office to edit your templates : DOCX, XLSX, PPTX, ODT, OSD, ODP and other formats. That is the Natural Template philosophy.
http://www.tinybutstrong.com/opentbs.php
70 stars 17 forks source link

Support for merged cells and hyperlinks in Excel template #32

Open dungsaga opened 1 year ago

dungsaga commented 1 year ago

Hyperlinks in Excel template are recorded in element. This PR adds support for keeping updated correctly when rows/cells are added as a result of the calls to MergeBlock.

Merged cells in Excel template are records in element. This PR adds similar support for element.

This kind of support only works for merged cells and hyperlinks that are not in the same row as the row that has block=tbs:row (and similarly, not in the same column as the column that hasblock=tbs:cell).

A new ope was introduced to support this case, that's ope=mergecells.

Example:

Parameters rows and cols can be omitted. The default value is the value of the current field. This feature allows the dimensions of the merged cell to be determined dynamically.

Example:

diantonio85 commented 10 months ago

Hi, will this ever get merged?

dungsaga commented 1 day ago

I think they forgot about this PR

Message ID: @.***>

diantonio85 commented 21 hours ago

Maybe send a ping to @Skrol29. This is a really needed feature!