TW200828045A - System and method for filling a PDF document with related data - Google Patents

System and method for filling a PDF document with related data Download PDF

Info

Publication number
TW200828045A
TW200828045A TW095148541A TW95148541A TW200828045A TW 200828045 A TW200828045 A TW 200828045A TW 095148541 A TW095148541 A TW 095148541A TW 95148541 A TW95148541 A TW 95148541A TW 200828045 A TW200828045 A TW 200828045A
Authority
TW
Taiwan
Prior art keywords
document
data
pdf
template
pdf document
Prior art date
Application number
TW095148541A
Other languages
Chinese (zh)
Inventor
Chung-I Lee
Hai-Hong Lin
De-Yi Xie
Zheng-Cai Zhu
Original Assignee
Hon Hai Prec Ind Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW095148541A priority Critical patent/TW200828045A/en
Publication of TW200828045A publication Critical patent/TW200828045A/en

Links

Abstract

A method for filling a PDF document with related data includes: generating a template according to a PDF document to be filled with related data; searching and receiving the related data from a database; transforming the data to make the data matching the PDF document; filling the data transformed into the template; extracting the data from the template to fill the data into the corresponding positions of the PDF document. A related system is also provided. Utilizing the method and the system can reduce working hours and avoid working errors.

Description

200828045 九、發明說明: 【發明所屬之技術領域】 本發明涉及一種資料填充的系統及方法,尤其是一種 ^ PDF ( Portable Document Format)文檔資料填充的系統及 方法。 【先前技術】 隨著Adobe Acrobat 7.0的推出,用戶可以利用其Adobe φ DesiSn工具設計表單式PDF文檔,這種PDF文檔可以像 WEB頁面一樣有文本框、選擇框、按鈕等欄位元,這種表 單式PDF文檔將來也會得到越來越廣泛的使用。 但是這種可填寫的表單式PDF文檔在使用時,傳統的 方法是手工輸入,即一個_個文本框的輸入,一個一個按 鈕的手工操作。這種傳統的操作方式有以下缺點: (1)操作速度慢,費力。人工每個欄位元的輸入操 作效率低,且大量輸入時工作辛苦。 _ (2)容易產生錯誤。人工輸入難免產生錯誤,還需 要專門的核對檢查工作。 【發明内容】 鑒於以上内容,還有必要提出一種pDF文檔資料填充 系統及方法,其可以實現自動對pDF文檔進行資料填充。200828045 IX. Description of the Invention: [Technical Field] The present invention relates to a system and method for filling data, and more particularly to a PDF (Portable Document Format) document filling system and method. [Prior Art] With the introduction of Adobe Acrobat 7.0, users can use their Adobe φ DesiSn tool to design form-based PDF documents, which can have text boxes, selection boxes, buttons and other fields like WEB pages. Formal PDF documents will be used more and more widely in the future. However, when this formable PDF document is used, the traditional method is manual input, that is, the input of one text box and the manual operation of one button. This traditional operation has the following disadvantages: (1) The operation speed is slow and laborious. Manual input of each field bit is inefficient, and it is hard to work with a large number of inputs. _ (2) is prone to errors. Manual input is inevitably causing errors, and special checkups are required. SUMMARY OF THE INVENTION In view of the above, it is also necessary to propose a pDF document data filling system and method, which can automatically fill data into a pDF document.

