WO2023098448A1 - Method for converting ofd file - Google Patents

Method for converting ofd file Download PDF

Info

Publication number
WO2023098448A1
WO2023098448A1 PCT/CN2022/131211 CN2022131211W WO2023098448A1 WO 2023098448 A1 WO2023098448 A1 WO 2023098448A1 CN 2022131211 W CN2022131211 W CN 2022131211W WO 2023098448 A1 WO2023098448 A1 WO 2023098448A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
ofd
coordinates
objects
resource
Prior art date
Application number
PCT/CN2022/131211
Other languages
French (fr)
Chinese (zh)
Inventor
何冉冉
何中
顾志平
蔡亚军
严伟
Original Assignee
江苏中威科技软件***有限公司
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 江苏中威科技软件***有限公司 filed Critical 江苏中威科技软件***有限公司
Publication of WO2023098448A1 publication Critical patent/WO2023098448A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/151Transformation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation

Definitions

  • the invention relates to the field of electronic file format conversion, in particular to a method for converting an OFD file into a format data flow file.
  • Format data stream files integrate three major applications: format file reading, file and stream data interaction, and form handwriting signing and approval under the user interface; files are mainly based on automatic reconstruction of file boards, multi-level hierarchical structure display, handwriting engine, and multi-file merging Innovative technologies such as smooth reading, sign-and-approve closed closure traceability, stacked batches, etc. to achieve:
  • Compatibility It can run on many different operating systems such as Windows, Linux, Galaxy Kirin, UOS, and Zhongke Fangde;
  • the OFD format is an independently controllable electronic document format in my country. Its layout is fixed, it does not run, and what you see is what you get. It can be regarded as "digital paper" in the computer age. However, the OFD file has not been applied to the actual business system at present. After the OFD file is formed, the text cannot be edited or tampered with, and only information such as notes and seals can be attached to it.
  • the present invention proposes a method for converting OFD files, comprising the steps of:
  • multi-thread concurrent processing is used when parsing out the content object and related information of each page.
  • the drawing parameters include line connection style, line frame, dashed line style, dashed line repeat style, line endpoint style, fill color, outline color, bold, italic, monospaced font, embedded font, Whether the font is filled, the fill color, whether the font is outlined, the color of the outline, the thickness value, the horizontal corner radius of the image border, the vertical corner radius of the image border, and the style of the image border.
  • the content object includes a text object, a path object, and an image object.
  • the location information corresponding to the text object and the image object includes coordinates, width, and height.
  • the location information corresponding to the path object includes the coordinates of the starting point and the location of the end point. coordinate.
  • the conversion process when the content object is a text object or an image object is: reading the location information of the content object, and converting the location information of the content object into location information conforming to the reference.
  • the text objects include text, text punctuation, text separators, bullets, numbers, formulas or multiple combinations thereof
  • the image objects include images and videos.
  • the location information conforming to the reference refers to location information based on 1024 points, and the specific conversion process is:
  • the page width value of the OFD file under the same measurement unit is w;
  • the coordinates, width value, and height value of the content object in the OFD file are (x1, y1), w1, h1;
  • the corresponding coordinates, width value, and height value in the drawing parameters conforming to the datum are (x2, y2), w2, h2;
  • the process of converting the content object into a path object is: read the coordinates of the starting point and the end point of the path object, and convert the coordinates of the starting point and the end point of the path object into a starting point conforming to the reference The coordinates of the start point and the coordinates of the end point.
  • the coordinates of the starting point and the ending point of the reference refer to the coordinates of the starting point and the ending point of the point based on 1024, and the specific conversion process is:
  • the page width value of the OFD file under the same measurement unit is w;
  • the coordinates of the starting point of the content object in the OFD file are (x3, y3), and the coordinates of the end point are (x4, y4);
  • the coordinates of the corresponding starting point in the drawing parameters conforming to the datum are (x5, y5), and the coordinates of the end point are (x6, y6);
  • resource objects include attachments, multimedia files, fonts, and signatures
  • the process of writing resource objects to the layout data stream file structure is:
  • the present invention proposes a device for converting OFD files, including at least one storage medium and at least one processor;
  • said at least one storage medium is configured to store computer instructions
  • the at least one process is used to execute the computer instructions to implement the method for converting OFD files described in the first aspect.
  • the content of the file can be edited, and operations such as signing and approval, adding video and audio can be performed, with clear layers and strong readability;
  • Fig. 1 is the flow chart of the method for OFD file transfer format data stream file in some embodiments of the present invention
  • Fig. 2 is a schematic diagram of the elements of the layout data flow file structure of the present invention.
  • the present invention proposes a method for converting OFD files, and writes related programs in the application system and executes them.
  • the process of execution that is, the method for converting OFD files to format data flow files includes the following step:
  • Step 1 unzip the OFD file
  • Step 2 Find the OFD.xml configuration file and resource object in the decompressed content.
  • the resource object includes attachments, multimedia files, fonts, and signatures. Get the root directory and analyze the corresponding relationship between the resource object and the page. For example, when the font is referenced, it is id form, the font corresponding to id is defined elsewhere, such as
  • the id corresponding to Arial in a piece of script information is 4, and the id corresponding to Times New Roman is 7:
  • Step 3 Analyze the content object and related information of each page through multi-thread concurrently, read the content content of each page, and analyze the related information of the content object.
  • the content object includes text object, path object, and image object.
  • Relevant information includes position information, drawing parameters and page number.
  • One page corresponds to one thread.
  • Drawing parameters include line connection style, wire frame, dashed line style (starting from 0 by default), dashed line repeating style (dashed line width, interval width), line End point style, fill color, outline color, bold, italic, monospace font, embedded font, font fill, fill color, font outline, outline color, thickness value, image border horizontal corner radius, Image border vertical corner radius, image border style (through the upper line width, color, outline fill, dotted line), where the color includes (basic color, shading fill, radial gradient, axial gradient, Gouraud gradient);
  • Text objects include text, text punctuation, text separators, bullets, numbers, formulas, or combinations thereof;
  • Path objects include straight lines, rectangles, Bezier curves, or any shape formed by a combination of them;
  • Image objects include images and videos
  • Step 4 Convert the location information to form new related information by combining it with drawing parameters and page numbers.
  • the sizes of different devices are different, so the following drawing parameters must meet the same benchmark.
  • the benchmark is based on 1024
  • the screen width is 2048.
  • the fundamental purpose is to prevent the vector from being blurred.
  • the conversion process when the content object is a text object or an image object is:
  • Step 4.1.1 read the position information of the content object, and convert the position information of the content object into the position information conforming to the reference, the position information includes coordinates, width and height;
  • Step 4.1.2 conversion, the page width value of the OFD file under the same measurement unit is w; the coordinates, width value, and height value of the content object in the OFD file are (x1, y1), w1, h1; in the position information that meets the benchmark The corresponding coordinates, width value, and height value are (x2, y2), w2, h2;
  • a 300*300 page is converted to 1024 coordinates, and the coordinates, width value, and height value of the content object are (20, 20), 30, and 30.
  • the conversion process when the content object is a path object is:
  • Step 4.2.1 read the location information of the content object, convert the location information of the content object into the location information conforming to the reference, the location information includes the coordinates of the starting point and the coordinates of the end point;
  • Step 4.2.2 conversion, the page width value of the OFD file under the same measurement unit is w;
  • the coordinates of the starting point of the content object in the OFD file are (x3, y3), and the coordinates of the end point are (x4, y4);
  • the coordinates of the corresponding starting point in the drawing parameters conforming to the datum are (x5, y5), and the coordinates of the end point are (x6, y6);
  • Step 5 generating a basic layout data flow file structure
  • Step 6 Write content objects, new related information and resource objects into the layout data flow file structure, wherein the process of resource objects writing into the layout data flow file structure is:
  • Step 7 Write the corresponding relationship of each page into the configuration information file of the file.
  • docinfo includes file information, title, description, subtitle, version number, author, etc.; pages includes the page number of the file, and path represents the content of the file Name, according to the path to find the specific content information of the current page, id is only a unique identifier, pages contain multiple pages, and the format of the corresponding script information is as follows:
  • Step 8 Finally, the page content file and the configuration information file of the file are packaged and compressed into a layout data stream file. This enables systems using format data flow files to adapt to OFD files.
  • Compatibility It can run on many different operating systems such as Windows, Linux, Galaxy Kirin, UOS, and Zhongke Fangde;
  • the present invention proposes a device for converting OFD files, including at least one storage medium and at least one processor;
  • At least one storage medium for storing computer instructions

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)
  • Human Computer Interaction (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)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

