CN114118007B - Method for converting format data stream file into OFD file - Google Patents

Method for converting format data stream file into OFD file Download PDF

Info

Publication number
CN114118007B
CN114118007B CN202111455583.3A CN202111455583A CN114118007B CN 114118007 B CN114118007 B CN 114118007B CN 202111455583 A CN202111455583 A CN 202111455583A CN 114118007 B CN114118007 B CN 114118007B
Authority
CN
China
Prior art keywords
file
ofd
data stream
array
page
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.)
Active
Application number
CN202111455583.3A
Other languages
Chinese (zh)
Other versions
CN114118007A (en
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.)
Jiangsu Zhongwei Technology Software System Co ltd
Original Assignee
Jiangsu Zhongwei Technology Software System Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiangsu Zhongwei Technology Software System Co ltd filed Critical Jiangsu Zhongwei Technology Software System Co ltd
Priority to CN202111455583.3A priority Critical patent/CN114118007B/en
Publication of CN114118007A publication Critical patent/CN114118007A/en
Application granted granted Critical
Publication of CN114118007B publication Critical patent/CN114118007B/en
Priority to PCT/CN2022/131210 priority patent/WO2023098447A1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/106Display of layout of documents; Previewing
    • 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
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1211Improving printing performance
    • G06F3/1215Improving printing performance achieving increased printing speed, i.e. reducing the time between printing start and printing end
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/205Parsing

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)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Data Mining & Analysis (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method for converting a format data stream file into an OFD file, which comprises the following steps: analyzing the format data stream file to obtain the page width and height and the page number of the format data stream file; distributing a plurality of processes for concurrently processing and acquiring the content of the layout data stream file of each page; the page width and height written into the format data stream file are used as the page width and height of the OFD file; creating an OFD object, and filling the content and page number of the format data stream file into the OFD object; writing the page width and height of the OFD file and the content in the OFD object into an xml file to generate a directory of the OFD file; and packaging the directories of the xml file and the OFD file to generate the OFD file. The method described in the invention realizes original edition original form conversion from format data stream file to OFD file adopting standard, and has the advantages of removing redundant elements, ensuring conversion speed, being easier to archive after conversion, and being easier to archive, read and print after conversion according with national standard.

Description

Method for converting format data stream file into OFD file
Technical Field
The invention relates to the technical field of computers, in particular to a method for converting a format data stream file into an OFD file.
Background
The worldwide standard of 2016 [ 10/14/10 ] approved by the State standardization administration Committee (SRC), which promises the release of the independent technology-based national standard GB/T33190-2016 (OFD for short) document for electronic document storage and exchange Format). The OFD, abbreviation of Open Fixed-layout Document is an electronic file format Document format which is independently controllable in China, and the corresponding international standard is PDF. The OFD format file is obtained by fixed layout, no layout run and what you see is, and can be regarded as 'digital paper' in the computer age; is an ideal document format for electronic document publishing, digital information dissemination and archiving.
How to convert the format data stream file into the OFD file is a very worthy question to be studied.
Disclosure of Invention
The present invention is directed to a method for converting a format data stream file into an OFD file, which solves one or more of the above-mentioned problems in the prior art.
In a first aspect, the present invention provides a method for converting a format data stream file into an OFD file, including:
s1, analyzing the format data stream file, and acquiring the page width, the page height and the page number of the format data stream file;
s2, distributing a plurality of processes for concurrently processing and acquiring the content of the layout data stream file of each page;
s3, writing the page width and height of the format data stream file as the page width and height of the OFD file;
s4, creating an OFD object, and filling the content and page number of the format data stream file into the OFD object;
s5, writing the page width and height of the OFD file and the content in the OFD object into an xml file, and generating a directory of the OFD file;
s6, packaging the directories of the xml file and the OFD file to generate the OFD file.
In some embodiments, the content of the layout data stream includes a page object, the page object including a page content object, a rendering parameter, and a resource object,
the page content object comprises a text object, a graphic object, an image object, position information corresponding to the text object and the image object, a type corresponding to the graphic object and point coordinates, and the position information comprises coordinates, width and height;
the drawing parameters comprise a bold body, an italic body, whether the font is equal in width or not, an embedded font style, a thickness value, a line connection style, a line frame, a dotted line style, a dotted line repeated style, a line end point style, an image frame horizontal corner radius, an image frame vertical corner radius, whether filling, filling color, whether edge hooking and edge hooking color are performed or not, the dotted line repeated style comprises a dotted line width and an interval width, and the filling color and the edge hooking color respectively comprise a basic color, a shading filling style, a radial gradient parameter, an axial gradient parameter and a high-lode gradient parameter;
the object body of the resource object includes an attachment, a multimedia file, and a font.
In some embodiments of the present invention, the substrate is,
the total page number of the format data stream file corresponds to the total page number of the OFD file;
one page of the format data stream file corresponds to one process;
the pages of the format data stream file correspond to the pages of the OFD file one by one.
In some embodiments, the OFD object is stored divided into a plurality of arrays, the plurality of arrays including a first array, a second array, and a third array,
the page content object and the corresponding page number are written and stored in a first array;
writing and storing the drawing parameters in a second array;
the resource object writes are stored in a third array.
In some embodiments, the storing of the page content object is: the page number and page content objects are filled into the first array as key and value, respectively, in the form of < key, value > key value pairs.
In some embodiments, the storage process for mapping the parameters is:
s3.1.1, judging whether the content object uses the drawing parameters, if so, entering S3.1.2;
s3.1.2, judging whether the second array has the drawing parameters with the same type as the parameters, if so, adding the drawing parameters repeatedly, and if not, entering S3.1.3;
s3.1.3, generating id corresponding to the drawing parameter, writing the id and the drawing parameter as key and value into the second array in the form of key, value key value pair, and modifying the reference parameter related to the drawing parameter in the reference relation between the object body and the drawing parameter in the content object to the id.
In some embodiments, the process of depositing the resource object is:
s3.2.1, judging whether the page content object includes the resource object, if so, entering S3.2.2;
s3.2.2, identifying the resource object, obtaining the hash value of the resource object, judging whether the third array has the resource object with the same hash value as the resource object, if so, adding the resource object repeatedly, and if not, entering S3.2.3;
s3.2.3, generating an id corresponding to the resource object, writing the id and the resource object into a third array in a form of key and value pair as key and value respectively, and modifying the reference parameter related to the resource object in the reference relation between the object body and the resource object in the content object to the id.
In some embodiments, the layout data stream file includes a backplane and an attachment layer, the page object further includes a signature object located in the attachment layer, the signature object includes a content object, a drawing parameter, and a resource object, the majority group includes a drawing array, the drawing array is used for writing and storing page numbers corresponding to the signature object and the signature object through a JSON format, and the drawing array, the first array, the second array, and the third array are combined to form an OFD object.
In some embodiments of the present invention, the substrate is,
the method for writing the page width and height of the OFD file and the content in the OFD object into the xml file according to the matching rule comprises the following steps:
writing contents in the first array, the second array and the third array into an empty xml file according to rules to form xml nodes and node attributes, forming an xml file of a bottom plate, wherein the rules are rules for presetting keys and values according to object types and attributes in the objects to form the xml nodes and node attributes, presetting a structure and a frame, and judging that a numerical value (not 'null') is filled in the xml nodes and node attributes, wherein the object types comprise text objects, graphic objects and image objects; attributes in the objects include coordinates corresponding to text objects and image objects, width, height, type and point coordinates corresponding to graphics objects, references to rendering parameters, and resource references.
And then writing the signed object in the drawing array and the page number corresponding to the signed object into an xml file of the bottom plate, associating the content of the signed object and the content of the xml file of the bottom plate according to the page number to form a complete xml file, and copying an object body of the resource object into a directory structure in an OFD standard.
In a second aspect, the present invention provides a system for converting a layout data stream file into an OFD file, including a storage medium and a processor,
the storage medium is used for storing program codes and related data required to be stored in the method for converting the format data stream file into the OFD file described in the first aspect;
the processor is used for executing the program code to realize the method for converting the format data stream file into the OFD file stated in the first aspect.
The method for converting the format data stream file into the OFD file has the advantages that: the original edition original form conversion of the format data flow direction ofd file is realized, the advantage that ofd is a national standard file is utilized, the file can be better circulated and used in a system conforming to the national standard, simultaneously, contents such as content objects, drawing parameters, resource objects and the like are divided into a plurality of arrays to be stored, calling is carried out by referring to corresponding id, redundant elements are effectively removed, the conversion speed is ensured, meanwhile, the opinions of the original attachment layer of the format data flow file printing are separated from the file bottom plate, the loading speed and the printing speed are low, the opinions and the file bottom plate need to be loaded at the same time to be printed, and the converted ofd file is synthesized in one xml, so that the printing and the rendering are faster and more efficient.
Drawings
FIG. 1 is a flow diagram of a method for converting a layout data stream file to an OFD file in some embodiments of the invention;
FIG. 2 is a directory structure of a decompressed layout data stream file in some embodiments of the invention;
fig. 3 is a schematic diagram of a layer transformation for converting a format data stream file into an OFD file according to some embodiments of the present invention.
Detailed Description
With reference to the contents shown in fig. 1 to fig. 3, some embodiments of the present invention provide a method for converting a format data stream file into an OFD file, where the format data stream file includes a bottom plate and an attachment layer, and the method for converting the format data stream file into the OFD file includes:
s1, analyzing the format data stream file to obtain a corresponding directory, wherein the directory is shown in figure 2;
s3, obtaining a page width and height of the layout data stream and a page number information file, where the page number information file includes a corresponding relationship between page numbers, page path contents, and page numbers, reading a field in a content file in a directory, obtaining a root directory, and analyzing the corresponding relationship between page numbers, page path contents, and page numbers, for example:
Figure BDA0003387566850000051
Figure BDA0003387566850000061
Figure BDA0003387566850000071
searching a page path content file of a current page according to the path, and generating an empty array page;
s3, one page corresponds to one thread, multithreading finds a file under a page directory according to the page, the page content of each page of the layout data stream file is analyzed and read out to form a page object PageObj, the page object PageObj comprises a drawing parameter on a bottom plate, a resource object, a page content object and a batch object on an attachment layer, the batch object comprises a content object, a drawing parameter and a resource object, the page content object and the content object both comprise an object main body, position information corresponding to the object main body, a reference relation between the object main body and the drawing parameter and a reference relation between the object main body and the resource object, the object main body comprises a text object TextObj, a graphic object PathObj and an image object ImageObj, the position information comprises coordinates, widths and heights, three arrays are generated at the same time and are respectively drawparlist, a relist and a signlist, the drawparlist is used for storing the drawing parameter, and the relist is used for storing the resource object, the object body of the resource object comprises an attachment, a multimedia file and a font, and the signlist is used for storing the signed object in a json format; wherein
The storage process of the page content object is as follows: and filling the page and the page content object into the array pagelist as key and value respectively in the form of key, value key value pair.
The storage process of the drawing parameters on the bottom plate is as follows:
s3.1.1, judging whether the content object applies drawing parameters, and entering S3.1.2 if the content object applies the drawing parameters, wherein the types of the drawing parameters include but are not limited to bold, italic, equal width font, embedded font, thickness value, line connection style, wireframe, dotted line style, dotted line repetition style, line end point style, image frame horizontal angle radius, image frame vertical angle radius, filling color, edge hooking and edge hooking color, the dotted line repetition style includes dotted line width and interval width, and the filling color and the edge hooking color include basic color, shading filling style, radial gradient parameter, axial gradient parameter and high lode gradient parameter;
s3.1.2, judging whether a drawing parameter with the same type as the parameter exists in the drawparamlist, if so, adding the drawing parameter repeatedly, and if not, entering S3.1.3;
s3.1.3, generating an id corresponding to the drawing parameter, writing the id and the drawing parameter as key and value respectively into a drawaramlist in a form of key value pair, and modifying the reference parameter related to the drawing parameter in the reference relationship between the object body and the drawing parameter in the content object to the id.
The storage process of the resource objects on the bottom plate comprises the following steps:
s3.2.1, judging whether the page content object includes resource object, if it includes resource object, entering S3.2.2, the resource object includes font file and resource file, the resource file includes but not limited to graphics, picture, video, sound, text type file or any combination thereof;
s3.2.2, identifying the resource object, entering S3.2.3 if the resource object is a font, and entering S3.2.4 if the resource object is a file;
s3.2.3, determining whether a font file with the same font name as the resource object exists in the result, if so, not adding the font file repeatedly, and if not, entering S3.2.5, for example: if the font file is Song style and ttf and the resource object is regular script and ttf, the same font file does not exist and the entry is S3.2.5;
s3.2.4, acquiring a hash value of the resource object, and judging whether a resource object with the same hash value as the resource object exists in the result, if so, adding the resource object repeatedly, and if not, entering S3.2.5;
s3.2.5, generating id corresponding to the resource object, writing the id and the resource object as key and value respectively into the result in the form of key, value > key value pair, and modifying the reference parameter related to the resource object in the reference relationship between the object body and the resource object in the content object to the id.
S4, analyzing the page content object of each page through S3, circularly converting the position information in the content object of each page through S5 to obtain a converted content object, respectively taking the page number and the converted content object as key and value according to the corresponding relation between the page number and the page path content, and filling the key and value into an array pagelist in a form of key, value > key value pair;
s5, writing contents in drawparamlist, reslist and pagelist into an empty xml file according to rule requirements to form xml nodes and node attributes, and forming the xml file of the bottom plate, wherein the rule is a rule for presetting key and value according to object types and attributes in the objects to form xml nodes and node attributes, and the object types comprise text objects, graphic objects and image objects; the attributes in the objects comprise coordinates, widths and heights corresponding to the text objects and the image objects, types and point coordinates corresponding to the image objects, reference of drawing parameters and resource reference, the attributes of the objects in the corresponding memory are preset with a structure except for preset key and value element names, and the structure is a shelf for filling the values when judging that the numerical values are not empty (namely not null);
writing the signed object in the drawing array and the page number corresponding to the signed object into an xml file of the bottom plate, associating the content of the signed object and the content of the xml file of the bottom plate according to the page number to form a complete xml file, and copying an object main body of the resource object into a directory structure in an OFD standard;
s6, compressing the complete xml file and the directory structure into a file with suffix of. OFD to obtain the required OFD file.
S1 may also be performed after any step before S5.
The type of the graphic object comprises a straight line, a rectangle, a Bezier curve or any shape formed by combining a plurality of the straight line, the rectangle, the Bezier curve and the Bezier curve, and the point coordinates corresponding to the graphic object comprise the coordinates of a starting point and the coordinates of an end point.
When the page content is analyzed, a json-to-xml conversion is equivalently carried out, an xml frame is generated on a page firstly in the conversion process, then the object in the page path content is circularly seen, if the object is a character object, the xml of the character in ofd is generated, whether the reference exists or not is judged, and if the reference exists, the id reference exists; if the object is a graphic object, converting the object into odf xml of the object, judging whether a reference exists or not, and if the reference exists, referring to id; if the image object is the image object, converting the image object into corresponding xml, judging whether reference exists or not, and using id to reference resources; the format data stream file can be signed, and the signing is equivalent to signing of vector lines, pictures, multimedia and the like, corresponding to graphic xml or image xml, and multimedia such as audio and video is also a reference of some resources.
The id involved in the process of storing the drawing parameters is self-increased from 1, when new data is added in the drawparamlist, the id corresponding to the data is (current id) +1, and the current id is an integer greater than or equal to 0; the same is true for the id involved in the resource object storage process.
Some embodiments of the present invention provide a system for converting a format data stream file into an OFD file, comprising a storage medium and a processor,
the storage medium is used for storing program codes and related data required to be stored in the execution process of the method for converting the format data stream file into the OFD file, such as: xml files, directory structures and the like of drawparamlist, relist, pagelist, signlist and OFD;
the processor is used for executing the program codes to realize the method for converting the format data stream file into the OFD file.
It will be apparent to those skilled in the art that various changes and modifications can be made without departing from the inventive concept, and these changes and modifications should be considered as within the scope of the invention.