一種PDF文樓資料填充系統,包括應用伺服器及資料 2。所述應用伺服器包括··範本文檔生成模組,用於根據 需要進行資料填充的PDF文檔的格式生成範本文檔;資料 獲取权組,用於從所述資料庫中獲取需要填充到所述pDF 6 200828045 文檔中的資料;資料加工模組,用於對上述獲取的資料進 行加工,使其符合所述PDF文檔的格式要求,並將知工後 ▲ 的資料填入到上述範本文檔中’得到資料完整的範本文 • 檔;及資料導入模組,用於將所述資料完整的範本文檔導 入到所述PDF文檔中。 一種PDF文檔資料填充方法,其包括以下步驟:根據 需要進行資料填充的PDF文檔的格式生成範本文檔;從資 料庫中獲取需要填充到所述PDF文檔中的資料;對上述資 > 料進行加工,使其符合所述PDF文檔的格式要求,並將加 工後的資料填入到上述範本文檔中,得到資料完整的範本 文檔;及將上述資料完整的範本文檔導入到所述PDF文檔 中,生成完整的PDF文檔。 相較於習知技術,本發明所提供之PDF文檔資料填充 系統及方法可以自動將資料填充到PDF文檔對應的欄位 中,整個過程簡單快速,誤差很小,有效的解決了傳統方 φ 法的弊端。 【實施方式】 參閱圖1所示,係本發明PDF文檔資料填充系統較佳實 施例的系統架構圖。該系統主要包括應用伺服器1,網路2, 多台用戶端電腦3 (以二台為例)及資料庫4。所述應用伺 服裔1透過網路2與多台用戶端電腦3相連,並透過一個連接 (圖中未不)與資料庫4相連。所述應用伺服器1内包括多 Μ軟體功能模組’用於執行對PDF文麟行資料填充的相 關操作該網路2可以是網際網路、企業内部網路或者其他 200828045 用=多台用戶端電腦3提供用戶操作介面,透 資料庫4用於館存:應用伺服器1中的各個軟體。所述 在填充咖讀時所 ,=所示,係圖1中應用伺服器1的功能模組圖。 ^月所㈣核組是S成特定功能的電腦程式段,比程式A PDF building data filling system, including application server and data 2. The application server includes a template document generating module, configured to generate a template document according to a format of a PDF document filled with data, and a data acquisition right group, configured to acquire, from the database, a filling to the pDF. 6 200828045 The information in the document; the data processing module is used to process the above-mentioned acquired data to conform to the format requirements of the PDF document, and fill in the information of the ▲ after the work into the above-mentioned template document The complete document of the data file and the data import module are used to import the complete template document of the data into the PDF document. A PDF document data filling method, comprising the steps of: generating a template document according to a format of a PDF document that needs to be filled with data; obtaining data that needs to be filled into the PDF document from the database; processing the above-mentioned materials; To conform to the format requirements of the PDF document, and to fill the processed document into the template document to obtain a complete template document; and import the complete template document of the above information into the PDF document to generate Complete PDF document. Compared with the prior art, the PDF document data filling system and method provided by the invention can automatically fill the data into the corresponding fields of the PDF document, the whole process is simple and fast, the error is small, and the traditional square method is effectively solved. The drawbacks. [Embodiment] Referring to Figure 1, there is shown a system architecture diagram of a preferred embodiment of the PDF document data filling system of the present invention. The system mainly includes an application server 1, a network 2, a plurality of client computers 3 (for example, two) and a database 4. The application server 1 is connected to a plurality of client computers 3 via the network 2, and is connected to the database 4 via a connection (not shown). The application server 1 includes a multi-function software function module for performing related operations on populating PDF data. The network 2 may be an internet, an intranet or other 200828045 with multiple users. The end computer 3 provides a user operation interface, and the database 4 is used for the library: each software in the application server 1. The function module diagram of the application server 1 in FIG. 1 is shown in the case of filling the coffee reading. ^月(4)The nuclear group is a computer program segment with a specific function.

