METHODS AND SYSTEMS FOR RENDERING ELECTRONIC DATA
Methods and a system are provided to receive electronic data in their native format and to deliver automatically revised electronic data in a new format and new layout. The received data are decomposed into their constituent parts including text and floating objects, geometric rectangles are generated to house the objects where like object rectangles are linked together creating a path for object insertion onto the rendered page. Moreover, a method of electronically providing for a footnote body on an electronic page is provided wherein page objects are received having reference and body objects. A body area is generated at the bottom of a page to house the body objects while a reference area is generated above the body area to house the reference objects. The areas are represented as geometric rectangles, and the body area is expanded to accommodate an additional body object while the reference are is correspondingly decreased maintaining the overall area associated with the page.
Latest Patents:
This application claims priority from U.S. Provisional 60/203,809 filed May 19, 2000, the disclosure of which is incorporated herein by reference.
FIELD OF THE INVENTIONThe present invention relates to methods and systems for rendering electronic data and delivering the data in a variety of layouts and formats.
BACKGROUND OF THE INVENTIONThe standardization of communication protocols and data formats have permitted the World-Wide Web (WWW) and the Internet to revolutionize the manner in which electronic communications occur. Web browsers (equipped with the appropriate external viewer plugins) such as Internet Explorer, Netscape, and the like facilitate the viewing of various data formats on display screens. Further, external viewers such as Adobe Acrobat and the like, may facilitate viewing data formats on display screens independent of web browsers. Moreover, there are a variety of data formats not directed to viewing data directly on a display screen but, rather, directed to formatting electronic data prior to delivering the data to another device (e.g. printer, and the like). Additionally, a variety of translation or software languages permit data formats to be converted from one data format to another, or permit data formats to be enhanced in some way by altering the presentation of the data when displayed. Some of these translation languages and data formats include by way of example only, Hypertext Markup Language (HTML), PostScript (PS), Portable Document Format (PDF), Standard Generalized Markup Language (SGML), Printer Control Language (PCL), Extended Markup Language (XML), Extended Stylesheets Language (XSL), Wireless Markup Language (WML), and the like.
Furthermore, a wide variety of data formats permits defining non-text data types, these data type definitions allow viewing graphics, images, video, audio (listening), and the like. Recently, many viewers (made operable with traditional browser via plugins) have been developed to permit the displaying of data formats on any communications device, such as wireless phones, hand-held computing devices, car computing devices, appliances, stand alone printers, digital video, digital cameras, and the like.
Recent industry consortiums have attempted to further revolutionize the area of data delivery and presentation by creating an industry data format from XML which divorces data content descriptions from data presentation layouts. In other words, XML is an open industry standard for defining and separating the data content from the data presentation. Such a standard permits more efficient electronic communications and transactions, by permitting users to transmit data back and forth even while each user potentially views the data in entirely different data formats, with customized data presentation layouts distinct for each user.
For example, a local user having a data viewer that does not support a PDF data format but, rather, a MICROSOFT WORD data format receives a data transmission in XML data format from a remote user. The remote user's data are stored in an XML data format and used by the remote user in a PDF data viewer, by using a translator which presents the XML data to the remote user in a PDF data format compatible with the PDF data viewer. When the remote user sends these data to the local user, the XML data format is sent and not the PDF data format. The local user receives the XML data format and translates it to MICROSOFT WORD compatible with the local user's data viewer. In this way, disparate viewing data formats become transparent to the users, who use his/her own viewing data formats.
Moreover, these data formats have translators/parsers which permit data to be delivered in a variety of presentation (layout) formats on display devices. For example, Extended Stylesheets Language Transformations (XSLT) permits easy manipulation of XML documents to create a wide variety of customizable layout styles and data presentations.
Yet, manipulating data formats and customizing document layouts for display devices, printing devices, and other devices are problematic because often a document needs to populate a specific output layout and, therefore, providing this layout for a wide variety of disparate data types such as text, graphics, images, footnotes, audio, video and the like, generates a significant amount of data presentation errors. The result is that although a data format was translated from one format to a format useable by a requesting user, the resulting display of that translated data is of almost of no value to the requesting user because the translator used to provide the layout could not adequately address how disparate data types co-exist on the rendered electronic media. These complex layouts are often somewhat better handled by batch programming utilities which can store and better calculate how a document layout is to appear when being translated from one format to another format. Yet, even these batch programming utilities still largely perform canned operations which result in the layout or presentation of the translated data being largely corrupted from the original data format.
SUMMARY OF THE INVENTIONAccordingly, an object of the invention is to provide methods and a system for rendering data in a user defined output format regardless of the complex data layouts required. Moreover, the data rendering may be performed in stream as opposed to in batch mode resulting in improved performance and efficiency. This permits users to truly realize the benefits of seamlessly translate between multiple data formats without a loss in presentation or performance during the translations.
Additional objectives, advantages and novel features of the invention will be set forth in the description that follows and, in part, will become apparent to those skilled in the art upon examining or practicing the invention. The objects and advantages of the invention may be realized and obtained by means of the instrumentalities and combinations particularly pointed out in the appended claims. To achieve the foregoing and other objects and in accordance with the purpose of the present invention, methods and a system are provided for rendering electronic data.
A method of electronically rendering data on a computer readable medium is provided, comprising receiving one or more data objects including text objects and floating objects generating floating areas to house the floating objects. The floating areas are outputted at predetermined locations and textual areas are generated to house the text objects, these textual areas comprising an outputted area where the floating areas have been removed, the text objects are then output adjacent to the floating areas.
Moreover, a system for electronically rendering data on a computer readable medium is provided, comprising one or more text objects, one or more floating objects, and a set of executable instructions operable to create and output data by dividing from input data a set of textual areas and a set of floating areas and operable to populate the textual areas with the text objects and the floating areas with the floating objects.
Further, a method of electronically providing a footnote body on a page in a computer readable medium is provided, comprising identifying one or more page objects including reference objects and body objects, generating a body area located at the bottom of a page to house the body objects and generating a reference area located above the body area to house the reference objects. Next, geometric rectangles are formed to house the reference and body areas such that the body area is expanded to accommodate an additional body object while the reference area is decreased and an overall area associated with the page remains constant.
Still other aspects of the present invention will become apparent to those skilled in the art from the following description of a preferred embodiment, which is by way of illustration, one of the best modes contemplated for carrying out the invention. As will be realized, the invention is capable of other different and obvious aspects, all without departing from the invention. Accordingly, the drawings and descriptions are illustrative in nature and not restrictive.
BRIEF DESCRIPTION OF THE DRAWINGSThe accompanying drawings, incorporated in and forming part of the specification, illustrate several aspects of the present invention and, together with their descriptions, serve to explain the principles of the invention. In the drawings:
The present invention provides methods and a system which the rendering of electronic data. One embodiment of the present invention is implemented using web browser technologies including well-known software programming languages (e.g., C, C++, Java, Active X, Active Server Pages, XSLT, Xpath) and Internet communication protocols (TCP/IP). Of course other programming languages and communications protocols (now known or hereafter developed) may be also readily employed.
Electronic data may be logically represented as one or more electronic pages for purposes of presenting these data in specific layouts. In this sense, the page defines a logical area in these electronic data. Moreover, since a page is a logical area associated with these electronic data, the area is adjustable such that the entire electronic data could be viewed as a single electronic page, or conversely the entire electronic data could be viewed as multiple electronic pages. As one skilled in the art will readily appreciate, electronic data may be conceptually viewed in a variety of ways such as documents, pages, lines, paragraphs, and other ways. Correspondingly, as used herein the term “page” and “electronic data” are used interchangeably and intended to include the broadest possible meaning.
Accordingly, data which are to be rendered have an output layout which defines their presentations after having been rendered. These data are decomposed into their constituent types, where floating objects (non-text data types such as graphics, images, video, footnote bodies, and the like) and text objects ( text data types such as tables, character text, and the like) are separated.
Initially, the rendered data represent a single rectangle occupying all the text objects contained within the original electronic data (non rendered format). Next, areas within the rendered data, where the floating objects are to reside are defined by geometric rectangles which enclose the floating objects, these areas are linked together to form a linked list, the traversal of the list is defined as the floating object path. These rectangular areas are subtracted from the initial single rectangle, and the remaining area is constructed as a series of rectangles adjacent to the floating object rectangles. These remaining rectangles are linked together to form a list, the traversal of this list is defined as the text object path.
Finally, the text objects are sequentially inserted into the rectangular areas designed to house the text objects beginning at the head of the text object list, while the floating objects are sequentially inserted into the rectangular areas designed to house the floating objects beginning at the head of the floating object list. The result yields an efficient method and system for rendering data into a specific output layout, without requiring batch processing, since as one skilled in the art will appreciate this permits in stream processing with minimal processor utilization.
In step 130 a formatting operation is performed such that areas are identified in the output format as locations to receive the floating objects. These locations in the output format are defined and reserved in the electronic data to be rendered in step 160. These areas are defined as geometric rectangles in step 150, and each such area is linked together to form a linked list in step 170. The traversal of the linked list defines the floating object path.
Next, the area, in the electronic data to be rendered, which is not reserved by the floating objects are assigned to house the text objects in step 190. Again, the area is segmented into a series of geometric rectangles (step 180) adjacent to the floating object areas, and the text object areas are linked together in a linked list (step 200), the traversal of the linked list defining the text object path.
Finally, the floating objects are inserted sequentially into the floating object list beginning at the head of the floating object list, and the text objects are inserted sequentially into the text object list beginning at the head of the text object list in step 210. In step 220, the original data received are delivered in the desired output format with the desired layout and displayed if necessary in step 230.
By way of example, data initially received in XML format and whose presentation is defined with XSL syntax, are parsed to identify text objects and floating objects, then a desired output format and layout defined by PDF is used to populate the text and floating objects into that desired rendered format. This is done by initially assuming that the output data to render are a single rectangle, and then subtracting from that rectangle a series of linked rectangles which define a linked list, the elements of the list are the rectangles housing the floating objects. The remaining areas in the output data not occupied by the floating objects define a series of rectangles adjacent to the floating objects which are linked together, the elements of this list are the rectangular areas which house the text objects. Finally, the floating objects and the text objects are streamed sequentially into the head of their respective lists to populate the output data which are rendered in PDF.
The formatting software 250 receives electronic data 260, these data are in a defined data format recognized by the formatting software 250, or structured in consistent way such that the formatting software 250 can readily decompose these electronic data 260 into their constituent text objects 270 and floating objects 280. Next, the formatting software 250 generates a series of rectangular areas 290 for the floating objects 280 and for the text objects 270 to produce rendered data 300. Rectangular areas for like objects are linked together to form a linked list and the objects are streamed sequentially into the list beginning at the head of the list.
After the placement of the floating objects are determined, the text object areas are defined by geometric rectangles which remain in these data and lie adjacent to the floating object rectangles. The series of these rectangles are likewise linked together to form a linked list defined by the path T1′ 360-T2′ 370-T3′ 380-T4′ 390-T5′ 400. T1′ 360 is the head of the text object list while T5′ 400 is the tail.
As one skilled in the art will appreciate, these geometric areas are readily ascertainable and calculated by the dimensions of the floating objects and the dimensions of the rendered data. This, therefore, provides a unique and efficient mechanism within which electronic data may be efficiently rendered.
The foregoing description of an exemplary embodiment of the invention has been presented for purposes of illustration and description. It is not intended to be exhaustive nor to limit the invention to the precise form disclosed. Many alternatives, modifications, and variations will be apparent to those skilled in the art in light of the above teaching. For example, although XML was used as the primary initial data format before data are rendered, any data format which is definable could be used. Moreover, although the primary examples discuss displaying rendered data, data may be rendered for purposes of printing data on a tangible media (e.g. paper, and the like) or delivering data to another application (e.g. fax, additional software modules, intelligent appliances, and the like). Finally, although a web browser (equipped with the appropriate viewing plugins) was used as the primary display mechanism, any display would suffice on any communications device. Accordingly, this invention is intended to embrace all alternatives, modifications, and variations that fall within the spirit and broad scope of the attached claims.
Claims
1. A method of electronically rendering data on a computer readable medium, comprising:
- receiving one or more text objects and floating objects;
- generating floating areas to house the floating objects;
- outputting the floating areas at predetermined locations;
- generating one or more textual areas to house the text objects, the textual areas comprising an outputted area where the floating areas have been removed; and
- outputting the textual areas adjacent to the floating areas.
2. The method of claim 1, further comprising:
- linking the textual areas creating a linked list of textual areas; and
- sequentially inserting the text objects into the linked list starting at a head of the list.
3. The method of claim 1, further comprising:
- linking the floating areas creating a linked list of floating areas; and
- sequentially inserting the floating objects into the linked list starting at a head of the list.
4. The method of claim 1, wherein the floating areas and the textual areas are generated by forming geometric rectangles.
5. The method of claim 4, wherein two adjacent rectangles representing textual areas are merged into a single rectangle.
6. The method of claim 1, further comprising:
- displaying the outputted floating areas and textual areas within a viewer.
7. A system for electronically rendering data on a computer readable medium comprising:
- one or more text objects;
- one or more floating objects;
- a set of executable instructions operable to create and output data by dividing from input data a set of textual areas and a set of floating areas and operable to populate the textual areas with the text objects and the floating areas with the floating objects.
8. The system of claim 7, further comprising:
- a linking set of executable instructions operable to form a text linked list from the textual areas and a floating linked list from the floating areas.
9. The system of claim 8, further comprising:
- an inserting set of executable instructions operable to insert the text objects sequentially into the text linked list beginning at a text head of the text linked list and operable to insert the floating objects sequentially into the floating linked list beginning at a floating head of the floating linked list.
10. The system of claim 7, wherein the set of executable instructions segments the output data by forming textual geometric rectangles around a space on the output data not occupied by the floating objects and forming floating geometric rectangles around the floating objects, the textual geometric rectangles representing the textual areas and the floating geometric rectangles representing the floating areas.
11. The system of claim 7, further comprising:
- a rendering set of executable instructions operable to define how the output data may be displayed using at least one of a browser, a viewer, a mobile communications device, and a printer.
12. The system of claim 11, wherein the defining is done by tagging the text objects and the floating objects with a markup language.
13. The system of claim 12 wherein the markup language is at least one of extended markup language, extended style sheets language, and portable document format.
14. A method of electronically providing for a footnote body on a page, comprising:
- receiving one or more page objects including reference objects and body objects
- generating a body area located at the bottom of a page to house the body objects;
- generating a reference area located above the body area to house the reference objects;
- forming a reference geometric rectangle representing the reference area and a body geometric rectangle representing the body area; and
- expanding an area of the body geometric rectangle to accommodate an additional body object while deceasing a second area of the reference area maintaining an overall area associated with the page.
15. The method of claim 14, further comprising:
- displaying the reference geometric rectangle area and the body geometric rectangle area in a browser.
16. The method of claim 14, further comprising:
- delivering the page including the reference geometric rectangle area and the body geometric rectangle area to at least one of a browser and a printer in a markup language defining the page.
17. The method of claim 16, wherein the markup language is at least one of extended markup language, extended style sheets language, and portable document format.
18. The method of claim 16, wherein the delivering the page occurs as reference objects and body objects are piped to a set of executable instructions operable to insert the markup language representing a displayed page.
19. The method of claim 14, further comprising:
- associating automatically a reference tag of the reference object with a text description of the body object.
20. The method of claim 19, wherein the reference tag is an numeric character which is automatically incremented with each new reference tag.
Type: Application
Filed: Mar 31, 2006
Publication Date: Aug 10, 2006
Applicant:
Inventor: David Tolpin (Yerevan)
Application Number: 11/278,246
International Classification: G06F 17/21 (20060101);