Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating default fill styles - previous values were incorrect #3

Closed
wants to merge 1 commit into from

Conversation

bendalton
Copy link

Previous values resulted in a styles.xml with:

  <fills count="2">
    <fill>
      <patternFill patternType="solid">
        <bgColor/>
      </patternFill>
    </fill>
    <fill>
      <patternFill patternType="solid">
        <bgColor/>
      </patternFill>
    </fill>
  </fills>

instead of the expected:

 <fills count="2">
    <fill>
      <patternFill patternType="none"/>
    </fill>
    <fill>
      <patternFill patternType="gray125"/>
    </fill>
  </fills>

Previous values resulted in a styles.xml with:
```
  <fills count="2">
    <fill>
      <patternFill patternType="solid">
        <bgColor/>
      </patternFill>
    </fill>
    <fill>
      <patternFill patternType="solid">
        <bgColor/>
      </patternFill>
    </fill>
  </fills>
```
instead of the expected:
```
 <fills count="2">
    <fill>
      <patternFill patternType="none"/>
    </fill>
    <fill>
      <patternFill patternType="gray125"/>
    </fill>
  </fills>
```
@bendalton
Copy link
Author

This caused some nasty issues when attempting to render the xlsx file outside of Excel. For example: http://note.io/1BKBfIQ

@pietersv
Copy link
Collaborator

pietersv commented Jun 3, 2015

Thanks!

@pietersv pietersv closed this Jun 3, 2015
@bendalton
Copy link
Author

Did you end up merging this in?

protobi pushed a commit that referenced this pull request Jun 4, 2015
@protobi
Copy link
Collaborator

protobi commented Jun 4, 2015

Done. Turns out there was a really arcane issue with xls files related to
gray125 yelding an out of memory error, so tweaked it a tiny bit further.
This gray125 issue maybe even date back to the first release of Office for
Mac, as that pattern totally reminds me of the early Macintosh days.

[image: Inline image 1]

On Thu, Jun 4, 2015 at 10:35 AM, Ben Dalton notifications@github.com
wrote:

Did you end up merging this in?


Reply to this email directly or view it on GitHub
#3 (comment).

Pieter Sheth-Voss PhD

protobi
e: pieter@protobi.com
m: 617.645.4524

@bendalton
Copy link
Author

Wow. Thanks!
On Thu, Jun 4, 2015 at 12:09 PM Pieter Sheth-Voss notifications@github.com
wrote:

Done. Turns out there was a really arcane issue with xls files related to
gray125 yelding an out of memory error, so tweaked it a tiny bit further.
This gray125 issue maybe even date back to the first release of Office for
Mac, as that pattern totally reminds me of the early Macintosh days.

[image: Inline image 1]

On Thu, Jun 4, 2015 at 10:35 AM, Ben Dalton notifications@github.com
wrote:

Did you end up merging this in?


Reply to this email directly or view it on GitHub
#3 (comment).

Pieter Sheth-Voss PhD

protobi
e: pieter@protobi.com
m: 617.645.4524


Reply to this email directly or view it on GitHub
#3 (comment).

saarCiklum pushed a commit to Folcon/js-xlsx that referenced this pull request Aug 13, 2020
RimaCiklum pushed a commit to RimaCiklum/js-xlsx that referenced this pull request Aug 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants