{"id":22124624,"url":"https://github.com/nblock/qtxlsx","last_synced_at":"2025-03-24T07:45:52.776Z","repository":{"id":20588100,"uuid":"23868789","full_name":"nblock/qtxlsx","owner":"nblock","description":" Debian package for QtXlsx.","archived":false,"fork":false,"pushed_at":"2014-09-22T13:18:02.000Z","size":696,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-29T13:13:19.309Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nblock.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-10T09:33:13.000Z","updated_at":"2024-12-31T14:50:14.000Z","dependencies_parsed_at":"2022-08-31T04:42:13.088Z","dependency_job_id":null,"html_url":"https://github.com/nblock/qtxlsx","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nblock%2Fqtxlsx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nblock%2Fqtxlsx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nblock%2Fqtxlsx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nblock%2Fqtxlsx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nblock","download_url":"https://codeload.github.com/nblock/qtxlsx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245231576,"owners_count":20581684,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-01T15:48:45.794Z","updated_at":"2025-03-24T07:45:52.743Z","avatar_url":"https://github.com/nblock.png","language":"C++","readme":"Documentation: http://qtxlsx.debao.me\n\nQtXlsx is a library that can read and write Excel files. It doesn't require Microsoft Excel and can be used in any platform that Qt5 supported.\nThe library can be used to\n\n* Generate a new .xlsx file from scratch\n* Extract data from an existing .xlsx file\n* Edit an existing .xlsx file\n \n## Getting Started\n\n\u003e * For linux user, if your Qt is installed through package manager tools such \"apt-get\", make sure that you have installed the Qt5 develop package *qtbase5-private-dev*\n\n### Usage(1): Use Xlsx as Qt5's addon module\n\n#### Building the module\n\n\u003e **Note**: Perl is needed in this step.\n\n* Download the source code.\n\n* Put the source code in any directory you like\n\n* Open the qtxlsx.pro file using Qt Creator\n * Build the project.\n * Play with the examples provided by Qt Xlsx if you like.\n\n* Go to the build directory of the project in a terminal and run\n\n```\n   make install\n```\n\nThe library, the header files, and others will be installed to your system.\n\n\u003e **Note**: If you don't want to use Qt Creator, you can run following command\n at the toplevel directory of the project\n\n\u003e ```\n    qmake\n    make\n    make install\n```\n\n#### Using the module\n\n* Add following line to your qmake's project file:\n\n```\n    QT += xlsx\n```\n\n* Then, using Qt Xlsx in your code\n\n```cpp\n    #include \u003cQtXlsx\u003e\n    int main()\n    {\n        QXlsx::Document xlsx;\n        xlsx.write(\"A1\", \"Hello Qt!\");\n        xlsx.saveAs(\"Test.xlsx\");\n        return 0;\n    }\n```\n\n### Usage(2): Use source code directly\n\nThe package contains a **qtxlsx.pri** file that allows you to integrate the component into applications that use qmake for the build step.\n\n* Download the source code.\n\n* Put the source code in any directory you like. For example, 3rdparty:\n\n```\n    |-- project.pro\n    |-- ....\n    |-- 3rdparty\\\n    |     |-- qtxlsx\\\n    |     |\n```\n\n* Add following line to your qmake project file:\n\n```\n    include(3rdparty/qtxlsx/src/xlsx/qtxlsx.pri)\n```\n\n\u003e **Note**: If you like, you can copy all files from *src/xlsx* to your application's source path. Then add following line to your project file:\n\n\u003e ```\n    include(qtxlsx.pri)\n```\n\n\u003e **Note**: If you do not use qmake, you need to define the following macro manually\n\n\u003e ```\n    XLSX_NO_LIB\n```\n\n\n* Then, using Qt Xlsx in your code\n\n```cpp\n    #include \"xlsxdocument.h\"\n    int main()\n    {\n        QXlsx::Document xlsx;\n        xlsx.write(\"A1\", \"Hello Qt!\");\n        xlsx.saveAs(\"Test.xlsx\");\n        return 0;\n    }\n```\n\n## References\n\n### General\n\n* https://github.com/jmcnamara/XlsxWriter\n* http://openpyxl.readthedocs.org\n* http://officeopenxml.com/anatomyofOOXML-xlsx.php\n* http://www.libxl.com\n* http://closedxml.codeplex.com/\n* http://epplus.codeplex.com/\n* http://excelpackage.codeplex.com/\n* http://spreadsheetlight.com/\n* http://www.schemacentral.com/sc/ooxml/\n\n### Number formats\n\n* http://msdn.microsoft.com/en-us/library/ff529356%28v=office.12%29.aspx\n* http://www.ozgrid.com/Excel/excel-custom-number-formats.htm\n* http://stackoverflow.com/questions/894805/excel-number-format-what-is-409\n* http://office.microsoft.com/en-001/excel-help/create-a-custom-number-format-HP010342372.aspx\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnblock%2Fqtxlsx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnblock%2Fqtxlsx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnblock%2Fqtxlsx/lists"}