How to read pdf files remotely
A remote reading and file technology, applied in the field of remote reading PDF files, can solve the problems of unable to read and access PDF files, and achieve the effect of improving user experience
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Embodiment 1
[0022] Embodiment 1 provides a method for remotely reading PDF files, the method comprising the following steps:
[0023] (1), the client sends an http request to the server, obtains the length of the PDF file to be read, and creates a temporary file locally, wherein the extension of the temporary file is pdf, and the length of the temporary file is the same as the length of the obtained PDF file to be read.
[0024] (2), the client sends an http request to the server to obtain the header data and tail data of the PDF file to be read, and save the obtained header data and tail data to the temporary file created in step (1), The header data and the tail data are acquired according to a preset data length, specifically, the lengths of the header data and the tail data in this embodiment are both 100KB.
[0025] (3) Parse the PDF header information from the temporary file, search for the xref identifier from the end of the temporary file forward, and parse the object table in the...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More