Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for converting PDF (Portable Document Format) file into format data stream file

A data stream and file technology, applied in the computer field, can solve the problems of high technical threshold, complex editing technology, inability to dynamically split and merge, etc., to achieve the effect of simple conversion method, strong readability, and editable content

Pending Publication Date: 2022-03-08
JIANGSU ZHONGWEI TECH SOFTWARE SYST
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, there are still some problems in PDF technology at present, such as: high technical threshold, complicated editing technology, inability to dynamically split and merge, etc.

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
  • Method for converting PDF (Portable Document Format) file into format data stream file
  • Method for converting PDF (Portable Document Format) file into format data stream file
  • Method for converting PDF (Portable Document Format) file into format data stream file

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057] combine figure 1 As shown in the content, a method for converting a PDF file to a format data stream file is proposed in some embodiments of the present invention, including the following steps:

[0058] S1, read the pdf format file;

[0059] S2. Read the content of the pdf file, analyze and obtain the page number of the pdf, place it in a queue to form a page number queue, and use the upper left corner of the pdf page as the origin to allocate multiple threads for concurrent processing to obtain the pdf content of each page. One page of the pdf format file corresponds to one thread; the content of the pdf includes basic objects, object properties and their resource objects;

[0060] Basic objects include text objects, path objects, and image objects;

[0061] Object attributes include coordinates, width, height, drawing parameters, resource reference path, and the resource reference path is the reference path between the basic object and the resource object;

[0062] ...

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 invention discloses a method for converting a PDF (Portable Document Format) file into a format data stream file. The method comprises the following steps: analyzing a pdf format file; reading the file content of the pdf, analyzing and obtaining the page number of the pdf, distributing a plurality of threads, and concurrently processing and analyzing the content of the pdf; the content of the pdf comprises a basic object, an object attribute and a resource object thereof; various objects of the pdf are processed, coordinates, widths and heights in object attributes are converted, the objects are combined with layout data stream element objects to form layout data stream file objects, and the layout data stream element objects comprise basic objects, drawing parameters, resource reference paths and resource objects; creating a layout data stream file base plate; and filling the layout data stream file object into a layout data stream file bottom plate to form a standard layout data stream file. According to the method disclosed by the invention, the conversion from the pdf file to the original version and the original sample of the layout data stream file is realized, and the method has the advantages that the conversion method is simple, calling is carried out in a reference manner, redundant elements are removed, and the conversion speed of the file is ensured.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method for converting a PDF file into a layout data stream file. Background technique [0002] The PDF format is one of the most popular linear file transfer formats in the world. It is a file format developed by Adobe Systems for file exchange in a manner independent of applications, operating systems, and hardware. It was opened in 2008 as an international standard. However, there are still some problems in PDF technology at present, such as: high technical threshold, complicated editing technology, and inability to dynamically split and merge. [0003] Layout data flow file is a file software under Jiangsu Zhongwei Technology Software System Co., Ltd. Zhongwei Technology has standardized a set of standard document format system, and integrated layout file reading, file and flow data interaction, and form under the user interface. Three major applications for handwritten ...

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): G06F40/151G06F40/106G06F16/957
CPCG06F40/151G06F40/106G06F16/957
Inventor 何冉冉何中顾志平蔡亚军严伟
Owner JIANGSU ZHONGWEI TECH SOFTWARE SYST