Disclosed is a method for converting an OFD file, comprising the following steps: decompressing an OFD file; obtaining an OFD.xml configuration file and resource objects, and parsing a correspondence between the resource objects and a page; parsing content objects and related information of each page, the related information comprising position information, drawing parameters and page numbers; converting the position information to form new related information; generating a basic layout data stream file structure; writing the content objects, the new related information, and the resource objects into the layout data stream file structure; and writing the correspondence into a corresponding file configuration information file, and packaging said file to generate a layout data stream file. The present invention has the advantages that the OFD file is converted into the layout data stream file, a system applying the layout data stream file can adapt to the OFD file, an application range of the OFD file is expanded, the content of the file is editable, and data filling and extension of a local area can be carried out according to actual needs.

Description

一种用于转换OFD文件的方法A method for converting OFD files
本申请要求于2021年12月2日提交中国专利局,申请号为202111455582.9,发明名称为“一种用于转换OFD文件的方法”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with application number 202111455582.9 and titled "A Method for Converting OFD Files" filed with the China Patent Office on December 2, 2021, the entire contents of which are incorporated herein by reference Applying.
技术领域technical field
本发明涉及电子文件格式转换领域,具体涉及将OFD文件转换为版式数据流文件的一种用于转换OFD文件的方法。The invention relates to the field of electronic file format conversion, in particular to a method for converting an OFD file into a format data flow file.
背景技术Background technique
版式数据流文件在用户界面下集成了版式文件阅读、文件与流数据的交互、表单手写签批三大应用;文件主要基于文件底板自动再造、多级分层结构展示、手写引擎、多文件合并顺捷阅读、签批闭包可追溯,叠批等创新技术以实现:Format data stream files integrate three major applications: format file reading, file and stream data interaction, and form handwriting signing and approval under the user interface; files are mainly based on automatic reconstruction of file boards, multi-level hierarchical structure display, handwriting engine, and multi-file merging Innovative technologies such as smooth reading, sign-and-approve closed closure traceability, stacked batches, etc. to achieve:
1、版式软件的阅读体验;1. The reading experience of the layout software;
2、灵活性:又实现了数据的灵活交互;2. Flexibility: It also realizes the flexible interaction of data;
3、多元化:规范化的签批方式,文件支持键盘、手写、路径对象或音频等多种录入方式混合签批,手写签批底板相互控制解决了单一用户输入内容过多因单元格无法延展占用其他录入区域问题,提高了签批的实用性和适用性;签批内容按一定规则自动排序使得意见签批更加规范化;3. Diversification: Standardized signing and approval methods, files support keyboard, handwriting, path object or audio and other input methods mixed signing and approval, handwritten signing and approval bottom board mutual control solves the problem of too much input by a single user due to the inability to expand the cell Other input area problems improve the practicability and applicability of the approval; the automatic sorting of the approval content according to certain rules makes the approval of opinions more standardized;
4、分层排列渲染的方式利于传输,且高内聚低耦合;4. The method of hierarchical arrangement and rendering is conducive to transmission, and has high cohesion and low coupling;
5、兼容性:可以在Windows、Linux、银河麒麟、UOS、中科方德等多个不同操作***上运行;5. Compatibility: It can run on many different operating systems such as Windows, Linux, Galaxy Kirin, UOS, and Zhongke Fangde;
6、稳定性:历经多个主要版本的演进,产品功能丰富,稳定可靠,可高度替代进口的同类软件,且具备诸多创新功能,是一款自主创新的优秀国产办公软件。6. Stability: After the evolution of several major versions, the product has rich functions, is stable and reliable, can highly replace similar imported software, and has many innovative functions. It is an excellent domestic office software with independent innovation.
OFD格式是我国自主可控的电子文件版式文档格式,其版面固定、不跑版、所见即所得,可以视为计算机时代的"数字纸张"。但目前OFD文件没有运用到实际业务***中,OFD文件形成后,不可编辑和篡改正文,只能够在其上附加注释***等信息。The OFD format is an independently controllable electronic document format in my country. Its layout is fixed, it does not run, and what you see is what you get. It can be regarded as "digital paper" in the computer age. However, the OFD file has not been applied to the actual business system at present. After the OFD file is formed, the text cannot be edited or tampered with, and only information such as notes and seals can be attached to it.
发明内容Contents of the invention
本发明的目的提供一种用于转换OFD文件的方法,解决上述现有技术问题中的一个或多个。It is an object of the present invention to provide a method for converting OFD files that solves one or more of the above-mentioned prior art problems.
第一方面,本发明提出一种用于转换OFD文件的方法,包括如下步骤:In the first aspect, the present invention proposes a method for converting OFD files, comprising the steps of:
解压OFD文件;Unzip the OFD file;
获取配置文件和资源对象,解析资源对象和页面的对应关系;Obtain configuration files and resource objects, and analyze the correspondence between resource objects and pages;
解析出每一个页面的内容对象及相关信息,相关信息中包括位置信息、绘制参数以及页码;Parse the content object and related information of each page, including location information, drawing parameters and page number;
转换位置信息,使其与绘制参数、页码组合形成新的相关信息;Convert the location information to form new relevant information by combining it with drawing parameters and page numbers;
生成基础的版式数据流文件结构体;Generate the basic layout data flow file structure;
将内容对象、新的相关信息以及资源对象写入版式数据流文件结构体中;Write content objects, new related information, and resource objects into the layout data flow file structure;
将对应关系写入版式数据流文件结构体中的文件配置信息文件中,打包生成版式数据流文件。Write the corresponding relationship into the file configuration information file in the layout data flow file structure, and package and generate the layout data flow file.
在一些实施方式中,解析出每一个页面的内容对象及相关信息时采用多线程并发处理。In some implementation manners, multi-thread concurrent processing is used when parsing out the content object and related information of each page.
在一些实施方式中,绘制参数包括线条连接样式、线框、虚线样式、虚线线条重复样式、线端点样式、填充颜色、勾边颜色、粗体、斜体、是否等宽字形、内嵌字形字体、字体是否填充、填充颜色、字体是否勾边、勾边颜色、粗细值、图像边框水平角半径、图像边框竖直角半径、图像边框样式。In some embodiments, the drawing parameters include line connection style, line frame, dashed line style, dashed line repeat style, line endpoint style, fill color, outline color, bold, italic, monospaced font, embedded font, Whether the font is filled, the fill color, whether the font is outlined, the color of the outline, the thickness value, the horizontal corner radius of the image border, the vertical corner radius of the image border, and the style of the image border.
在一些实施方式中,所述内容对象包括文本对象、路径对象以及图像对象,文本对象和图像对象对应的位置信息包括坐标、宽、高,路径对象对应的位置信息包括起始点的坐标和终点的坐标。In some implementations, the content object includes a text object, a path object, and an image object. The location information corresponding to the text object and the image object includes coordinates, width, and height. The location information corresponding to the path object includes the coordinates of the starting point and the location of the end point. coordinate.
在一些实施方式中,所述内容对象为文本对象或图像对象时的转换过程为:读取内容对象的位置信息,将内容对象的位置信息转换成符合基准的位置信息。In some implementations, the conversion process when the content object is a text object or an image object is: reading the location information of the content object, and converting the location information of the content object into location information conforming to the reference.
在一些实施方式中,所述文本对象包括文字、文字标点、文字分隔符号、项目符号、数字、公式或其中多种组合,所述图像对象包括图像和视频。In some implementations, the text objects include text, text punctuation, text separators, bullets, numbers, formulas or multiple combinations thereof, and the image objects include images and videos.
在一些实施方式中,所述符合基准的位置信息指的是基于1024的点的位置信息,具体转换过程为:In some implementations, the location information conforming to the reference refers to location information based on 1024 points, and the specific conversion process is:
同一测量单位下OFD文件的页面宽度值为w;The page width value of the OFD file under the same measurement unit is w;
OFD文件中内容对象的坐标、宽度值、高度值为(x1、y1)、w1、h1;The coordinates, width value, and height value of the content object in the OFD file are (x1, y1), w1, h1;
符合基准的绘制参数中对应的坐标、宽度值、高度值为(x2、y2)、w2、h2;The corresponding coordinates, width value, and height value in the drawing parameters conforming to the datum are (x2, y2), w2, h2;
两者之间的转换公式为:The conversion formula between the two is:
scale=1024/w,scale=1024/w,
x2=x1*scale,x2=x1*scale,
y2=y1*scale,y2=y1*scale,
w2=w1*scale,w2=w1*scale,
h2=h1*scale。h2=h1*scale.
在一些实施方式中,所述内容对象为路径对象的转换过程为:读取路径对象的起始点的坐标和终点的坐标,将路径对象的起始点的坐标和终点的坐标转换成符合基准的起始点的坐标和终点的坐标。In some implementations, the process of converting the content object into a path object is: read the coordinates of the starting point and the end point of the path object, and convert the coordinates of the starting point and the end point of the path object into a starting point conforming to the reference The coordinates of the start point and the coordinates of the end point.
在一些实施方式中,所述基准的起始点的坐标和终点的坐标指的是基于1024的点的起始点的坐标和终点的坐标,具体转换过程为:In some implementations, the coordinates of the starting point and the ending point of the reference refer to the coordinates of the starting point and the ending point of the point based on 1024, and the specific conversion process is:
同一测量单位下OFD文件的页面宽度值为w;The page width value of the OFD file under the same measurement unit is w;
OFD文件中内容对象的起始点的坐标为(x3、y3),终点的坐标为(x4、y4);The coordinates of the starting point of the content object in the OFD file are (x3, y3), and the coordinates of the end point are (x4, y4);
符合基准的绘制参数中对应的起始点的坐标为(x5、y5),终点的坐标为(x6、y6);The coordinates of the corresponding starting point in the drawing parameters conforming to the datum are (x5, y5), and the coordinates of the end point are (x6, y6);
两者之间的转换公式为:The conversion formula between the two is:
scale=1024/w,scale=1024/w,
x5=x3*scale,x5=x3*scale,
y5=y3*scale,y5=y3*scale,
x6=x4*scale,x6=x4*scale,
y6=y4*scale。y6=y4*scale.
在一些实施方式中,资源对象包括附件、多媒体文件、字体以及签章,资源对象在写入版式数据流文件结构体的过程为:In some implementations, resource objects include attachments, multimedia files, fonts, and signatures, and the process of writing resource objects to the layout data stream file structure is:
S1、判断版式数据流文件结构体中是否包括资源对象,若含有资源对象则进入S2;S1. Determine whether the structure of the layout data flow file includes resource objects, and if it contains resource objects, go to S2;
S2、获取资源对象的hash值,判断版式数据流文件结构体中是否存在与该资源对象的hash值相同的资源对象,若存在不重复添加,若不存在则进入S3;S2. Obtain the hash value of the resource object, and judge whether there is a resource object with the same hash value as the resource object in the layout data stream file structure, if it exists, do not add it repeatedly, if it does not exist, go to S3;
S3、生成与该资源对象对应的id,将id与该资源对象分别作为key和value,以<key,value>键值对的形式写入版式数据流文件结构体中,同时,将页面与资源对象的引用关系中涉及该资源对象的对应关系修改为该id。S3. Generate the id corresponding to the resource object, use the id and the resource object as key and value respectively, write them into the layout data flow file structure in the form of <key, value> key-value pairs, and at the same time, link the page and resource The corresponding relationship involving the resource object in the reference relationship of the object is modified to the id.
第二方面,本发明提出一种用于转换OFD文件的装置,包括至少一个存储介质以及至少一个处理器;In a second aspect, the present invention proposes a device for converting OFD files, including at least one storage medium and at least one processor;
所述至少一个存储介质用于存储计算机指令;said at least one storage medium is configured to store computer instructions;
所述至少一个处理其用于执行所述计算机指令,用以实现第一方面中叙述的一种用于转换OFD文件的方法。The at least one process is used to execute the computer instructions to implement the method for converting OFD files described in the first aspect.
本发明所述的OFD文件转版式数据流文件的方法的优点为:The advantage of the method of OFD file transfer format data flow file of the present invention is:
将OFD文件转成版式数据流文件能够使得文件具有版式数据流文件的特性:Converting an OFD file into a format data flow file can make the file have the characteristics of a format data flow file:
灵活、多元;Flexible and diverse;
文件内容可编辑,可进行签批、添加视频音频等操作,层级清晰,可读性强;The content of the file can be edited, and operations such as signing and approval, adding video and audio can be performed, with clear layers and strong readability;
既有版式文件的展示,又与数据流结合,签批时,可以根据实际需要进行局部区域的数据填充与延展;Not only the display of format files, but also combined with data flow, when signing and approving, data filling and extension of local areas can be carried out according to actual needs;
兼容性好,易于维护、转换。Good compatibility, easy maintenance and conversion.
附图说明Description of drawings
图1为本发明的一些实施方式中OFD文件转版式数据流文件的方法的流程图;Fig. 1 is the flow chart of the method for OFD file transfer format data stream file in some embodiments of the present invention;
图2本发明的版式数据流文件结构体的元素示意图。Fig. 2 is a schematic diagram of the elements of the layout data flow file structure of the present invention.
具体实施方式Detailed ways
本发明提出一种用于转换OFD文件的方法,在应用***中写入相关程序并执行,结合图 1和图2所示的内容,执行的过程即OFD文件转版式数据流文件的方法包括如下步骤:The present invention proposes a method for converting OFD files, and writes related programs in the application system and executes them. In combination with the contents shown in Figure 1 and Figure 2, the process of execution, that is, the method for converting OFD files to format data flow files includes the following step:
步骤1、解压OFD文件;Step 1, unzip the OFD file;
步骤2、找到解压内容中的OFD.xml配置文件和资源对象,资源对象包括附件、多媒体文件、字体以及签章,获取根目录,解析出资源对象与页面的对应关系,比如:字体引用时候是id形式,id对应的字体又在其他地方定义,如Step 2. Find the OFD.xml configuration file and resource object in the decompressed content. The resource object includes attachments, multimedia files, fonts, and signatures. Get the root directory and analyze the corresponding relationship between the resource object and the page. For example, when the font is referenced, it is id form, the font corresponding to id is defined elsewhere, such as
一段脚本信息中宋体对应的id为4,Times New Roman对应的id为7:The id corresponding to Arial in a piece of script information is 4, and the id corresponding to Times New Roman is 7:
Figure PCTCN2022131211-appb-000001
Figure PCTCN2022131211-appb-000001
另一段脚本信息中id为4和7对应的字体又进行了定义:In another piece of script information, the fonts corresponding to id 4 and 7 are defined again:
Figure PCTCN2022131211-appb-000002
Figure PCTCN2022131211-appb-000002
Figure PCTCN2022131211-appb-000003
Figure PCTCN2022131211-appb-000003
步骤3、通过多线程并发解析出每一个页面的内容对象及相关信息,读取出每一个页面的content的内容,解析出内容对象的相关信息,内容对象包括文本对象、路径对象、图像对象,相关信息中包括位置信息、绘制参数以及页码,一个页面对应一个线程,绘制参数包括线条连接样式、线框、虚线样式(默认从0开始)、虚线线条重复样式(虚线宽度,间隔宽度)、线端点样式、填充颜色、勾边颜色、粗体、斜体、是否等宽字形、内嵌字形字体、字体是否填充、填充颜色、字体是否勾边、勾边颜色、粗细值、图像边框水平角半径、图像边框竖直角半径、图像边框样式(通上面线条宽,颜色,勾边填充、虚线),其中颜色包含(基本色,底纹填充、径向渐变、轴向渐变、高洛德渐变);Step 3. Analyze the content object and related information of each page through multi-thread concurrently, read the content content of each page, and analyze the related information of the content object. The content object includes text object, path object, and image object. Relevant information includes position information, drawing parameters and page number. One page corresponds to one thread. Drawing parameters include line connection style, wire frame, dashed line style (starting from 0 by default), dashed line repeating style (dashed line width, interval width), line End point style, fill color, outline color, bold, italic, monospace font, embedded font, font fill, fill color, font outline, outline color, thickness value, image border horizontal corner radius, Image border vertical corner radius, image border style (through the upper line width, color, outline fill, dotted line), where the color includes (basic color, shading fill, radial gradient, axial gradient, Gouraud gradient);
文本对象包括文字、文字标点、文字分隔符号、项目符号、数字、公式或其中多种组合;Text objects include text, text punctuation, text separators, bullets, numbers, formulas, or combinations thereof;
路径对象包括直线、矩形、贝塞尔曲线、或其中多个的组合形成的任意形状;Path objects include straight lines, rectangles, Bezier curves, or any shape formed by a combination of them;
图像对象包括图像和视频;Image objects include images and videos;
步骤4、转换位置信息,使其与绘制参数、页码组合形成新的相关信息,不同设备的尺寸是不一样的,因此下述的绘制参数须满足同一基准,在渲染的时候根据基准和屏幕尺寸的关系进行一个渲染,比方说基准基于1024,屏幕2048宽度,这时2048/1024=2,所以位置信息中的横坐标和纵坐标都乘以2,其根本目的是为了矢量不模糊,以1024为例,内容对象为文本对象或图像对象时的转换过程为:Step 4. Convert the location information to form new related information by combining it with drawing parameters and page numbers. The sizes of different devices are different, so the following drawing parameters must meet the same benchmark. When rendering, based on the benchmark and screen size For example, the benchmark is based on 1024, and the screen width is 2048. At this time, 2048/1024=2, so the abscissa and ordinate in the position information are multiplied by 2. The fundamental purpose is to prevent the vector from being blurred. For example, the conversion process when the content object is a text object or an image object is:
步骤4.1.1、读取内容对象的位置信息,将内容对象的位置信息转换成符合基准的位置信息,位置信息包括坐标、宽、高;Step 4.1.1, read the position information of the content object, and convert the position information of the content object into the position information conforming to the reference, the position information includes coordinates, width and height;
步骤4.1.2、转换,同一测量单位下OFD文件的页面宽度值为w;OFD文件中内容对象的坐标、宽度值、高度值为(x1、y1)、w1、h1;符合基准的位置信息中对应的坐标、宽度值、高度值为(x2、y2)、w2、h2;Step 4.1.2, conversion, the page width value of the OFD file under the same measurement unit is w; the coordinates, width value, and height value of the content object in the OFD file are (x1, y1), w1, h1; in the position information that meets the benchmark The corresponding coordinates, width value, and height value are (x2, y2), w2, h2;
两者之间的转换公式为:The conversion formula between the two is:
scale=1024/w,scale=1024/w,
x2=x1*scale,x2=x1*scale,
y2=y1*scale,y2=y1*scale,
w2=w1*scale,w2=w1*scale,
h2=h1*scale;h2=h1*scale;
比如300*300页面转换成1024的坐标,内容对象的坐标、宽度值、高度值是(20、20)、30、30转换后的绘制参数表示为(x3、y3)、w3、h3,这个时候就是x3=1024/300*20;For example, a 300*300 page is converted to 1024 coordinates, and the coordinates, width value, and height value of the content object are (20, 20), 30, and 30. The converted drawing parameters are expressed as (x3, y3), w3, and h3. At this time That is x3=1024/300*20;
内容对象为路径对象时的转换过程为:The conversion process when the content object is a path object is:
步骤4.2.1、读取内容对象的位置信息,将内容对象的位置信息转换成符合基准的位置信息,位置信息包括起始点的坐标和终点的坐标;Step 4.2.1, read the location information of the content object, convert the location information of the content object into the location information conforming to the reference, the location information includes the coordinates of the starting point and the coordinates of the end point;
步骤4.2.2、转换,同一测量单位下OFD文件的页面宽度值为w;Step 4.2.2, conversion, the page width value of the OFD file under the same measurement unit is w;
OFD文件中内容对象的起始点的坐标为(x3、y3),终点的坐标为(x4、y4);The coordinates of the starting point of the content object in the OFD file are (x3, y3), and the coordinates of the end point are (x4, y4);
符合基准的绘制参数中对应的起始点的坐标为(x5、y5),终点的坐标为(x6、y6);The coordinates of the corresponding starting point in the drawing parameters conforming to the datum are (x5, y5), and the coordinates of the end point are (x6, y6);
两者之间的转换公式为:The conversion formula between the two is:
scale=1024/w,scale=1024/w,
x5=x3*scale,x5=x3*scale,
y5=y3*scale,y5=y3*scale,
x6=x4*scale,x6=x4*scale,
y6=y4*scale;y6=y4*scale;
步骤5、生成基础的版式数据流文件结构体;Step 5, generating a basic layout data flow file structure;
步骤6、将内容对象、新的相关信息以及资源对象写入版式数据流文件结构体中,其中资源对象在写入版式数据流文件结构体的过程为:Step 6. Write content objects, new related information and resource objects into the layout data flow file structure, wherein the process of resource objects writing into the layout data flow file structure is:
S6.1.1、判断版式数据流文件结构体中是否包括资源对象,若含有资源对象则进入S6.1.2;S6.1.1. Determine whether the format data flow file structure includes resource objects, and if it contains resource objects, enter S6.1.2;
S6.1.2、获取资源对象的hash值,判断版式数据流文件结构体中是否存在与该资源对象的hash值相同的资源对象,若存在不重复添加,若不存在则进入S6.1.3;S6.1.2. Obtain the hash value of the resource object, and judge whether there is a resource object with the same hash value as the resource object in the layout data flow file structure. If it exists, do not add it repeatedly; if it does not exist, go to S6.1.3;
S6.1.3、生成与该资源对象对应的id,将id与该资源对象分别作为key和value,以<key,value>键值对的形式写入版式数据流文件结构体中,同时,将页面与资源对象的引用关系中涉及该资源对象的对应关系修改为该id;S6.1.3. Generate the id corresponding to the resource object, use the id and the resource object as key and value respectively, and write them into the layout data flow file structure in the form of <key, value> key-value pairs, and at the same time, write the page The corresponding relationship involving the resource object in the reference relationship with the resource object is changed to the id;
步骤7、将每个页面的对应关系写入文件的配置信息文件,docinfo包含了文件的信息、标题、描述、子标题、版本号以及作者等;pages包含了文件的页码,以及path代表文件内容名字,根据path去找当前页的具体内容信息,id只是唯一标识,pages包含多页,其对应的的脚本信息的格式如下:Step 7. Write the corresponding relationship of each page into the configuration information file of the file. docinfo includes file information, title, description, subtitle, version number, author, etc.; pages includes the page number of the file, and path represents the content of the file Name, according to the path to find the specific content information of the current page, id is only a unique identifier, pages contain multiple pages, and the format of the corresponding script information is as follows:
Figure PCTCN2022131211-appb-000004
Figure PCTCN2022131211-appb-000004
Figure PCTCN2022131211-appb-000005
Figure PCTCN2022131211-appb-000005
步骤8、最后将页面内容文件和文件的配置信息文件一起打包压缩成版式数据流文件。这样使得应用版式数据流文件的***能够适配OFD文件。Step 8. Finally, the page content file and the configuration information file of the file are packaged and compressed into a layout data stream file. This enables systems using format data flow files to adapt to OFD files.
通过上述方法将OFD文件转成版式数据流文件获取版式数据流文件的优良特性,其中包括:Convert the OFD file into a format data flow file by the above method to obtain the excellent characteristics of the format data flow file, including:
一、版式软件的阅读体验;1. The reading experience of the layout software;
二、灵活性:又实现了数据的灵活交互;2. Flexibility: It also realizes the flexible interaction of data;
三、多元化:规范化的签批方式,文件支持键盘、手写、路径对象或音频等多种录入方 式混合签批,手写签批底板相互控制解决了单一用户输入内容过多因单元格无法延展占用其他录入区域问题,提高了签批的实用性和适用性;签批内容按一定规则自动排序使得意见签批更加规范化;3. Diversification: Standardized signing and approval methods. Documents support multiple input methods such as keyboard, handwriting, path object or audio mixed signing and approval. The mutual control of the handwritten signing and approval bottom board solves the problem of too much input by a single user due to the inability to extend the cell. Other input area problems improve the practicability and applicability of the approval; the automatic sorting of the approval content according to certain rules makes the approval of opinions more standardized;
四、分层排列渲染的方式利于传输,且高内聚低耦合;4. The method of hierarchical arrangement and rendering is conducive to transmission, and has high cohesion and low coupling;
五、兼容性:可以在Windows、Linux、银河麒麟、UOS、中科方德等多个不同操作***上运行;5. Compatibility: It can run on many different operating systems such as Windows, Linux, Galaxy Kirin, UOS, and Zhongke Fangde;
六、稳定性:历经多个主要版本的演进,产品功能丰富,稳定可靠,可高度替代进口的同类软件,且具备诸多创新功能,是一款自主创新的优秀国产办公软件。6. Stability: After the evolution of several major versions, the product has rich functions, is stable and reliable, can highly replace similar imported software, and has many innovative functions. It is an excellent domestic office software with independent innovation.
本发明提出一种用于转换OFD文件的装置,包括至少一个存储介质以及至少一个处理器;The present invention proposes a device for converting OFD files, including at least one storage medium and at least one processor;
至少一个存储介质用于存储计算机指令;at least one storage medium for storing computer instructions;
至少一个处理其用于执行所述计算机指令,用以实现上述的用于转换OFD文件的方法。At least one process for executing said computer instructions for implementing the above-mentioned method for converting an OFD file.
以上所述仅是本发明的优选方式,应当指出,对于本领域普通技术人员来说,在不脱离本发明创造构思的前提下,还可以做出若干相似的变形和改进,这些也应视为本发明的保护范围。The above description is only the preferred mode of the present invention. It should be pointed out that those skilled in the art can make several similar deformations and improvements without departing from the inventive concept of the present invention, and these should also be regarded as protection scope of the present invention.

