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
  • #336
Closed
Open
Issue created Oct 12, 2022 by Ade Supriyadi@AdeSupriyadi

How to add cell data starting with space or more space (not trimmed)

I need to add cell value with indent, then I added space before.

example:

$style =  ['font-size' => 9, 'font-style' => 'bold', 'halign' => 'center', 'wrap_text' => false, 'border-style' => 'thin', 'border' => 'left,right,top,bottom'];
$writer->writeSheetRow($sheet, ['           it is cell value'], $style);

but the result always trimmed. it is cell value How to get result without trimmed space before text?

Assignee
Assign to
Time tracking