A method and device for synchronizing association between xml file and pdf file
A file synchronization and file technology, applied in the XML field, can solve problems such as complicated operation steps, inability to understand corresponding relationships, and low efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0055] The embodiment of the present application provides a method for synchronously associating an XML file with a PDF file, such as figure 1 A flowchart of the method is shown, including:
[0056] S101. Set a corresponding tag identifier for a text segment tag in the Extensible Markup Language XML file.
[0057] In the embodiment of the present application, in the process of converting an XML file into a PDF file, detect whether the text segment tag in the XML file has a tag identifier, if so, obtain the tag identifier; if not, set the tag for the segment The corresponding tag identifier.
[0058] It includes setting a tag identifier for each text segment tag; or judging whether the text segment is the head of an associated text segment, and if so, setting a tag identifier for the text segment and the associated text segment adjacent to the text segment. For example, when a text segment titled "2.1.1" corresponds to only a text segment A, you can set a tag identifier for "...
Embodiment 2
[0084] The embodiment of this application provides a device for synchronously associating XML files with PDF files, such as image 3 Shown is a schematic diagram of the structure of the device, including:
[0085] The setting module 201 is used for setting the corresponding label identifier for the text segment label in the XML file;
[0086] The first obtaining module 202 is used to obtain the tag identifier during the typesetting process of converting the XML file into a PDF file;
[0087] The second acquiring module 203 is configured to acquire typesetting position information of the tag in the PDF file;
[0088] A construction module 204, configured to construct a synchronous association mapping relationship between the label identifier and the typesetting position information.
[0089] Optionally, the second obtaining module 203 is used for:
[0090] Recording the page number of the label in the PDF file; obtaining the starting line and the ending line of the label in ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com