1.1.0.0

Rating:        Based on 1 rating
Reviewed:  1 review
Downloads: 193
Released: Nov 13, 2012
Updated: Jun 10, 2014 by ArthurTep
Dev status: Beta Help Icon

Recommended Download

Source Code Source
source code, 167K, uploaded Nov 13, 2012 - 120 downloads

Other Available Downloads

Example Demo
example, 92K, uploaded Nov 13, 2012 - 73 downloads

Release Notes

Details: http://theartofdev.com/2012/11/13/html-renderer-1-1-0-0/

Features
  • Full text selection (with double tap full word selection).
  • Copy selected plain text.
  • Copy selected rich html text.
  • Drag and drop selected text.
  • Added bridge object functionality to call code from html by 'method' and 'property' keys.
  • More extensive HtmlRender static capabilities (added Measure html).
  • Generate html from DOM with or without style.
  • Scroll using keyboard.
  • Add LinkClicked event with handled capability.
  • Supports transparent background.
  • Compile to compact framework.
Broke
  • Preformatted text (pre, code tags and pre style), will fix soon.
  • Calling code from html to static property or method using fully qualified name, replaced with providing 'Bridge' object that it's properties and method can be called.
Fixes
  • Correct collapsing vertical margins.
  • Correct Line break handling (br tag).
  • Correct text whitespace handling.
  • Support single quoted attributes.
  • 20% performance improvement.
  • MaximumSize calculation in MeasureBounds.
  • Scrollbars on html panel on resize.
  • Inline images using data in img tag src attribute.
  • Font size localization parsing
  • Exception when clicking an anchor that has an URL with an equal sign
  • Scroll to top when setting new html in HtmlPanel
  • Style cascade for fixed blocks
Refactoring
  • Renamed assembly and namespace to "HtmlRenderer".
  • Renamed HtmlRenderer class to HtmlRender (namespace conflict)
  • Changed the way code is called from html renderer to use bridge object.
  • Exposed parsed stylesheet data with CssData and CssBlock classes.
  • Removed CssBox inheritance from InitialContainer and renamed it to RootContainer.
  • CssBox and all it's subclasses are internal.
  • Extracted stylesheet parsing code into CssParser class.
  • Extracted html parsing code into HtmlParser class.
  • Created CssBoxProperties class that CssBox inherits from to separate all css properties code.
  • Misc. code refactoring into utility classes (CssUtils, DomUtils, CssDrawingUtils)
Demo application
  • Added side by side view with WinForms WebBrowser control.
  • Added open in external browser.
  • Added run performance test.
  • Added "Test Samples" to available html for testing.
  • Improved syntax coloring in editor (attributes).

Reviews for this release

     
Good to see this great project being actively developed again!
by JP1980 on Nov 21, 2012 at 4:26 PM