Skip to content

Worksheet/Table/Column[Span] in XML reader #3569

@SlowFox71

Description

@SlowFox71

This is:

- [X] 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)

What is the expected behavior?

Apply to the appropriate number of columns if the attribute ss:Span is given.

ss:Span simply instructs excel to repeat the definition the given number of times. will thus in total affect 4 columns. The attached example uses this to set colum widhts for A to D (this example is not hand-crafted but was created exactly like this by Excel).
test.txt

What is the current behavior?

ss:Span is ignored and applied to a single column

What features do you think are causing the issue

  • Reader
  • Writer
  • Styles
  • Data Validations
  • Formula Calculations
  • Charts
  • AutoFilter
  • Form Elements

Does an issue affect all spreadsheet file formats? If not, which formats are affected?

XML format only

Which versions of PhpSpreadsheet and PHP are affected?

all versions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions