PDF Editing via Text Region Segmentation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
PDF files cannot be edited directly, requiring conversion to another format for editing, which is inconvenient and time-consuming, especially for minor amendments.
Innovation Solution
A method and device that transform a PDF file into an editable PDF file by parsing text and graphic objects to identify and generate text and graphic regions, allowing direct editing of selected regions without format conversion.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If a PDF file is converted to another format (e.g., Office Software) for editing, then the file becomes editable, but the conversion process is time-consuming and inconvenient
Solution Approach 1:
The patent segments the PDF file into distinct text regions and graphic regions, allowing selective editing of specific portions without converting the entire document. The text processing unit divides the PDF into multiple text regions, and the graphic processing unit divides it into multiple graphic regions, enabling targeted editing operations.
Solution Approach 2:
The patent introduces an intermediary editable file format that preserves the PDF structure while adding editability. This intermediate representation allows the system to maintain PDF compatibility while enabling direct editing operations without full format conversion.
2Ease of operation
If a PDF file is converted to another format for editing, then editing capability is achieved, but the process is complex and requires multiple conversion steps
Solution Approach 1:
The patent extracts text and graphic objects from the PDF file structure and places them into separate editable regions. By taking out the editable components (text and graphics) from the PDF container, the system enables direct editing without requiring conversion to external formats.
Solution Approach 2:
Instead of converting the entire PDF to another format to achieve editability, the patent inverts the approach by making the PDF itself editable through internal structure modification. The PDF is transformed into an editable PDF that maintains its format while gaining editing capabilities.
3Adaptability or versatility
If the entire PDF file is converted for editing, then all content becomes editable, but minor amendments require unnecessary full-file conversion
Solution Approach 1:
The patent segments the PDF into multiple text regions and graphic regions, allowing users to edit only the specific portions they need. This segmentation enables flexible editing scope where users can make minor amendments to individual regions without processing the entire file.
Solution Approach 2:
The patent applies partial action by enabling editing of only the necessary portions of the PDF file. Instead of converting and editing the entire file, users can perform partial edits on selected text or graphic regions, reducing the scope of work to exactly what is needed.
Data Source
AI summary
There is provided a device for editing a PDF file, including a display, a non-volatile storage medium, a memory and a processor. The non-volatile storage medium stores a computer program. The memory provides an environment for operations of the computer program in the non-volatile storage medium. The processor runs the computer program to parse the PDF file to obtain information of characters, generate character sets according to features of the characters, generate line sets according to heights and horizontal positions of the character sets, generate paragraph sets according to a height and a horizontal position of each line of the line sets, generate text region sets according a height and a horizontal position of each paragraph of the paragraph sets, and control the display to show the text region sets in the PDF file as editable text regions.


