GithubHelp home page GithubHelp logo

Comments (4)

tealeg avatar tealeg commented on May 22, 2024

Thanks bronze1man. I'll look into it ASAP.

from xlsx.

brentechols-wf avatar brentechols-wf commented on May 22, 2024

Just some conjecture, but it may have to do with the handling of empty strings?

We just updated to the most recent version of master, and the cell count is lower than it was before in one of our test sheets. Additionally, some of our sheets now encounter this error as well. Hopefully this helps!

from xlsx.

KingJT avatar KingJT commented on May 22, 2024

Easy to reproduce (in windows and mac excel):

New Workbook, set A1 to the string abcdef and set A2 to the string abcdef. Then edit the cell A2, select the letters "def" and hit control-b to bold it.

Here is a sample:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="2" uniqueCount="2">
  <si>
    <t>abcdef</t>
  </si>
  <si>
    <r>
      <t>abc</t>
    </r>
    <r>
      <rPr>
        <b/>
        <sz val="12"/>
        <color theme="1"/>
        <rFont val="Calibri"/>
        <family val="2"/>
        <scheme val="minor"/>
      </rPr>
      <t>def</t>
    </r>
  </si>
</sst>

It must be thrown off by the fact that two strings have the same plaintext but different formatted text

from xlsx.

tealeg avatar tealeg commented on May 22, 2024

Thanks to both of you for you input. It's much appreciated and very helpful.

I'm aware of the round tripping issue - it's part of why I call the write functionality experimental ;-)

from xlsx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.