CN104239305B - Generate and show the method and device of electronic document - Google Patents

Generate and show the method and device of electronic document Download PDF

Info

Publication number
CN104239305B
CN104239305B CN201310226428.3A CN201310226428A CN104239305B CN 104239305 B CN104239305 B CN 104239305B CN 201310226428 A CN201310226428 A CN 201310226428A CN 104239305 B CN104239305 B CN 104239305B
Authority
CN
China
Prior art keywords
page
layout
information
description information
content
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310226428.3A
Other languages
Chinese (zh)
Other versions
CN104239305A (en
Inventor
李赟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201310226428.3A priority Critical patent/CN104239305B/en
Publication of CN104239305A publication Critical patent/CN104239305A/en
Application granted granted Critical
Publication of CN104239305B publication Critical patent/CN104239305B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/106Display of layout of documents; Previewing

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

This application discloses the method and device for generating and showing electronic document, wherein, methods described includes:Obtain data for electronic documents bag;The packet includes the layout's description information, content stream description information and resource description information of electronic document;Layout is carried out to the display page according to layout's description information;Content to be shown and Show Styles are determined according to the content stream description information and the resource description information;According to the Show Styles, typesetting and display are carried out to the content to be shown in the display page for carried out layout.Pass through the application so that electronic document has certain certainty in typesetting and display, while also has certain flexibility ratio and the free degree.

Description

Generate and show the method and device of electronic document
Technical field
The application is related to typesetting electronic document and display technology field, more particularly to the side for generating and showing electronic document Method and device.
Background technology
With booming and level of hardware the continuous lifting of internet, electronic document is progressively substituting traditional Books and paper document.According to the difference of space of a whole page calculation, electronic document can be divided into streaming document and format document, both Essential distinction be space of a whole page drawing result timing machine really, the former dynamic calculation when opening document, and the latter gives birth in document Into when just have determined that.
Streaming document using the document of Open Office XML (OOXML) specification of Microsoft as representative, by document content according to The structure organization of chapters and sections paragraph, and the pattern defined in CSS is quoted, relativity has been carried out to the rule of document layout Description, document is used by the typesetting of respective algorithms.HTML (Hypertext Markup Language, hypertext markup language Speech) it is also a kind of streaming document, its structure design more meets the needs of network browsing.
The PDF format file that format document is released using Adobe companies is representative, by giving document content specified coordinate position Put, embedded character script, the method for given chart size, document layout is definitely described.Format document can be various The original appearance of document is kept under operating system platform, is suitable as the final issue form of electronic document content, or as printing The substitute of product is propagated and issued.It turns into document exchange and the desired format achieved.
For a long time, format document technology and streaming document technology are all separate.With the development of terminal technology, Terminal device embodies the difference of the diversified forms such as PC, mobile phone, PDA, for electronic document, if in individual On computer, large-size screen monitors tablet personal computer read, format document due to the expressive force and certainty of its space of a whole page be one well selection, but When user is read by small screen devices such as mobile phones, it would be desirable that the page can be adjusted according to screen, reset, even Give up to fall ornamental information, only focus in smoothly being read to document content.Therefore, in the prior art, typically can only root Need to make more parts of electronic documents according to terminal device, for example, being directed to giant-screen equipment, format document is made, for the small screen Equipment then makes streaming document, etc., it is clear that due to needing to make more parts of documents for different screen sizes respectively, therefore, This can cause the workload of producer to increase, and can also cause the document produced to need to take substantial amounts of memory space, and There is substantial amounts of redundant content in the content preserved in these memory spaces, cause the waste of memory space.
The content of the invention
This application provides the method and device for generating and showing electronic document so that electronic document is in typesetting and display With certain certainty, while also there is certain flexibility ratio and the free degree.
This application provides following scheme:
A kind of method for showing electronic document, including:
Obtain data for electronic documents bag;The packet includes layout's description information, the content stream of electronic document Description information and resource description information;Wherein, layout's description information include quote content flow object information, The attribute information of the page block included in page attribute information and page, the page block be page in viewing area subregion, institute The attribute information for stating page block comprises at least:Position of the page block in page, size;The content stream description information include according to The information of resource object and the display style information of resource object that preset logical order is quoted, the resource description information Include the set of the electronic document various resource datas required in display;
Layout is carried out to the display page according to layout's description information;
Content to be shown and Show Styles are determined according to the content stream description information and the resource description information;
According to the Show Styles, the content to be shown is arranged in the display page for carried out layout Version and display.
A kind of method for generating electronic document, including:
For specified document content, the page, and record page attribute information are created;
Page block is created in the page, position of the page block in page and big is recorded in the attribute information of page block It is small;The page block is the subregion of viewing area in page;
For the Element generation resource description information in the document content specified, the resource description information includes resource The mark and its display style information of object;
The resource description information is quoted according to preset logical order, creates content stream, and generates content stream description letter Breath;
The incidence relation that the content flows to the page block is created, to determine the content stream cited in page block, and Record the identification information for the content stream that page block is quoted;
According to the identification information of the content stream of the page attribute information, the attribute information of page block and reference, version is generated Face is laid out description information;
Layout's description information, content stream description information, resource description information are preserved, generates electronic document.
A kind of device for showing electronic document, including:
Packet acquiring unit, for obtaining data for electronic documents bag;The packet includes the space of a whole page of electronic document It is laid out description information, content stream description information and resource description information;Wherein, layout's description information includes quoting The information of content flow object, the attribute information of the page block included in page attribute information and page, the page block is in page The subregion of viewing area, the attribute information of the page block comprise at least:Position of the page block in page, size;In described Hold the information of resource object and the Show Styles of resource object that stream description information includes quoting according to preset logical order Information, the resource description information include the set of the electronic document various resource datas required in display;
Layout's unit, for carrying out layout to the display page according to layout's description information;
Display content and style determination unit, for according to the content stream description information and the resource description information Determine content to be shown and Show Styles;
Typesetting and display unit, for according to the Show Styles, to institute in the display page for carried out layout State content to be shown and carry out typesetting and display.
A kind of device for generating electronic document, including:
Page creation unit, for the document content for specifying, create the page, and record page attribute information;
Page block creating unit, for creating page block in the page, the page is recorded in the attribute information of page block Position and size of the face block in page;The page block is the subregion of viewing area in page;
Resource description information generation unit, for believing for the Element generation resource description in the document content specified Breath, the resource description information include the mark and its display style information of resource object;
Content stream description information generation unit, for quoting the resource description information, wound according to preset logical order Content stream is built, and generates content stream description information;
Associative cell, the incidence relation of the page block is flowed to for creating the content, to determine that page block is drawn Content stream, and record the identification information of the content stream of page block reference;
Layout's description information generation unit, for according to position in page of the page attribute information, page block, big The identification information of small and reference content stream, generation layout description information;
Electronic document generating unit, for preserving layout's description information, content stream description information, resource description Information, generate electronic document.
The specific embodiment provided according to the application, this application discloses following technique effect:
By the embodiment of the present application, because electronic document can use layout, content stream, such three layers of resource to retouch State, therefore, document reader can carry out layout, equivalent to first to the display page first when showing electronic document Display frame has been built, then according still further to the content stream description of reference, specific resource content has been entered in the display frame of the page Row typesetting and display.So, the characteristics of can embodying format is seen on the whole, because the layout position information in the page is solid It is fixed, and from local, the characteristics of flowing content can be retained again, so that electronic document has one in typesetting and display Fixed certainty, while also there is certain flexibility ratio and the free degree.
Further, since overall page layout using format mode define fixed size, fixed position space of a whole page block, therefore, Enhance the rich and certainty of space of a whole page description;Page block or the content of its combination are described using streaming fashion, logical relation Clearly.Local font, color, pattern etc. can be adjusted flexibly in the case where not influenceing total arrangement.
Certainly, any product for implementing the application it is not absolutely required to reach all the above advantage simultaneously.
Brief description of the drawings
, below will be to institute in embodiment in order to illustrate more clearly of the embodiment of the present application or technical scheme of the prior art The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the application Example, for those of ordinary skill in the art, on the premise of not paying creative work, can also be obtained according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is the flow chart for the method for showing electronic document that the embodiment of the present application provides;
Fig. 2 is the flow chart of the method for the generation electronic document that the embodiment of the present application provides;
Fig. 3 is the schematic diagram for the device for showing electronic document that the embodiment of the present application provides;
Fig. 4 is the schematic diagram of the device for 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, the technical scheme in the embodiment of the present application is carried out clear, complete Site preparation describes, it is clear that described embodiment is only some embodiments of the present application, rather than whole embodiments.It is based on Embodiment in the application, the every other embodiment that those of ordinary skill in the art are obtained, belong to the application protection Scope.
In order to enable the electronic document produced more easily to be applied to the terminal device of various screen sizes, The embodiment of the present application provide technical scheme in, combine format document and streaming document technology feature and advantage, pass through by Resource, content stream, layout in document carry out layered shaping, it would be preferable to support same content customization difference size and layout The space of a whole page can also carry out flexible configuration, extension for flexibly selection to the font in full or in space of a whole page block, color, font size, background etc. More rich interactivity content is added, meets synchronously distribution papery and the electronic version such as books, magazine, once publishes, be multi-platform The application demand propagated using, multipath.Introduction in detail below.
Referring to Fig. 1, the embodiment of the present application provide firstly a kind of method for showing electronic document, this method can include with Lower step:
S101:Data for electronic documents bag is obtained, the packet includes layout's description information, interior of electronic document Hold stream description information and resource description information, wherein, layout's description information includes the content flow object quoted Page attribute information when information and document are shown, the content stream description information include the information of the resource object quoted with And the display style information of resource object, the resource description information include the electronic document various number of resources required in display According to set;
During specific implementation, data for electronic documents bag is that pre-production is good, can upload to network or by its other party Formula is supplied to electronic document reader to be showed.Wherein, in the embodiment of the present application, can be by when making electronic document Hierarchical description is carried out to electronic document from top to bottom according to resource, content stream, layout, upper strata object can be quoted in the de-scription One or more directly lower floor's objects can repeatedly be quoted as data, lower floor's object by any directly upper strata description.
Wherein, resource description refers to the various resource data set in document, that is, document show needed for it is most basic Data, the data such as word, picture, figure, predefined pattern, font packet, color table can be included but is not limited to.
Content stream description refers to the picture and text mixing paragraph collection that pattern description is presented, included according to the typesetting of content sequencing Close, equivalent to one article, report etc., are the equal of according to certain pattern, order by the word in resource description, picture etc. Content after layout.
Page layout description includes being used for the attribute information for showing the region of electronic document content in document file page, for example, Whether the size of viewing area, resolution ratio, back gauge, background, full frame etc., the content for demonstrating the need for electronic document is shown In specified region.In addition, in actual applications, viewing area in a page can also (can including more sub-regions So that subregion to be referred to as to " page block ", the container for showing specific document content can be regarded as) so that can in a page The features such as to embody similar newspaper subfield display, meanwhile, page layout description also includes the attribute information to these page blocks Description, including the association between the pattern (for example, size, position, back gauge, frame, background etc.) of each page block, each page block Relation (mainly tandem relation), content-data source and imposition layout's mode etc..In addition, in order to meet user to general The reading requirement of logical fixed format, also for make it that not support that the document reader of the functions such as content stream parsing also can be to text Shelves are shown, the positional information of row, word or word in each page block can be also preserved in page layout description, can when document is presented Directly to use these contents to complete layout, realize that master former formula is presented.This is equivalent to have recorded according to certain content stream description After carrying out typesetting, the positional information of row, word, word in page block, if follow-up only need to be shown according to this pattern, directly Connect and shown according to the fix information recorded, it is not necessary to parse the information such as the pattern in content stream description again so that The result shown every time is all identical.In addition, in page layout description, specific webpage region, page block, specific also may be selected Particular sequence etc. in resource and content stream, and for its add link redirect, scaling rotation, animation, in the interactivity such as multimedia Hold.
Content stream description is by reference using data such as the word in resource description, pictures;And again by space of a whole page cloth Cited in office's description, to serve as the source that presentation content is wanted in page display area or its subregion (page block).Namely Say, content stream description is formed by specific combination of resources, and the content of these content stream descriptions is eventually shown to the page Viewing area or each page block in.It should be noted that in content stream description, can or section interior element interior for row Show Styles (for example, color, font, font size etc.) is set, still, can't provide how many row be particularly shown, often row display How many individual characters etc., these information can be described according to the layout selected when being particularly shown actually to determine.It is that is, false It is the content for the content stream description for quoting the page block specifically when being shown if certain page block defined in certain page It is added in the page block.Assuming that according to the font size of the content of the content stream description and the size of the page block, finally The page block can accommodate down 10 rows, often 25 characters of row, then when the content of the content stream description is shown in the page block, It will often go and show 25 characters, show 10 rows altogether.If it is appreciated that the page block refer to other content stream descriptions, And the font size described in it is different, then the number of characters of often row display and the total line number that can show in the page block Also can be different.In other words, for same content stream description, when cited in different layout's descriptions, at every page The situation of middle display, required total page number etc. may all be different.
One page block or page block chaining combination can quote one or more content streams, specifically enter to electronic document During row display, during imposition layout, carried out according to content stream sequencing;When one page block is booked, using being linked to Next page block continue typesetting.
It should be noted that specifically when each layer content is described, the language such as XML can be used to describe space of a whole page cloth respectively Office, content stream and resource etc., XHTML (eXtensible Hyper Text Markup can be used by being related to the description of form Language, expansible hypertext markup language)+CSS (Cascading Style Sheets, CSS), coordinate certainly Define label and describe adduction relationship and custom content, particular content can include:
Resource description:Digital ID can be used to identify each object, be related to the keys such as word in document, picture, figure Content, also including the complementary data such as font packet, color table.Wherein, word allows to add parameter mode to quote sub- character by ID String, big section word can rationally be split according to typesetting demand;Picture, font etc. save as unique file, and description file only records Mark, path etc..
Content stream description:Digital ID can be used to identify each object, corresponding to independent article or segment, typically with text Based on word, but picture, formula etc. in row can be also included, quote resource object as content, and can be paragraph and row interior element Pattern is set;During specific implementation, embedded XHTML+CSS definition formats can be used, addition customized label is realized to resource pair The reference of elephant or expanded function.In typesetting manufacturing process, content stream is typically that can require addition and modification according to page layout 's.
Layout describes:Layout can describe key parameter, front cover, catalogue corresponding relation, total page number, page order Deng optional masterplate page, general page attribute etc..Layout's description can also sequentially describe all pages of attribute and interior one by one Hold, page attribute may include a page size, resolution ratio, back gauge, background, whether full frame etc..Page content then includes one or more pages Block container, at the same time it can also which page block's attribute is described respectively, for example, position, size etc., alternatively, can also include Back gauge, frame, background etc.;Page block can one-way linkage to another page block, but permit there is ring;Linked sensing Page block can quote one or more content streams as content.
It should be noted that in order to adapt to difference of the different mobile device terminals to resolution ratio, screen size and process performance It is different so as to have preferable reading experience on different devices, layout's description can have more parts, that is to say, that an electricity Subdocument can include Duo Tao layouts description and separate, it is allowed to for different terminal equipment selection using wherein a set of or More sets, and select the content stream description and resource description quoted.
In addition, for same electronic document, in addition to layout's description can be more parts, content stream description It can be more parts.That is, according to different layout's features, the specific resource description that content stream is quoted can also be It is slightly different, for example, in layout's description of large scale screen display is adapted to, can draws in the content stream description of reference The contents such as the picture with some commercial papers, and for the layout's description for adapting to small-size screen, its content quoted The main contents such as word can be only quoted in stream description.Certainly, layout description with content stream description also and it is indefinite be one by one It is corresponding, for example, the description of a variety of layouts can quote same content stream description, that is to say, that same content stream can be A variety of layouts share.
S102:Layout is carried out to the display page according to layout's description information;
Document reader is after packet is got, it is possible to packet parsed, and first according to therein Layout's description information carries out layout.That is, display frame is put up first, subsequently addition display thereto again Content., can be first it should be noted that if the packet of certain electronic document includes Duo Fen layouts description information Therefrom selection portion is currently needed for the layout's description information used.As it was noted above, specifically when being selected, Ke Yigen According to critical data introduction described in packet to each part layout etc., the screen with present terminal equipment is automatically selected A layout description of match parameters, or can also be specified by user.It has selected layout's description letter After breath, it is possible to layout is carried out to the display page accordingly, equivalent to determining which includes respectively in each page first A little page blocks, linking relationship between the size of each page block, the position at place and page block, etc..
S103:According to the content stream description information and the resource description information, determine content to be shown and show Sample formula;
Due to illustrated in layout's description information quote content stream description information, and content stream description further through Quote resource description to determine, therefore, it becomes possible to determine to be currently needed for the content and pattern of display.
S104:According to the Show Styles, in the display page of layout has been carried out, to the content to be shown Carry out typesetting and display.
By step S102 and S103, equivalent to defining layout's framework of the display page, and need to this What content is shown in framework, these contents have what kind of pattern (including font, font size, color etc.), so, then by these Content carries out typesetting and display according to such pattern in the page for put up framework.
Wherein, a page block or page block chaining combination can quote one or more content streams, specifically to electronics When document is shown, carried out during imposition layout according to content stream sequencing, chain is used when a page block is booked The next page block being connected to continues typesetting.That is, according to Show Styles by content to be shown current page work as Typesetting is carried out in preceding page block, after current page block is booked, according to the ordinal relation between page block, by treating for not yet typesetting Display content typesetting is into next page block, after each page block of current page is booked, by the to be shown of not yet typesetting Content typesetting is into the page block of next page, until all contents to be displayed are typeset completion, it is possible to shown. For example, it is assumed that it is divided into three page blocks in first page, respectively page block A, page block B and page block C, wherein, the page Block A is located at page block B and the page block C top, left-right situs between page block B and page block C, and each page block is respectively provided with Frame;In addition, it is assumed that the sequencing between page block is described as:Page block A- > page block B- > page blocks C.Then specifically exist When showing electronic document, content to be displayed is filled into page block A first, is booked in page block A and then to page block B Middle filling, after page block B is booked, then fill into page block C, after page block C is also booked, continue into next page It is filled, untill all contents to be displayed are all filled and are shown in the page.
Specifically in display, can be shown directly according to the result of typesetting on correspondence position corresponding to content to be displayed. Also, after display, adjustment entrance can also be provided, can be with if user wants the Show Styles of the specific element of modification It is adjusted by specifically adjusting entrance.Accordingly, reader is after the adjust request of user is received, it is possible to member Plain pattern is modified.It can specifically include:
Color, background etc. are changed, this replacing only covers without typesetting again and uses new the rendering style;
Change font:Because different fonts character duration may be variant, it may be considered that put using only line position, in the line then Relative position is adjusted by typesetting again;Can also the typesetting again in units of the page block after link, but the position of page block Do not adjust;
Change font size:Can the typesetting again in units of the page block after link, when content be not enough to fully support page block or When person's content is excessive, on the premise of big adjustment is not done to layout, page block size can be suitably adjusted, it is allowed to which content is overflow Go out.
That is, in the embodiment of the present application, on the premise of layout is fixed, the content and pattern that are particularly shown Can be according to the different and different of content stream description, and can also be adjusted according to the demand of user, there is very big spirit Activity.
In a word, in the embodiment of the present application, because electronic document can use layout, content stream, resource such three Layer description, therefore, document reader can carry out layout to the display page first when showing electronic document, equivalent to Display frame has been built first, then according still further to the content stream description of reference, in specific resource in the display frame of the page Hold and carry out typesetting and display.So, the characteristics of can embodying format is seen on the whole, because the layout position information in the page It is fixed, and from local, the characteristics of flowing content can be retained again, so that electronic document has in typesetting and display There is certain certainty, while also there is certain flexibility ratio and the free degree.
Further, since overall page layout using format mode define fixed size, fixed position space of a whole page block, therefore, Enhance the rich and certainty of space of a whole page description;Page block or the content of its combination are described using streaming fashion, logical relation Clearly.Local font, color, pattern etc. can be adjusted flexibly in the case where not influenceing total arrangement.
In actual applications, user is during an electronic document is browsed, may different layouts it Between switch over.For example, it is assumed that initial user is browsed by the way of transverse screen, then can be according to the space of a whole page corresponding to transverse screen Layout description carries out typesetting and display, afterwards if user rotates terminal device, makes portrait layout mode into and is browsed, then also may be used Typesetting and display are carried out to be switched to layout's description corresponding to portrait layout.When equipment rotates, reader, which can be recorded, works as It is preceding where to have browsed to content stream, after switching layout, where can jumping directly to this partial content The page.It should be noted that changed due to switching front and rear layout, thus in each page start-stop position it is interior Appearance is not necessarily identical, but the information such as paragraph due to still remaining with article in content stream, and records and have each version The corresponding relation of the lower content of face layout, therefore, as long as the position that jumps to afterwards of switching substantially it is identical with the position before switching i.e. Can, for example, being located at identical paragraph.Certainly, if in layout's description and content stream description, to the big of page block Small, element pattern etc. is controlled so that total page number, the content of each page start-stop position under same size horizontal/vertical screen state Unanimously, the page location for needing to jump to after switching can so be better controled over.Such as, it is only necessary to browsed before recording rotation To how many page, after being switched to the layout of portrait layout and completing typesetting, jump directly to the page and shown.Separately Outside, in actual applications, in addition to the switching between horizontal/vertical screen, it can also happen that switching between other layouts, such as User has found that font is somewhat small under current layout, then can be manually switched to another layout, etc., but either Which kind of switching, it can record and browse position corresponding positional information in content stream description before switching, after switching, jump Go to the page corresponding to the position.
It is described above to describe the process for how showing electronic document, and meet the electronics of logic described in the embodiment of the present application Document specifically when making electronic document, can follow the steps below making, it is necessary to made in advance by producer:
First, it is that the big section article (or " core article ") listed in catalogue creates the page under different layouts, And page block can be added in the relevant position of these pages, according to schedule the order of typesetting output content, by specific page Face block is chained up from front to back, forms page block chaining group.
Then, content stream is created for core article, describes and quote for establishing resources such as word therein, pictures, according to Layout requires, is created for paragraph, word segment etc. and sets pattern;It is contemplated that same content stream in a variety of versions when making The lower shared situation of face layout.
Finally, then by one or more content streams page block or page block chaining group are associated with.
In a word, when making electronic document, it is necessary to each layer information is described, indicates that reference between layers is closed System, the related data for the electronic document finally made can be saved in into packet, and loaded and displayed is carried out for document reader.
It should be noted that in actual applications, specifically when making electronic document, it can be used according to above-mentioned logic The mode of hard coded is realized, namely directly each layer information and its adduction relationship etc. be described using language such as XML.For Cause producer more easily to produce the electronic document that meets above-mentioned logic, improve efficiency, reduce and producer is encoded The requirement on basis, the embodiment of the present application can also provide a kind of method for generating electronic document, can be by " electricity during specific implementation The application programs such as subdocument editing machine " perform, and referring to Fig. 2, this method may comprise steps of:
S201:For specified document content, the page, and record page attribute information are created;
In actual applications, the editing machine can provide a user interface for producer, and user interface can be divided into Accessorial Tools Storage and preview region etc., producer can use the instrument in Accessorial Tools Storage, be performed in preview region and create the correlations such as the page Operation.Wherein, each " instrument " equivalent to encapsulating respective method, when instrument on foreground by use, while showing, Backstage can performs corresponding method, realizes corresponding function.
For example, when needing to create the page, the instrument therein for being used to create the page just can be used in producer, for example, Certain button etc. is clicked on, accordingly, the signal as the page such as square frame can be shown in preview region, and with mouse drag etc., The size of square frame can be changed, meanwhile, the dimensional values of square frame can be gone out with dynamic calculation from the background, and enter action in the interface of foreground State is shown, for producer's reference, etc..After producer determines the size of the page, backstage records the chi of lower page Very little numerical value, preserved as page attribute information.At the same time it can also be provided as page addition frame, set page back gauge, the back of the body Scape, whether full frame instrument, producer can select corresponding to instrument complete specifically to operate, accordingly, backstage meeting It recorded in page attribute information.Certainly, the page attribute information such as the size of the page, back gauge, background, can create each page When respectively specify that or specify unified page attribute information for full text shelves, namely cause each page that there is identical attribute. Which kind of mode is specifically used, can be determined according to the demand of reality, here without limiting.
S202:Page block is created in the page, position of the page block in page is recorded in the attribute information of page block Put and size;The page block is the subregion of viewing area in page;
After the page is created, it is possible to page block is added in page.It is used for accordingly specifically, still can provide The instrument of page block is created, because page block is the subregion of viewing area in page, therefore, square frame can be equally used in preview region Zoomed in and out etc. the size for carrying out representation page block, and by dragging the modes such as mouse;Simultaneously as page has been created before Face, therefore, producer can also be intuitive to see very much position of the page block in the page, work as drafting when drawing page block Page block position and size when meeting the needs of producer, it is possible to terminate the drafting of the page block, accordingly, backstage Program can record the information such as the size of the page block, position, save as the attribute information of page block.It is similar, can be with The instrument that page block sets the attributes such as frame, background, back gauge is provided as, and is operated according to the setting of user, in the category of page block Recorded accordingly in property information.
One or more page blocks can be created in one page, wherein, if creating multiple page blocks, user is also Need to specify the sequencing relation between each page block.Accordingly, corresponding entrance can be provided in the user interface, to prop up Hold producer and complete corresponding operation, and the sequencing relation information between page block recorded to the attribute letter of page block In breath.Wherein, specifically sequencing relation between specified page block when, a page block order can be associated with same Page or another page block of same page, the page block being associated with can not continue to be associated with another page block, Huo Zheye Other page blocks can be no longer associated with, in a word, one group of page block for finally establishing incidence relation forms single-track link table structure, And do not allow ring occur.
The each page and the page block is being created, and is being respectively provided with after attribute information, equivalent to completing a kind of tool Layout's description of body, can is according to layout's description information afterwards, the content of electronic document is carried out typesetting and Show.Certainly, as it was noted above, for same electronic document, Duo Tao layouts description information can be made, to adapt to each Show in the terminal device of kind screen parameter.Wherein, can be according to above-mentioned two when making often set layout's description information Individual step is carried out, made it is a set of after again make it is another set of, it is each to cover between layout's description information independently of each other.
For example, with reference to the concrete condition of terminal device in practical application, several layout's description letters can be produced as follows Breath:
Large scale high-resolution:Mainly meet conventional flat-panel computer, flat panel TV, apparatus such as computer, provided for horizontal/vertical screen Two sets of fixed size spaces of a whole page, word size can be directed to using the optimum experience of the full frame reading of tablet personal computer as reference;
The middle general resolution ratio of size, the size screens equipment towards in Small-scale Flat computer etc., or eyesight on giant-screen Bad reader provides selection, including two sets of fixed size spaces of a whole page of horizontal/vertical screen, and selects to be best suitable for the word size read;
The small screen low resolution, is mainly directed towards smart mobile phone, there is provided without level altitude streaming typesetting page, by article point Page, supports the readable text in a manner of longitudinal roll screen.
Certainly, it is this Duo Tao layouts description information be present in the case of, in order to user or client Application program provides reference frame in selection, when making electronic document, can also create following description information:
Pandect describes, comprising electronic document essential information, optional layout and key parameter (selective matching), and catalogue Corresponding relation (switch between the space of a whole page and select) between record tree and the space of a whole page, corresponding layout, content stream, resource accordingly describe file position Put.So, implement body is read when showing to electronic document, then a copy of it layout can be selected to describe first To carry out layout.Wherein, specifically when being selected, it is possible to according to pandect description information, automatically according to present terminal The parameters such as the screen size of equipment, resolution ratio, to select the layout to match with present terminal equipment;Or can also Reference is provided the user, selects the specific layouts such as specifically used horizontal version or portrait according to the demand of oneself by user Description, etc..
S203:For the Element generation resource description information in the document content specified, the resource description information bag Include the mark and its display style information of resource object;
In addition to the interface for carrying out layout in editing machine except that can provide, it can be provided for making content stream Interface, in the interface, document content can be imported, generate resource description information, including some specific words, picture, The information such as font.This is equivalent to having obtained the description information of first layer.
S204:The resource description information is quoted according to preset logical order, creates content stream, and generate content stream and retouch State information;
At the same time it can also provide corresponding operation entry so that producer can be by various resource descriptions according to certain Logical order line up, formed content stream.Meanwhile background program can be according to reference feelings of the content stream to resource object Condition, record content stream description information.For same document content, more parts of content streams can be generated, often generate piece of content stream, It can be shown in the user interface in the form of icon etc..This is equivalent to having obtained the description information of the second layer.
S205:The incidence relation that the content flows to the page block is created, to determine the content cited in page block Stream, and record the identification information of the content stream of page block reference;
Due to having created the page and page block, content stream is further created, therefore, following can closes content stream Specific page block is linked to, is which or which content stream for show that page block quotes, that is to say, that, it is necessary to the page What content is filled in block.During specific implementation, each page and therein can be shown in the preview area of user interface The framework of page block, the icon of drag content stream then can be used to be closed both to modes such as specific page blocks Connection, meanwhile, background program records reference situation of the lower page block to content stream.Meanwhile in the interface of foreground, cited in content stream Resource object can be shown in the page block that it is associated with, for producer carry out preview.If it should be noted that The sequencing relation between page block is pre-set, then after a content stream is dragged into certain page block, in current page After face block is booked, corresponding content can be filled into next page block.Afterwards, producer can be according to final Filling situation, the attribute information of page block or the pattern of resource object etc. are adjusted, typesetting effect is optimized.In addition, also It can enrich or adjust the vacant space of a whole page under some layouts, the non-core article of addition, addition illustration or comment etc. may be selected.
Wherein, in the case where making Duo Tao layouts description information, for the horizontal/vertical screen under same screen parameter, its In each self-corresponding layout's description information, cited content stream can be identical, to ensure to cut in progress horizontal/vertical screen When changing, the content shown before and after switching is consistent.That is, the difference such as horizontal/vertical screen for same screen size, can It with corresponding to different layouts, but can quote with a content stream, so, not only greatly reduce the work in design Amount, and when different layouts switch, the details of content genres is consistent, and Consumer's Experience can be more preferable.
Furthermore it is also possible to take into account large scale, middle size, multiple spaces of a whole page such as horizontal/vertical screen are distinguished, ensure same size horizontal/vertical screen It is consistent that total page number, main contents correspond to the start-stop page number;Middle size can distribute more pages, ensure the orders of main contents with it is big Size is basically identical, and remaining content according to the suitably adjustment such as space of a whole page blank or can then be accepted or rejected.
, can also be according to the position in content stream after the content stream of reference is determined respectively in different layouts Information (such as row, paragraph etc.) records the corresponding relation between layout, so, is subsequently showing the process of electronic document In, then can be according to user before this corresponding relation, and switching if necessary to be switched between different layouts Browse position, to determine to need the page that jumps to after switching, to ensure continuity that user browses.
S206:It is raw according to the identification information of the content stream of the page attribute information, the attribute information of page block and reference Into layout's description information;
Determine page block quote content stream after, it is possible to reference to record before page attribute information, page block Attribute information, generate complete layout's description information.So, equivalent to having obtained the description information of third layer.
S207:Preserve layout's description information, content stream description information, resource description information, generation electronics text Shelves.
Finally, after three layers of description information all obtain, it is possible to preserved, 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 showed.
Corresponding with the method for showing electronic document that the embodiment of the present application provides, the embodiment of the present application additionally provides one kind Show the device of electronic document, referring to Fig. 3, the device can include:
Packet acquiring unit 301, for obtaining data for electronic documents bag;The packet includes the version of electronic document Face layout description information, content stream description information and resource description information;Wherein, layout's description information includes drawing The attribute information of the page block included in the information of content flow object, page attribute information and page, the page block is page The subregion of interior viewing area, the attribute information of the page block comprise at least:Position of the page block in page, size;It is described Content stream description information includes the information of resource object and the display sample of resource object quoted according to preset logical order Formula information, the resource description information include the set of the electronic document various resource datas required in display;
Layout's unit 302, for carrying out layout to the display page according to layout's description information;
Display content and style determination unit 303, for according to the content stream description information and the resource description Information determines content to be shown and Show Styles;
Typesetting and display unit 304, it is right in the display page for carried out layout for according to the Show Styles The content to be shown carries out typesetting and display.
In optional implementation, in order to cause same electronic document to can adapt in the end of a variety of screen parameters End equipment, at least a alternative layout's description information can be included in the packet, now, the device may be used also With including:
Selecting unit, for selecting a copy of it layout description information;
Layout's unit 302 specifically can be used for:
Layout is carried out to the display page according to selected layout's description information.
Wherein, selecting unit can include:
First choice subelement, for the pass according to corresponding to each part layout description information preserved in the packet Layout's description information that the screen parameter of bond parameter information, selection and present terminal equipment matches;
Or
Second selection subelement, for the manual assigned operation according to user, the layout for selecting to be specified by user retouches State information.
During in order to ensure that carrying out transverse screen and portrait layout in same terminal device browses, the uniformity in content that browses to, It can make it that transverse screen and portrait layout correspond to respective layout's description information respectively under same screen parameter, and quote same content Flow object.Also, total page in horizontal/vertical screen can also be caused as far as possible when carrying out layout's description and content stream description Number, that main contents correspond to the start-stop page number is consistent.
Certainly, when being switched between layout corresponding to the horizontal/vertical screen under carrying out same screen parameter, if gone out Existing total page number or main contents correspond to the inconsistent situation of the start-stop page number, can also be to page attribute information and/or display sample Formula information is adjusted, so that the front and rear total page number of switching, that main contents correspond to the start-stop page number is consistent.
In addition, in order to improve fluency of the user in navigation process, the device can also include:
Positional information recording unit, if for being switched to another space of a whole page from a kind of currently used layout description Layout description, then browse position corresponding positional information in content stream description before record switching;
Jump-transfer unit, for after the completion of switching, jumping to the page corresponding to the positional information.
During specific implementation, with the page block in one page for it is multiple when, the attribute information of the page block also includes page block Between sequencing relation;
The typesetting and display unit specifically can be used for:
According to the sequencing relation between page block, content to be shown according to the Show Styles typesetting and is shown In corresponding position.
Wherein, the page attribute information can include the one or more in information:The size of each page, resolution ratio, Order between back gauge, background, whether full frame, each page.
The attribute information of the page block can also include the one or more in following information:The back gauge of page block, side Frame, background.
In order to obtain more preferable typesetting effect, the device can also include:
Vacant space of a whole page processing unit, after being typeset in all contents to be displayed, if there is the vacant space of a whole page, Preset content is then added in the vacant space of a whole page.
In addition, the device can also include:
Adjustment unit, after being shown in content to be displayed, according to the adjust request received, to the page category Property information and/or display style information are adjusted.
The device can also include:
Fixed layout recording unit, for after the display of electronic document is completed according to certain imposition layout description information, such as Fruit receives the request recorded to the layout, then by current imposition layout is descending, the positional information of word, word recorded In imposition layout's description information;
Fixed layout display unit, for that ought need to show the electronic document according to imposition layout's description information again When, according to recorded row, word, word positional information carry out master former formula display.
In a word, in the embodiment of the present application, because electronic document can use layout, content stream, resource such three Layer description, therefore, document reader can carry out layout to the display page first when showing electronic document, equivalent to Display frame has been built first, then according still further to the content stream description of reference, in specific resource in the display frame of the page Hold and carry out typesetting and display.So, the characteristics of can embodying format is seen on the whole, because the layout position information in the page It is fixed, and from local, the characteristics of flowing content can be retained again, so that electronic document has in typesetting and display There is certain certainty, while also there is certain flexibility ratio and the free degree.
Further, since overall page layout using format mode define fixed size, fixed position space of a whole page block, therefore, Enhance the rich and certainty of space of a whole page description;Page block or the content of its combination are described using streaming fashion, logical relation Clearly.Local font, color, pattern etc. can be adjusted flexibly in the case where not influenceing 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 one kind The device of electronic document is generated, referring to Fig. 4, the device can include:
Page creation unit 401, for the document content for specifying, create the page, and record page attribute information;
Page block creating unit 402, for creating page block in the page, in the attribute information of page block described in record Position and size of the page block in page;The page block is the subregion of viewing area in page;
Resource description information generation unit 403, for for the Element generation resource description in the document content specified Information, the resource description information include the mark and its display style information of resource object;
Content stream description information generation unit 404, for quoting the resource description information according to preset logical order, Content stream is created, and generates content stream description information;
Associative cell 405, the incidence relation of the page block is flowed to for creating the content, to determine page block institute The content stream of reference, and record the identification information of the content stream of page block reference;
Layout's description information generation unit 406, for according to the page attribute information, position of the page block in page Put, the identification information of the content stream of size and reference, generation layout description information;
Electronic document generating unit 407, for preserving layout's description information, content stream description information, resource Description information, generate electronic document.
Wherein, for different screen parameters, a variety of layout's description informations can be generated.
The device can also include:
Corresponding relation recording unit, the corresponding pass between layout is recorded for the positional information in content stream System, during to be switched between different layouts, jump to that current to browse position institute right according to the corresponding relation The page answered.
Under same screen parameter, transverse screen and portrait layout correspond to respective layout's description information respectively, and quote in same Hold flow object.
Page block creating unit 402 specifically can be used for:
At least one page block is added in the same page, records the page block respectively in the attribute information of page block Position and size in page;
Described device can also include:
Associative cell, for a page block order to be associated with into same one page or not another page block of same page, quilt The page block being associated with can continue to be associated with another page block, and one group of page block for finally establishing incidence relation forms unidirectional chain Table structure;
Sequencing relation creating unit, for according to the sequencing between the single-track link table structure determination page block Relation, and the sequencing relation in the attribute information of the page block between record page block.
As seen through the above description of the embodiments, those skilled in the art can be understood that the application can Realized by the mode of software plus required general hardware platform.Based on such understanding, the technical scheme essence of the application On the part that is contributed in other words to prior art can be embodied in the form of software product, the computer software product It can be stored in storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions are causing a computer equipment (can be personal computer, server, either network equipment etc.) performs some of each embodiment of the application or embodiment Method described in part.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment Divide mutually referring to what each embodiment stressed is the difference with other embodiment.Especially for system or For system embodiment, because it is substantially similar to embodiment of the method, so describing fairly simple, related part is referring to method The part explanation of embodiment.System and system embodiment described above is only schematical, wherein the conduct The unit that separating component illustrates can be or may not be it is physically separate, can be as the part that unit is shown or Person may not be physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can root Factually border needs to select some or all of module therein realize the purpose of this embodiment scheme.Ordinary skill Personnel are without creative efforts, you can to understand and implement.
To generation provided herein and show the method and device of electronic document above, be described in detail, this Apply specific case in text to be set forth the principle and embodiment of the application, the explanation of above example is only intended to Help understands the present processes and its core concept;Meanwhile for those of ordinary skill in the art, the think of according to the application Think, in specific embodiments and applications there will be changes.In summary, this specification content should not be construed as pair The limitation of the application.

Claims (18)

  1. A kind of 1. method for showing electronic document, it is characterised in that including:
    Obtain data for electronic documents bag;The packet includes layout's description information of electronic document, content stream description Information and resource description information;Wherein, layout's description information includes the information for the content flow object quoted, page category Property information and page in the attribute information of page block that includes, the page block is the subregion of viewing area in page, the page The attribute information of face block comprises at least:Position of the page block in page, size;The content stream description information is included according to preset The logical order information of resource object and the display style information of resource object quoted, the resource description information includes The set of the electronic document various resource datas required in display;
    Layout is carried out to the display page according to layout's description information;
    Content to be shown and Show Styles are determined according to the content stream description information and the resource description information;
    According to the Show Styles, the content to be shown is carried out in the display page for carried out layout typesetting and Display.
  2. 2. according to the method for claim 1, it is characterised in that the packet includes at least a alternative version Face is laid out description information, and methods described also includes:
    Select a copy of it layout description information;
    It is described that display page progress layout is included according to layout's description information:
    Layout is carried out to the display page according to selected layout's description information.
  3. 3. according to the method for claim 2, it is characterised in that selection a copy of it layout description information bag Include:
    According to critical parameter information corresponding to each part layout description information preserved in the packet, select and current whole Layout's description information that the screen parameter of end equipment matches;
    Or
    According to assigned operation, appointed layout's description information is selected.
  4. 4. according to the method for claim 2, it is characterised in that under same screen parameter, transverse screen and portrait layout correspond to respectively respectively From layout's description information, and quote same content flow object.
  5. 5. according to the method for claim 4, it is characterised in that also include:
    When being switched between layout corresponding to the horizontal/vertical screen under carrying out same screen parameter, to page attribute information And/or display style information is adjusted, to switch front and rear total page number, that main contents correspond to the start-stop page number is consistent.
  6. 6. according to the method for claim 2, it is characterised in that also include:
    It is clear before record switching if being switched to another layout's description from a kind of currently used layout description Look at position corresponding positional information in content stream description;
    After the completion of switching, the page corresponding to the positional information is jumped to.
  7. 7. according to the method for claim 1, it is characterised in that with the page block in one page for it is multiple when, the page block Attribute information also include page block between sequencing relation;
    It is described according to the Show Styles, the content to be shown is arranged in the display page for carried out layout Version and display include:
    According to the sequencing relation between page block, by content to be shown according to the Show Styles typesetting and including right The position answered.
  8. 8. according to the method for claim 7, it is characterised in that the page attribute information include following information in one kind or It is a variety of:Order between the size of each page, resolution ratio, back gauge, background, whether full frame, each page.
  9. 9. according to the method for claim 7, it is characterised in that the attribute information of the page block also includes in following information One or more:Back gauge, frame, the background of page block.
  10. 10. according to the method for claim 1, it is characterised in that also include:
    After content to be displayed is shown, according to the adjust request received, to the page attribute information and/or display sample Formula information is adjusted.
  11. 11. according to the method for claim 1, it is characterised in that also include:
    After the display of electronic document is completed according to certain imposition layout's description information, the layout is remembered if received The request of record, then by current imposition layout is descending, the positional information of word, word recorded in imposition layout's description information;
    When needing to show the electronic document according to imposition layout's description information again, according to recorded row, word, word position Confidence breath carries out the display of master former formula.
  12. A kind of 12. method for generating electronic document, it is characterised in that including:
    For specified document content, the page, and record page attribute information are created;
    Page block is created in the page, position and size of the page block in page are recorded in the attribute information of page block; The page block is the subregion of viewing area in page;
    For the Element generation resource description information in the document content specified, the resource description information includes resource object Mark and its display style information;
    The resource description information is quoted according to preset logical order, creates content stream, and generate content stream description information;
    The incidence relation that the content flows to the page block is created, to determine the content stream cited in page block, and is recorded The identification information for the content stream that page block is quoted;
    According to the identification information of the content stream of the page attribute information, the attribute information of page block and reference, space of a whole page cloth is generated Office's description information;
    Layout's description information, content stream description information, resource description information are preserved, generates electronic document.
  13. 13. according to the method for claim 12, it is characterised in that also include:
    For different screen parameters, a variety of layout's description informations are generated.
  14. 14. according to the method for claim 13, it is characterised in that also include:
    Positional information in content stream records the corresponding relation between layout, so as to different layouts it Between when switching over, according to the corresponding relation jump to it is current browse position corresponding to the page.
  15. 15. the method according to claim 12 or 13, it is characterised in that under same screen parameter, for transverse screen and portrait layout Different layout's description informations is respectively created.
  16. 16. according to the method for claim 12, it is characterised in that it is described that page block is added in the page, in page block Position and size of the page block in page are recorded in attribute information to be included:
    At least one page block is added in the same page, records the page block respectively in the attribute information of page block in page Interior position and size;
    Methods described also includes:
    One page block order is associated with same one page or not another page block of same page, the page block being associated with can be after Continuous to be associated with another page block, one group of page block for finally establishing incidence relation forms single-track link table structure;
    Believe according to the sequencing relation between the unidirectional chained list structure determination page block, and in the attribute of the page block The sequencing relation between page block is recorded in breath.
  17. A kind of 17. device for showing electronic document, it is characterised in that including:
    Packet acquiring unit, for obtaining data for electronic documents bag;The packet includes the layout of electronic document Description information, content stream description information and resource description information;Wherein, layout's description information includes the interior of reference Hold the attribute information of the page block included in the information, page attribute information and page of flow object, the page block is to be shown in page The subregion in region, the attribute information of the page block comprise at least:Position of the page block in page, size;The content stream Description information includes the information of resource object and the display style information of resource object quoted according to preset logical order, The resource description information includes the set of the electronic document various resource datas required in display;
    Layout's unit, for carrying out layout to the display page according to layout's description information;
    Display content and style determination unit, for according to the content stream description information and resource description information determination Content to be shown and Show Styles;
    Typesetting and display unit, for according to the Show Styles, being treated in the display page for carried out layout to described The content of display carries out typesetting and display.
  18. A kind of 18. device for generating electronic document, it is characterised in that including:
    Page creation unit, for the document content for specifying, create the page, and record page attribute information;
    Page block creating unit, for creating page block in the page, the page block is recorded in the attribute information of page block Position and size in page;The page block is the subregion of viewing area in page;
    Resource description information generation unit, for for the Element generation resource description information in the document content specified, institute Stating resource description information includes the mark and its display style information of resource object;
    Content stream description information generation unit, for quoting the resource description information according to preset logical order, in establishment Rong Liu, and generate content stream description information;
    Associative cell, the incidence relation of the page block is flowed to for creating the content, to determine cited in page block Content stream, and record the identification information of the content stream of page block reference;
    Layout's description information generation unit, for according to position in page of the page attribute information, page block, size with And the identification information for the content stream quoted, generation layout description information;
    Electronic document generating unit, for preserving layout's description information, content stream description information, resource description letter Breath, generate electronic document.
CN201310226428.3A 2013-06-07 2013-06-07 Generate and show the method and device of electronic document Active CN104239305B (en)

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 CN104239305A (en) 2014-12-24
CN104239305B true 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)

