CN104239305A - Electronic document generating and displaying method and apparatus - Google Patents
Electronic document generating and displaying method and apparatus Download PDFInfo
- Publication number
- CN104239305A CN104239305A CN201310226428.3A CN201310226428A CN104239305A CN 104239305 A CN104239305 A CN 104239305A CN 201310226428 A CN201310226428 A CN 201310226428A CN 104239305 A CN104239305 A CN 104239305A
- Authority
- CN
- China
- Prior art keywords
- page
- layout
- descriptor
- content
- information
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/103—Formatting, i.e. changing of presentation of documents
- G06F40/106—Display of layout of documents; Previewing
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Document Processing Apparatus (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses an electronic document generating and displaying method and apparatus. The method includes the steps of obtaining an electronic document data packet, wherein the data packet comprises page layout description information, content stream description information and resource description information of an electronic document; performing page layout on a display page according to the page layout description information; determining the content to be displayed and a display style according to the content stream description information and the resource description information; performing layout and displaying the content to be displayed in the display page on which the page layout is performed in accordance with the display style. By means of the electronic document generating and displaying method and apparatus, the certainty, flexibility and freedom on the layout and display of the electronic document can be obtained.
Description
Technical field
The application relates to typesetting electronic document and display technique field, particularly relates to the method and the device that generate and represent electronic document.
Background technology
Along with the continuous lifting of the flourish of internet and level of hardware, electronic document progressively replaces traditional books and paper document.According to the difference of space of a whole page account form, electronic document can be divided into streaming document and format document, and both essential distinctions are space of a whole page drawing result timing machine really, and the former is dynamic calculation when opening document, and the latter just determines when document structure tree.
Streaming document with the document of Open Office XML (OOXML) specification of Microsoft for representative, by the structure organization of document content according to chapters and sections paragraph, and quote the pattern defined in style sheet, the description of relativity is carried out to the rule of document layout, has used document by the typesetting of respective algorithms.HTML (Hypertext Markup Language, HTML (Hypertext Markup Language)) is also a kind of streaming document, and its structural design more meets the needs of network browsing.
The PDF file that format document is released with Adobe company, for representative, by giving document content specified coordinate position, embedding the method for character script, given chart size, definitely describes document layout.Format document can keep the original appearance of document under various operating system platform, is suitable as the final issue form of electronic document content, or carries out propagating and issuing as the substitute of printed matter.It has become the desired format of document exchange and file.
For a long time, format document technology and streaming document technology are all separate.Along with the development of terminal technology, terminal device embodies the difference of the various ways such as PC, mobile phone, PDA, for electronic document, if in PC, large-size screen monitors panel computer read, format document is well selected because the expressive force of its space of a whole page and determinacy are one, but when user is read by small screen devices such as mobile phones, then wish that the page can carry out adjusting, resetting according to screen, even give up to fall ornamental information, only pay close attention to and document content is read smoothly.Therefore, in the prior art, generally can only according to terminal device need make many parts of electronic documents, such as, for giant-screen equipment, make format document, streaming document is then made for small screen device, etc., obviously, owing to needing to make many parts of documents for different screen sizes respectively, therefore, this can make the workload of wright increase, and the document produced also can be made to need to take a large amount of storage spaces, and the content of preserving in these storage spaces exists a large amount of redundant content, cause the waste of storage space.
Summary of the invention
This application provides the method and the device that generate and represent electronic document, make electronic document have certain determinacy in typesetting and display, also there is certain flexibility ratio and degree of freedom simultaneously.
This application provides following scheme:
Represent a method for electronic document, comprising:
Obtain data for electronic documents bag; Described packet comprises layout's descriptor of electronic document, content flow descriptor and resource description information; Wherein, described layout descriptor comprises the attribute information of the page block comprised in the information of the content flow object quoted, page attribute information and page, described page block is the subregion of viewing area in page, and the attribute information of described page block at least comprises: the position of page block in page, size; Described content flow descriptor comprises the information of the resource object quoted according to preset logical order and the display style information of resource object, and described resource description information comprises the set of the electronic document various resource datas required when showing;
According to described layout descriptor, layout is carried out to display page;
Content to be shown and Show Styles is determined according to described content flow descriptor and described resource description information;
According to described Show Styles, in the display page carrying out layout, typesetting and display are carried out to described content to be shown.
Generate a method for electronic document, comprising:
For the document content of specifying, create the page, and record page attribute information;
In the page, create page block, in the attribute information of page block, record the position of described page block in page and size; Described page block is the subregion of viewing area in page;
For the Element generation resource description information in described document content of specifying, described resource description information comprises mark and the display style information thereof of resource object;
Described resource description information is quoted, content creating stream according to preset logical order, and generating content stream description information;
Create the incidence relation that described content flows to described page block, to determine the content flow that page block is quoted, and record the identification information of the content flow that page block is quoted;
According to the attribute information of described page attribute information, page block and the identification information of content flow quoted, generate layout's descriptor;
Preserve described layout descriptor, content flow descriptor, resource description information, generate electronic document.
Represent a device for electronic document, comprising:
Packet acquiring unit, for obtaining data for electronic documents bag; Described packet comprises layout's descriptor of electronic document, content flow descriptor and resource description information; Wherein, described layout descriptor comprises the attribute information of the page block comprised in the information of the content flow object quoted, page attribute information and page, described page block is the subregion of viewing area in page, and the attribute information of described page block at least comprises: the position of page block in page, size; Described content flow descriptor comprises the information of the resource object quoted according to preset logical order and the display style information of resource object, and described resource description information comprises the set of the electronic document various resource datas required when showing;
Layout's unit, for carrying out layout according to described layout descriptor to display page;
Displaying contents and style determination unit, for determining content to be shown and Show Styles according to described content flow descriptor and described resource description information;
Typesetting and display unit, for according to described Show Styles, carry out typesetting and display to described content to be shown in the display page carrying out layout.
Generate a device for electronic document, comprising:
Page creation unit, for for the document content of specifying, creates the page, and record page attribute information;
Page block creating unit, for creating page block in the page, records the position of described page block in page and size in the attribute information of page block; Described page block is the subregion of viewing area in page;
Resource description information generation unit, for being the Element generation resource description information in described document content of specifying, described resource description information comprises mark and the display style information thereof of resource object;
Content flow descriptor generation unit, for quoting described resource description information according to preset logical order, content creating stream, and generating content stream description information;
Associative cell, flows to the incidence relation of described page block for creating described content, to determine the content flow that page block is quoted, and record the identification information of the content flow that page block is quoted;
Layout's descriptor generation unit, for according to described page attribute information, the position of page block in page, size and the identification information of content flow quoted, generates layout's descriptor;
Electronic document generating unit, for preserving described layout descriptor, content flow descriptor, resource description information, generates electronic document.
According to the specific embodiment that the application provides, this application discloses following technique effect:
Pass through the embodiment of the present application, because electronic document can adopt layout, content flow, the such three layers of description of resource, therefore, document reader is when showing electronic document, first layout can be carried out to display page, be equivalent to first build display frame, and then describe according to the content flow quoted, in the display frame of the page, typesetting and display are carried out to concrete resource content.Like this, see the feature that can embody format on the whole, because the layout position information in the page is fixing, and from local, the feature of flowing content can be retained again, thus make electronic document have certain determinacy in typesetting and display, also there is certain flexibility ratio and degree of freedom simultaneously.
In addition, because overall page layout uses format mode to define the space of a whole page block of fixed size, fixed position, therefore, the rich and determinacy that the space of a whole page describes is enhanced; The content of page block or its combination uses streaming fashion to describe, and logical relation is clear.Local font, color, pattern etc. can be adjusted flexibly when not affecting total arrangement.
Certainly, the arbitrary product implementing the application might not need to reach above-described all advantages simultaneously.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is only some embodiments of the application, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the process flow diagram representing the method for electronic document that the embodiment of the present application provides;
Fig. 2 is the process flow diagram of the method for the generation electronic document that the embodiment of the present application provides;
Fig. 3 is the schematic diagram representing the device of electronic document that the embodiment of the present application provides;
Fig. 4 is the schematic diagram of the device of the generation electronic document that the embodiment of the present application provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, be clearly and completely described the technical scheme in the embodiment of the present application, obviously, described embodiment is only some embodiments of the present application, instead of whole embodiments.Based on the embodiment in the application, the every other embodiment that those of ordinary skill in the art obtain, all belongs to the scope of the application's protection.
In order to the terminal device that the electronic document produced can be made can be applicable to various screen size more easily, in the technical scheme that the embodiment of the present application provides, combine format document and streaming document technology feature and advantage, by by the resource in document, content flow, layout carries out layered shaping, can support that the space of a whole page of same content customization different size and layout is for selecting flexibly, also can to the font in full or in space of a whole page block, color, font size, backgrounds etc. carry out flexible configuration, abundanter interactivity content is added in expansion, meet books, magazines etc. are distribution papery and electronic version synchronously, once publish, multi-platform application, the application demand that multipath is propagated.Be described in detail below.
See Fig. 1, the embodiment of the present application provide firstly a kind of method representing electronic document, and the method can comprise the following steps:
S101: obtain data for electronic documents bag, described packet comprises layout's descriptor of electronic document, content flow descriptor and resource description information, wherein, described layout descriptor comprises page attribute information during information and the document display of the content flow object quoted, described content flow descriptor comprises the information of the resource object quoted and the display style information of resource object, and described resource description information comprises the set of the electronic document various resource datas required when showing;
During specific implementation, data for electronic documents bag is made in advance, can upload to network or be supplied to electronic document reader by other means to represent.Wherein, in the embodiment of the present application, when making electronic document, hierarchical description can be carried out to electronic document from top to bottom according to resource, content flow, layout, upper strata object can quote one or more direct lower floors object in the de-scription as data, and lower floor's object can be described by any directly upper strata and repeatedly quote.
Wherein, resource description refers to the various resource data set in document, and the most basic data needed for namely document display, can include but not limited to the data such as word, picture, figure, predefine pattern, font packet, color table.
Content flow describes and refers to and to present according to the typesetting of content sequencing, comprise the image mixed character typeset paragraph set that pattern describes, being equivalent to one section of article, report etc., is the equal of according to the content after certain pattern, sequential organization by the word in resource description, picture etc.
Page layout describes and comprises in document file page for showing the attribute information in the region of electronic document content, such as, the size of viewing area, resolution, back gauge, background, whether full frame etc., for showing to need the content of electronic document is presented in the region of specifying.In addition, in actual applications, viewing area in a page can also comprise multiple subregion and (subregion can be called " page block ", can be regarded as the container for showing concrete document content), make can embody the features such as similar newspaper subfield display in a page, simultaneously, page layout describes the description of the attribute information also comprised these page blocks, comprise the pattern of each page block (such as, size, position, back gauge, frame, background etc.), incidence relation (mainly tandem relation) between each page block, content-data source and imposition layout's mode etc.In addition, in order to meet the reading requirement of user to common fixed format, also do not support that the document reader of the functions such as content flow parsing also can show document to make, page layout also can preserve the positional information of row, word or word in each page block in describing, when document is in can directly use these contents to complete layout now, realizes the former formula of master and present.After this is equivalent to have recorded and describes carry out typesetting according to certain content flow, the positional information of row, word, word in page block, if follow-up needs show according to this pattern, then the direct fix information according to recording carries out showing, do not need to resolve the information such as the pattern in content flow description again, the result making each display is all identical.In addition, during page layout describes, also can to select in specific webpage region, page block, specific resources and content flow particular sequence etc., and add for it interactivity contents such as linking redirect, scaling rotation, animation, multimedia.
Content flow describes the data such as word, picture used by reference in resource description; And again by layout describe quote, to serve as the source of wanting rendering content in page display area or its subregion (page block).That is, it is by concrete combination of resources that content flow describes, in the viewing area that the content that these content flows describe finally can be shown to the page or each page block.It should be noted that, in content flow describes, can for row is interior or section interior element arranges Show Styles (such as, color, font, font size etc.), but, can't specify specifically to show and how much go, often go and show how many characters etc., when these information meeting basis specifically shows, layout's description of selection is next actual determines.That is, supposing to define certain page block in certain page, specifically when showing, is that the content that the content flow quoted by this page block describes is added in this page block.Suppose the font size of the content described according to this content flow and the size of this page block, this page block final can hold lower 10 row, often row 25 characters, when the content that so this content flow describes shows in this page block, will every capable display 25 characters, show 10 row altogether.Be appreciated that if the content flow that this page block refer to other describes, and the font size wherein described is different, then in this page block, often the capable number of characters shown and total line number that can show also can be different.In other words, for same content flow describes, described quote by different layouts time, situation, the required total page number etc. of display in every page may be all different.
A page block or page block chaining combination can quote one or more content flow, specifically when showing electronic document, in imposition layout's process, carry out according to content flow sequencing; When a page block is booked, the next page block that usage chain is received continues typesetting.
It should be noted that, specifically when each layer content is described, the language such as XML can be adopted to describe layout, content flow and resource etc. respectively, the description relating to form can use XHTML (eXtensible Hyper Text Markup Language, easily extensible hypertext markup language)+CSS (Cascading Style Sheets, CSS (cascading style sheet)), coordinate customized label to describe adduction relationship and custom content, particular content can comprise:
Resource description: digital ID can be adopted to identify each object, relate to the key contents such as the word in document, picture, figure, also comprise the complementary data such as font packet, color table.Wherein, word allows to add parameter mode by ID and quotes substring, and large section word rationally can split according to typesetting demand; Picture, font etc. save as unique file, and description document is record identification, path etc. only.
Content flow describes: digital ID can be adopted to identify each object, corresponds to independently article or segment, generally based on word, but also can comprise picture, formula etc. in row, quote resource object as content, and can arrange pattern for paragraph and row interior element; During specific implementation, embedded XHTML+CSS definition format can be adopted, add customized label and realize quoting or expanded function resource object.In typesetting manufacturing process, content flow normally can add according to page layout's requirement and revise.
Layout describes: layout can describe key parameter, front cover, catalogue corresponding relation, total page number, page order etc., can select masterplate page, current page attribute etc.Layout describes and sequentially can also describe attribute and the content of all pages one by one, and whether full frame etc. page attribute can comprise a page size, resolution, back gauge, background.Page content then comprises one or more page block container, and, can also be described respectively page block's attribute, such as, position, size etc., alternatively, can also comprise back gauge, frame, background etc. meanwhile; Page block can one-way linkage to another one page block, but permit there is ring; The page block not being linked sensing can quote one or more content flow as content.
It should be noted that, in order to adapt to the difference of different mobile device terminal to resolution, screen size and handling property, make all there is good reading experience on different devices, layout describes can have many parts, that is, electronic document can comprise Duo Tao layout and to describe and separate, allow for different terminal equipment choice for use wherein one or more sets, and select the content flow quoted to describe and resource description.
In addition, for same electronic document, can be except many parts except layout describes, content flow describes also can be many parts.That is, according to different layout's features, the concrete resource description that content flow is quoted also can be slightly different, such as, in the layout adapting to large scale screen display describes, the content flow quoted can quote the contents such as the picture of some commercial papers in describing, and for the layout adapting to small-size screen describes, only can quote the main contents such as word during its content flow quoted describes.Certainly, layout describe to describe also with content flow and indefinite be one to one, such as, multiple layout describes and can quote the description of same content flow, and that is, same content flow can be shared by multiple layout.
S102: layout is carried out to display page according to described layout descriptor;
Document reader, after getting packet, just can be resolved packet, and first carries out layout according to layout's descriptor wherein.That is, first put up display frame, follow-uply add displaying contents wherein again.It should be noted that, if the packet of certain electronic document comprises Duo Fen layout descriptor, then first therefrom can select a current layout's descriptor needing to use.As mentioned before, specifically when selecting, can according in packet to Ge Fen layout describe critical data introduction etc., selecting a layout matched with the screen parameter of present terminal equipment automatically describes, or also can be specified by user.After have selected layout's descriptor, just can carry out layout to display page accordingly, be equivalent to first determine in each page to comprise which page block respectively, the linking relationship between each size of page block, the position at place and page block, etc.
S103: according to described content flow descriptor and described resource description information, determine content to be shown and Show Styles;
Owing to describing the descriptor of the content flow quoted in layout's descriptor, and content flow describe by reference resource description determine, therefore, just can determine current need show content and pattern.
S104: according to described Show Styles, in the display page carrying out layout, carries out typesetting and display to described content to be shown.
By step S102 and S103, be equivalent to the layout's framework defining display page, and need to show what content in this framework, these contents have what kind of pattern (comprising font, font size, color etc.), like this, then by these contents in the page putting up framework, typesetting and display is carried out according to such pattern.
Wherein, a page block or page block chaining combination can quote one or more content flow, specifically when showing electronic document, carry out in imposition layout's process according to content flow sequencing, the next page block that when a page block is booked, usage chain is received continues typesetting.That is, according to Show Styles, content to be shown is carried out typesetting in the current page block of current page, after current page block is booked, according to the ordinal relation between page block, by the content to be displayed typesetting of not yet typesetting in next page block, after each page block of current page is all booked, by the content to be displayed typesetting of not yet typesetting in the page block of next page, until all contents to be displayed have all been typeset, just can show.Such as, suppose to be divided into three page blocks in first page, be respectively page block A, page block B and page block C, wherein, page block A is positioned at the top of page block B and page block C, left-right situs between page block B and page block C, and each page block is respectively with frame; In addition, suppose that the sequencing between page block is described as: page block A-> page block B-> page block C.Then specifically when showing electronic document, first in page block A, content to be displayed is filled, after being booked in page block A, fill in page block B again, after page block B is booked, then fill in page block C, after page block C is also booked, proceed to fill in the next page, be shown in the page until all contents to be displayed have all been filled.
Specifically when showing, directly can show corresponding content to be displayed according to the result of typesetting on correspondence position.Further, after display, adjustment entrance can also be provided, if user wants the Show Styles revising concrete element, then can be adjusted by concrete adjustment entrance.Accordingly, reader, after the adjustment request receiving user, just can be modified to element pattern.Specifically can comprise:
Change color, background etc., this replacing, without the need to typesetting again, only covers and uses new the rendering style;
Change font: because different fonts character duration may be variant, can consider only to use line position, in being expert at, then pass through the adjustment of typesetting again relative position; Also can typesetting again in units of the page block after link, but the position of page block does not adjust;
Change font size: can typesetting again in units of the page block after link, when content is not enough to fully support page block or content is too much, under prerequisite layout not being done to large adjustment, can suitably adjust page block size, allow content to overflow.
That is, in the embodiment of the present application, under the prerequisite that layout is fixing, the content of concrete display and pattern can be different according to the difference of content flow description, and can adjust according to the demand of user, have very large dirigibility.
In a word, in the embodiment of the present application, because electronic document can adopt layout, content flow, the such three layers of description of resource, therefore, document reader, when showing electronic document, first can carry out layout to display page, be equivalent to first build display frame, and then describe according to the content flow quoted, in the display frame of the page, typesetting and display are carried out to concrete resource content.Like this, see the feature that can embody format on the whole, because the layout position information in the page is fixing, and from local, the feature of flowing content can be retained again, thus make electronic document have certain determinacy in typesetting and display, also there is certain flexibility ratio and degree of freedom simultaneously.
In addition, because overall page layout uses format mode to define the space of a whole page block of fixed size, fixed position, therefore, the rich and determinacy that the space of a whole page describes is enhanced; The content of page block or its combination uses streaming fashion to describe, and logical relation is clear.Local font, color, pattern etc. can be adjusted flexibly when not affecting total arrangement.
In actual applications, user, in the process browsing one section of electronic document, may switch between different layouts.Such as, suppose that initial user adopts the mode of horizontal screen to browse, then can describe according to the layout that horizontal screen is corresponding and carry out typesetting and display, if terminal device rotates by user afterwards, make perpendicular screen mode into browse, then typesetting and display are carried out in layout's description that also can be switched to perpendicular screen corresponding.When equipment rotates, reader can record currently where browse to content flow, after switching layout, directly can jump to the page at this part content place.It should be noted that, because the layout before and after switching there occurs change, therefore in each page, the content of start-stop position is not necessarily identical, but due to information such as the paragraphs that still remains with article in content flow, and the corresponding relation of content under recording each layout, therefore, as long as the position jumped to after switching is roughly identical with the position before switching, such as, identical paragraph is positioned at.Certainly, if when layout describes and content flow describes, the size, element pattern etc. of page block are controlled, make the total page number under same size horizontal/vertical screen state, each page start-stop position content consistent, the page location needing after switching to jump to can be controlled so better.Such as, before only needing to record rotation, browse to how many pages, be switched to the layout of perpendicular screen and after completing typesetting, directly jump to this page and carry out showing.In addition, in actual applications, except the switching between horizontal/vertical screen, also may switch between other layout, such as, under user finds current layout, font is somewhat little, then can be manually switched to another kind of layout, etc., but no matter be which kind of switches, the positional information browsing position correspondence in content flow describes before switching can be recorded, after switching, jump to the page corresponding to this position.
The above describes the process how showing electronic document, and meets the electronic document of logic described in the embodiment of the present application, needs to be made by producer in advance, specifically when making electronic document, can make according to following steps:
First, for the large section article (or claiming " core article ") listed in catalogue creates the page under different layout, and page block can be added in the relevant position of these pages, the order of typesetting output content according to schedule, specific page block is linked from front to back, forms page block chaining group.
Then, be core article content creating stream, for the establishing resources such as word wherein, picture describe and quote, according to layout's requirement, for paragraph, word segment etc. create and arrange pattern; The situation that same content flow shares under multiple layout can be considered when making.
Finally, then by one or more content flow page block or page block chaining group is associated with.
In a word, when making electronic document, just need to be described each layer information, indicate adduction relationship between layers, the related data of the electronic document finally made can be saved in into packet, carries out loaded and displayed for document reader.
It should be noted that, in actual applications, specifically when making electronic document, according to above-mentioned logic, the mode of hard coded can be adopted to realize, also namely directly use the language such as XML, each layer information and adduction relationship thereof etc. are described.The electronic document meeting above-mentioned logic is produced more easily in order to make wright, raise the efficiency, reduce the requirement to producer's basis of coding, the embodiment of the present application can also provide a kind of method generating electronic document, during specific implementation, can be performed by application programs such as " electronic document editor ", see Fig. 2, the method can comprise the following steps:
S201: for the document content of specifying, creates the page, and record page attribute information;
In actual applications, this editing machine can provide a user interface for producer, and user interface can be divided into Accessorial Tools Storage and preview region etc., and producer can use the instrument in Accessorial Tools Storage, performs the operation creating the page etc. and be correlated with in preview region.Wherein, each " instrument " is equivalent to encapsulate respective method, and when instrument is used, while foreground represents, backstage just can perform corresponding method, realizes corresponding function.
Such as, when needs create the page, producer just can use the instrument for creating the page wherein, such as, certain button etc. is clicked, accordingly, the signal as the page such as square frame can be shown in preview region, and along with mouse drag etc., the size of square frame can be changed, simultaneously, backstage dynamic calculation can go out the dimensional values of square frame, and Dynamic Announce is carried out in interface, foreground, for producer's reference, etc.After producer determines the size of the page, the dimensional values of the page is recorded on backstage, preserves as page attribute information.Meanwhile, can also be provided as whether full frame the page adds frame, arranges page back gauge, background, instrument, producer can select corresponding instrument to complete concrete operation, and accordingly, backstage can be recorded in page attribute information.Certainly, the page attribute information such as size, back gauge, background of the page, can being specify respectively when creating each page, also can being specify unified page attribute information for full text shelves, also namely making each page have identical attribute.Which kind of mode of concrete employing, can decide according to the demand of reality, not limit here.
S202: create page block in the page, records the position of described page block in page and size in the attribute information of page block; Described page block is the subregion of viewing area in page;
After creating the page, just can add page block in page.Concrete, still can provide corresponding and because page block is the subregion of viewing area in page, therefore, the size of representation page block can be carried out equally with square frame etc. in preview region for creating the instrument of page block, and carry out convergent-divergent by dragging the modes such as mouse; Simultaneously, owing to creating the page before, therefore, producer, also can very intuitively to the position of page block in the page when drawing page block, when the position of the page block drawn and size meet the needs of producer, just can terminate the drafting of this page block, accordingly, background program can record the information such as size, position of this page block, saves as the attribute information of page block.Similar, the instrument that page block arranges the attributes such as frame, background, back gauge can also be provided as, and according to the setting operation of user, in the attribute information of page block, carry out corresponding record.
Can create one or more page block in a page, wherein, if create multiple page block, then user also needs to specify the sequencing relation between each page block.Accordingly, corresponding entrance can be provided in the user interface, support that producer completes corresponding operation, and the sequencing relation information between page block is recorded in the attribute information of page block.Wherein, during sequencing relation specifically between specified page block, page block order can be associated with the another one page block of same one page or not same page, the page block be associated with can continue to be associated with another page block, or also no longer can be associated with other page block, in a word, one group of page block of the relation that is finally associated forms single-track link table structure, and does not allow to occur ring.
Creating each page and page block, and after being provided with attribute information respectively, being equivalent to complete a kind of concrete layout and describing, just according to this layout's descriptor, the content of electronic document can be carried out typesetting and represented afterwards.Certainly, as mentioned before, for same electronic document, Duo Tao layout descriptor can be made, to adapt to represent in the terminal device of various screen parameter.Wherein, make Mei Tao layout descriptor time, can carry out according to above-mentioned two steps, made a set of after make again another set of, separate between Ge Tao layout descriptor.
Such as, in conjunction with the concrete condition of terminal device in practical application, several layouts descriptor can be produced as follows:
Large scale high resolving power: mainly meet conventional flat-panel computer, flat panel TV, apparatus such as computer, for horizontal/vertical screen provides the two cover fixed size spaces of a whole page, can for word size with the optimum experience of the full frame reading of panel computer for reference;
The general resolution of middle size, towards middle size screens equipment such as Small-scale Flat computers, also can be caliginous reader on giant-screen and provide selection, comprising horizontal/vertical screen two overlaps the fixed size space of a whole page, and selects the word size of the most applicable reading;
The small screen low resolution, mainly towards smart mobile phone, provides without level altitude streaming typesetting page, by article paging, supports with longitudinal roll screen mode readable text.
Certainly, when this there is Duo Tao layout descriptor, in order to provide reference frame when selecting can to user or client application, when making electronic document, following descriptor can also be created:
Pandect describes, comprise electronic document essential information, optional layout and key parameter (selective coupling), composite catalog is set and corresponding relation (switch between the space of a whole page and select) between the space of a whole page, corresponding layout, content flow, the corresponding description document position of resource etc.Like this, first reader specifically when representing electronic document, then can be selected a copy of it layout to describe and carry out layout.Wherein, specifically when selecting, just according to pandect descriptor, automatically according to the parameter such as screen size, resolution of present terminal equipment, the layout matched with present terminal equipment can be selected; Or, also can provide reference for user, select the layout specifically using horizontal version or perpendicular version etc. concrete to describe by user according to the demand of oneself, etc.
S203: be the Element generation resource description information in described document content of specifying, described resource description information comprises mark and the display style information thereof of resource object;
In editing machine except can provide carry out layout interface except, can also be provided for making the interface of content flow, in this interface, document content can be imported, generate resource description information, comprise the information such as some concrete word, picture, fonts.This is equivalent to the descriptor obtaining ground floor.
S204: quote described resource description information according to preset logical order, content creating stream, and generating content stream description information;
Meanwhile, corresponding operation entry can also be provided, various resource description can be lined up according to certain logical order by producer, form content flow.Meanwhile, background program can quote situation according to content flow to resource object, records content flow descriptor.For same document content, many parts of content flows can be generated, often generate a content flow, can with form displays such as icons in the user interface.This is equivalent to the descriptor obtaining the second layer.
S205: create the incidence relation that described content flows to described page block, to determine the content flow that page block is quoted, and records the identification information of the content flow that page block is quoted;
Owing to creating the page and page block, further create content flow, therefore, next just content flow can be associated with concrete page block, be which or which content flow for what show that page block quotes, that is, need the content of what filling in page block.During specific implementation, the framework of each page and page block wherein can be demonstrated at the preview area of user interface, then the icon of drag content stream can be adopted to modes such as concrete page blocks, both are associated, meanwhile, background program is recorded page block and is quoted situation to content flow.Meanwhile, in interface, foreground, the resource object that content flow is quoted just may be displayed in its page block be associated with, and carries out preview for producer.It should be noted that, if pre-set the sequencing relation between page block, then, after a content flow is dragged to certain page block, after current page block is booked, corresponding content can be filled in next page block.Afterwards, producer can according to final filling situation, and the attribute information of adjustment page block or the pattern etc. of resource object, be optimized typesetting effect.In addition, can also enrich or adjust the vacant space of a whole page under some layout, can select to add non-core article, add illustration or comment etc.
Wherein, when making Duo Tao layout descriptor, for the horizontal/vertical screen under same screen parameter, in its each self-corresponding layout descriptor, the content flow quoted can be identical, to ensure that the content shown before and after switching is consistent when carrying out horizontal/vertical screen and switching.That is, for the difference such as horizontal/vertical screen of same screen size, different layout can be corresponded to, but can quote with a content flow, like this, not only greatly reduce the workload in design, and the details of content genres is consistent when different layout switches, Consumer's Experience can be better.
In addition, large scale, middle size can also be taken into account, distinguish multiple spaces of a whole page such as horizontal/vertical screen, ensure that the corresponding start-stop page number of same size horizontal/vertical screen total page number, main contents is consistent; Middle size can distribute more page, ensures that the order of main contents is basically identical with large scale, and all the other contents then can according to suitably adjustment or choices such as space of a whole page blank.
Determine the content flow quoted respectively in different layouts after, the corresponding relation between layout can also be recorded according to the positional information (such as row, paragraph etc.) in content flow, like this, in the follow-up process representing electronic document, if need to switch between different layouts, then can according to this corresponding relation, and before switching user browse position, the page jumped to is needed, to ensure the continuity that user browses after determining to switch.
S206: according to the attribute information of described page attribute information, page block and the identification information of content flow quoted, generate layout's descriptor;
After determining the content flow that page block quotes, just can in conjunction with before the page attribute information of record, the attribute information of page block, generate complete layout's descriptor.Like this, the descriptor obtaining third layer is equivalent to.
S207: preserve described layout descriptor, content flow descriptor, resource description information, generates electronic document.
Finally, after three layers of descriptor all obtain, just can preserve, obtain final electronic document.Afterwards, the packet of electronic document can be supplied to the application programs such as the reader of terminal, electronic document is represented.
Corresponding with the method representing electronic document that the embodiment of the present application provides, the embodiment of the present application additionally provides a kind of device representing electronic document, and see Fig. 3, this device can comprise:
Packet acquiring unit 301, for obtaining data for electronic documents bag; Described packet comprises layout's descriptor of electronic document, content flow descriptor and resource description information; Wherein, described layout descriptor comprises the attribute information of the page block comprised in the information of the content flow object quoted, page attribute information and page, described page block is the subregion of viewing area in page, and the attribute information of described page block at least comprises: the position of page block in page, size; Described content flow descriptor comprises the information of the resource object quoted according to preset logical order and the display style information of resource object, and described resource description information comprises the set of the electronic document various resource datas required when showing;
Layout's unit 302, for carrying out layout according to described layout descriptor to display page;
Displaying contents and style determination unit 303, for determining content to be shown and Show Styles according to described content flow descriptor and described resource description information;
Typesetting and display unit 304, for according to described Show Styles, carry out typesetting and display to described content to be shown in the display page carrying out layout.
In optional implementation, in order to the terminal device that same electronic document can be made can be adapted to multiple screen parameter, can comprise at least a alternative layout descriptor in described packet, now, this device can also comprise:
Selection unit, for selecting a copy of it layout descriptor;
Described layout unit 302 specifically may be used for:
According to selected layout's descriptor, layout is carried out to display page.
Wherein, selection unit can comprise:
First chooser unit, for the critical parameter information corresponding according to the Ge Fen layout descriptor of preserving in described packet, selects the layout's descriptor matched with the screen parameter of present terminal equipment;
Or,
Second chooser unit, for the manual assigned operation according to user, selects layout's descriptor of being specified by user.
In order to ensure to carry out in same terminal device horizontal screen and perpendicular screen browse time, the consistance in the content browsed to, can make same screen parameter bottom rail shield and layout's descriptor that perpendicular screen is corresponding respective respectively, and quote same content flow object.Further, can also, when carrying out layout's description and content flow describes, make the corresponding start-stop page number of the total page number in horizontal/vertical screen, main contents consistent as far as possible.
Certainly, when carrying out switching between layout corresponding to the horizontal/vertical screen under same screen parameter, if there is the situation that the corresponding start-stop page number of total page number or main contents is inconsistent, can also adjust page attribute information and/or display style information, to make the corresponding start-stop page number of the total page number before and after switching, main contents consistent.
In addition, in order to improve the fluency of user in navigation process, this device can also comprise:
Positional information record cell, if described for being switched to another kind of layout from a kind of layout description of current use, then the positional information browsing position correspondence in content flow describes before record switching;
Jump-transfer unit, for after switching completes, jumps to the page corresponding to this positional information.
During specific implementation, when being multiple with the page block in one page, the attribute information of described page block also comprises the sequencing relation between page block;
Described typesetting and display unit specifically may be used for:
According to the sequencing relation between page block, content to be shown is presented at corresponding position according to described Show Styles typesetting.
Wherein, described page attribute information can comprise one or more in information: the order between the size of each page, resolution, back gauge, background, whether full frame, each page.
The attribute information of described page block can also comprise in following information one or more: the back gauge of page block, frame, background.
In order to obtain better typesetting effect, this device can also comprise:
Vacant space of a whole page processing unit, after being all typeset at all contents to be displayed, if there is the vacant space of a whole page, then adds preset content in the vacant space of a whole page.
In addition, this device can also comprise:
Adjustment unit, after being shown at content to be displayed, according to the adjustment request received, adjusts described page attribute information and/or display style information.
This device can also comprise:
Fixed layout record cell, for after completing the display of electronic document according to certain imposition layout's descriptor, if receive the request of recording this layout, then the positional information of descending for current imposition layout, word, word is recorded in this imposition layout's descriptor;
Fixed layout display unit, for when again needing to show this electronic document according to this imposition layout's descriptor, carries out the display of the former formula of master according to the positional information of recorded row, word, word.
In a word, in the embodiment of the present application, because electronic document can adopt layout, content flow, the such three layers of description of resource, therefore, document reader, when showing electronic document, first can carry out layout to display page, be equivalent to first build display frame, and then describe according to the content flow quoted, in the display frame of the page, typesetting and display are carried out to concrete resource content.Like this, see the feature that can embody format on the whole, because the layout position information in the page is fixing, and from local, the feature of flowing content can be retained again, thus make electronic document have certain determinacy in typesetting and display, also there is certain flexibility ratio and degree of freedom simultaneously.
In addition, because overall page layout uses format mode to define the space of a whole page block of fixed size, fixed position, therefore, the rich and determinacy that the space of a whole page describes is enhanced; The content of page block or its combination uses streaming fashion to describe, and logical relation is clear.Local font, color, pattern etc. can be adjusted flexibly when not affecting total arrangement.
Corresponding with the method for the generation electronic document that the embodiment of the present application provides, the embodiment of the present application additionally provides a kind of device generating electronic document, and see Fig. 4, this device can comprise:
Page creation unit 401, for for the document content of specifying, creates the page, and record page attribute information;
Page block creating unit 402, for creating page block in the page, records the position of described page block in page and size in the attribute information of page block; Described page block is the subregion of viewing area in page;
Resource description information generation unit 403, for being the Element generation resource description information in described document content of specifying, described resource description information comprises mark and the display style information thereof of resource object;
Content flow descriptor generation unit 404, for quoting described resource description information according to preset logical order, content creating stream, and generating content stream description information;
Associative cell 405, flows to the incidence relation of described page block for creating described content, to determine the content flow that page block is quoted, and record the identification information of the content flow that page block is quoted;
Layout's descriptor generation unit 406, for according to described page attribute information, the position of page block in page, size and the identification information of content flow quoted, generates layout's descriptor;
Electronic document generating unit 407, for preserving described layout descriptor, content flow descriptor, resource description information, generates electronic document.
Wherein, for different screen parameters, multiple layout descriptor can be generated.
This device can also comprise:
Corresponding relation record cell, for recording the corresponding relation between layout according to the positional information in content flow, so that when switching between different layouts, jumps to the current page browsed corresponding to position according to described corresponding relation.
Under same screen parameter, horizontal screen and perpendicular screen layout's descriptor that correspondence is respective respectively, and quote same content flow object.
Page block creating unit 402 specifically may be used for:
In the same page, add at least one page block, in the attribute information of page block, record the position of described page block in page and size respectively;
Described device can also comprise:
Associative cell, for page block order being associated with the another one page block of same one page or not same page, the page block be associated with can continue to be associated with another page block, and one group of page block of the relation that is finally associated forms single-track link table structure;
Sequencing relation creating unit, for according to the sequencing relation between described single-track link table structure determination page block, and records the sequencing relation between page block in the attribute information of described page block.
As seen through the above description of the embodiments, those skilled in the art can be well understood to the mode that the application can add required general hardware platform by software and realizes.Based on such understanding, the technical scheme of the application can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform the method described in some part of each embodiment of the application or embodiment.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, between each embodiment identical similar part mutually see, what each embodiment stressed is the difference with other embodiments.Especially, for system or system embodiment, because it is substantially similar to embodiment of the method, so describe fairly simple, relevant part illustrates see the part of embodiment of the method.System described above and system embodiment are only schematic, the wherein said unit illustrated as separating component or can may not be and physically separates, parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of module wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
The generation above the application provided and the method representing electronic document and device, be described in detail, apply specific case herein to set forth the principle of the application and embodiment, the explanation of above embodiment is just for helping method and the core concept thereof of understanding the application; Meanwhile, for one of ordinary skill in the art, according to the thought of the application, all will change in specific embodiments and applications.In sum, this description should not be construed as the restriction to the application.
Claims (18)
1. represent a method for electronic document, it is characterized in that, comprising:
Obtain data for electronic documents bag; Described packet comprises layout's descriptor of electronic document, content flow descriptor and resource description information; Wherein, described layout descriptor comprises the attribute information of the page block comprised in the information of the content flow object quoted, page attribute information and page, described page block is the subregion of viewing area in page, and the attribute information of described page block at least comprises: the position of page block in page, size; Described content flow descriptor comprises the information of the resource object quoted according to preset logical order and the display style information of resource object, and described resource description information comprises the set of the electronic document various resource datas required when showing;
According to described layout descriptor, layout is carried out to display page;
Content to be shown and Show Styles is determined according to described content flow descriptor and described resource description information;
According to described Show Styles, in the display page carrying out layout, typesetting and display are carried out to described content to be shown.
2. method according to claim 1, is characterized in that, described packet comprises at least a alternative layout descriptor, and described method also comprises:
Select a copy of it layout descriptor;
Describedly according to described layout descriptor, layout is carried out to display page and comprises:
According to selected layout's descriptor, layout is carried out to display page.
3. method according to claim 2, is characterized in that, described selection a copy of it layout descriptor comprises:
The critical parameter information corresponding according to the Ge Fen layout descriptor of preserving in described packet, selects the layout's descriptor matched with the screen parameter of present terminal equipment;
Or,
According to assigned operation, select appointed layout descriptor.
4. method according to claim 2, is characterized in that, under same screen parameter, and horizontal screen and perpendicular screen layout's descriptor that correspondence is respective respectively, and quote same content flow object.
5. method according to claim 4, is characterized in that, also comprises:
When carrying out switching between layout corresponding to the horizontal/vertical screen under same screen parameter, page attribute information and/or display style information are adjusted, so that the corresponding start-stop page number of the total page number before and after switching, main contents is consistent.
6. method according to claim 2, is characterized in that, also comprises:
Describe if be switched to another kind of layout from a kind of layout description of current use, then the positional information browsing position correspondence in content flow describes before record switching;
After switching completes, jump to the page corresponding to this positional information.
7. method according to claim 1, is characterized in that, when being multiple with the page block in one page, the attribute information of described page block also comprises the sequencing relation between page block;
Described according to described Show Styles, in the display page carrying out layout, typesetting is carried out to described content to be shown and display comprises:
According to the sequencing relation between page block, content to be shown is presented at corresponding position according to described Show Styles typesetting.
8. method according to claim 7, is characterized in that, described page attribute information comprise in following information one or more: the order between the size of each page, resolution, back gauge, background, whether full frame, each page.
9. method according to claim 7, is characterized in that, the attribute information of described page block also comprise in following information one or more: the back gauge of page block, frame, background.
10. method according to claim 1, is characterized in that, also comprises:
After content to be displayed is shown, according to the adjustment request received, described page attribute information and/or display style information are adjusted.
11. methods according to claim 1, is characterized in that, also comprise:
After completing the display of electronic document according to certain imposition layout's descriptor, if receive the request of recording this layout, then the positional information of descending for current imposition layout, word, word is recorded in this imposition layout's descriptor;
When again needing to show this electronic document according to this imposition layout's descriptor, carry out the display of the former formula of master according to the positional information of recorded row, word, word.
12. 1 kinds of methods generating electronic document, is characterized in that, comprising:
For the document content of specifying, create the page, and record page attribute information;
In the page, create page block, in the attribute information of page block, record the position of described page block in page and size; Described page block is the subregion of viewing area in page;
For the Element generation resource description information in described document content of specifying, described resource description information comprises mark and the display style information thereof of resource object;
Described resource description information is quoted, content creating stream according to preset logical order, and generating content stream description information;
Create the incidence relation that described content flows to described page block, to determine the content flow that page block is quoted, and record the identification information of the content flow that page block is quoted;
According to the attribute information of described page attribute information, page block and the identification information of content flow quoted, generate layout's descriptor;
Preserve described layout descriptor, content flow descriptor, resource description information, generate electronic document.
13. methods according to claim 12, is characterized in that, also comprise:
For different screen parameters, generate multiple layout descriptor.
14. methods according to claim 13, is characterized in that, also comprise:
Record the corresponding relation between layout according to the positional information in content flow, so that when switching between different layouts, jump to the current page browsed corresponding to position according to described corresponding relation.
15. methods according to claim 12 or 13, is characterized in that, under same screen parameter, create different layout's descriptors respectively for horizontal screen and perpendicular screen.
16. methods according to claim 12, is characterized in that, describedly in the page, add page block, record the position of described page block in page and size comprises in the attribute information of page block:
In the same page, add at least one page block, in the attribute information of page block, record the position of described page block in page and size respectively;
Described method also comprises:
Page block order is associated with the another one page block of same one page or not same page, the page block be associated with can continue to be associated with another page block, and one group of page block of the relation that is finally associated forms single-track link table structure;
According to the sequencing relation between described one-way linkage list structure determination page block, and in the attribute information of described page block, record the sequencing relation between page block.
17. 1 kinds of devices representing electronic document, is characterized in that, comprising:
Packet acquiring unit, for obtaining data for electronic documents bag; Described packet comprises layout's descriptor of electronic document, content flow descriptor and resource description information; Wherein, described layout descriptor comprises the attribute information of the page block comprised in the information of the content flow object quoted, page attribute information and page, described page block is the subregion of viewing area in page, and the attribute information of described page block at least comprises: the position of page block in page, size; Described content flow descriptor comprises the information of the resource object quoted according to preset logical order and the display style information of resource object, and described resource description information comprises the set of the electronic document various resource datas required when showing;
Layout's unit, for carrying out layout according to described layout descriptor to display page;
Displaying contents and style determination unit, for determining content to be shown and Show Styles according to described content flow descriptor and described resource description information;
Typesetting and display unit, for according to described Show Styles, carry out typesetting and display to described content to be shown in the display page carrying out layout.
18. 1 kinds of devices generating electronic document, is characterized in that, comprising:
Page creation unit, for for the document content of specifying, creates the page, and record page attribute information;
Page block creating unit, for creating page block in the page, records the position of described page block in page and size in the attribute information of page block; Described page block is the subregion of viewing area in page;
Resource description information generation unit, for being the Element generation resource description information in described document content of specifying, described resource description information comprises mark and the display style information thereof of resource object;
Content flow descriptor generation unit, for quoting described resource description information according to preset logical order, content creating stream, and generating content stream description information;
Associative cell, flows to the incidence relation of described page block for creating described content, to determine the content flow that page block is quoted, and record the identification information of the content flow that page block is quoted;
Layout's descriptor generation unit, for according to described page attribute information, the position of page block in page, size and the identification information of content flow quoted, generates layout's descriptor;
Electronic document generating unit, for preserving described layout descriptor, content flow descriptor, resource description information, generates electronic document.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310226428.3A CN104239305B (en) | 2013-06-07 | 2013-06-07 | Generate and show the method and device of electronic document |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310226428.3A CN104239305B (en) | 2013-06-07 | 2013-06-07 | Generate and show the method and device of electronic document |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104239305A true CN104239305A (en) | 2014-12-24 |
CN104239305B CN104239305B (en) | 2017-12-22 |
Family
ID=52227398
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310226428.3A Active CN104239305B (en) | 2013-06-07 | 2013-06-07 | Generate and show the method and device of electronic document |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104239305B (en) |
Cited By (25)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105279144A (en) * | 2015-10-10 | 2016-01-27 | 中国空气动力研究与发展中心高速空气动力研究所 | Method and device for typesetting wind tunnel test data text files |
CN105279254A (en) * | 2015-10-12 | 2016-01-27 | 江苏中威科技软件***有限公司 | Layout data stream file system, operation apparatus for system and realization method for apparatus |
CN105404612A (en) * | 2015-10-23 | 2016-03-16 | 北大方正集团有限公司 | Digital resource display method and system |
CN106202024A (en) * | 2016-07-21 | 2016-12-07 | 北京乐动卓越科技有限公司 | A kind of system, method and client realizing branching selection structure electrical book editor |
CN106776487A (en) * | 2015-11-23 | 2017-05-31 | 北大方正集团有限公司 | Electronic publication trailing and device |
CN106802880A (en) * | 2015-11-25 | 2017-06-06 | 阿里巴巴集团控股有限公司 | A kind of electronic document content shows, processing method and processing device |
CN106874252A (en) * | 2017-02-17 | 2017-06-20 | 张家口浩扬科技有限公司 | A kind of document identification and display methods and its mobile terminal |
CN107544946A (en) * | 2016-06-23 | 2018-01-05 | 珠海金山办公软件有限公司 | A kind of document shows method and device |
CN108205441A (en) * | 2016-12-20 | 2018-06-26 | 北大方正集团有限公司 | Method of adjustment, system and the terminal of list style |
CN108959198A (en) * | 2018-06-27 | 2018-12-07 | 天闻数媒科技(湖南)有限公司 | A kind of layering of interactive electronic book, classification typesetting and rendering method |
CN109117835A (en) * | 2017-06-26 | 2019-01-01 | 佳能株式会社 | Image processing apparatus and method |
CN109375972A (en) * | 2018-09-17 | 2019-02-22 | 广州视源电子科技股份有限公司 | Method, apparatus, computer device and storage medium for multi-element layout |
CN110162748A (en) * | 2019-05-27 | 2019-08-23 | 北京字节跳动网络技术有限公司 | Document processing method, device, equipment and storage medium |
CN110275657A (en) * | 2019-05-21 | 2019-09-24 | 杭州国文科技有限公司 | Page display method and terminal device |
CN110941616A (en) * | 2019-11-26 | 2020-03-31 | 北大方正集团有限公司 | Method, device and equipment for generating associated data in publication and storage medium |
CN111090757A (en) * | 2019-11-25 | 2020-05-01 | 维沃移动通信有限公司 | Multimedia file display method, electronic equipment and storage medium |
CN111158808A (en) * | 2019-12-06 | 2020-05-15 | 海信视像科技股份有限公司 | Display device and whiteboard file storage method |
CN111273836A (en) * | 2020-02-13 | 2020-06-12 | 潍坊北大青鸟华光照排有限公司 | Mongolian vertical scrolling display method on electronic equipment |
CN111382552A (en) * | 2020-03-11 | 2020-07-07 | 北大方正集团有限公司 | Typesetting processing method, device, equipment and storage medium |
CN111814429A (en) * | 2020-07-30 | 2020-10-23 | 深圳壹账通智能科技有限公司 | Article typesetting method and device, terminal equipment and storage medium |
CN112329396A (en) * | 2019-07-17 | 2021-02-05 | 小船出海教育科技(北京)有限公司 | Online document paging method, device, equipment and readable medium |
CN113515928A (en) * | 2021-07-13 | 2021-10-19 | 北京字节跳动网络技术有限公司 | Electronic text generation method, device, equipment and medium |
CN114374726A (en) * | 2022-01-07 | 2022-04-19 | 阿里巴巴(中国)有限公司 | Cloud desktop processing method and system |
WO2023056901A1 (en) * | 2021-10-08 | 2023-04-13 | 北京字跳网络技术有限公司 | Document processing method and apparatus, terminal, and storage medium |
CN116090417A (en) * | 2023-04-11 | 2023-05-09 | 福昕鲲鹏(北京)信息科技有限公司 | Layout document text selection rendering method and device, electronic equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1613105A (en) * | 2002-09-05 | 2005-05-04 | 奥帕拉软件公司 | Presenting html content on a small screen terminal display |
US20070024897A1 (en) * | 2005-08-01 | 2007-02-01 | Xerox Corporation | Printer directed image decompression |
CN101110070A (en) * | 2006-07-20 | 2008-01-23 | 天津津科电子***工程有限公司 | Flow type display method for reading broad fixed layout on handhold reading equipment |
-
2013
- 2013-06-07 CN CN201310226428.3A patent/CN104239305B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1613105A (en) * | 2002-09-05 | 2005-05-04 | 奥帕拉软件公司 | Presenting html content on a small screen terminal display |
US20070024897A1 (en) * | 2005-08-01 | 2007-02-01 | Xerox Corporation | Printer directed image decompression |
CN101110070A (en) * | 2006-07-20 | 2008-01-23 | 天津津科电子***工程有限公司 | Flow type display method for reading broad fixed layout on handhold reading equipment |
Cited By (37)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105279144B (en) * | 2015-10-10 | 2018-08-28 | 中国空气动力研究与发展中心高速空气动力研究所 | A kind of composition method and device of wind tunnel test data text file |
CN105279144A (en) * | 2015-10-10 | 2016-01-27 | 中国空气动力研究与发展中心高速空气动力研究所 | Method and device for typesetting wind tunnel test data text files |
CN105279254A (en) * | 2015-10-12 | 2016-01-27 | 江苏中威科技软件***有限公司 | Layout data stream file system, operation apparatus for system and realization method for apparatus |
CN105279254B (en) * | 2015-10-12 | 2018-10-23 | 江苏中威科技软件***有限公司 | The implementation method of format data streamed file system and its operating device and its operating device |
CN105404612A (en) * | 2015-10-23 | 2016-03-16 | 北大方正集团有限公司 | Digital resource display method and system |
CN106776487A (en) * | 2015-11-23 | 2017-05-31 | 北大方正集团有限公司 | Electronic publication trailing and device |
CN106802880A (en) * | 2015-11-25 | 2017-06-06 | 阿里巴巴集团控股有限公司 | A kind of electronic document content shows, processing method and processing device |
CN106802880B (en) * | 2015-11-25 | 2020-12-04 | 创新先进技术有限公司 | Electronic document content display and processing method and device |
CN107544946A (en) * | 2016-06-23 | 2018-01-05 | 珠海金山办公软件有限公司 | A kind of document shows method and device |
CN106202024B (en) * | 2016-07-21 | 2019-01-18 | 北京乐动卓越科技有限公司 | A kind of system, method and client for realizing branching selection structure electrical book editor |
CN106202024A (en) * | 2016-07-21 | 2016-12-07 | 北京乐动卓越科技有限公司 | A kind of system, method and client realizing branching selection structure electrical book editor |
CN108205441A (en) * | 2016-12-20 | 2018-06-26 | 北大方正集团有限公司 | Method of adjustment, system and the terminal of list style |
CN106874252A (en) * | 2017-02-17 | 2017-06-20 | 张家口浩扬科技有限公司 | A kind of document identification and display methods and its mobile terminal |
CN109117835B (en) * | 2017-06-26 | 2022-10-14 | 佳能株式会社 | Image processing apparatus and method |
CN109117835A (en) * | 2017-06-26 | 2019-01-01 | 佳能株式会社 | Image processing apparatus and method |
CN108959198A (en) * | 2018-06-27 | 2018-12-07 | 天闻数媒科技(湖南)有限公司 | A kind of layering of interactive electronic book, classification typesetting and rendering method |
CN109375972A (en) * | 2018-09-17 | 2019-02-22 | 广州视源电子科技股份有限公司 | Method, apparatus, computer device and storage medium for multi-element layout |
CN110275657A (en) * | 2019-05-21 | 2019-09-24 | 杭州国文科技有限公司 | Page display method and terminal device |
CN110162748A (en) * | 2019-05-27 | 2019-08-23 | 北京字节跳动网络技术有限公司 | Document processing method, device, equipment and storage medium |
CN110162748B (en) * | 2019-05-27 | 2020-10-09 | 北京字节跳动网络技术有限公司 | Document processing method, device, equipment and storage medium |
CN112329396A (en) * | 2019-07-17 | 2021-02-05 | 小船出海教育科技(北京)有限公司 | Online document paging method, device, equipment and readable medium |
CN111090757A (en) * | 2019-11-25 | 2020-05-01 | 维沃移动通信有限公司 | Multimedia file display method, electronic equipment and storage medium |
CN110941616B (en) * | 2019-11-26 | 2023-03-14 | 北大方正集团有限公司 | Method, device and equipment for generating associated data in publication and storage medium |
CN110941616A (en) * | 2019-11-26 | 2020-03-31 | 北大方正集团有限公司 | Method, device and equipment for generating associated data in publication and storage medium |
CN111158808A (en) * | 2019-12-06 | 2020-05-15 | 海信视像科技股份有限公司 | Display device and whiteboard file storage method |
CN111158808B (en) * | 2019-12-06 | 2023-08-15 | 海信视像科技股份有限公司 | Display device and whiteboard file storage method |
CN111273836A (en) * | 2020-02-13 | 2020-06-12 | 潍坊北大青鸟华光照排有限公司 | Mongolian vertical scrolling display method on electronic equipment |
CN111273836B (en) * | 2020-02-13 | 2021-05-28 | 潍坊北大青鸟华光照排有限公司 | Mongolian vertical scrolling display method on electronic equipment |
CN111382552A (en) * | 2020-03-11 | 2020-07-07 | 北大方正集团有限公司 | Typesetting processing method, device, equipment and storage medium |
CN111382552B (en) * | 2020-03-11 | 2022-05-10 | 北大方正集团有限公司 | Typesetting processing method, device, equipment and storage medium |
CN111814429A (en) * | 2020-07-30 | 2020-10-23 | 深圳壹账通智能科技有限公司 | Article typesetting method and device, terminal equipment and storage medium |
WO2023284588A1 (en) * | 2021-07-13 | 2023-01-19 | 北京字节跳动网络技术有限公司 | Electronic text generation method and apparatus, device, and medium |
CN113515928B (en) * | 2021-07-13 | 2023-03-28 | 抖音视界有限公司 | Electronic text generation method, device, equipment and medium |
CN113515928A (en) * | 2021-07-13 | 2021-10-19 | 北京字节跳动网络技术有限公司 | Electronic text generation method, device, equipment and medium |
WO2023056901A1 (en) * | 2021-10-08 | 2023-04-13 | 北京字跳网络技术有限公司 | Document processing method and apparatus, terminal, and storage medium |
CN114374726A (en) * | 2022-01-07 | 2022-04-19 | 阿里巴巴(中国)有限公司 | Cloud desktop processing method and system |
CN116090417A (en) * | 2023-04-11 | 2023-05-09 | 福昕鲲鹏(北京)信息科技有限公司 | Layout document text selection rendering method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN104239305B (en) | 2017-12-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104239305A (en) | Electronic document generating and displaying method and apparatus | |
US10984177B2 (en) | System and method providing responsive editing and viewing, integrating hierarchical fluid components and dynamic layout | |
KR100996682B1 (en) | Rich Content Creation System and Method Thereof, and Media That Can Record Computer Program for Method Thereof | |
KR101305781B1 (en) | Display control device, recording medium whereupon display program is recorded, and display control method | |
US20100037168A1 (en) | Systems and methods for webpage design | |
US20110197162A1 (en) | Method and system for organizing information with sharable user interface | |
KR101546725B1 (en) | Responsive layouts design method | |
EP2780828A2 (en) | Framework for creating interactive digital content | |
CN108268262A (en) | Realize the method, apparatus and system that HTML is converted to wechat small routine | |
US20120192047A1 (en) | Systems and methods for building complex documents | |
WO2023109789A1 (en) | Information processing method and apparatus, storage medium, and electronic device | |
US8756494B2 (en) | Methods and systems for designing documents with inline scrollable elements | |
US20140351679A1 (en) | System and method for creating and/or browsing digital comics | |
CN111782309B (en) | Method and device for displaying information and computer readable storage medium | |
JP2019021255A (en) | Digital publishing system, digital publishing method and computer program | |
CN113269583A (en) | Content production method and device and electronic equipment | |
CN112162805A (en) | Screenshot method and device and electronic equipment | |
CN102915654A (en) | Digital document processing method and electronic reading device | |
JP2011186573A (en) | Image generation system, screen definition device, image generation device, screen definition program and image generation program | |
WO2014050960A1 (en) | Electronic publication creation device, electronic publication creation method, electronic publication perusal system, viewer device, and electronic publication perusal method | |
KR20120108550A (en) | Method and apparatus for providing richmedia contents authoring | |
Padova et al. | Creating Fixed Layout EPUBs | |
CN114063869A (en) | Form configuration method and device and electronic equipment | |
CN114385153A (en) | Interface editing method, editing terminal and computer readable storage medium | |
Laak | Responsive web design workflow |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |