Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Processing method and device of streaming document

A technology of streaming documents and processing methods, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve problems such as graphics and image difficulties, graphics and image recognition errors, and graphics and image information loss, so as to improve user experience, Avoid false display effects

Active Publication Date: 2014-10-22
NEW FOUNDER HLDG DEV LLC +1
View PDF6 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Its defect is: when rearranging and presenting graphic image information in various mobile device readers, either the graphic image information is lost, or only the text information in the graphic image can be presented, or the graphic image and the text information in it can be presented separately in multiple paragraphs
[0013] The root causes of this defect are as follows: 1. In addition to the composite graphic elements in the layout document, there is currently no graphic image with text information in the structural information, so one must choose ( figure 1 error effects 2 and 3), or both, but provided in separate modes ( figure 1 Error Effect 1)
2. It is very difficult to intelligently identify graphic images with text information as composite primitives using similar virtual printing technology. This is often caused by contradictions: that is, this situation is recognized as composite primitives, but the graphics floating on the text The image will obviously be misrecognized
[0014] Therefore, when the prior art converts a streaming document into a layout document, it cannot correctly handle the combined graphic image composed of text and graphic images

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Processing method and device of streaming document
  • Processing method and device of streaming document
  • Processing method and device of streaming document

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0051] Embodiment 1: A streamlined logic structured processing flow.

[0052] see image 3 , this embodiment includes the following steps:

[0053] A10. Identify graphics and image information in original documents such as streams;

[0054] A20, graphic image and paragraph text position calculation;

[0055] A30. Mapping the graphics and image information into a peer-to-peer structure of the version stream.

[0056] Specific examples are given below for each step in Example 1.

Embodiment 2

[0057] Embodiment 2: Identify graphic image information in original documents such as streaming.

[0058] Such as Figure 4 shown, including the following steps:

[0059] B10. Initialize the recognition environment;

[0060] Initialize the corresponding application program secondary development interface environment or self-developed analysis tool environment or related kernel engine, and load the document. The attribute group (or style) information defaultShapeStyleMap of the global default graphic image of the original document can be correctly obtained through the existing development environment or technology, and the standard C++std::map,defaultShapeStyleMap can be used to carry this information , where strAttributeName represents each attribute name of the graphic image, and strAttributeValue represents the value corresponding to each attribute name of the graphic image, such as (fontSize, 10.5) indicates that the font size is 10.5, (alignment, left) indicates left al...

Embodiment 3

[0070] Embodiment 3: Calculation of graphic image and its paragraph text position.

[0071] see Figure 5 , including the following:

[0072] C10, anchor point type analysis;

[0073] Find the anchor point type attribute value of the anchor point object from the only shapeStyleMap entry in the above shapeGroup structure, if it is not As char type, then the anchor point object position calculation of C20 is not performed, that is, it has been obtained in step B20 of embodiment 2; but The paragraph text position still needs to be calculated. If it is of the As Char type, it is necessary to calculate the anchor point object of C20 and its paragraph text position.

[0074] C20, anchor point object and its paragraph text position calculation;

[0075]The position of the anchor point object and its paragraph text is calculated in two aspects: through the existing Office APIs (Application Programming Interface, application programming interface), select the Selection and area Ran...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

An embodiment of the invention provides a processing method and device of a streaming document to transform the streaming document into a format document and correctly display a combined graphic image which is composed of texts and graphic images. The processing method includes acquiring information, including anchor information of the graphic images and attribute information of the texts, of the combined graphic image which is composed of the texts and the graphic images from the streaming document; determining coordinates of text sentences according to the anchor information of the graphic images and the attribute information of the texts; mapping the combined graphic image to the format document according to the information of the combine graphic image and the coordinates of the text sentences.

Description

technical field [0001] The invention relates to the field of document conversion, in particular to a method and device for processing streaming documents. Background technique [0002] At first the terms nouns involved in the present invention are introduced: [0003] Layout document: It is a document independent of software, hardware, operating system, and rendering / printing equipment, such as pdf, cebx and other formats. A layout document can contain multiple pages, and each page consists of a number of primitives (that is, layout objects, the most basic unit of content presented on a page, such as text, graphics, images, tables, multimedia, etc.) Primitives, including compound primitives based on the combination of these basic primitives). [0004] Common basic features of layout documents: original original presentation (text images and other content and their position, size, color and other layout information are presented / printed in the same way on different platform...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/21
Inventor 王长胜邢国峰
Owner NEW FOUNDER HLDG DEV LLC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products