、合於描述軟體在電腦中的執行過程,因此本發明對軟 體的描述都以模組描述。 次、、所述應用伺服器1主要包括:範本文檔生成模組100, 貝料獲取模組110,資料加工模組12級資料導人模組13〇。 、、、所述範本文檔生成模組100用於根據一個需要進行資 料填充的PDF讀的格式生成—個範本文槽,並將該生成 的範本文檔儲存於資料庫4中,以便在對相同格式的pDF 文檔填充資料%直接調用該範本文檔。所述格式表示所述 pdf文檔中的文本框、選擇框或者選擇按鈕等。在本實施 例中,所述範本文檔為xml範本文檔。所述xml為可擴展 的標記語言(extensible Markup Language)。XML是一套 定義語言標記的規則,這些標記將文檔分成許多部件並對 這些部件加以標識。 所述資料獲取模組110用於從資料庫4中獲取需要填充 到所述PDF文檔中的資料。 所述資料加工模組120用於將上述獲取的資料加工。 所述對資料加工是將資料轉換成符合PDF文檔格式所需要 的形式,並將加工後的資料填入到上述XML範本文槽中, 200828045 得到資料完整的XML範本文檔。 所述資料導入模組130用於利用απ函數,將生成的資 料完整的XML範本文檔導入到所述pDF文檔中。所述ApI 疋應用程式介面(Application Program Interface ),指底層 系統提供給上層系統的功能介面。將;5〇^1範本文檔導入到 PDF文檔中後,XML範本文檔中的資料就自動填充到pDF 文檔對應的欄位上。 參閱圖3所示,係本發明pdf文檔資料填充方法較佳實 施例的實施流程圖。 首先,步驟S10,範本文檔生成模組100根據一個需要 進行資料填充的PDF文檔的格式生成一個XML範本文檔, 並將該生成的XML範本文檔儲存於資料庫4中,以便在對 相同格式的PDF文檔填充資料時直接調用該範本文檔。所 述格式表示所述PDF文檔中的文本框、選擇樞或者選擇按 鈕等。 步驟S11’資料獲取模組11〇從資料庫4中獲取需要填充 到所述PDF文檔中的資料。 步驟S12,資料加工模組120將上述獲取的資料加工, 使該資料轉換成符合PDF文權格式所需要的形式。 步驟S13,將加工後的資料填入到上述χΜΙ^|本文檔 中,得到資料完整的XML範本文檔。 步驟S14,資料導入模組13〇利用Αρι函數,將生成的 負料完整的XML範本文標導入到所述pdf文槽中,所述 XML範本文檔中的資料就自動填充到所述pDF文檔對應的 200828045 欄位上。 步驟S15,生成填充資料後完整的PDF文檔。 本發明所提供的P D F文檔資料填充系統及方法可以實 現對PDF資料填充的自動化,整個過程簡單流暢,很適合 使用在需要經常性地填寫同樣格式pdf文檔的場合。 本發明雖以較佳實施例揭露如上,然其並非用以限定 本發明。任何熟悉此項技藝者,在不脫離本發明之精神和 範圍内,當可做更動與潤飾,因此本發明之保護範圍當視 後附之申請專利範圍所界定者為準。 【圖式簡單說明】 圖1係本發明;P D F文檔資料填充系統較佳 實施例的系 統架構圖。 圖2係圖1中應用伺服器的功能模組圖。 圖3係本發明PDF文檔資料士真充方法較佳實施例的實 施流程圖。 、 【主要元件符號說明】 應用伺服器 網路The description of the software in the computer is performed, so the description of the software of the present invention is described by a module. The application server 1 mainly includes: a template document generation module 100, a shell material acquisition module 110, and a data processing module 12-level data guide module 13〇. And the template document generating module 100 is configured to generate a template slot according to a format of a PDF read that needs to be filled with data, and store the generated template document in the database 4 so as to be in the same format. The pDF document fills the data % directly to the template document. The format represents a text box, a selection box, a selection button, and the like in the pdf document. In this embodiment, the template document is an xml template document. The xml is an extensible markup language. XML is a set of rules that define language tags that divide a document into many parts and identify those parts. The data acquisition module 110 is configured to obtain, from the database 4, the data that needs to be filled into the PDF document. The data processing module 120 is configured to process the acquired data. The data processing is to convert the data into a form required to conform to the PDF document format, and the processed data is filled into the above-mentioned XML template. In 200828045, a complete XML template document is obtained. The data import module 130 is configured to import the generated XML template document into the pDF document by using the απ function. The ApI Application Application Program Interface refers to the functional interface provided by the underlying system to the upper layer system. After importing the 5〇^1 template document into the PDF document, the data in the XML template document is automatically populated into the corresponding field of the pDF document. Referring to Figure 3, there is shown a flow chart of an embodiment of a preferred embodiment of the pdf document data filling method of the present invention. First, in step S10, the template document generating module 100 generates an XML template document according to a format of a PDF document that needs to be filled with data, and stores the generated XML template document in the database 4 so as to be in the same format as the PDF. The template document is called directly when the document is filled. The format represents a text box, a selection pivot or a selection button in the PDF document. The step S11' data acquisition module 11 retrieves the material that needs to be filled into the PDF document from the database 4. In step S12, the data processing module 120 processes the acquired data to convert the data into a form required to conform to the PDF copyright format. In step S13, the processed data is filled into the above document to obtain a complete XML template document. In step S14, the data importing module 13 uses the Αρι function to import the generated XML entity document into the pdf file, and the data in the XML template document is automatically filled into the pDF document. On the 200828045 field. Step S15, generating a complete PDF document after filling the data. The P D F document data filling system and method provided by the invention can realize the automation of filling the PDF data, and the whole process is simple and smooth, and is suitable for use in a situation where it is necessary to frequently fill in the same format pdf document. The present invention has been described above by way of a preferred embodiment, and is not intended to limit the invention. The scope of the present invention is defined by the scope of the appended claims, unless otherwise claimed. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a system architecture diagram of a preferred embodiment of the P D F document data filling system. FIG. 2 is a functional block diagram of the application server in FIG. 1. Fig. 3 is a flow chart showing the implementation of a preferred embodiment of the method for authenticating a PDF document of the present invention. , [Main component symbol description] Application server Network

