Patent ID: 8477363
Filing Date: 2013-07-02
Classification: G06F

Abstract:
1. A table data processing apparatus comprising: an input unit that receives table data describing a table including a plurality of cells, each of the plurality of cells having a size; a cell size changing unit that is configured to be capable of changing the size of a cell that is associated with a formula; and a print data creating unit that, if the cell size changing unit changes the size of the cell, creates print data for printing a cell-size changed table that includes the size changed cell in a predetermined part of a recording sheet such that the formula fits entirely within the size changed cell; wherein the table data further describes a first size of characters that constitutes the formula, wherein the table data processing apparatus further comprises: a magnification ratio setting unit that sets a magnification ratio, by which the table fits entirely within the predetermined part of the recording sheet; and a table size determining unit that determines a size of the table by the magnification ratio, wherein the cell size changing unit includes: a judging unit that judges whether or not the formula associated with the cell fits entirely within the cell if the table, whose size is determined by the table size determining unit, is printed in the recording sheet and the characters constituting the formula are printed at the first size; a margin detecting unit that, if the judging unit determines that the entire formula fails to fit within the cell, judges whether or not there will be any margin in the predetermined part of the recording sheet if the table, whose size is determined by the table size determining unit, is printed in the predetermined part of the recording sheet; and a cell-size increasing unit that, if the margin detecting unit determines that there will be a margin in the predetermined part of the recording sheet, increases the size of the cell in the table, whose size is determined by the table size determining unit, to a size that is no greater than a maximum size beyond which the table having the size-increased cell no longer fits within an entire area of the predetermined part of the recording sheet, wherein the print data creating unit includes a character size setting unit that sets a second size of the characters constituting the formula such that the entire formula fits within the size-increased cell, wherein the print data creating unit creates table data for printing the table having the size-increased cell within which the formula constituted by the characters having the second size fits.