Claims (10)

  1. 一种用于转换OFD文件的方法,其特征在于,包括如下步骤:A method for converting OFD files, comprising the steps of:
    解压OFD文件;Unzip the OFD file;
    获取配置文件和资源对象,解析资源对象和页面的对应关系;Obtain configuration files and resource objects, and analyze the correspondence between resource objects and pages;
    解析出每一个页面的内容对象及相关信息,相关信息中包括位置信息、绘制参数以及页码;Parse the content object and related information of each page, including location information, drawing parameters and page number;
    转换位置信息,使其与绘制参数、页码组合形成新的相关信息;Convert the location information to form new relevant information by combining it with drawing parameters and page numbers;
    生成基础的版式数据流文件结构体;Generate the basic layout data flow file structure;
    将内容对象、新的相关信息以及资源对象写入版式数据流文件结构体中;Write content objects, new related information, and resource objects into the layout data flow file structure;
    将对应关系写入版式数据流文件结构体中的文件配置信息文件中,打包生成版式数据流文件。Write the corresponding relationship into the file configuration information file in the layout data flow file structure, and package and generate the layout data flow file.
  2. 根据权利要求1所述的一种用于转换OFD文件的方法,其特征在于,解析出每一个页面的内容对象及相关信息时采用多线程并发处理。A method for converting OFD files according to claim 1, characterized in that multi-thread concurrent processing is used when parsing out the content objects and related information of each page.
  3. 根据权利要求1所述的一种用于转换OFD文件的方法,其特征在于,绘制参数包括线条连接样式、线框、虚线样式、虚线线条重复样式、线端点样式、填充颜色、勾边颜色、粗体、斜体、是否等宽字形、内嵌字形字体、字体是否填充、填充颜色、字体是否勾边、勾边颜色、粗细值、图像边框水平角半径、图像边框竖直角半径、图像边框样式。A method for converting an OFD file according to claim 1, wherein the drawing parameters include line connection style, line frame, dotted line style, dotted line repeat style, line endpoint style, fill color, outline color, Bold, italic, monospace font or not, embedded font, whether the font is filled, fill color, whether the font is outlined, outlined color, thickness value, image border horizontal corner radius, image border vertical corner radius, image border style .
  4. 根据权利要求1所述的一种用于转换OFD文件的方法,其特征在于,所述内容对象包括文本对象、路径对象以及图像对象,文本对象和图像对象对应的位置信息包括坐标、宽、高,路径对象对应的位置信息包括起始点的坐标和终点的坐标。A method for converting OFD files according to claim 1, wherein the content objects include text objects, path objects, and image objects, and the position information corresponding to the text objects and image objects includes coordinates, width, and height , the location information corresponding to the route object includes the coordinates of the start point and the coordinates of the end point.
  5. 根据权利要求4所述的一种用于转换OFD文件的方法,其特征在于,所述内容对象为文本对象或图像对象时的转换过程为:读取内容对象的位置信息,将内容对象的位置信息转换成符合基准的位置信息,所述文本对象包括文字、文字标点、文字分隔符号、项目符号、数字、公式或其中多种组合,所述图像对象包括图像和视频。A method for converting an OFD file according to claim 4, wherein the conversion process when the content object is a text object or an image object is: read the position information of the content object, and convert the position information of the content object The information is converted into location information conforming to the reference, the text objects include text, text punctuation, text separators, bullets, numbers, formulas or multiple combinations thereof, and the image objects include images and videos.
  6. 根据权利要求5所述的一种用于转换OFD文件的方法,其特征在于,所述符合基准的位置信息指的是基于1024的点的位置信息,具体转换过程为:A kind of method that is used to convert OFD file according to claim 5, it is characterized in that, described positional information conforming to reference refers to the positional information based on 1024 points, and concrete conversion process is:
    同一测量单位下OFD文件的页面宽度值为w;The page width value of the OFD file under the same measurement unit is w;
    OFD文件中内容对象的坐标、宽度值、高度值为(x1、y1)、w1、h1;The coordinates, width value, and height value of the content object in the OFD file are (x1, y1), w1, h1;
    符合基准的绘制参数中对应的坐标、宽度值、高度值为(x2、y2)、w2、h2;The corresponding coordinates, width value, and height value in the drawing parameters conforming to the datum are (x2, y2), w2, h2;
    两者之间的转换公式为:The conversion formula between the two is:
    scale=1024/w,scale=1024/w,
    x2=x1*scale,x2=x1*scale,
    y2=y1*scale,y2=y1*scale,
    w2=w1*scale,w2=w1*scale,
    h2=h1*scale。h2=h1*scale.
  7. 根据权利要求4所述的一种用于转换OFD文件的方法,其特征在于,所述内容对象为路径对象的转换过程为:读取路径对象的起始点的坐标和终点的坐标,将路径对象的起始点的坐标和终点的坐标转换成符合基准的起始点的坐标和终点的坐标。A kind of method for converting OFD file according to claim 4, it is characterized in that, the conversion process that described content object is path object is: read the coordinate of the start point of path object and the coordinate of end point, path object The coordinates of the starting point and the coordinates of the end point are converted into the coordinates of the starting point and the end point of the datum.
  8. 根据权利要求7所述的一种用于转换OFD文件的方法,其特征在于,所述符合基准的起始点的坐标和终点的坐标指的是基于1024的点的起始点的坐标和终点的坐标,具体转换过程为:A method for converting an OFD file according to claim 7, wherein the coordinates of the starting point and the end point of the reference point refer to the coordinates of the starting point and the coordinates of the end point based on 1024 points , the specific conversion process is:
    同一测量单位下OFD文件的页面宽度值为w;The page width value of the OFD file under the same measurement unit is w;
    OFD文件中内容对象的起始点的坐标为(x3、y3),终点的坐标为(x4、y4);The coordinates of the starting point of the content object in the OFD file are (x3, y3), and the coordinates of the end point are (x4, y4);
    符合基准的绘制参数中对应的起始点的坐标为(x5、y5),终点的坐标为(x6、y6);The coordinates of the corresponding starting point in the drawing parameters conforming to the datum are (x5, y5), and the coordinates of the end point are (x6, y6);
    两者之间的转换公式为:The conversion formula between the two is:
    scale=1024/w,scale=1024/w,
    x5=x3*scale,x5=x3*scale,
    y5=y3*scale,y5=y3*scale,
    x6=x4*scale,x6=x4*scale,
    y6=y4*scale。y6=y4*scale.
  9. 根据权利要求1所述的一种用于转换OFD文件的方法,其特征在于,资源对象包括附件、多媒体文件、字体以及签章,资源对象在写入版式数据流文件结构体的过程为:A kind of method that is used to convert OFD file according to claim 1, it is characterized in that, resource object comprises attachment, multimedia file, font and signature, and resource object is in the process of writing layout data stream file structure body as follows:
    S1、判断版式数据流文件结构体中是否包括资源对象,若含有资源对象则进入S2;S1. Determine whether the structure of the layout data flow file includes resource objects, and if it contains resource objects, go to S2;
    S2、获取资源对象的hash值,判断版式数据流文件结构体中是否存在与该资源对象的hash值相同的资源对象,若存在不重复添加,若不存在则进入S3;S2. Obtain the hash value of the resource object, and judge whether there is a resource object with the same hash value as the resource object in the layout data stream file structure, if it exists, do not add it repeatedly, if it does not exist, go to S3;
    S3、生成与该资源对象对应的id,将id与该资源对象分别作为key和value,以<key,value>键值对的形式写入版式数据流文件结构体中,同时,将页面与资源对象的引用关系中涉及该资源对象的对应关系修改为该id。S3. Generate the id corresponding to the resource object, use the id and the resource object as key and value respectively, write them into the layout data flow file structure in the form of <key, value> key-value pairs, and at the same time, link the page and resource The corresponding relationship involving the resource object in the reference relationship of the object is modified to the id.
  10. 一种用于转换OFD文件的装置,其特征在于,装置包括至少一个存储介质以及至少一个处理器;A device for converting OFD files, characterized in that the device includes at least one storage medium and at least one processor;
    所述至少一个存储介质用于存储计算机指令;said at least one storage medium is configured to store computer instructions;
    所述至少一个处理器用于执行所述计算机指令,用以实现权利要求1-9中任一项所述的一种用于转换OFD文件的方法。The at least one processor is configured to execute the computer instructions to implement the method for converting an OFD file according to any one of claims 1-9.
