A method and device for automatically matching underlines in pdf documents

An automatic matching and document technology, applied in the Internet field, can solve problems such as unsightly, affecting text viewing, etc., and achieve the effect of convenient viewing

Active Publication Date: 2021-04-20
苏州亿科赛卓电子科技有限公司
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] However, the position of the underline is usually fixed, and sometimes it is very close to the content of the text, which affects the viewing of the text and is not beautiful

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
  • A method and device for automatically matching underlines in pdf documents

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0046] Such as figure 1 As shown, the present invention provides a kind of pdf document underline automatic matching method, comprising:

[0047] S1. Open the pdf document to be edited;

[0048] S2. Obtain the content of the pdf document to be edited;

[0049] S3. Obtain an instruction for adding an underline to the content of the pdf document to be edited;

[0050] S4. Obtain the format information of the content of the pdf document to be edited corresponding to the underline, the format information including the single line height information and line spacing information of the document to be edited corresponding to the underline;

[0051] S5. Generate underline position information according to the acquired single line height information and line spacing information.

[0052] Further, generate underline position information according to the obtained single line height information and line spacing information, including:

[0053] Calculate the ratio of the height of a si...

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 pdf document underline automatic matching method and device. By opening the pdf document to be edited; acquiring the content of the pdf document to be edited; acquiring an instruction to add an underline to the content of the pdf document to be edited; acquiring the corresponding underline to be edited The format information of the pdf document content, the format information includes the single line height information and line spacing information of the document to be edited corresponding to the underline; the position information of the underline is generated according to the obtained single line height information and line spacing information. The invention can automatically adjust the position of the underline according to the height of the single-line characters and the line spacing, which is more convenient for users to watch and more beautiful.

Description

technical field [0001] The invention relates to Internet technology, in particular to a method and device for automatically matching underlines in PDF documents. Background technique [0002] A document must have a part of the content that is more important. In order to remind others to pay more attention to this part, we will mark this part of the document, such as adding an underline, etc. Clicking not all formats of documents can directly perform this operation, such as : document in pdf format, so how to add underline to pdf? [0003] Need to install a fast pdf editor to the computer; [0004] After the installation is complete, open the editing tool, click the "Open" button to open the pdf file to be edited, and then click the Edit Content button to make the entire file enter the editing state; [0005] Then click the enlarge button, so that all the functions will be displayed, we find the "underline" function in the function column and click; [0006] At this time, ...

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 Patents(China)
IPC IPC(8): G06F40/166
CPCG06F40/166
Inventor 岳婷
Owner 苏州亿科赛卓电子科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products