CN110119502A - A method of dynamic table single domain is realized based on OFD document - Google Patents

A method of dynamic table single domain is realized based on OFD document Download PDF

Info

Publication number
CN110119502A
CN110119502A CN201910395148.2A CN201910395148A CN110119502A CN 110119502 A CN110119502 A CN 110119502A CN 201910395148 A CN201910395148 A CN 201910395148A CN 110119502 A CN110119502 A CN 110119502A
Authority
CN
China
Prior art keywords
domain
dynamic table
single domain
table single
dynamic
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201910395148.2A
Other languages
Chinese (zh)
Inventor
不公告发明人
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangxi Jinge Polytron Technologies Inc
Original Assignee
Jiangxi Jinge Polytron Technologies Inc
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 Jiangxi Jinge Polytron Technologies Inc filed Critical Jiangxi Jinge Polytron Technologies Inc
Priority to CN201910395148.2A priority Critical patent/CN110119502A/en
Publication of CN110119502A publication Critical patent/CN110119502A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/80Information retrieval; Database structures therefor; File system structures therefor of semi-structured data, e.g. markup language structured data such as SGML, XML or HTML
    • G06F16/81Indexing, e.g. XML tags; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/80Information retrieval; Database structures therefor; File system structures therefor of semi-structured data, e.g. markup language structured data such as SGML, XML or HTML
    • G06F16/83Querying
    • G06F16/838Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The invention discloses a kind of methods for realizing dynamic table single domain based on OFD document, including domain parsing module and domain editor module, domain parsing module provides the function of parsing dynamic table single domain, XML format file in OFD document can be parsed, can get the object identity and its property content of dynamic table single domain after parsing;Domain editor module provides the editting function to OFD document dynamic table single domain, including addition dynamic table single domain, modification dynamic table single domain, deletion dynamic list domain-functionalities.The present invention realizes the function of OFD document dynamic table single domain.The compatible existing application program for not supporting OFD document dynamic table single domain, customizing form domain information storage file, domain parsing module, the entirely autonomous research and development of domain editor module, provide completely for advanced optimize space.

Description

