{"id":35226315,"url":"https://github.com/vatavuk/excel-io","last_synced_at":"2026-04-02T01:35:50.261Z","repository":{"id":144561380,"uuid":"118659201","full_name":"Vatavuk/excel-io","owner":"Vatavuk","description":"Object-oriented java Excel library ","archived":false,"fork":false,"pushed_at":"2018-03-27T16:23:30.000Z","size":225,"stargazers_count":82,"open_issues_count":6,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-02-24T14:23:53.723Z","etag":null,"topics":["apache-poi","excel","excelwriter","java","oop","oop-principles","xlsx"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Vatavuk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-01-23T19:34:16.000Z","updated_at":"2025-07-30T09:45:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"d7c0cfd0-27f9-437c-83a7-111452f1197b","html_url":"https://github.com/Vatavuk/excel-io","commit_stats":null,"previous_names":["vatavuk/vgv-xls"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/Vatavuk/excel-io","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vatavuk%2Fexcel-io","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vatavuk%2Fexcel-io/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vatavuk%2Fexcel-io/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vatavuk%2Fexcel-io/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vatavuk","download_url":"https://codeload.github.com/Vatavuk/excel-io/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vatavuk%2Fexcel-io/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31293965,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T01:05:07.454Z","status":"ssl_error","status_checked_at":"2026-04-02T00:56:46.496Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["apache-poi","excel","excelwriter","java","oop","oop-principles","xlsx"],"created_at":"2025-12-30T01:12:51.336Z","updated_at":"2026-04-02T01:35:50.256Z","avatar_url":"https://github.com/Vatavuk.png","language":"Java","readme":"# Excel-io\n### Java excel library (Apache POI inside)\n\u003cimg src=\"https://png.icons8.com/color/100/000000/ms-excel.png\"\u003e\n\n[![EO principles respected here](http://www.elegantobjects.org/badge.svg)](http://www.elegantobjects.org)\n[![DevOps By Rultor.com](http://www.rultor.com/b/Vatavuk/excel-io)](http://www.rultor.com/p/Vatavuk/excel-io)\n\n[![Build Status](https://travis-ci.org/Vatavuk/excel-io.svg?branch=master)](https://travis-ci.org/Vatavuk/excel-io)\n[![Javadocs](http://javadoc.io/badge/hr.com.vgv/excel-io.svg)](http://javadoc.io/doc/hr.com.vgv/excel-io)\n[![Maven Central](https://img.shields.io/maven-central/v/hr.com.vgv/excel-io.svg)](https://maven-badges.herokuapp.com/maven-central/hr.com.vgv/excel-io)\n[![License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/Vatavuk/excel-io/blob/master/LICENSE.txt)\n\n[![Test Coverage](https://codecov.io/gh/Vatavuk/excel-io/branch/master/graph/badge.svg)](https://codecov.io/gh/Vatavuk/excel-io)\n[![SonarQube](https://img.shields.io/badge/sonar-ok-green.svg)](https://sonarcloud.io/dashboard/index/hr.com.vgv:excel-io)\n\nThis is an object-oriented java library for reading and writing Microsoft Office Excel spreadsheets.\nIt is a wrapper around Apache POI that provides elegant and user friendly interface for creating Excel documents. \n\n**How to use**.\nLatest version [here](https://github.com/Vatavuk/excel-io/releases)\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ehr.com.vgv\u003c/groupId\u003e\n    \u003cartifactId\u003eexcel-io\u003c/artifactId\u003e\n\u003c/dependency\u003e\n```\n\nJava version required: 1.8+.\n\n\n## Create spreadsheet\n```java\nnew XsWorkbook(\n    new XsSheet(\n        new XsRow()\n            .with(new TextCells(\"name\", \"email\", \"salary\", \"bonus\", \"total\"))\n            .with(\n                new XsStyle(\n                    new ForegroundColor(IndexedColors.GREY_25_PERCENT.getIndex()),\n                    new FillPattern(FillPatternType.SOLID_FOREGROUND)\n                )\n            ),\n        new XsRow()\n            .with(new TextCells(\"Steve Hook\", \"steve.hook@gmail.com\"))\n            .with(new NumberCells(160000.0, 35337.6))\n            .with(new FormulaCell(\"SUM(C3:D3)\")\n                .with(\n                    new XsStyle(\n                        new ForegroundColor(IndexedColors.RED.getIndex()),\n                        new FillPattern(FillPatternType.SOLID_FOREGROUND)\n                    )\n                )\n            )\n            .with(new XsProps\u003c\u003e(new Height((short) 500)))\n    )\n).saveTo(\"Test.xlsx\");\n```\nThis is how the result looks like:\n\u003cimg src=\"https://i.imgur.com/3hUJkJ2.png\"/\u003e\n\n## Read and modify spreadsheet\nRead from \"Test.xlsx\" file and modify cell int the second row/first column.\n```java\nnew XsWorkbook(\"Test.xlsx\")\n    .with(new XsSheet.ReadFrom(0)\n        .with(\n            new XsRow(2,\n                new TextCell(1, \"UPDATED\")\n            )\n        )\n    ).saveTo(\"Updated.xlsx\");\n```\n\n## Custom styles\nYou can create custom cells/rows/sheets:\n```java\nnew XsWorkbook(\n    new XsSheet(\n        new MyCustomRow(\"Boris\", \"Miksic\", \"ID:2450\"),\n        new MyCustomRow(\"Mirko\", \"Mirkic\", \"ID:1690\")\n    )\n).saveTo(\"Test.xlsx\");\n\n```\nJust extend appropriate template class and pass custom row/cell object to its constructor:\n```java\nprivate static class MyCustomRow extends RowTemplate {\n\n    public MyCustomRow(final String name, final String surname, final String id) {\n        super(\n            new XsRow()\n                .with(new TextCells(name, surname))\n                .with(new MyGreyCell(new TextCell(id)))\n        );\n    }\n}\n\nprivate static class MyGreyCell extends CellTemplate {\n\n    public MyGreyCell(final ECell cell) {\n        super(cell.with(\n            new XsStyle(\n                new ForegroundColor(IndexedColors.GREY_25_PERCENT.getIndex()),\n                new FillPattern(FillPatternType.SOLID_FOREGROUND)\n            )\n        ));\n    }\n}\n```\n\nThe result:  \n\u003cimg src=\"https://i.imgur.com/9BzW6VR.png\"/\u003e\n\n## Contribution\nYou can contribute by forking the repo and sending a pull request.\nMake sure your branch builds without any warnings/issues:\n\n```\nmvn clean install -Pqulice\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvatavuk%2Fexcel-io","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvatavuk%2Fexcel-io","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvatavuk%2Fexcel-io/lists"}