PDF Editing via Text Region Segmentation

Resolve Bottlenecks,
Find Innovative Solutions
Generate 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

VSEngineering 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

Engineering Contradiction:
ImproveEditability of PDF fileVSAvoidTime required for format conversion
Core Design Contradiction:
Ease of operationVSLoss of time

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.

Inventive Principle:
Principle #1Segmentation

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.

Inventive Principle:
Principle #24Intermediary (Mediator)

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

Engineering Contradiction:
ImproveDirect editing capabilityVSAvoidComplexity of conversion process
Core Design Contradiction:
Ease of operationVSDevice complexity

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.

Inventive Principle:
Principle #2Taking out (Extraction)

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.

Inventive Principle:
Principle #13The other way round (Inversion)

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

Engineering Contradiction:
ImproveFlexibility of editing scopeVSAvoidTime for unnecessary conversion operations
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

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.

Inventive Principle:
Principle #1Segmentation

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.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS20240202429A1Method, device, computer equipment and storage medium for editing PDF files
Publication Date: 2024.06.20 KDAN MOBILE SOFTWARE
  • US20240202429A1 patent drawing
  • US20240202429A1 patent drawing
  • US20240202429A1 patent drawing

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.