Skip to content

Converter that converts Excel Workbooks to a single HTML page

Notifications You must be signed in to change notification settings

PeterIttner/ExcelToHtml

Repository files navigation

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

About

Converter that converts Excel Workbooks to a single HTML page

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published