A method of dynamic table single domain is realized based on OFD document
Technical field
The present invention relates to format document format analysis processing technologies, in particular to a kind of to realize dynamic table single domain based on OFD document Method.
Background technique
Format document format is that a variety of digital content objects such as text, figure, image are carried out the space of a whole page according to certain rule Solidify a kind of format presented.OFD(open fixed layout document) document be by national independent research, independently of Software, hardware, operating system, output equipment format document format.
The increase of demand and application dynamics with country to OFD format document, present all trades and professions are to OFD document Use also more and more frequently.Especially OFD document is in use, needs the content for making part list to be able to carry out dynamic and repairs Change, and be limited to the format specification of current OFD document, be also unable to reach the demand of dynamic list, this allows for OFD document and is using On there is also some drawbacks.
Summary of the invention
The present invention provides a kind of technical method of dynamic table single domain based on OFD document, solves OFD document and does not support dynamic The problem of list, makes OFD document also support the function of dynamic list, can greatly promote the practicability of OFD document, while can also To promote working efficiency.
The method of the present invention is precisely in order to solving the above problems and designing.One kind realizing dynamic table single domain based on OFD document Method, which is characterized in that including domain parsing module and domain editor module, the domain parsing module provides parsing dynamic table single domain Function, the XML format file in OFD document can be parsed, after parsing can get dynamic table single domain object identity and Its property content;The domain editor module provides the editting function to OFD document dynamic table single domain, including addition dynamic list Dynamic list domain-functionalities, are deleted at modification dynamic table single domain in domain;
Its step are as follows:
1) start application program: starting application program;
2) start domain parsing module: by application program launching domain parsing module;
3) parse form fields information storage file: domain parsing module accesses customized list domain information storage text in OFD document Part;
4) obtain dynamic list field object mark: domain parsing module is by the dynamic table in customized list domain information storage file Single domain object identity is obtained and is deposited in the buffer;
5) list in document is accessed: by application triggers event;
6) it obtains object identity: obtaining the object identity of access region;
7) judge dynamic table single domain: for judging whether current accessed region is dynamic table single domain;
8) content of edit: judge whether to need to edit the content of dynamic table single domain;
9) start domain editor module: starting domain editor module, and obtain the functional interface of domain editor module;
10) dynamic table single domain content is edited: editor's dynamic table single domain content, and will more new content be stored in caching;
11) document is saved: will be in the content update to file in caching;
12) terminate: process terminates.
The method of the present invention increases a customized list domain information storage file based on OFD document standard specification, This document is used to store the identification information of dynamic list field object.For the content edited in dynamic table single domain, by it according to symbol The format for closing OFD document standard specification, is inserted into corresponding XML file, then stores its object identity in list domain information It is recorded in file.Since the actual content of dynamic table single domain is present in the XML file for meeting OFD document standard specification, institute The module of display OFD document can normally still be rendered by script with the display function of dynamic table single domain or application program is responsible for.
The present invention realizes the function of OFD document dynamic table single domain, compatible existing OFD document dynamic table single domain of not supporting Application program, customizing form domain information storage file, domain parsing module, the entirely autonomous research and development of domain editor module, has provided Entirely for advanced optimize space.
Detailed description of the invention
Fig. 1 is that the present invention is based on the method flow diagrams that OFD document realizes dynamic table single domain.
Specific embodiment
Below in conjunction with drawings and examples, the invention will be further described.Referring to Fig. 1, one kind is realized based on OFD document The method of dynamic table single domain, comprising the following steps:
1) application program: for calling the application of the method for the present invention, form is unlimited, can be executable program and is also possible to move State chained library.
2) start domain parsing module: application program load domain parsing module, and obtain the functional interface of domain parsing module.
3) form fields information storage file is parsed: by the customizing form domain information in domain parsing module access OFD document Storage file, and file content is accessed according to customized format.
4) dynamic list field object mark is obtained: all dynamic in file from obtaining in customizing form domain information storage file The object identity of state form fields, is temporarily stored in caching.
5) list in document is accessed: by the list of application program access OFD document.
6) it obtains object identity: obtaining the form object mark of application program access, which is to meet OFD document specification Standard object mark.
7) judge dynamic table single domain: the form object of access mark is transmitted to domain parsing module, domain parsing module is by object It identifies and is compared with the dynamic list field object mark in caching.If there is identical, then judge the object for dynamic table single domain Object;If judging the object not is dynamic list field object without identical.
8) content of edit: whether need to edit the content of dynamic table single domain by application triggers, if desired then carry out down Single stepping waits the event result of application triggers next time if not needing.
9) start domain editor module: load domain editor module, and obtain the functional interface of domain editor module.
Editor's dynamic table single domain content: domain is sent to by application triggers and by the content of edited dynamic table single domain Edited content is stored in caching by editor module, domain editor module.
10) document is saved: by the content update in caching into OFD document.
11) terminate: process terminates.
Embodiment:
Now it is applied to golden lattice reader V2.0 version using the present invention to illustrate as case study on implementation:
The golden previous version of lattice reader (V1.0 version) uses example:
User environment: user computer has installed golden lattice reader V1.0, possesses a OFD document, such as 1.ofd.
User demand: user needs to fill out the blank form content in 1.ofd document using golden lattice reader V1.0 It fills.
V1.0 version operating process: user demand basically can not be reached.Meet user demand if necessary, can pass through Following scheme is realized.Implementation: parsing 1.ofd document is positioned to the page coordinates of addition content, increases corresponding xml manually The node element (considerably complicated) of file saves document again, then is opened with V1.0 version, whether just to look at the position of content Really, if it is incorrect, it needs to remodify coordinate, make repeated attempts, until display position is suitable.
V2.0 version operating process: 1.ofd document is opened using V2.0 version, mouse selects table area, is set as dynamic State form fields save document.Blank form region is clicked using mouse, it may appear that text output frame is filled out in Text Entry Enter the content of text for thinking input, after the completion of input, mouse clicks the other regions of the page, and the content of input will be automatically displayed in table Interior suitable position saves document.
Contrast on effect: during the realization it is easy to see that after having used the method for the present invention, in OFD text The process that content is filled in the blank form of shelves is simpler, practical.
Concrete operation step of the method for the present invention in this case study on implementation:
Golden lattice reader V2.0: application program.
Mouse selects table area: starting domain editor module.
It is set as dynamic table single domain: editor's dynamic table single domain content.
It saves document: saving document.
Blank form region is clicked using mouse: starting domain parsing module.
Text Entry input content: content of edit.
Mouse clicks the other regions of the page: editor's dynamic table single domain content.
It saves document: saving document, terminate.
In summary: the method for the present invention can make OFD document have the function of dynamic table single domain, be provided with OFD document OFD document can be made to become more flexible, purposes is more extensive, easily operated the function that table content is edited.

Claims (1)

