corinthia-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis E. Hamilton (JIRA)" <>
Subject [jira] [Commented] (COR-11) Make interface between docformat and webkit (prepare for e.g. Qt).
Date Mon, 19 Jan 2015 16:02:38 GMT


Dennis E. Hamilton commented on COR-11:

I am wondering if HTML is the API.  Or is HTML an expression of a document View Model.

The first question that comes to mine is whether or not a complete HTML is produced from a
given persistent document-file format (OOXML, ODF, TeX, ePub, etc.).

One could do that, and presumably it could be viewed and navigated, searched, etc., using
a browser as-is.

But then there's pagination, navigation over links, zooming, and some sort of framing in a
rich-editor.  And as rich-editing happens, there is reflow and so on.  I 

There is interaction with the view model (i.e., underlying HTML in some form) to accomplish
all of this.

I speculate that this manipulatable and interactive presentation might be hosted in a browser
or some browser-similar UI, and while HTML is involved, it is a bit more like a data stream
to a GUI?  (This is an awkward analogy, for sure.)

I think the key question is whether or not the HTML is produced wholesale and then manipulated.
 Next I wonder, how whatever model is constructed for that, delivery into a view model can
be broken down to one that is not so uncoupled from the underlying "native" document file
and whatever model is erected above that.

> Make interface between docformat and webkit (prepare for e.g. Qt).
> ------------------------------------------------------------------
>                 Key: COR-11
>                 URL:
>             Project: Corinthia
>          Issue Type: New Feature
>          Components: DocFormats - API
>         Environment: source
>            Reporter: jan iversen
>            Priority: Blocker
>             Fix For: 0.5
> We need a API to the library

This message was sent by Atlassian JIRA

View raw message