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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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] ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 