1. a kind of method for realizing dynamic table single domain based on OFD document, which is characterized in that edit mould including domain parsing module and domain Block, the domain parsing module provide the function of parsing dynamic table single domain, can parse to the XML format file in OFD document, It can get the object identity and its property content of dynamic table single domain after parsing;The domain editor module is provided to OFD document dynamic The editting function of form fields, including addition dynamic table single domain, modification dynamic table single domain, deletion dynamic list domain-functionalities;
Its step are as follows:
1) start application program: starting application program;
2) start domain parsing module: by application program launching domain parsing module;
3) parse form fields information storage file: domain parsing module accesses customized list domain information storage text in OFD document Part;
4) obtain dynamic list field object mark: domain parsing module is by the dynamic table in customized list domain information storage file Single domain object identity is obtained and is deposited in the buffer;
5) list in document is accessed: by application triggers event;
6) it obtains object identity: obtaining the object identity of access region;
7) judge dynamic table single domain: for judging whether current accessed region is dynamic table single domain;
8) content of edit: judge whether to need to edit the content of dynamic table single domain;
9) start domain editor module: starting domain editor module, and obtain the functional interface of domain editor module;
10) dynamic table single domain content is edited: editor's dynamic table single domain content, and will more new content be stored in caching;
11) document is saved: will be in the content update to file in caching;
12) terminate: process terminates.
CN201910395148.2A 2019-05-13 2019-05-13 A method of dynamic table single domain is realized based on OFD document Pending CN110119502A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910395148.2A CN110119502A (en) 2019-05-13 2019-05-13 A method of dynamic table single domain is realized based on OFD document

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910395148.2A CN110119502A (en) 2019-05-13 2019-05-13 A method of dynamic table single domain is realized based on OFD document

Publications (1)

Publication Number Publication Date
CN110119502A true CN110119502A (en) 2019-08-13

Family

ID=67522311

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910395148.2A Pending CN110119502A (en) 2019-05-13 2019-05-13 A method of dynamic table single domain is realized based on OFD document

Country Status (1)

Country Link
CN (1) CN110119502A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111767698A (en) * 2020-07-07 2020-10-13 江苏中威科技软件系统有限公司 Electronic form system based on OFD format file technology

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102103573A (en) * 2009-12-17 2011-06-22 北大方正集团有限公司 Method and system for quickly generating files in open formats
CN102236653A (en) * 2010-04-26 2011-11-09 北京开普互联科技有限公司 Method for realizing interaction between layout file and relational database
CN103577197A (en) * 2013-11-18 2014-02-12 深圳市远行科技有限公司 Method for achieving android application program dynamic form
CN109492211A (en) * 2018-11-13 2019-03-19 江西金格科技股份有限公司 A kind of table extracting method based on OFD document
CN109558575A (en) * 2018-10-25 2019-04-02 平安科技(深圳)有限公司 Online Table edit method, apparatus, computer equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102103573A (en) * 2009-12-17 2011-06-22 北大方正集团有限公司 Method and system for quickly generating files in open formats
CN102236653A (en) * 2010-04-26 2011-11-09 北京开普互联科技有限公司 Method for realizing interaction between layout file and relational database
CN103577197A (en) * 2013-11-18 2014-02-12 深圳市远行科技有限公司 Method for achieving android application program dynamic form
CN109558575A (en) * 2018-10-25 2019-04-02 平安科技(深圳)有限公司 Online Table edit method, apparatus, computer equipment and storage medium
CN109492211A (en) * 2018-11-13 2019-03-19 江西金格科技股份有限公司 A kind of table extracting method based on OFD document

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111767698A (en) * 2020-07-07 2020-10-13 江苏中威科技软件系统有限公司 Electronic form system based on OFD format file technology
CN111767698B (en) * 2020-07-07 2021-02-05 江苏中威科技软件系统有限公司 Electronic form system based on OFD format file technology

Similar Documents

Publication Publication Date Title
US9857959B2 (en) Supporting webpage design and revision irrespective of webpage framework
CN107832045B (en) Method and apparatus for cross programming language interface conversion
CN104731589A (en) Automatic generation method and device of user interface (UI)
CN104346322A (en) Document format processing device and document format processing method
CN111259644B (en) Rich text processing method, editor, equipment and storage medium
CN105528418B (en) A kind of design documentation generation method and device
CN104778241A (en) Report generation method and system
GB2423387A (en) Application-Generic Sequence Diagram Generator Driven by a Non-Proprietary Language
CN102163233A (en) Method and system for converting webpage markup language format
CN101520728A (en) Method for processing document meeting document library standard by third-party software
CN103902717A (en) System and method for personalizing internal portals of enterprises
CN105786788B (en) A kind of method and apparatus using WORD Program Generating lists
CN109710686A (en) The analysis system of visualization building chart
CN111068328A (en) Game advertisement configuration table generation method, terminal device and medium
CN103309849B (en) A kind of docx document creation based on OpenXML and amending method
CN102375738B (en) A kind of apparatus and method of mobile terminal data management
CN107436785B (en) Revit software information interaction system and interaction method based on information system
CN106446116A (en) Business rule parameter interaction method and business rule parameter interaction device applied to rule engine
CN111078217A (en) Brain graph generation method, apparatus and computer-readable storage medium
CN117077650B (en) Document generation system, method, equipment and medium based on dynamic template configuration
CN114168853A (en) Data visualization display method, device, medium and electronic equipment
CN110119502A (en) A method of dynamic table single domain is realized based on OFD document
KR101709186B1 (en) Interactive multimedia E-book authoring apparatus and method
CN105574114A (en) On-line plotting method based on telecom resource management standard control library
CN105718434A (en) Natural language formula editing method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190813

WD01 Invention patent application deemed withdrawn after publication