Claims (8)

1. A method for converting a format data stream file into an OFD file is characterized by comprising the following steps:
s1, analyzing the format data stream file, and acquiring the page width, the page height and the page number of the format data stream file;
s2, allocating a plurality of processes for concurrently processing and acquiring the content of the layout data stream file of each page, wherein the content of the layout data stream file comprises a page object, and the page object comprises a page content object, a drawing parameter and a resource object;
s3, writing the page width and height of the format data stream file as the page width and height of the OFD file;
s4, creating an OFD object, filling the content and page number of the format data stream file into the OFD object, dividing the OFD object into a plurality of arrays for storage, wherein the plurality of arrays comprise a first array, a second array and a third array, the first array is used for storing the page content object and the corresponding page number, the second array is used for storing the drawing parameters, and the third array is used for storing the resource object;
s5, writing the page width and height of the OFD file and the content in the OFD object into an xml file according to a matching rule, and generating a directory of the OFD file, wherein the matching rule is as follows:
presetting the key and value rules of the first array, the second array and the third array;
firstly, writing contents in a first array, a second array and a third array into an empty xml file according to rules to form xml nodes and node attributes, and forming an xml file of a bottom plate, wherein the rules are rules for presetting keys and values according to object types and attributes in the objects to form the xml nodes and node attributes, presetting a structure and a frame, judging whether numerical values are empty or not, and filling the numerical values in a stoppages mode, wherein the object types comprise text objects, graphic objects and image objects; the attributes in the objects comprise coordinates, width and height corresponding to the text object and the image object, types and point coordinates corresponding to the graphic object, reference of drawing parameters and resource reference;
then writing the signed object in the drawing array and the page number corresponding to the signed object into an xml file of the bottom plate, associating the content of the signed object and the content of the xml file of the bottom plate according to the page number to form a complete xml file, and copying an object body of the resource object into a directory structure in an OFD standard;
s6, packaging the directories of the xml file and the OFD file to generate the OFD file.
2. The method for converting a layout data stream file into an OFD file according to claim 1,
the page content object comprises a text object, a graphic object, an image object, position information corresponding to the text object and the image object, a type corresponding to the graphic object and point coordinates, and the position information comprises coordinates, width and height;
the drawing parameters comprise a bold body, an italic body, whether the font is equal in width or not, an embedded font style, a thickness value, a line connection style, a line frame, a dotted line style, a dotted line repeated style, a line end point style, an image frame horizontal corner radius, an image frame vertical corner radius, whether filling, filling color, whether edge hooking and edge hooking color are performed or not, the dotted line repeated style comprises a dotted line width and an interval width, and the filling color and the edge hooking color respectively comprise a basic color, a shading filling style, a radial gradient parameter, an axial gradient parameter and a high-lode gradient parameter;
the object body of the resource object includes an attachment, a multimedia file, and a font.
3. The method for converting a layout data stream file into an OFD file according to claim 1,
the total page number of the format data stream file corresponds to the total page number of the OFD file;
one page of the format data stream file corresponds to one process;
and the pages of the format data stream file correspond to the pages of the OFD file one by one.
4. The method for converting a layout data stream file into an OFD file according to claim 1, wherein the storage process of the page content object is as follows: the page number and page content objects are filled into the first array as key and value, respectively, in the form of < key, value > key value pairs.
5. The method for converting a layout data stream file into an OFD file according to claim 1,
the storage process of the drawing parameters is as follows:
s3.1.1, judging whether the content object uses the drawing parameters, if so, entering S3.1.2;
s3.1.2, judging whether the second array has the drawing parameters with the same type as the parameters, if so, adding the drawing parameters repeatedly, and if not, entering S3.1.3;
s3.1.3, generating id corresponding to the drawing parameter, writing the id and the drawing parameter as key and value into the second array in the form of key, value key value pair, and modifying the reference parameter related to the drawing parameter in the reference relation between the object body and the drawing parameter in the content object to the id.
6. The method for converting a layout data stream file into an OFD file according to claim 1,
the storage process of the resource object is as follows:
s3.2.1, judging whether the page content object includes the resource object, if yes, entering S3.2.2;
s3.2.2, acquiring a hash value of the resource object, and judging whether a resource object with the same hash value as the resource object exists in the third array, if so, adding the resource object repeatedly, and if not, entering S3.2.3;
s3.2.3, generating an id corresponding to the resource object, writing the id and the resource object into a third array in a form of key and value pair as key and value respectively, and modifying the reference parameter related to the resource object in the reference relation between the object body and the resource object in the content object to the id.
7. The method for converting the format data stream file into the OFD file according to claim 1, wherein the format data stream file includes a bottom board and an attachment layer, the page object further includes a batch object located in the attachment layer, the batch object includes a content object, a drawing parameter, and a resource object, the majority group includes a drawing array, the drawing array is used for writing a page number corresponding to the storage batch object and the batch object through a JSON format, and the drawing array, the first array, the second array, and the third array are combined to form the OFD object.
8. A system for converting format data stream file into OFD file is characterized by comprising a storage medium and a processor,
the storage medium is used for storing program codes and related data required to be stored in the method for converting the format data stream file into the OFD file according to any one of claims 1 to 7;
the processor is used for executing program codes to realize the method for converting the format data stream file into the OFD file according to any one of claims 1 to 7.
CN202111455583.3A 2021-12-02 2021-12-02 Method for converting format data stream file into OFD file Active CN114118007B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111455583.3A CN114118007B (en) 2021-12-02 2021-12-02 Method for converting format data stream file into OFD file
PCT/CN2022/131210 WO2023098447A1 (en) 2021-12-02 2022-11-10 Method for converting layout data stream file into ofd file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111455583.3A CN114118007B (en) 2021-12-02 2021-12-02 Method for converting format data stream file into OFD file