PCT/CN2022/131211 2021-12-02 2022-11-10 Method for converting ofd file WO2023098448A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111455582.9 2021-12-02
CN202111455582.9A CN114118023B (en) 2021-12-02 2021-12-02 Method for converting OFD file

Publications (1)

Publication Number Publication Date
WO2023098448A1 true WO2023098448A1 (en) 2023-06-08

Family

ID=80369418

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/131211 WO2023098448A1 (en) 2021-12-02 2022-11-10 Method for converting ofd file

Country Status (2)

Country Link
CN (1) CN114118023B (en)
WO (1) WO2023098448A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116719778A (en) * 2023-08-09 2023-09-08 江苏中威科技软件***有限公司 Technology for generating virtual partition to complete four-way information theme by OFD file on OA system
CN116776031A (en) * 2023-08-21 2023-09-19 福昕鲲鹏(北京)信息科技有限公司 Method and device for checking accessory content in open format document OFD
CN117725885A (en) * 2024-01-26 2024-03-19 江苏中威科技软件***有限公司 Method for affecting reading operation effect by layering and engraving OFD file
CN117785801A (en) * 2024-02-27 2024-03-29 北京点聚信息技术有限公司 Layout file conversion method and system based on data analysis

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114118023B (en) * 2021-12-02 2022-07-26 江苏中威科技软件***有限公司 Method for converting OFD file

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005182099A (en) * 2003-12-16 2005-07-07 Dainippon Printing Co Ltd System, method and program for converting xml structure and recording medium
CN105279254A (en) * 2015-10-12 2016-01-27 江苏中威科技软件***有限公司 Layout data stream file system, operation apparatus for system and realization method for apparatus
CN105302550A (en) * 2015-10-12 2016-02-03 江苏中威科技软件***有限公司 Method and system for converting page into layout data stream file
CN108415887A (en) * 2018-02-09 2018-08-17 武汉大学 A kind of method that pdf document is converted to OFD files
CN111611440A (en) * 2020-05-01 2020-09-01 山东同智伟业软件股份有限公司 Method for rapidly improving OFD signature, signature and verification
CN111753500A (en) * 2020-07-07 2020-10-09 江苏中威科技软件***有限公司 Method for merging and displaying formatted electronic form and OFD (office file format) and generating catalog
CN114118023A (en) * 2021-12-02 2022-03-01 江苏中威科技软件***有限公司 Method for converting OFD file

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102760118B (en) * 2011-04-25 2015-06-03 中兴通讯股份有限公司 Method and device for exporting data as Excel file
CN102368263B (en) * 2011-10-17 2013-03-06 苏州阔地网络科技有限公司 File format converting method and device
CN104346322B (en) * 2013-08-08 2018-07-10 北大方正集团有限公司 Document format processing unit and document format processing method
CN106598930B (en) * 2016-12-29 2019-12-17 南威软件股份有限公司 electronic license processing method based on layout file
CN111767698B (en) * 2020-07-07 2021-02-05 江苏中威科技软件***有限公司 Electronic form system based on OFD format file technology
CN112487763A (en) * 2020-12-08 2021-03-12 深圳易财信息技术有限公司 SVG-based OFD file online display method, server side and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005182099A (en) * 2003-12-16 2005-07-07 Dainippon Printing Co Ltd System, method and program for converting xml structure and recording medium
CN105279254A (en) * 2015-10-12 2016-01-27 江苏中威科技软件***有限公司 Layout data stream file system, operation apparatus for system and realization method for apparatus
CN105302550A (en) * 2015-10-12 2016-02-03 江苏中威科技软件***有限公司 Method and system for converting page into layout data stream file
CN108415887A (en) * 2018-02-09 2018-08-17 武汉大学 A kind of method that pdf document is converted to OFD files
CN111611440A (en) * 2020-05-01 2020-09-01 山东同智伟业软件股份有限公司 Method for rapidly improving OFD signature, signature and verification
CN111753500A (en) * 2020-07-07 2020-10-09 江苏中威科技软件***有限公司 Method for merging and displaying formatted electronic form and OFD (office file format) and generating catalog
CN114118023A (en) * 2021-12-02 2022-03-01 江苏中威科技软件***有限公司 Method for converting OFD file

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116719778A (en) * 2023-08-09 2023-09-08 江苏中威科技软件***有限公司 Technology for generating virtual partition to complete four-way information theme by OFD file on OA system
CN116719778B (en) * 2023-08-09 2023-11-10 江苏中威科技软件***有限公司 Technology for generating virtual partition to complete four-way information theme by OFD file on OA system
CN116776031A (en) * 2023-08-21 2023-09-19 福昕鲲鹏(北京)信息科技有限公司 Method and device for checking accessory content in open format document OFD
CN116776031B (en) * 2023-08-21 2023-11-07 福昕鲲鹏(北京)信息科技有限公司 Method and device for checking accessory content in open format document OFD
CN117725885A (en) * 2024-01-26 2024-03-19 江苏中威科技软件***有限公司 Method for affecting reading operation effect by layering and engraving OFD file
CN117725885B (en) * 2024-01-26 2024-04-26 江苏中威科技软件***有限公司 Method for affecting reading operation effect by layering and engraving OFD file
CN117785801A (en) * 2024-02-27 2024-03-29 北京点聚信息技术有限公司 Layout file conversion method and system based on data analysis
CN117785801B (en) * 2024-02-27 2024-04-19 北京点聚信息技术有限公司 Layout file conversion method and system based on data analysis

