Search Unity

  1. We've closed the job boards. If you're looking for work, or looking to hire check out Unity Connect. You can see more information here.
    Dismiss Notice
  2. We're running great holiday deals on subscriptions, swag and Asset Store packages! Take a peek at this blog for more information!
    Dismiss Notice
  3. Check out our Unite Austin 2017 YouTube playlist to catch up on what you missed. More videos coming soon.
    Dismiss Notice
  4. Unity 2017.2 is now released.
    Dismiss Notice
  5. The Unity Gear Store is here to help you look great at your next meetup, user group or conference. With all new Unity apparel, stickers and more!
    Dismiss Notice
  6. Introducing the Unity Essentials Packs! Find out more.
    Dismiss Notice
  7. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice
  8. Unity 2017.3 beta is now available for download.
    Dismiss Notice

AltSDK: HTML/CSS View – easy create Professional Look Views/Reports with PDF & RTF export

Discussion in 'Assets and Asset Store' started by AltSoftLab, Oct 24, 2015.

  1. AltSoftLab

    AltSoftLab

    Joined:
    Jul 25, 2014
    Posts:
    194
    HTML Renderer & PdfSharp already available on AltSoftLab and in Asset Store, other features coming soon. Look more at AltSDK main forum

    AltSDK specialized forums (all these tools are parts of the one AltSDK Asset):
    In this topic we present the 2 sub assets of AltSDK that allows you to easy create professional Views/Reports and export these content to PDF or RTF files (to memory streams or dirrectly to file system). Also you can operate with PDF files in different ways: create, modify, concat, divide, etc. All these features available both for new Unity UI (uGUI) and NGUI developers. Just use it as any other visual controls. Also these features can be used without any GUI.

    AltSDK Unity UI Integration - HTML Panel
    [​IMG]


    These solutions are:
    • HTML Renderer
    • PDFSharp
    Let's view some dipper on these fine tools that was ported and adapted to AltSDK.

    HTML Renderer

    HTML Renderer is a multipurpose and high performance HTML interactive solution that provides text selection, link clicked events, scrolling, auto layout, PDF export, etc.

    Features and Benefits
    • Extensive HTML 4.01 and CSS level 2 specifications support
    • Support separating CSS from HTML by loading stylesheet code separately
    • Support text selection, copy-paste and context menu
    • AltGUI controls: HtmlPanel, HtmlLabel and HtmlToolTip
    • Create images/PDFs from HTML snippets
    • Handles "real world" malformed HTML, it doesn't have to be XHTML
    • 100% managed code and no external dependencies
    • High performance and low memory footprint
    • Extendable and configurable

    AltGUI controls
    • HtmlPanel - The full power of HTML control build to replace WebBrowser control, accepts HTML, text selection, scrollbars, link click intercept, image load intercept and much more
    • HtmlLabel - As AltGUI label but accepts HTML, text selection, auto-size capabilities, transparent background and more
    • HtmlToolTip - As AltGUI ToolTip control but accepts HTML and ability to handle links

    Possible application's
    • Render HTML content generated by rich web editors like forums, blogs, etc.
    • Render Office documents converted to HTML
    • Create UI that requires text selection with clipboard support
    • Create images from HTML code snippets (Image generation)
    • Create PDF document from HTML code snippets
    You can play with HTML Renderer on AltSoftLab with Web Demo
    Also please look at screenshots at the bottom of this topic or on AltSoftLab Screenshots Gallery

    PDFSharp

    PDFsharp is a widely used.NET library for processing PDF file. You create PDF pages using drawing routines known from AltSketch. Almost anything that can be done with AltSketch will also work with PDFsharp. Only basic text layout is supported by PDFsharp, and page breaks are not created automatically. The same drawing routines can be used for screen or PDF.
    The same drawing routines can be used to create PDF documents or draw on the screen. It includes support for Unicode in PDF files.

    Key Features
    • Creates PDF documents on the fly from any .NET language
    • Easy to understand object model to compose documents
    • Modify, merge, and split existing PDF files
    • Images with transparency (color mask, monochrome mask, alpha mask)
    • Newly designed from scratch and written entirely in C#
    • The graphical classes go well with .NET
    See the PDFsharp Features for further information.

    Use PDFsharp if you want to create PDF files only, but be able to control every pixel and every line that is drawn


    AssetStore links and more AltSDK info at AltGUI SDK main forum thread


    AltSDK Social Links:

    You can look at some screenshots presented below and much more in AltSoftLab Screenshots Gallery

    AltSketch NeoAxis HTML Renderer[​IMG]

    HTML Renderer - Text
    [​IMG]

    HTML Renderer - Using the Code
    [​IMG]

    HTML Renderer - Tables
    [​IMG]

    HTML Renderer - Non Standart Features
    [​IMG]

    AltSketch Unity PDFsharp
    [​IMG]
     
    Last edited: Jan 7, 2017
    mikenison likes this.
  2. AltSoftLab

    AltSoftLab

    Joined:
    Jul 25, 2014
    Posts:
    194
    Post place reserved for the future releases info...
     
  3. AltSoftLab

    AltSoftLab

    Joined:
    Jul 25, 2014
    Posts:
    194
    Post place reserved for the future releases info...
     
  4. MrShneebli

    MrShneebli

    Joined:
    Nov 21, 2016
    Posts:
    1
    Hi, I just bought the plugin. Just testing it out now and when I try to print Hello World as in the example, the whole Unity editor shuts down when I get to the line:
    PdfPage page = document.AddPage();

    Can I get any help here?
     
  5. AltSoftLab

    AltSoftLab

    Joined:
    Jul 25, 2014
    Posts:
    194
    Hi MrShneebli,
    Thank you for your report! Please contact by mail