Publications (2)

Publication Number Publication Date
CN114118007A CN114118007A (en) 2022-03-01
CN114118007B true CN114118007B (en) 2022-07-08

Family

ID=80369423

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111455583.3A Active CN114118007B (en) 2021-12-02 2021-12-02 Method for converting format data stream file into OFD file

Country Status (2)

Country Link
CN (1) CN114118007B (en)
WO (1) WO2023098447A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114118007B (en) * 2021-12-02 2022-07-08 江苏中威科技软件***有限公司 Method for converting format data stream file into OFD file
CN116757165B (en) * 2023-08-09 2023-10-31 江苏中威科技软件***有限公司 Method for projecting effect tool to OFD file based on layout data stream file base plate
CN117236291B (en) * 2023-11-16 2024-01-12 北京点聚信息技术有限公司 Method and system for rapidly converting scanned file into vector layout file
CN117725885B (en) * 2024-01-26 2024-04-26 江苏中威科技软件***有限公司 Method for affecting reading operation effect by layering and engraving OFD file
CN117910438B (en) * 2024-03-13 2024-06-21 江苏中威科技软件***有限公司 Dynamic format file DLF generation device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6199068B1 (en) * 1997-09-11 2001-03-06 Abb Power T&D Company Inc. Mapping interface for a distributed server to translate between dissimilar file formats
KR20140042169A (en) * 2012-09-28 2014-04-07 삼성에스디에스 주식회사 Apparatus and method for converting value object
CN105279254A (en) * 2015-10-12 2016-01-27 江苏中威科技软件***有限公司 Layout data stream file system, operation apparatus for system and realization method for apparatus
CN105302775A (en) * 2014-06-30 2016-02-03 鸿合科技有限公司 File format converting method and apparatus
CN108415887A (en) * 2018-02-09 2018-08-17 武汉大学 A kind of method that pdf document is converted to OFD files
CN108614844A (en) * 2016-12-13 2018-10-02 腾讯科技(北京)有限公司 Multimedia file producting method and device
WO2018179002A1 (en) * 2017-03-30 2018-10-04 Tnq Books And Journals Private Limited Transformation of marked-up content into a file format that enables automated browser based pagination
CN112613283A (en) * 2020-12-16 2021-04-06 江苏中威科技软件***有限公司 OFD format file stacking, signing and layered viewing method
CN113327144A (en) * 2021-04-30 2021-08-31 航天信息股份有限公司 Method and system for concurrently generating electronic invoice OFD format file

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030167271A1 (en) * 2001-08-28 2003-09-04 Wolfram Arnold RDO-to-PDF conversion tool
CN107103255A (en) * 2017-04-27 2017-08-29 百望电子***数据服务有限公司 A kind of electronic invoice layout files verification method and system
CN114118007B (en) * 2021-12-02 2022-07-08 江苏中威科技软件***有限公司 Method for converting format data stream file into OFD file

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6199068B1 (en) * 1997-09-11 2001-03-06 Abb Power T&D Company Inc. Mapping interface for a distributed server to translate between dissimilar file formats
KR20140042169A (en) * 2012-09-28 2014-04-07 삼성에스디에스 주식회사 Apparatus and method for converting value object
CN105302775A (en) * 2014-06-30 2016-02-03 鸿合科技有限公司 File format converting method and apparatus
CN105279254A (en) * 2015-10-12 2016-01-27 江苏中威科技软件***有限公司 Layout data stream file system, operation apparatus for system and realization method for apparatus
CN108614844A (en) * 2016-12-13 2018-10-02 腾讯科技(北京)有限公司 Multimedia file producting method and device
WO2018179002A1 (en) * 2017-03-30 2018-10-04 Tnq Books And Journals Private Limited Transformation of marked-up content into a file format that enables automated browser based pagination
CN108415887A (en) * 2018-02-09 2018-08-17 武汉大学 A kind of method that pdf document is converted to OFD files
CN112613283A (en) * 2020-12-16 2021-04-06 江苏中威科技软件***有限公司 OFD format file stacking, signing and layered viewing method
CN113327144A (en) * 2021-04-30 2021-08-31 航天信息股份有限公司 Method and system for concurrently generating electronic invoice OFD format file

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
国家版式文档格式规范(OFD)中的技术方案;王聪等;《信息技术与标准化》;20120930(第9期);第19-21、29页 *