Also Published As

Publication number Publication date
CN114118023A (en) 2022-03-01
CN114118023B (en) 2022-07-26

Similar Documents

Publication Publication Date Title
WO2023098448A1 (en) Method for converting ofd file
CN111753500B (en) Method for merging and displaying formatted electronic form and OFD (office file format) and generating catalog
US8331677B2 (en) Combined image and text document
KR101334483B1 (en) Apparatus and method for digitizing a document, and computer-readable recording medium
AU2005202722B2 (en) Common charting using shapes
US8321839B2 (en) Abstracting test cases from application program interfaces
WO2023098447A1 (en) Method for converting layout data stream file into ofd file
US8213719B2 (en) Editing 2D structures using natural input
US20160259766A1 (en) Ink experience for images
US20090219550A1 (en) Interface for Building a Print Container
WO2007076717A1 (en) Generating method of computer format document and opening method
WO2011075295A1 (en) Method for tracking annotations with associated actions
CN104111922A (en) Processing method and device of streaming document
TWI409708B (en) System and method for storing a document in a serial binary format
US7453594B2 (en) Document filing apparatus for storing information added to a document file
CN104715004B (en) Page description language output is obscured to hinder to be converted to editable format
CN111881651A (en) Method for converting UOT streaming document into OFD format document
CN103049430A (en) Page display method based on IDF (interactive document format) files
CN104111913A (en) Processing method and device of streaming document
JP2014002703A (en) Automatic page turning method for electronic books
CN114330245A (en) OFD document processing method and device
CN102081736B (en) Equipment and method for extracting enclosing rectangles of characters from portable electronic documents
Ramachandran et al. An architecture for ink annotations on web documents
JP2018036794A (en) Image processing device and program
CN114154460A (en) Method for converting PDF (Portable document Format) file into format data stream file

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22900253

Country of ref document: EP

Kind code of ref document: A1