Families Citing this family (25)

* Cited by examiner, † Cited by third party
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
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
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
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
CN108959198A (en) * 2018-06-27 2018-12-07 天闻数媒科技(湖南)有限公司 A kind of layering of interactive electronic book, classification typesetting and rendering method
CN109375972B (en) * 2018-09-17 2022-03-08 广州视源电子科技股份有限公司 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
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
CN111158808B (en) * 2019-12-06 2023-08-15 海信视像科技股份有限公司 Display device and whiteboard file storage method
CN111273836B (en) * 2020-02-13 2021-05-28 潍坊北大青鸟华光照排有限公司 Mongolian vertical scrolling display method on electronic equipment
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
CN113515928B (en) * 2021-07-13 2023-03-28 抖音视界有限公司 Electronic text generation method, device, equipment and medium
CN115952775A (en) * 2021-10-08 2023-04-11 北京字跳网络技术有限公司 Document processing method, device, terminal and storage medium
CN114374726A (en) * 2022-01-07 2022-04-19 阿里巴巴(中国)有限公司 Cloud desktop processing method and system
CN116090417B (en) * 2023-04-11 2023-06-27 福昕鲲鹏(北京)信息科技有限公司 Layout document text selection rendering method and device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
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
CN101110070A (en) * 2006-07-20 2008-01-23 天津津科电子系统工程有限公司 Flow type display method for reading broad fixed layout on handhold reading equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070024897A1 (en) * 2005-08-01 2007-02-01 Xerox Corporation Printer directed image decompression