Also Published As

Publication number Publication date
WO2023098447A1 (en) 2023-06-08
CN114118007A (en) 2022-03-01

Similar Documents

Publication Publication Date Title
CN114118007B (en) Method for converting format data stream file into OFD file
KR100898476B1 (en) Method and system for converting a schema-based hierarchical data structure into a flat data structure
US20160078656A1 (en) Remote Font Management
US20070136660A1 (en) Creation of semantic objects for providing logical structure to markup language representations of documents
CN114118023B (en) Method for converting OFD file
CN114020756B (en) Remote sensing image real-time map service publishing method and device
JP2002507301A (en) Paragraph layout method using layout service library
CN111797595A (en) Method and device for generating OFD format page based on XML template
US20130318435A1 (en) Load-Time Memory Optimization
US20030025940A1 (en) Document filing apparatus for storing information added to a document file
US7865818B2 (en) Form output control apparatus, form output control method, and computer readable program
CN111881651A (en) Method for converting UOT streaming document into OFD format document
CN115757272A (en) Method and system for converting HTML file into OFD file
US20120102385A1 (en) Determining heights of table cells
US8015213B2 (en) Content having native and export portions
CN111444452B (en) Webpage conversion method and device and storage medium
US20100153842A1 (en) Rendering source content for display
CN105701073A (en) Layout file generation method and device
CN114722781A (en) Method and device for converting streaming document into OFD document
CN112800366A (en) OFD document online browsing method
CN111739084A (en) Picture processing method, atlas processing method, computer device, and storage medium
US20110296292A1 (en) Efficient application-neutral vector documents
CN113568578B (en) Picture processing method and device, electronic equipment and readable storage medium
WO2023006024A1 (en) Image processing method and apparatus, and electronic device and readable storage medium
CN118034618A (en) Print processing method, apparatus, computer device, storage medium, and product

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
GR01 Patent grant
GR01 Patent grant