Monday, 12 August 2013

Create HTML with hightlights and bookmarks

Create HTML with hightlights and bookmarks

Have a WPF application and one popular feature is view simple
FlowDocuments with a FlowDocumentViewer.
It hightlights Runs and the user has a button to BringIntoView to navigate
through the highlights.
Would like to release an ASP.NET version of this application.
There is no FlowDocumentView in ASP.NET.
My only thought is to create an HTML document and use bookmarks to
navigate through the highlights.
Is that the best approach?
Is there a class to help build HTML?
Is there a better approach for a simple ASP.NET presentation of text with
highlights and navigate through the highlights.
XPS would be nice but we went FlowDocument for Run.BringIntoView.
If that feature is in XPS and we missed it - let me know.
Generate PDF is not an option. We just don't like PDF.
These are not static.
The text comes from a database and the list of words to highlight varies
with each call.

No comments:

Post a Comment