Form editing method and component for PDF document, electronic equipment and storage medium
The invention discloses a PDF (Portable Document Format) document table editing method, which comprises the following steps of: in response to a table editing instruction, obtaining a target PDF document from a front end or a document library; all original cell attribute information of the target is...
Gespeichert in:
Hauptverfasser: | , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a PDF (Portable Document Format) document table editing method, which comprises the following steps of: in response to a table editing instruction, obtaining a target PDF document from a front end or a document library; all original cell attribute information of the target is obtained through an extractTables method; obtaining editing cell information from a front end; obtaining target original cell attribute information from the original cell attribute information according to a table identifier in the edited cell information and the edited cell information; deleting information in an editing region range frame determined by the attribute information of the target original cell by adopting a fillRect method in a PDPageContentStream class of a pdfbox framework; according to the editing cell information, adopting drawLine and showText methods to redraw the editing area range frame and the information in the editing area range frame to obtain an edited table; and storing and outputting t |
---|