Methods and Systems for Treating Overflow Conditions and For Re-Sizing Printable Content
AssigneeMicrosoft Corporation
InventorsMarkus W. Mielke, Adrian Bateman
Life of this patent
Estimating the term…
Abstract
Various embodiments evaluate content that is to be printed and ascertain whether the content is going to overflow or be “orphaned” onto a second page when printed. If some content will create an orphan when printed, then the content is scaled to fit onto a single page when printed. In some embodiments, the content is simply proportionally scaled to fit onto a single page. In other embodiments, the content is further processed to scale it in a manner that makes intelligent use of the white space on the printed page.
Claims20
One or more computer-readable media comprising instructions that are executable to:
- ascertain whether content laid out for printing on paper will print on a first page of paper and create an orphan on a second page of paper that is less than a predetermined percentage of the second page's printable height;
- define a layout structure determined from a ratio of a height of the content laid out for printing on the first page of paper and the content's height;
- and
- print the content on the first page of paper with the content scaled according to the ratio to fit the layout structure, the content being laid out so the content is printed on the first page of paper.
A computer-implemented method comprising:
- ascertaining whether content in an original layout for printing on one or more pages of paper will result in creation of an orphan which when printed on a separate page of paper would not meet a predefined criteria;
- reflowing the content in a layout structure according to a scaling factor so that the content fits on the one or more pages of paper without printing the orphan on the separate page of paper, the scaling factor comprising a ratio determined from the height of the content and the height of the orphan and the reflowing being performed in response to a determination that the orphan does exist;
- and
- resizing the content according to the scaling factor so the content fits in the layout structure and on the one or more pages of paper without printing the orphan on the separate page of paper.
A computer-implemented method comprising:
- ascertaining whether content, when printed, will print on a first page of paper and create an orphan printed on a second page of paper;
- scaling the content that includes the orphan based on a scale factor that is determined by dividing a height of the content that would be printed on the first page by the sum of the height of the content that would be printed on the first page and a height of the orphan responsive to the ascertaining that the orphan would exist;
- and
- reflowing the content that includes the orphan in a layout structure that has (a) a height that is the sum of the height of the content that would be printed on the first page and the height of the orphan, and (b) a width that is determined by dividing an original width of the content by a scaling factor of between 0.83 and 1.0;
- and
- using the layout structure to print the content on the first page of paper.
Dependencies are inferred from the claim text.