1 2 3 4 100 110 120 用戶端電腦 資料庫 範本文檔生成模組 資料獲取模組 資料加工模組 資料導入模組 1301 2 3 4 100 110 120 Client Computer Database Template Document Generation Module Data Acquisition Module Data Processing Module Data Import Module 130

Claims (1)

200828045 十、申請專利範圍: . 1 · 一種PDF文檔資料填充系統,包括應用伺服 . 器及資料庫,其中,所述應用伺服器包括: 範本文檔生成模組,用於根據需要進行資料 填充的PDF文檔的格式生成範本文檔; 資料獲取模組,用於從所述資料庫中獲取需 要填充到所述PDF文檔中的資料; • 資料加工模組,用於對上述獲取的資料進行 加工’使其符合所述PDF文檔的格式要求, 並將加工後的資料填入到上述範本文檔中, 得到資料完整的範本文檔;及 資料導入模組,用於將所述資料完整的範本 文檔導入到所述PDF文檔中。 2·如申請專利範圍第i項所述之PDF文檔資 φ 料填充系統,其中,所述之範本文檔為XML 範本文檔。 3·如申請專利範圍第i項所述之PDF文檔資 料填充系統,其中,所述之格式表示所述pdf 文檔中的文本框、選擇框或者選擇按鈕。 4·如申請專利範圍第1項所述之PDF文檔資 料填充系統,其中,所述之範本文檔生成模 組還用於將該生成的範本文檔儲存於所述資 料庫中。 11 200828045 5. —種?0卩文襠資料填充方法,該方法包括 以下步驟: . 根據需要進行資料填充的PDF文檔的格式生 * 成範本文檔; 從資料庫中獲取需要填充到所述PDF文檔中 的資料; 對上述資料進行加工,使其符合所述PDF文 0 標的格式要求’並將加工後的貧料填入到上 述範本文檔中,得到資料完整的範本文檔; 及 將上述資料完整的範本文檔導入到所述PDF 文檔中,生成完整的PDF文檔。 6·如申請專利範圍第5項所述之PDF文檔資 料填充方法,其中,所述之範本文檔為XML 範本文檔。 ® 7·如申請專利範圍第5項所述之PDF文檔資 料填充方法,其中,所述之格式表示所述PDF 文檔中的文本框、選擇框或者選擇按紐。 8.如申請專利範圍第5項所述之PDF文檔資 料填充方法,該方法還包括步驟:在生成範 本文檔後將該範本文檔保存到所述資料庫 中 〇 12200828045 X. Patent application scope: . 1 · A PDF document data filling system, including an application server and a database, wherein the application server includes: a template document generation module, which is used for data filling according to requirements The format of the document generates a template document; the data acquisition module is configured to obtain the data that needs to be filled into the PDF document from the database; and the data processing module is configured to process the acquired data. Comply with the format requirements of the PDF document, and fill the processed information into the template document to obtain a complete template document; and a data import module for importing the complete template document of the data into the In the PDF document. 2. The PDF document resource filling system described in claim i, wherein the template document is an XML template document. 3. The PDF document data filling system of claim i, wherein the format represents a text box, a selection box, or a selection button in the pdf document. 4. The PDF document data filling system of claim 1, wherein the template document generating module is further configured to store the generated template document in the data library. 11 200828045 5. What kind? 0卩文裆数据 filling method, the method comprises the following steps: . Forming a PDF document according to the need to fill the data into a template document; obtaining data to be filled into the PDF document from the database; Processing to conform to the format requirements of the PDF file 0 and filling the processed poor material into the above-mentioned template document to obtain a complete template document; and importing the complete template document of the above information into the PDF In the documentation, a complete PDF document is generated. 6. The method for populating a PDF document as described in claim 5, wherein the template document is an XML template document. The method of filling a PDF document as described in claim 5, wherein the format represents a text box, a selection box, or a selection button in the PDF document. 8. The PDF document data filling method according to claim 5, wherein the method further comprises the step of: saving the template document to the database after generating the template document 〇 12
TW095148541A 2006-12-22 2006-12-22 System and method for filling a PDF document with related data TW200828045A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW095148541A TW200828045A (en) 2006-12-22 2006-12-22 System and method for filling a PDF document with related data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW095148541A TW200828045A (en) 2006-12-22 2006-12-22 System and method for filling a PDF document with related data

