Key-Frame based Authoring and Generation of Highly Resizable Document Layout
OwnerSteven Shu Hsiang Tanginventor
Life of this patent
Estimating the term…
Abstract
The present invention is a software method for the authoring and generation of highly resizable document layouts that automatically adapt to a wide range of window and screen sizes spanning the desktop to smartphones by interpolating and adaptively skipping the display of document layouts mapped to multiple reference windows called key-frames such that the generated document layouts and styles in a runtime document window are adjusted to be as close to the author's intent as possible. The adaptive display-skipping technique can also be extended to support adaptive pagination of document layouts.
Claims20
A method for generating a resizable layout of a document element loaded in a runtime document window comprising:
- a) loading mappings consisting of recorded layouts between said document element and at least four different reference window sizes that are pre-grouped into at least two reference window groups with each said reference window group containing at least two said reference window sizes
- b) numerically computing how different each said reference window size is compared to said runtime document window size, and sorting all said reference window sizes based on said numeric differences to determine the closest-matching reference window size;
- c) identifying the reference window group corresponding to the closest-matching reference window size and selecting a second closest-matching reference window size belonging to the same reference window group from said sorted reference window sizes;
- d) generating the effective layout for said document element by interpolating said mapped layouts corresponding to said closest-matching and said second closest-matching reference window sizes to said runtime document window size;
A method for constructing a resizable layout of a document element loaded in a runtime document window comprising:
- a) an editor with a simulated window that lets a user set the size of said simulated window to any one of at least four reference window sizes where said reference window sizes are grouped into at least two reference window groups with each reference window group containing at least two of said reference window sizes;
- b) said editor that lets said user create and edit said document element's layout inside said simulated window at said user-set reference window sizes;
- c) said editor that records the edited element layouts of said edited element as mapped to said user-set reference window sizes respectively;
- d) said editor that lets said user publish said edited element with said recorded layouts mapped to said user-set reference window sizes respectively to persistent storage;
- e) said runtime document window that reconstitutes said reference window sizes and said reference window groups;
- f) said runtime document window that loads said published document element and said recorded layouts mapped to said user-set reference window sizes respectively;
- g) said runtime document window that generates an effective layout for said loaded document element by interpolating said loaded layouts mapped to the closest-matching reference window sizes relative to said runtime document window size, wherein said closest-matching reference windows sizes belong to the same reference window group;
A method for generating an adaptive layout of a document element loaded in a runtime document window comprising:
- a) loading mappings consisting of display-skipping hints between said document element and at least two reference window sizes;
- b) numerically computing how different each said reference window size is compared to said runtime document window size, and sorting all said reference window sizes based on said numeric differences to determine the closest-matching reference window size;
- c) using the display-skipping hint associated with the loaded mapping corresponding to said closest-matching reference window size to determine whether said document element will join or skip its display in said runtime document window;
Dependencies are inferred from the claim text.