GithubHelp home page GithubHelp logo

wagnerhsu / sample-npoi-examples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nissl-lab/npoi-examples

0.0 0.0 0.0 3.65 MB

To get started with NPOI, here is all the official examples.

License: GNU General Public License v3.0

C# 99.78% PowerShell 0.02% ASP.NET 0.20%

sample-npoi-examples's Introduction

NPOI Examples

This repository is splitted from NPOI master repository in order to manage the examples easily.

About Donation

Since Github sponsorship is not supported in China so far, it's hard to get donation from Github channel. I'm strictly limiting my contribution time on NPOI these 2 years although it looks to be still maintained well. If you profits/benefits from NPOI and you believe it's useful, please donate this project. Thank you!

Telegram User Group

Join us on telegram: https://t.me/npoidevs

To Get Started with NPOI (on Windows 10)

  1. Open PowerShell and run the following command:
git clone https://github.com/nissl-lab/npoi-examples
  1. Open npoi-examples/ss/CalendarDemo/CalendarDemo.csproj with Visual Studio 2019 community version and click 'Run program' button
  2. You will see a new generated file called Calendar.xls under npoi-examples/ss/CalendarDemo/bin/Debug folder
  3. Open the Calendar.xls with Microsoft Excel or Kingsoft WPS
  4. Go back to Powershell window and run the following command
cd npoi-examples/ss/CalendarDemo/bin/Debug
./CalendarDemo -xlsx 
  1. You will see a new generated file called Calendar.xlsx under npoi-examples/ss/CalendarDemo/bin/Debug folder
  2. Open the Calendar.xlsx with Microsoft Excel or Kingsoft WPS

Conclusion: The result of Calendar.xls and Calendar.xlsx looks same in Microsoft Excel or Kingsoft WPS but they are totally different file formats generated by NPOI.

Folders Explained

Folder Name Description
POIFS OLE2/ActiveX document examples
HSSF examples for Microsoft Excel BIFF(Excel 97-2003, xls)
SS Excel Common examples for both Excel 2003(xls) and Excel 2007+(xlsx)
XSSF Excel 2007(xlsx) examples
XWPF Word 2007(docx) examples
OOXML OpenXml format low-level examples
ScratchPad/HWPF Word 2003(doc) examples

Analytics

sample-npoi-examples's People

Contributors

akuvo-docs avatar alfonsoml avatar thebf avatar tonyqus avatar zt-freak avatar

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.