Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

File processing method and apparatus

A processing method and document technology, applied in the fields of electronic digital data processing, special data processing applications, natural language data processing, etc., can solve the problems of omission, waste of time cost and labor cost, waste of typesetting space, etc. The effect of saving time cost and labor cost

Inactive Publication Date: 2018-10-23
PEKING UNIV FOUNDER GRP CO LTD +1
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a file processing method and device, which are used to solve the problem of wasting typesetting space in the prior art, manual splitting will cause splitting errors and omissions, and cause waste of time and labor costs

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • File processing method and apparatus
  • File processing method and apparatus
  • File processing method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054]In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0055] figure 1 The flow chart of the file processing method provided by Embodiment 1 of the present invention, such as figure 1 As shown, the method of the present embodiment includes:

[0056] Step 101, the processor receives the remaining width of the current line in the file sent by the memory, and the untypeset formula width of the form...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention provides a file processing method and apparatus. The method comprises that: a processor receives the remaining width of a current line in a file sent by a memory, and the un-typeset formula width of the formula; when determining that the remaining width is smaller than the un-typeset formula width, the processor determines the split point of the formula under the un-typeset formula width according to a preset splitting rule; the processor generates first typesetting information according to the split point, wherein the first typesetting information represents placing formula content which is before the split point in the file and belongs to the un-typeset formula width into the current line, and placing the formula content after the split point in the next line; and the processor sends the first typesetting information to the memory, and the memory executes operations corresponding to the first typesetting information. According to the method and apparatus provided by the present invention, the layout of automatic splitting is performed on the formula, so that the layout space is not wasted; and the automatic splitting method is accurate, convenient, and fast,errors and omissions cannot occur, and the time cost and the labor cost are saved.

Description

technical field [0001] The invention relates to the technical field of typesetting, in particular to a file processing method and device. Background technique [0002] It is usually necessary to insert formulas in typesetting. The formula itself is based on a complete rectangular area, which can be treated as an oversized single character to complete the typesetting layout of the formula. [0003] In the existing technology, the remaining width of a line may be smaller than the overall width of the formula, that is, the width of a formula itself has exceeded the width of a text line itself. At this time, the line will be automatically wrapped, and the formula will be placed on the next line, or manually changed. Formula makes the formula fit to the width of the current row. [0004] However, in the prior art, when the remaining width of a line is smaller than the overall width of the formula, the way of automatically wrapping the formula to the next line will waste the typ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/25G06F40/189
CPCG06F40/189
Inventor 谢国超
Owner PEKING UNIV FOUNDER GRP CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products