Publications (1)

Publication Number Publication Date
TW200828045A true TW200828045A (en) 2008-07-01

Family

ID=44817518

Family Applications (1)

Application Number Title Priority Date Filing Date
TW095148541A TW200828045A (en) 2006-12-22 2006-12-22 System and method for filling a PDF document with related data

Country Status (1)

Country Link
TW (1) TW200828045A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109582928A (en) * 2018-12-06 2019-04-05 万兴科技股份有限公司 PDF report data extracting method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109582928A (en) * 2018-12-06 2019-04-05 万兴科技股份有限公司 PDF report data extracting method and device
CN109582928B (en) * 2018-12-06 2023-07-21 万兴科技股份有限公司 PDF report data extraction method and device

Similar Documents

Publication Publication Date Title
US7702684B2 (en) Presenting digitized content on a network using a cross-linked layer of electronic documents derived from a relational database
RU2422889C2 (en) Defining fields for presented files and extensible markup language scheme for bibliography and citation
TWI272492B (en) Contents conversion system, automatic style sheet selection method and program thereof
US7720885B2 (en) Generating a word-processing document from database content
JP2004265402A (en) Method and system for extending pasting function of computer software application
US20040205541A1 (en) Web browser with annotation capability
KR20060047996A (en) Aligned behavior in templated lists
CN101201833A (en) System and method for filling PDF document data
WO2007081017A1 (en) Document processor
De Knikker et al. A web services choreography scenario for interoperating bioinformatics applications
CN111045654A (en) Vue-based method and device for quickly generating common instructions, computer equipment and storage medium
TWI438638B (en) Integration of Easy Information Aggregate Files
TWI629602B (en) Method for automatically generating website interactive program
JP2001109741A (en) Method and system for preparing html data
TW200828045A (en) System and method for filling a PDF document with related data
JP2008146177A (en) Information retrieval method and information retrieval device
JP4133549B2 (en) Structured document file management apparatus and structured document file management method
US8335984B2 (en) Information processing for generating print data for variable-data printing
KR101251686B1 (en) Determining fields for presentable files and extensible markup language schemas for bibliographies and citations
JP2007183849A (en) Document processor
JP2004289357A (en) Method and apparatus for adding additional information, and additional information adding program
CN109741417A (en) A kind of generation method of graphic file, calculates equipment and storage medium at device
TW201543234A (en) Method for generating web program and corresponding form interface from annotation of table filed
JP4220439B2 (en) Structured data conversion apparatus and method
Godfrey Putting it all together—A blind person’s perspective on developing a toolbox for document preparation