GithubHelp home page GithubHelp logo

Comments (6)

flaviu22 avatar flaviu22 commented on June 11, 2024

It would simpler if you compile the current code instead of take it from vcpkg. You can do it simpler by:

  1. clone the latest code: git clone --recurse-submodules https://github.com/tfussell/xlnt.git
  2. Open CMake and compile it:

image

Generate solution file and compile it with your compiler.

If you need, I can send you the project, compiled, just give you email address.

from xlnt.

flaviu22 avatar flaviu22 commented on June 11, 2024

If you have issues at the first step, call:

git config --global http.sslVerify false
git clone --recurse-submodules https://github.com/tfussell/xlnt.git
git config --global http.sslVerify true

from xlnt.

Wrl233 avatar Wrl233 commented on June 11, 2024

Thanks a lot. I compile the current code instead of take it from vcpkg and it run successfully. But i don't know why it run successfully and i guess the XLNT version code in VCPKG is older than the current code. You can try this.

  1. Generate a xlsx file with using RANDBETWEEN function ,like RANDBETWEEN(1350,1650).
  2. Use load function of XLNT to read this xlsx file.
  3. Compare VCPKG and Compiled by self in using XLNT.
    My question can be reproduced through the above methods.If you want my source code ,tell me your email address.

from xlnt.

flaviu22 avatar flaviu22 commented on June 11, 2024

Sure, here is my email: [email protected]

from xlnt.

flaviu22 avatar flaviu22 commented on June 11, 2024

Thanks a lot. I compile the current code instead of take it from vcpkg and it run successfully. But i don't know why it run successfully and i guess the XLNT version code in VCPKG is older than the current code. You can try this.

  1. Generate a xlsx file with using RANDBETWEEN function ,like RANDBETWEEN(1350,1650).
  2. Use load function of XLNT to read this xlsx file.
  3. Compare VCPKG and Compiled by self in using XLNT.
    My question can be reproduced through the above methods.If you want my source code ,tell me your email address.

Hi, did you solve the problem? Have you sent your email?

Anyway, I have tried what you said, something like this:

		auto ws = wb.active_sheet();
		ws.cell("A1").value(5);
		ws.cell("C4").value("RANDBETWEEN(1350, 1650)");
		wb.save("c:/transfer/example.xlsx");

And worked fine ... I might miss something, can you detail your issue?

from xlnt.

flaviu22 avatar flaviu22 commented on June 11, 2024

Also, I can send my compiled library, if you want ...

from xlnt.

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.