Browse Prior Art Database

Method for testing reconstruction of layout elements in conversion from fixed to flow format document

IP.com Disclosure Number: IPCOM000234734D
Original Publication Date: 2014-Jan-31
Included in the Prior Art Database: 2014-Jan-31
Document File: 3 page(s) / 76K

Publishing Venue

Microsoft

Related People

Dragan Slaveski: INVENTOR [+2]

Abstract

This publication describes a method for testing the conversion from the fixed format to the flow format document by round-tripping a fixed format document through a flow format document. The major problem when testing reconstruction of layout elements during the conversion from fixed to flow format document represents the fact that the elements in fixed and flow format document are positioned using different parameters. Solution for this is to first remove these differences by round-tripping the fixed format document through the flow format document, then find the corresponding elements in original and round-tripped fixed format documents, and finally compare how they are positioned. Positioning is compared based on the element positioning parameters used in the fixed format document. This way, the comparison method does not depend on target flow format document.

This text was extracted from a Microsoft Word document.
At least one non-text object (such as an image or picture) has been suppressed.
This is the abbreviated version, containing approximately 37% of the total text.

Document Author (alias)

Dragan Slaveski (dragas)

Defensive Publication Title 

Method for testing reconstruction of layout elements in conversion from fixed to flow format document

Name(s) of All Contributors

Marija Antic (maanti)

 

 

 

 

Summary of the Defensive Publication/Abstract

This publication describes a method for testing the conversion from the fixed format to the flow format document by round-tripping a fixed format document through a flow format document.

The major problem when testing reconstruction of layout elements during the conversion from fixed to flow format document represents the fact that the elements in fixed and flow format document are positioned using different parameters. Solution for this is to first remove these differences by round-tripping the fixed format document through the flow format document, then find the corresponding elements in original and round-tripped fixed format documents, and finally compare how they are positioned. Positioning is compared based on the element positioning parameters used in the fixed format document. This way, the comparison method does not depend on target flow format document.

Description:  Include architectural diagrams and system level data flow diagrams if: 1) they have already been prepared or 2) they are needed to enable another developer to implement your defensive publication. Target 1-2 pages, and not more than 5 pages.  

  Two major areas that should be covered when testing the conversion from a fixed format document to a flow format document are (1) detection of layout elements and (2) their reconstruction in final flow format document. If a layout element is not detected properly then its reconstruction cannot be tested, because the result is not defined (for example if a paragraph is split or two paragraphs are merged together, layout reconstruction cannot be tested). For the correctly detected layout elements, layout reconstruction tests check if the element properties are correctly set. For example, it can be checked if the element is positioned properly, or if its size is correctly reconstructed. The problem here represents the fact that in the fixed format document there is no information about layout elements, or their properties. Therefore, the testing of final layout element reconstruction in flow format document cannot be accomplished by reading the information from the original fixed format document. In a fixed format document, layout elements (like paragraphs) are simply sets of elements absolutely positioned on a page. For example, in a PDF document, one paragraph is comprised of text runs that are absolutely positioned on a page. On the other hand, in a flow format document the position and appearance of a single layout element depend on many parameters. Obviously,  they are defined by different layout element properties, but are not independent from the positioning and properties of the surrounding layout elements in the document flow. For example, in a DOCX...