CN111797595A - A method and device for generating OFD layout page based on XML template - Google Patents
A method and device for generating OFD layout page based on XML template Download PDFInfo
- Publication number
- CN111797595A CN111797595A CN202010418994.4A CN202010418994A CN111797595A CN 111797595 A CN111797595 A CN 111797595A CN 202010418994 A CN202010418994 A CN 202010418994A CN 111797595 A CN111797595 A CN 111797595A
- Authority
- CN
- China
- Prior art keywords
- metadata
- ofd
- generating
- xml template
- xml
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
- G06F40/14—Tree-structured documents
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/186—Templates
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/189—Automatic justification
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Processing Or Creating Images (AREA)
Abstract
本发明提出了一种基于XML模板生成OFD版式页面的方法,包括以下步骤:获取XML模板,所述XML模板包括一系列元数据;依次读取所述元数据;按照所述元数据的类型将其转换为符合标准的OFD文件;输出所述OFD文件。本发明通过XML模板生成OFD版式页面,具有方便、灵活、统一化的优点,帮助应用者批量生成具有相同版面显示效果的OFD文件。
The present invention provides a method for generating an OFD layout page based on an XML template, which includes the following steps: obtaining an XML template, where the XML template includes a series of metadata; reading the metadata in sequence; It is converted into a standard-compliant OFD file; the OFD file is output. The present invention generates OFD layout pages through XML templates, has the advantages of convenience, flexibility and uniformity, and helps users to generate OFD files with the same layout display effect in batches.
Description
技术领域technical field
本发明涉及计算机技术领域,具体而言,涉及一种基于XML模板生成OFD版式页面的方法和装置。The present invention relates to the field of computer technology, in particular, to a method and device for generating OFD layout pages based on XML templates.
背景技术Background technique
OFD,开放版式文档(Open Fixed-layout Document,缩写:OFD),是我国国家标准《GB/T 33190-2016电子文件存储与交换格式版式文档》定义的我国版式文档格式。OFD适应了我国信息化建设的需要,正在成为我国各行各业信息化应用的基础标准之一。所谓“版式文档”,是指它描述的页面内容具有固定的位置、大小、颜色等外观信息,确保页面内容在所有终端的显示效果完全固定、一致。OFD, Open Fixed-layout Document (abbreviation: OFD), is a Chinese layout document format defined by my country's national standard "GB/T 33190-2016 Electronic File Storage and Interchange Format Layout Document". OFD meets the needs of my country's informatization construction and is becoming one of the basic standards for informatization applications in all walks of life in my country. The so-called "layout document" means that the page content it describes has fixed position, size, color and other appearance information to ensure that the display effect of the page content on all terminals is completely fixed and consistent.
OFD是一个压缩包文件,采用ZIP压缩格式,文件后缀名是“.ofd”,因此从本质上讲OFD就是一个ZIP压缩包。依据标准定义,OFD包含了两种类型的数据文件:一种是以XML格式存储的文档及页面信息,它定义了版式文档的基础信息;另一种是以其它格式存储的资源信息,比如字体、图像、多媒体等格式的资源文件。OFD is a compressed package file, using ZIP compression format, the file suffix is ".ofd", so in essence, OFD is a ZIP compressed package. According to the standard definition, OFD contains two types of data files: one is document and page information stored in XML format, which defines the basic information of the layout document; the other is resource information stored in other formats, such as fonts , image, multimedia and other formats of resource files.
XML,可扩展标记语言(Extensible Markup Language,缩写:XML),是国际流行的通用数据描述语言格式,它具有简单、易于理解、易用应用等众多优点。OFD采用它作为版式文档的基础信息描述格式,可以说是OFD的核心数据格式。XML, Extensible Markup Language (Extensible Markup Language, abbreviation: XML), is an internationally popular general-purpose data description language format, which has many advantages such as simplicity, easy understanding, and easy application. OFD adopts it as the basic information description format of layout documents, which can be said to be the core data format of OFD.
目前在OFD版式应用上存在一个重要的需求:需要批量生成固定版面格式的文件,固定版面格式即版面格式相同但数据内容不同。实际应用当中存在大量这样的应用场景,比如电子发票或电子凭证,它们的特点是版面格式完全固定,只是发票或凭证的内容不一样,是需要生成的数量庞大而且长期性的应用。目前的解决办法是通过计算机程序直接生成OFD全页面数据,每次都需要对计算机程序重新设计,再全部重新生成,应用过程复杂,执行效率低下。At present, there is an important requirement in OFD layout applications: files in a fixed layout format need to be generated in batches. The fixed layout format means that the layout format is the same but the data content is different. There are a large number of such application scenarios in practical applications, such as electronic invoices or electronic vouchers. They are characterized by a completely fixed layout format, but the content of invoices or vouchers is different, which is a huge and long-term application that needs to be generated. The current solution is to directly generate OFD full-page data through a computer program. The computer program needs to be redesigned every time, and then all the data are regenerated. The application process is complicated and the execution efficiency is low.
发明内容SUMMARY OF THE INVENTION
鉴于上述问题,本发明提供了一种基于XML模板生成OFD版式页面的方法和装置。In view of the above problems, the present invention provides a method and apparatus for generating an OFD layout page based on an XML template.
为解决上述技术问题,本发明采用的技术方案是:一种基于XML模板生成OFD版式页面的方法,包括以下步骤:获取XML模板,所述XML模板包括一系列元数据;依次读取所述元数据;按照所述元数据的类型将其转换为符合标准的OFD文件;输出所述OFD文件。In order to solve the above-mentioned technical problems, the technical solution adopted in the present invention is: a method for generating OFD layout pages based on XML templates, comprising the following steps: obtaining an XML template, wherein the XML template includes a series of metadata; sequentially reading the metadata data; convert it into a standard-compliant OFD file according to the metadata type; output the OFD file.
作为优选方案,在所述获取XML模板之前,还包括生成XML模板,具体步骤为:获取原始数据;根据所述原始数据的类型分别将其转换成元数据;多个所述元数据依次组合生成XML模板。As a preferred solution, before the obtaining of the XML template, the method further includes generating an XML template, and the specific steps are: obtaining original data; converting it into metadata according to the type of the original data; combining a plurality of the metadata in turn to generate XML templates.
作为优选方案,每个所述元数据包括以下信息中的一种或多种:元数据名称、元数据取值、元数据类型、元数据定位和元数据属性。As a preferred solution, each of the metadata includes one or more of the following information: metadata name, metadata value, metadata type, metadata location and metadata attribute.
作为优选方案,所述按照所述元数据的类型将其转换为符合标准的OFD文件,具体为:当所述元数据为文字类型时,将所述元数据中的字符进行排版,获取每个所述字符的位置信息后以OFD形式输出;当所述元数据为图片类型时,将所述元数据中的图片进行计算缩放比例、旋转系数后以OFD形式输出。As a preferred solution, converting the metadata into a standard OFD file according to the type of the metadata is specifically: when the metadata is a text type, typesetting the characters in the metadata, and obtaining each The position information of the character is then output in the form of OFD; when the metadata is a picture type, the picture in the metadata is calculated in the form of OFD after the scaling ratio and rotation coefficient are calculated.
作为优选方案,还包括嵌入字体,将指定字体添加到所述OFD文件中。As a preferred solution, an embedded font is also included, and a specified font is added to the OFD file.
作为优选方案,所述方法还可应用于生成PDF版式页面。As a preferred solution, the method can also be applied to generate PDF layout pages.
本发明还公开了一种基于XML模板生成OFD版式页面的装置,包括:获取模块,用于获取XML模板,所述XML模板包括一系列元数据;读取模块,用于依次读取所述元数据;转换模块,用于按照所述元数据的类型将其转换为符合标准的OFD文件;输出模块,用于输出所述OFD文件。The invention also discloses a device for generating an OFD layout page based on an XML template, comprising: an acquisition module for acquiring an XML template, where the XML template includes a series of metadata; a reading module for sequentially reading the metadata data; a conversion module for converting the metadata into a standard OFD file according to the type of the metadata; an output module for outputting the OFD file.
作为优选方案,还包括生成模块,所述生成模块用于获取原始数据,并根据所述原始数据的类型分别将其转换成元数据,再将多个所述元数据依次组合生成XML模板。As a preferred solution, a generation module is also included, and the generation module is configured to obtain the original data, convert it into metadata according to the type of the original data, and then combine a plurality of the metadata in sequence to generate an XML template.
作为优选方案,所述转换模块包括文字转换模块和图片转换模块;所述文字转换模块用于将所述元数据中的字符进行排版,获取每个所述字符的位置信息以OFD形式输出;所述图片转换模块用于将所述元数据中的图片进行计算缩放比例、旋转系数后以OFD形式输出。As a preferred solution, the conversion module includes a text conversion module and an image conversion module; the text conversion module is used to typeset the characters in the metadata, and obtain the position information of each character and output it in the form of OFD; The picture conversion module is used for calculating the scaling ratio and the rotation coefficient of the picture in the metadata, and then outputting the picture in the form of OFD.
作为优选方案,还包括嵌入模块,所述嵌入模块用于将指定字体添加到所述OFD文件中。As a preferred solution, an embedded module is also included, and the embedded module is used for adding a specified font to the OFD file.
与现有技术相比,本发明的有益效果包括:将版式页面模板化,固定部分的版式页面内容做成OFD页面模板,再将可变内容补充到OFD版式页面,版式页面模板化将版面设计做了分离,通过模板设计器来设计版面,即将固定版面内容表达出来,同时也将可变内容部分的所在位置、大小及其它呈现效果定义出来,从而在批量生成的时候简化的应用并提高执行效率,具有方便、灵活、统一化的优点,帮助应用者批量生成具有相同版面显示效果的OFD文件。Compared with the prior art, the beneficial effects of the present invention include: template the layout page, make the content of the fixed part of the layout page into an OFD page template, and then supplement the variable content to the OFD layout page, and template the layout page to make the layout design. After separation, the layout is designed through the template designer, that is, the content of the fixed layout is expressed, and the location, size and other rendering effects of the variable content part are also defined, so as to simplify the application and improve the execution during batch generation. Efficiency, has the advantages of convenience, flexibility and unification, and helps users to generate OFD files with the same layout display effect in batches.
附图说明Description of drawings
参照附图来说明本发明的公开内容。应当了解,附图仅仅用于说明目的,而并非意在对本发明的保护范围构成限制。在附图中,相同的附图标记用于指代相同的部件。其中:The disclosure of the present invention is described with reference to the accompanying drawings. It should be understood that the accompanying drawings are for illustrative purposes only, and are not intended to limit the protection scope of the present invention. In the drawings, the same reference numerals are used to refer to the same parts. in:
图1为本发明实施例中一种基于XML模板生成OFD版式页面的方法流程图;1 is a flowchart of a method for generating an OFD layout page based on an XML template in an embodiment of the present invention;
图2为本发明实施例中生成XML模板的方法流程图;2 is a flowchart of a method for generating an XML template in an embodiment of the present invention;
图3为本发明实施例中一种基于XML模板生成OFD版式装置的结构图;3 is a structural diagram of a device for generating OFD layout based on an XML template in an embodiment of the present invention;
图4为本发明实施例中转换模块的结构图。FIG. 4 is a structural diagram of a conversion module in an embodiment of the present invention.
具体实施方式Detailed ways
容易理解,根据本发明的技术方案,在不变更本发明实质精神下,本领域的一般技术人员可以提出可相互替换的多种结构方式以及实现方式。因此,以下具体实施方式以及附图仅是对本发明的技术方案的示例性说明,而不应当视为本发明的全部或者视为对本发明技术方案的限定或限制。It is easy to understand that, according to the technical solutions of the present invention, without changing the essential spirit of the present invention, those of ordinary skill in the art can propose various alternative structures and implementations. Therefore, the following specific embodiments and accompanying drawings are only exemplary descriptions of the technical solutions of the present invention, and should not be regarded as all of the present invention or as limitations or restrictions on the technical solutions of the present invention.
根据本发明的一实施方式结合图1示出。一种基于XML模板生成OFD版式页面的方法,包括以下步骤:An embodiment according to the present invention is shown in conjunction with FIG. 1 . A method for generating an OFD layout page based on an XML template, comprising the following steps:
S110:获取XML模板,XML模板包括一系列元数据。S110: Obtain an XML template, where the XML template includes a series of metadata.
具体的,每个元数据均包括以下信息:Specifically, each metadata includes the following information:
元数据名称,每项元数据名称必须唯一,且为可读的字符串。Metadata name, each metadata name must be unique and a readable string.
元数据取值,指元数据定义的数据取值。The metadata value refers to the data value defined by the metadata.
元数据类型,指元数据取值类型,可以扩展,比如文本(即字符串)、图像、日期等。Metadata type refers to the metadata value type, which can be extended, such as text (ie, string), image, date, etc.
元数据定位,用来指定元数据数值在版式页面当中的位置和大小(宽度、高度)。Metadata positioning, used to specify the position and size (width, height) of the metadata value in the layout page.
元数据属性,这个跟元数据类型相关,不同类型的属性设置不同,比如文本类型的元数据属性就要有字体、字号、文字颜色、字形风格(粗体、斜体)等,图像类型的数据属性可以有透明度或旋转角度等属性。Metadata attributes, this is related to the metadata type. Different types of attributes are set differently. For example, the metadata attributes of text types must include font, font size, text color, font style (bold, italic), etc., and the data attributes of image types. Can have properties such as transparency or rotation angle.
如图2所示,在获取XML模板之前,还包括生成XML模板,具体步骤为:As shown in Figure 2, before acquiring the XML template, it also includes generating an XML template, and the specific steps are:
S210:获取原始数据。S210: Obtain raw data.
S220:根据原始数据的类型分别将其转换成元数据。对于原始数据为二进制的类型,则需要做编码转换,转换成符合XML格式标准的数据表达形式,常见的编码转换为BASE-64,比如图像或二维码类型的数据取值就需要做编码转换。S220: Convert the original data into metadata respectively according to the type. For the binary type of the original data, encoding conversion is required to convert it into a data expression form that conforms to the XML format standard. The common encoding is converted to BASE-64. For example, the data value of image or two-dimensional code type needs to be encoded. .
S230:将多个元数据依次组合生成XML模板。S230: Combine multiple metadata in turn to generate an XML template.
本实施例中,XML模板元数据的样例如下:In this embodiment, a sample of XML template metadata is as follows:
S120:依次读取元数据,从XML模板的第一条元数据开始,每次顺序读取一条元数据。S120: Read metadata in sequence, starting from the first metadata of the XML template, and sequentially read one metadata at a time.
S130:按照元数据的类型将其转换为符合标准的OFD文件,比如文字类型需要进行排版,然后获取每个字符的位置信息后以OFD形式输出,图像需要计算缩放比例、旋转系数后以OFD形式输出。S130: Convert it into a standard OFD file according to the type of metadata. For example, the type of text needs to be typeset, and then the position information of each character is obtained and output in the form of OFD, and the image needs to be calculated in the form of OFD after scaling and rotation coefficient. output.
如果XML模板包含多个页面的数据,则在一个页面处理完成之后继续处理下一个页面,直至结束。If the XML template contains data for multiple pages, after one page is processed, the next page is processed until the end.
S140:输出OFD文件。S140: Output the OFD file.
依据OFD标准,对于归档保存的OFD文件应当使用嵌入字体,从而确保OFD文件在所有平台上显示效果完全相同,因此对于元数据类型为文本的则采用嵌入字体。所谓嵌入字体就是把指定字体当中用到的字符字体数据添加到OFD文件中。嵌入字体的详细处理过程不属于本专利的保护范畴,这里不做赘述。According to the OFD standard, embedded fonts should be used for archived OFD files to ensure that the OFD files display the same effect on all platforms. Therefore, embedded fonts are used for the metadata type of text. The so-called embedded font is to add the character font data used in the specified font to the OFD file. The detailed processing process of the embedded font does not belong to the protection scope of this patent, and will not be repeated here.
应理解,本发明公开了一种基于XML模板生成OFD版式页面的方法,帮助应用者批量生成具有相同版面显示效果的OFD文件。在批量生成的时候,每一份XML模板元数据定义了一个OFD文件,执行相同的生成过程,如此循环直至全部生成。XML模板元数据可能来自于数据库,也可能来自于网络,或者二者结合的数据环境或其它数据环境。该方法还可应用于基于XML模板的PDF等格式的版式页面上。It should be understood that the present invention discloses a method for generating an OFD layout page based on an XML template, which helps an application user to generate OFD files with the same layout display effect in batches. During batch generation, each XML template metadata defines an OFD file, and the same generation process is performed, and so on until all are generated. XML template metadata may come from a database, a network, or a combined data environment or other data environment. The method can also be applied to layout pages in formats such as PDF based on XML templates.
如图3和图4所示,本发明还公开了一种基于XML模板生成OFD版式页面的装置,包括:As shown in Figure 3 and Figure 4, the present invention also discloses a device for generating OFD layout pages based on an XML template, including:
获取模块110,用于获取XML模板,XML模板包括一系列元数据;an obtaining
读取模块120,用于依次读取元数据;a
转换模块130,用于按照元数据的类型将其转换为符合标准的OFD文件,转换模块130包括文字转换模块1301和图片转换模块1302;文字转换模块1301用于将元数据中的字符进行排版,获取每个字符的位置信息再进行输出;The
图片转换模块1302用于将元数据中的图片进行计算缩放比例、旋转系数后再进行输出。The
输出模块140,用于输出OFD文件。The
本实施例中,该装置还包括生成模块100,生成模块100用于获取原始数据,并根据原始数据的类型分别将其转换成元数据,再将元数据依次组合生成XML模板。In this embodiment, the apparatus further includes a
还包括嵌入模块150,该嵌入模块150用于将指定字体添加到OFD文件中。Also included is an embedding
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system, device and unit described above may refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分,或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-OnlyMemory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or a part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: U disk, removable hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes.
本发明的技术范围不仅仅局限于上述说明中的内容,本领域技术人员可以在不脱离本发明技术思想的前提下,对上述实施例进行多种变形和修改,而这些变形和修改均应当属于本发明的保护范围内。The technical scope of the present invention is not limited to the content in the above description, and those skilled in the art can make various deformations and modifications to the above-mentioned embodiments without departing from the technical idea of the present invention, and these deformations and modifications should belong to within the protection scope of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010418994.4A CN111797595A (en) | 2020-05-18 | 2020-05-18 | A method and device for generating OFD layout page based on XML template |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010418994.4A CN111797595A (en) | 2020-05-18 | 2020-05-18 | A method and device for generating OFD layout page based on XML template |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN111797595A true CN111797595A (en) | 2020-10-20 |
Family
ID=72806116
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010418994.4A Pending CN111797595A (en) | 2020-05-18 | 2020-05-18 | A method and device for generating OFD layout page based on XML template |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111797595A (en) |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112989780A (en) * | 2021-02-20 | 2021-06-18 | 福昕鲲鹏(北京)信息科技有限公司 | OFD rapid generation method and system, electronic device and storage medium |
| CN113160356A (en) * | 2021-03-22 | 2021-07-23 | 上海阳光睿玺信息科技有限公司 | Python-based clothing picture template batch processing display system |
| CN113255317A (en) * | 2021-05-31 | 2021-08-13 | 深圳高灯计算机科技有限公司 | OFD format invoice analysis method, system and equipment based on cloud service |
| CN113688619A (en) * | 2021-08-05 | 2021-11-23 | 深圳集智数字科技有限公司 | PDF document generation method and device, electronic equipment and storage medium |
| CN114185855A (en) * | 2022-02-15 | 2022-03-15 | 中博信息技术研究院有限公司 | Simplified method and system for generating OFD file based on JSON |
| CN114970487A (en) * | 2022-07-27 | 2022-08-30 | 中建电子商务有限责任公司 | Method for generating OFD electronic contract based on rich text |
| CN116108515A (en) * | 2023-02-02 | 2023-05-12 | 北京广利核系统工程有限公司 | A method for generating a configuration screen, a method for exporting a configuration screen, and related devices |
| CN118917295A (en) * | 2024-10-10 | 2024-11-08 | 北京数科网维技术有限责任公司 | Layout file processing method and device and computing equipment |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104346322A (en) * | 2013-08-08 | 2015-02-11 | 北大方正集团有限公司 | Document format processing device and document format processing method |
| CN107688557A (en) * | 2016-08-03 | 2018-02-13 | 北大方正集团有限公司 | Composition method, composing system and terminal |
| CN108921627A (en) * | 2018-06-07 | 2018-11-30 | 国信电子票据平台信息服务有限公司 | A kind of method and system generating electronic invoice OFD layout files |
| CN109829139A (en) * | 2019-01-30 | 2019-05-31 | 中国软件与技术服务股份有限公司 | The method and apparatus that a kind of stream-oriented file of DOC/DOCX format is converted into the layout files of OFD format |
| CN109977088A (en) * | 2019-03-30 | 2019-07-05 | 湖北畅云时讯软件技术有限公司 | A kind of method that preset format file is converted to OFD format |
-
2020
- 2020-05-18 CN CN202010418994.4A patent/CN111797595A/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104346322A (en) * | 2013-08-08 | 2015-02-11 | 北大方正集团有限公司 | Document format processing device and document format processing method |
| US20150046797A1 (en) * | 2013-08-08 | 2015-02-12 | Peking University Founder Group Co., Ltd. | Document format processing apparatus and document format processing method |
| CN107688557A (en) * | 2016-08-03 | 2018-02-13 | 北大方正集团有限公司 | Composition method, composing system and terminal |
| CN108921627A (en) * | 2018-06-07 | 2018-11-30 | 国信电子票据平台信息服务有限公司 | A kind of method and system generating electronic invoice OFD layout files |
| CN109829139A (en) * | 2019-01-30 | 2019-05-31 | 中国软件与技术服务股份有限公司 | The method and apparatus that a kind of stream-oriented file of DOC/DOCX format is converted into the layout files of OFD format |
| CN109977088A (en) * | 2019-03-30 | 2019-07-05 | 湖北畅云时讯软件技术有限公司 | A kind of method that preset format file is converted to OFD format |
Non-Patent Citations (1)
| Title |
|---|
| 郭晓云;: "国家版式文档格式规范(OFD)标准", 兰台世界, no. 03, pages 33 - 36 * |
Cited By (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112989780B (en) * | 2021-02-20 | 2025-03-25 | 福昕鲲鹏(北京)信息科技有限公司 | OFD fast generation method, system, electronic device and storage medium |
| CN112989780A (en) * | 2021-02-20 | 2021-06-18 | 福昕鲲鹏(北京)信息科技有限公司 | OFD rapid generation method and system, electronic device and storage medium |
| CN113160356B (en) * | 2021-03-22 | 2024-02-02 | 上海阳光睿玺信息科技有限公司 | Clothing picture template batch processing display system based on Python |
| CN113160356A (en) * | 2021-03-22 | 2021-07-23 | 上海阳光睿玺信息科技有限公司 | Python-based clothing picture template batch processing display system |
| CN113255317A (en) * | 2021-05-31 | 2021-08-13 | 深圳高灯计算机科技有限公司 | OFD format invoice analysis method, system and equipment based on cloud service |
| CN113255317B (en) * | 2021-05-31 | 2021-11-30 | 深圳高灯计算机科技有限公司 | OFD format invoice analysis method, system and equipment based on cloud service |
| CN113688619A (en) * | 2021-08-05 | 2021-11-23 | 深圳集智数字科技有限公司 | PDF document generation method and device, electronic equipment and storage medium |
| CN114185855B (en) * | 2022-02-15 | 2022-05-24 | 中博信息技术研究院有限公司 | Simplified method and system for generating OFD file based on JSON |
| CN114185855A (en) * | 2022-02-15 | 2022-03-15 | 中博信息技术研究院有限公司 | Simplified method and system for generating OFD file based on JSON |
| CN114970487B (en) * | 2022-07-27 | 2023-01-06 | 中建电子商务有限责任公司 | Method for generating OFD electronic contract based on rich text |
| CN114970487A (en) * | 2022-07-27 | 2022-08-30 | 中建电子商务有限责任公司 | Method for generating OFD electronic contract based on rich text |
| CN116108515A (en) * | 2023-02-02 | 2023-05-12 | 北京广利核系统工程有限公司 | A method for generating a configuration screen, a method for exporting a configuration screen, and related devices |
| CN118917295A (en) * | 2024-10-10 | 2024-11-08 | 北京数科网维技术有限责任公司 | Layout file processing method and device and computing equipment |
| CN118917295B (en) * | 2024-10-10 | 2025-01-24 | 北京数科网维技术有限责任公司 | A method, device and computing equipment for processing layout files |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111797595A (en) | A method and device for generating OFD layout page based on XML template | |
| US9471550B2 (en) | Method and apparatus for document conversion with font metrics adjustment for format compatibility | |
| CN114359943B (en) | OFD format document paragraph recognition method and device | |
| US8321839B2 (en) | Abstracting test cases from application program interfaces | |
| CN101996160B (en) | Method and system for processing script data | |
| CN108415887A (en) | A kind of method that pdf document is converted to OFD files | |
| WO2023098447A1 (en) | Method for converting layout data stream file into ofd file | |
| US20130318435A1 (en) | Load-Time Memory Optimization | |
| US20210019366A1 (en) | Text Extraction Heuristics | |
| CN102298575A (en) | Method and system for copying and pasting Word file content with format | |
| CN102402500A (en) | Method and system for converting PDF (Portable document Format) file into SWF (Single-wire Fall) file | |
| CN115630618A (en) | Intelligent scene editing method, system, equipment and medium for PDF document | |
| CN114970513A (en) | Image generation method, device, equipment and storage medium | |
| CN112699641B (en) | Method for quickly converting batch copy of WORD content to DM based on S1000D standard | |
| CN106874240A (en) | Digital publishing method and system | |
| CN102467496B (en) | Method and device for converting stream mode typeset content into block mode typeset document | |
| CN102063415B (en) | Method and system for embedding single-byte fonts in PDF (Portable Document Format) file | |
| CN102063416B (en) | Method and system for embedding double-byte fonts into PDF file | |
| CN116432609A (en) | Method for converting OFD file into PDF file | |
| CN120104577B (en) | PDF file form analysis method | |
| WO2020147140A1 (en) | Phrase code generation method and apparatus, phrase code recognition method and apparatus, and storage medium | |
| CN111401005B (en) | Text conversion method, device and readable storage medium | |
| CN112433995A (en) | File format conversion method, system, computer equipment and storage medium | |
| WO2012142730A1 (en) | Method and device for word processing | |
| US20200311059A1 (en) | Multi-layer word search option |
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 | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20201020 |