GithubHelp home page GithubHelp logo

wilson6 / npoi-template Goto Github PK

View Code? Open in Web Editor NEW
30.0 2.0 15.0 1.6 MB

C# 根据NPOI模版去生成复杂的EXCEL表格,标签化。可视化。只要传入字典信息等信息就可以得到自己想要的表格。免去调整NPOI格式的烦恼。NPOI 通过excel模板写入数据并导出。使用的是xlsx模版,因为npoi 导入xls模版 颜色失真 xls模版背景色有失真的问题。C# is tagged based on the NPOI template to generate complex EXCEL forms. Visualization. As long as it is introduced into the dictionary information and other information, you can get the form you want. Avoid the trouble of adjusting the NPOI format. NPOI writes data and exports through the excel template. The xlsx template is used because the npoi import of the XLS template color distortion XLS template has the distortion of the background color. 核心代码参考Com文件夹里面的NPOItemplate.cs文件,代码可以直接运行的,其他的自己可以修改

License: Apache License 2.0

C# 100.00%

npoi-template's Introduction

NPOI-Template

NPOI from Template C# 根据NPOI模版去生成复杂的EXCEL表格,标签化。可视化。只要传入字典信息等信息就可以得到自己想要的表格。免去调整NPOI格式的烦恼。NPOI 通过excel模板写入数据并导出。使用的是xlsx模版,因为npoi 导入xls模版 颜色失真 xls模版背景色有失真的问题。

C# is tagged based on the NPOI template to generate complex EXCEL forms. Visualization. As long as it is introduced into the dictionary information and other information, you can get the form you want. Avoid the trouble of adjusting the NPOI format. NPOI writes data and exports through the excel template. The xlsx template is used because the npoi import of the XLS template color distortion XLS template has the distortion of the background color.

说明截图

img/1.png - 可以看到#key#标签会转换成Dictionary相应值,[tmp]是固定的模版行标签,#{是嵌套子标签字段对应 子表的列名,其他功能请自己修改。 - img/2.png

You can see the #key# tag will be converted into the corresponding Dictionary value. [tmp] is a fixed template for the label, #{is named nested label field corresponding to the sub table, please modify other functions

核心代码参考Com文件夹的NPOItemplate.cs文件,代码可以直接运行的,其他的自己可以修改

交流邮箱:laohuoye#qq.com

npoi-template's People

Contributors

wilson6 avatar

Stargazers

 avatar  avatar  avatar send2vinnie avatar liufajian avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar lonewolf avatar xieqi avatar landv avatar Hunter avatar  avatar TFun avatar linger avatar LambertWu avatar  avatar  avatar  avatar  avatar Tang Xiao Lin avatar  avatar

Watchers

send2vinnie avatar  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.