Comments (11)
Can you provide a simple code which shows this issue and the excel sheet or a stripped version of your xls?
from qtxlsxwriter.
Perhaps load the format class and (or) others?
#include "xlsxdocument.h"
#include "xlsxconditionalformatting.h"
#include "xlsxglobal.h"
#include "xlsxrichstring.h"
#include "xlsxworksheet.h"
#include "xlsxworkbook.h"
#include "xlsxcell.h"
#include "xlsxcellrange.h"
#include "xlsxformat.h"
#include "xlsxdatavalidation.h"
from qtxlsxwriter.
Hi,
Thanks for your reply !
No, even with all others includes, it's still failure.
Please find in attachment source code, xlsx file and reporting of the error.
Thanks in advance,
Lionel
2013/12/19 CCi-BClark [email protected]
Perhaps load the format class and (or) others?
#include "xlsxdocument.h"
#include "xlsxconditionalformatting.h"
#include "xlsxglobal.h"
#include "xlsxrichstring.h"
#include "xlsxworksheet.h"
#include "xlsxworkbook.h"
#include "xlsxcell.h"
#include "xlsxcellrange.h"
#include "xlsxformat.h"
#include "xlsxdatavalidation.h"—
Reply to this email directly or view it on GitHubhttps://github.com//issues/14#issuecomment-30965172
.
from qtxlsxwriter.
I don't believe you can attach files though here. I suggest post you code to a repo or with the ``` braces in your reply.
from qtxlsxwriter.
Hi, thanks for you feedback, you can send your .xlsx file to me directly through email.
from qtxlsxwriter.
I put all files to a dropbox link. Hope that it will work now.
https://www.dropbox.com/s/i8cxqlwtc7hhn5r/QtXlsxWriter.zip
Since else, have you thought about referencing your application(s) under http://inqlude.org/ ?
Just my 2 cents.
from qtxlsxwriter.
You open the sheet "Feuil1" with xlsx.setSheetName("Feuil1") and want to read from it.
But in your XLS there is no sheet with name Feuil1.
The function setSheetName renames the current sheet (Rename current worksheet to new name. Returns true if the name defined successful.)
I think, you want to select a sheet. It is done with setCurrentWorksheet("abc").
Is this correct?
from qtxlsxwriter.
Yes, that's correct (i tested with an another example, sorry for the bad example). I used the bad method to access the worksheet. Since setCurrentWorksheet has no return type, i thought the other one was much correct.
Warning messages at startup have misled me. But now, everything is perfect. Great, thank you !
One great feature would be to calc expression inside cells but it's already a very good library.
By then pass I wish you an happy end of year !
from qtxlsxwriter.
Hi, FYI, I just push a new commit to eliminate the warnings
Feel free to add a link to http://inqlude.org/, Thanks
from qtxlsxwriter.
Thanks ! OK for inqlude, i will do that new year !
from qtxlsxwriter.
Hi, FYI, I have marked both setSheetName() and setCurrentWorksheet() DEPRECATED in the dev branch. At the same time, new api renameWorksheet() and selectWorksheet() can be used in such cases instead.
from qtxlsxwriter.
Related Issues (20)
- How to write data in batches HOT 1
- 如何设置纸张方向的横向和纵向? HOT 1
- how to use CellRange with import and export together
- Save to pdf
- examples Chart::CT_Line
- How to setup Qtxlsxwriter
- Very good
- Building QtXlsxWriter with Qt using android kit HOT 1
- How to delete row or column
- Ask for a new release (0.3.1) with the LICENSE file HOT 4
- Unable to determine byte order HOT 2
- mingw32-make error HOT 1
- Save with protection On and password
- How put the color in chart with Xlsx
- Build in mingw32
- 这个库有一些bug
- why Workbook::copySheet always returns false ?
- 使用库后,VS报已在****.exe 中执行断点指令(__debugbreak()语句或类似调用)。
- 如何冻结sheet的前几行?
- Error when delete sheet
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qtxlsxwriter.