Patent Citations (2)

* Cited by examiner, † Cited by third party
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
CN101110070A (en) * 2006-07-20 2008-01-23 天津津科电子系统工程有限公司 Flow type display method for reading broad fixed layout on handhold reading equipment

Also Published As

Publication number Publication date
CN104239305A (en) 2014-12-24

Similar Documents

Publication Publication Date Title
CN104239305B (en) Generate and show the method and device of electronic document
JP7354294B2 (en) System and method for providing responsive editing and display integrating hierarchical fluid components and dynamic layout
CN104932889B (en) Page visualized generation method and device
US8392828B2 (en) Open theme builder and API
US20100037168A1 (en) Systems and methods for webpage design
US20130198659A1 (en) Implementing website themes in a website under construction
CN104221356A (en) Application for creating photo albums
KR20080053930A (en) Multi-form design with harmonic composition for dynamically aggregated documents
CN101908044A (en) Dynamically adjustable template and using method thereof
KR101546725B1 (en) Responsive layouts design method
JP2007323369A (en) Electronic newspaper display device and electronic newspaper display system
US20220222310A1 (en) Method and apparatus for generating web page
CN105045587B (en) A kind of picture display method and device
CN107786882A (en) A kind of Webpage display process, device and set top box
US7640505B1 (en) Element view toggling
CN109190078A (en) Webpage construction method, device and storage medium
US20140351679A1 (en) System and method for creating and/or browsing digital comics
CN103353889A (en) FEEB double-array gridding system
KR20080010614A (en) A method of web browser application service and recording media
KR20100130186A (en) Device and method for animating a graphic digital document
TW201337605A (en) Multipurpose network editing page automatic conversion mechanism
CN110489735A (en) A kind of PowerPoint generation method, device and equipment
KR100856132B1 (en) System for managing web subjects
CN113269583A (en) Content production method and device and electronic equipment
WO2014050960A1 (en) Electronic publication creation device, electronic publication creation method, electronic publication perusal system, viewer device, and electronic publication perusal method

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