Giter Site home page Giter Site logo

exceltohtml's Introduction

ExcelToHtml

Converter that converts Microsoft Excel Workbooks into HTML webpages.

ExcelToHtml Logo

Project Modularization

ExcelToHtmlConverter

The UI for the Application (WPF) Model-View-ViewModel Concept

ExcelToHtmlConverter.Api

API that defines the interface for the business logic

ExcelToHtmlConverter.Core

The actual business logic of the converter. Contains the parser to parse Excel-Workbooks into an intermediate model. Renders the intermediate model with the a Razor-Template to a HTML file.

Build

msbuild -t:Clean,Build

Screenshots

The UI of ExcelToHtml Converter

An example result

Template

You can create your own customized Template for rendering your Excel-Workbook to HTML. The Template has to be a Razor-Engine Template file. The Model that you can use for rendering is defined as followed:

Workbook: Model

Workbook
- string: Name
- List<Worksheet>:  Worksheets

Worksheet
- string: Name
- List<Row>: Rows
- string: Id (autogenerated and unique)
- int: WidthPixel

Row
- List<Cell>: Cells

Cell
- string: Value
- string: BackgroundColor (starting with #)
- string: TextColor (starting with #)
- string: WidthClass (CSS class predefined according to twitter bootstrap)
- int: WidthPixel

exceltohtml's People

Contributors

peterittner avatar

Stargazers

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