Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • P PHP_XLSXWriter
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 101
    • Issues 101
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 24
    • Merge requests 24
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • mk-j
  • PHP_XLSXWriter
  • Issues
  • #255
Closed
Open
Issue created Dec 22, 2019 by Administrator@rootContributor

Adding border style to PHP_XLSX causes Excel load to fail

Created by: pdubinsky

If I add a style like this:

$styles1 = array( array(),['border'=>'left,top,bottom'],['border'=>'top,bottom'],['border'=>'top,bottom,right']); $writer->writeSheetRow('Iota-5', $row, $styles1);

MS Excel refuses to load the xlsx file while LibreOffice opens the xlsx file correctly. If I remove the $style1 from the code like this:

$writer->writeSheetRow('Iota-5', $row);

Both MS Excel and LibrOffice load correctly. The rows are 3 cells wide.

Assignee
Assign to
Time tracking