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

Added support for mergeCells, cell height, shrink to fit #738

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Commits on May 4, 2020

  1. Added support for mergeCells, cell height, shrink to fit

    Added support for
        mergeCells:
            // mergeCells (B2:G2), you may use CellHelper::getColumnLettersFromColumnIndex() to convert from "B2" to "[1,2]"
    	    $writer->mergeCells([1,2], [6, 2]);
    
        cell height:
            $row->setHeight(30);
    
        shouldShrinkToFit:
            $style->setShouldShrinkToFit();
    
    These changes are implemented for XLSX as that's what I need and test spout on.
    quamis committed May 4, 2020
    Configuration menu
    Copy the full SHA
    488bc37 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e290f45 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2020

  1. Configuration menu
    Copy the full SHA
    f702127 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2020

  1. box#729 - fix shrink to fit + add test

    shrinkToFit was not handled in StyleMerger so it was overwritten by the default cell style
    StyleManager didn't add the property to the xml if shrinkToFit was used without alignment or text wrap.
    Unit test
    ignaczistvan committed Aug 14, 2020
    Configuration menu
    Copy the full SHA
    817e4f1 View commit details
    Browse the repository at this point in the history
  2. box#529 - tests for column width, row height and cell merge + minor r…

    …efact
    
    Tests
    Added 'addOption' to OptionsManagerInterface
    Moved 'setColumnWidths' and 'mergeCells' methods to Xlsx Writer implementation since the actual feature only works for Xlsx at the moment
    ignaczistvan committed Aug 14, 2020
    Configuration menu
    Copy the full SHA
    41a9ae8 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2020

  1. Merge pull request #1 from ignaczistvan/master

    Test + minor fixes/refacts
    quamis committed Aug 17, 2020
    Configuration menu
    Copy the full SHA
    ba1d660 View commit details
    Browse the repository at this point in the history