Transformation of marked-up content to a reversible file format for automated browser based pagination
First Claim
1. A computer implemented method for transforming marked-up content in a first file format to a reversible second file format, said method employing a file format transformation system deployed on a client device comprising at least one processor configured to execute computer program instructions for performing said method, said method comprising:
- receiving said marked-up content of said first file format by said file format transformation system;
reflowing said received marked-up content of said first file format into a continuous page having a configurable page width by said file format transformation system;
identifying spaces and block elements in said reflown marked-up content of said first file format by said file format transformation system;
generating and appending tags to said identified spaces and said identified block elements in said reflown marked-up content of said first file format by said file format transformation system;
for each of said identified spaces and said identified block elements;
determining line breaks in said reflown marked-up content of said first file format based on preconfigured criteria associated with said appended tags by said file format transformation system and tagging said determined line breaks by said file format transformation system;
for each of said determined line breaks;
identifying anchored floats in said reflown marked-up content of said first file format by said file format transformation system and tagging said identified anchored floats by said file format transformation system;
positioning said tagged anchored floats on a current page by said file format transformation system based on availability of space for said tagged anchored floats on said current page;
identifying footnotes in said reflown marked-up content of said first file format by said file format transformation system and tagging said identified footnotes by said file format transformation system;
positioning said tagged footnotes at a footnote section on said current page by said file format transformation system based on availability of space for said tagged footnotes on said current page;
positioning page breaks in said continuous page by said file format transformation system based on a configurable page height and said determined line breaks for said positioning of said tagged anchored floats and said tagged footnotes on a subsequent page on non-availability of said space on said current page;
grouping said marked-up content with said positioned anchored floats and said positioned footnotes on each page by said file format transformation system; and
inserting one or more of a plurality of pagination elements on said each page containing said grouped marked-up content by said file format transformation system; and
rendering said grouped marked-up content with said inserted one or more of said pagination elements in said reversible second file format by said file format transformation system, wherein said reversible second file format allows said marked-up content to be reversed to said first file format to restore said continuous page.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and a file format transformation system (FFTS) for transforming marked-up content in a first file format (FFF) to a reversible second file format (RSFF) are provided. The FFTS reflows marked-up content of the FFF into a continuous page. The FFTS generates and appends tags to spaces and block elements identified in the reflown marked-up content of the FFF. For each space and block element, the FFTS determines and tags line breaks in the reflown marked-up content. For each line break, the FFTS identifies, tags, and positions anchored floats and footnotes on a current page based on space availability. The FFTS positions page breaks in the continuous page based on a configurable page height and the line breaks. The FFTS groups the marked-up content, inserts pagination elements, for example, page numbers, etc., and renders the grouped marked-up content in the RSFF, which is reversible to restore the continuous page.
24 Citations
19 Claims
-
1. A computer implemented method for transforming marked-up content in a first file format to a reversible second file format, said method employing a file format transformation system deployed on a client device comprising at least one processor configured to execute computer program instructions for performing said method, said method comprising:
-
receiving said marked-up content of said first file format by said file format transformation system; reflowing said received marked-up content of said first file format into a continuous page having a configurable page width by said file format transformation system; identifying spaces and block elements in said reflown marked-up content of said first file format by said file format transformation system; generating and appending tags to said identified spaces and said identified block elements in said reflown marked-up content of said first file format by said file format transformation system; for each of said identified spaces and said identified block elements; determining line breaks in said reflown marked-up content of said first file format based on preconfigured criteria associated with said appended tags by said file format transformation system and tagging said determined line breaks by said file format transformation system; for each of said determined line breaks; identifying anchored floats in said reflown marked-up content of said first file format by said file format transformation system and tagging said identified anchored floats by said file format transformation system; positioning said tagged anchored floats on a current page by said file format transformation system based on availability of space for said tagged anchored floats on said current page; identifying footnotes in said reflown marked-up content of said first file format by said file format transformation system and tagging said identified footnotes by said file format transformation system; positioning said tagged footnotes at a footnote section on said current page by said file format transformation system based on availability of space for said tagged footnotes on said current page; positioning page breaks in said continuous page by said file format transformation system based on a configurable page height and said determined line breaks for said positioning of said tagged anchored floats and said tagged footnotes on a subsequent page on non-availability of said space on said current page; grouping said marked-up content with said positioned anchored floats and said positioned footnotes on each page by said file format transformation system; and inserting one or more of a plurality of pagination elements on said each page containing said grouped marked-up content by said file format transformation system; and rendering said grouped marked-up content with said inserted one or more of said pagination elements in said reversible second file format by said file format transformation system, wherein said reversible second file format allows said marked-up content to be reversed to said first file format to restore said continuous page. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system for transforming marked-up content in a first file format to a reversible second file format, said system comprising:
-
a non-transitory computer readable storage medium configured to store computer program instructions defined by modules of a file format transformation system; at least one processor communicatively coupled to said non-transitory computer readable storage medium, said at least one processor configured to execute said defined computer program instructions; and said file format transformation system comprising; a content reception module configured to receive said marked-up content of said first file format; a content reflow module configured to reflow said received marked-up content of said first file format into a continuous page having a configurable page width; a space and block identification module configured to identify spaces and block elements in said reflown marked-up content of said first file format; a tagging module configured to generate and append tags to said identified spaces and said identified block elements in said reflown marked-up content of said first file format; for each of said identified spaces and said identified block elements; a pagination element processing module configured to determine line breaks in said reflown marked-up content of said first file format based on preconfigured criteria associated with said appended tags, wherein said tagging module is further configured to tag said determined line breaks; for each of said determined line breaks; said pagination element processing module further configured to identify anchored floats in said reflown marked-up content of said first file format, wherein said tagging module is further configured to tag said identified anchored floats; said pagination element processing module further configured to position said tagged anchored floats on a current page based on availability of space for said tagged anchored floats on said current page; said pagination element processing module further configured to identify footnotes in said reflown marked-up content of said first file format, wherein said tagging module is further configured to tag said identified footnotes; said pagination element processing module further configured to position said tagged footnotes at a footnote section on said current page based on availability of space for said tagged footnotes on said current page; said pagination element processing module further configured to position page breaks in said continuous page based on a configurable page height and said determined line breaks for said positioning of said tagged anchored floats and said tagged footnotes on a subsequent page on non-availability of said space on said current page; a compiler configured to group said marked-up content with said positioned anchored floats and said positioned footnotes on each page; and said pagination element processing module further configured to insert one or more of a plurality of pagination elements on said each page containing said grouped marked-up content; and said compiler further configured to render said grouped marked-up content with said inserted one or more of said pagination elements in said reversible second file format, wherein said reversible second file format allows said marked-up content to be reversed to said first file format to restore said continuous page. - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
-
17. A computer program product comprising a non-transitory computer readable storage medium having embodied thereon, computer program codes comprising instructions executable by at least one processor for transforming marked-up content in a first file format to a reversible second file format, said computer program codes comprising:
-
a first computer program code for receiving said marked-up content of said first file format; a second computer program code for reflowing said received marked-up content of said first file format into a continuous page having a configurable page width; a third computer program code for identifying spaces and block elements in said reflown marked-up content of said first file format; a fourth computer program code for generating and appending tags to said identified spaces and said identified block elements in said reflown marked-up content of said first file format; for each of said identified spaces and said identified block elements; a fifth computer program code for determining line breaks in said reflown marked-up content of said first file format based on preconfigured criteria associated with said appended tags and a sixth computer program code for tagging said determined line breaks; for each of said determined line breaks; a seventh computer program code for identifying anchored floats in said reflown marked-up content of said first file format and an eight computer program code for tagging said identified anchored floats; a ninth computer program code for positioning said tagged anchored floats on a current page based on availability of space for said tagged anchored floats on said current page; a tenth computer program code for identifying footnotes in said reflown marked-up content of said first file format and an eleventh computer program code for tagging said identified footnotes; a twelfth computer program code for positioning said tagged footnotes at a footnote section on said current page based on availability of space for said tagged footnotes on said current page; a thirteenth computer program code for positioning page breaks in said continuous page based on a configurable page height and said determined line breaks for said positioning of said tagged anchored floats and said tagged footnotes on a subsequent page on non-availability of said space on said current page; a fourteenth computer program code for grouping said marked-up content with said positioned anchored floats and said positioned footnotes on each page; and a fifteenth computer program code for inserting one or more of a plurality of pagination elements on said each page containing said grouped marked-up content; and a sixteenth computer program code for rendering said grouped marked-up content with said inserted one or more of said pagination elements in said reversible second file format, wherein said reversible second file format allows said marked-up content to be reversed to said first file format to restore said continuous page. - View Dependent Claims (18, 19)
-
Specification