CN105589842A - Typesetting method and device for digital publications - Google Patents

Typesetting method and device for digital publications Download PDF

Info

Publication number
CN105589842A
CN105589842A CN201410648066.1A CN201410648066A CN105589842A CN 105589842 A CN105589842 A CN 105589842A CN 201410648066 A CN201410648066 A CN 201410648066A CN 105589842 A CN105589842 A CN 105589842A
Authority
CN
China
Prior art keywords
file
template file
typesetting
template
layout
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
Application number
CN201410648066.1A
Other languages
Chinese (zh)
Other versions
CN105589842B (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.)
New Founder Holdings Development Co ltd
Beijing Founder Electronics Co Ltd
Original Assignee
Peking University Founder Group Co Ltd
Beijing Founder Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Peking University Founder Group Co Ltd, Beijing Founder Electronics Co Ltd filed Critical Peking University Founder Group Co Ltd
Priority to CN201410648066.1A priority Critical patent/CN105589842B/en
Publication of CN105589842A publication Critical patent/CN105589842A/en
Application granted granted Critical
Publication of CN105589842B publication Critical patent/CN105589842B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a typesetting method and device for digital publications. The method comprises the following steps of receiving a typesetting command sent by a user, wherein the typesetting command comprises a classifying label; determining whether a template file corresponding to the classifying label exists, wherein the template file is used for describing a typesetting layout of the digital publications; if the template file corresponding to the classifying label exists, displaying a corresponding typesetting layout; and receiving to-be-typeset data sent by the user and loading the to-be-typeset data to a corresponding position of the typesetting layout to form the digital publications. According to the typesetting method and device, when typesetting of the digital publications is carried out, only the template file of the needed type is opened to add the to-be-typeset data, and reediting of the typesetting layout of the digital publications is not needed, so that the typesetting efficiency of the digital publications is improved.

Description

The composition method of digital publication and device
Technical field
The present invention relates to digital publishing field, relate in particular to a kind of composition method and device of digital publication.
Background technology
Digital publishing technology is that one is based upon computer technology, network technology, memory technology and logicalOn the new and high technology bases such as news technology emerging go out platemaking technology. Digital publishing technology is entered digital publicationAfter row typesetting, all information of digital publication are all stored in medium with digitized form,Form digital publishing product, such as e-book, digital newspaper, Web education publication etc.
In prior art, when digital publication is carried out to typesetting, a lot of edit files is joined to numberIn word publication, these edit files have comprised layout, input prompt, picture and video etc.,Go to form the imposition layout of data publication; And then the data for the treatment of typesetting are joined to digital publicationImposition layout in corresponding position in, remove to form complete digital publication.
But, in prior art, in carrying out typesetting at every turn, need to be in similar digital publishingIn thing, repeat to edit identical edit file, then add the data for the treatment of typesetting just can become complete afterwardsDigital publication, thereby reduced the typesetting efficiency of digital publication.
Summary of the invention
The invention provides a kind of composition method and device of digital publication, every in order to solve in prior artInferior when digital publication is carried out to typesetting, need in similar digital publication, repeat to edit identicalEdit file, then add and treat just can become complete digital publication after the data of typesetting, therebyReduce the problem of the typesetting efficiency of digital publication.
First aspect of the present invention is to provide a kind of composition method of digital publication, comprising:
Receive the typesetting instruction that user sends, wherein, described typesetting instruction comprises class indication;
Determine whether to exist the template file corresponding with described class indication, wherein, described template file is usedIn the imposition layout of describing described digital publication;
If exist, according to described template file, show corresponding imposition layout;
Receive the data for the treatment of typesetting that described user sends, the described data for the treatment of typesetting are loaded into described rowThe corresponding position of version layout, to form described digital publication.
Another aspect of the present invention is a kind of composing device of digital publication, comprising:
Receiver module, the typesetting instruction sending for receiving user, wherein, described typesetting instruction comprisesClass indication;
Judge module, for determining whether to exist the template file corresponding with described class indication, wherein,Described template file is for describing the imposition layout of described digital publication;
Show imposition layout's module, if determine and have the mould corresponding with described class indication for judge templetPlate file, according to described template file, shows corresponding imposition layout;
Type-setting module, the data for the treatment of typesetting that send for receiving described user, by the described number for the treatment of typesettingAccording to the corresponding position that is loaded into described imposition layout, to form described digital publication.
The composition method of digital publication provided by the invention and device, the typesetting sending by receiving userInstruction, wherein, typesetting instruction comprises class indication; Then determine whether to exist and this class indication pairThe template file of answering, wherein, template file is for describing the imposition layout of digital publication; If exist,, according to template file, show corresponding imposition layout; Receive the data for the treatment of typesetting that user sends, willTreat that the data of typesetting are loaded into the corresponding position of imposition layout, to form digital publication. Thereby enteringWhen the typesetting of row digital publication, only need to open the template file of required type, go to add the row for the treatment ofThe data of version, and do not need again to edit the imposition layout of digital publication, thus improve digital publishingThe typesetting efficiency of thing.
Brief description of the drawings
The flow chart of the composition method of a kind of digital publication that Fig. 1 provides for the embodiment of the present invention one;
The flow chart of the composition method of a kind of digital publication that Fig. 2 provides for the embodiment of the present invention two;
The flow chart of the composition method of a kind of digital publication that Fig. 3 provides for the embodiment of the present invention three;
The flow chart of the composition method of a kind of digital publication that Fig. 4 provides for the embodiment of the present invention four;
The structural representation of the composing device of a kind of digital publication that Fig. 5 provides for the embodiment of the present invention fiveFigure;
The structural representation of the composing device of a kind of digital publication that Fig. 6 provides for the embodiment of the present invention sixFigure;
The structural representation of the composing device of a kind of digital publication that Fig. 7 provides for the embodiment of the present invention sevenFigure.
Detailed description of the invention
For making object, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with thisAccompanying drawing in bright embodiment, is clearly and completely described the technical scheme in the embodiment of the present invention,Obviously, described embodiment is the present invention's part embodiment, instead of whole embodiment. Based onEmbodiment in the present invention, those of ordinary skill in the art obtain not making under creative work prerequisiteThe every other embodiment obtaining, belongs to the scope of protection of the invention.
The flow chart of the composition method of a kind of digital publication that Fig. 1 provides for the embodiment of the present invention one, asShown in Fig. 1, the method for the present embodiment comprises:
The typesetting instruction that step 101, reception user send, wherein, described typesetting instruction comprises classificationMark.
In the present embodiment, concrete, user opens the software for composing of digital publication, goes to carry out numeralThe typesetting of publication, now, software for composing receives the typesetting instruction that user sends, wherein, this typesettingInstruction has comprised the class indication of the template file of digital publication; Class indication has comprised template fileItem name, thereby class indication has shown the type of template file, for instance, can be by templateFile is according to publishing country classification, and class indication is to publish national title, enters according to course of instruction classificationRow classification, class indication is teaching material Course in English; Meanwhile, in this class indication, also comprised template literary compositionThe label of part, each template file has added one or more labels, and label list understands template file instituteThe subject belonging to, the typesetting style of template file etc. information.
Step 102, determine whether to exist the template file corresponding with described class indication, wherein, described inTemplate file is for describing the imposition layout of described digital publication.
In the present embodiment, concrete, different digital publications has been described in different template filesImposition layout, imposition layout has comprised the column layout of each space of a whole page of template file, the carrying of each columnShow information, audio frequency, video, picture and link, and the position of audio frequency, video, picture and link letterBreath, wherein, these audio frequency, video, picture, link are fixedly installed in advance, but not treat typesettingData content. After the software for composing of digital publication receives typesetting instruction, judge whether to exist and divideItem name and the corresponding template file of label in class mark; For instance, when in class indicationItem name be China, when label is mathematics section object, need to go to determine whether exist publish countryBe China and be mathematics section object template file, what this template file was described is to publish in ChinaThe imposition layout of digital publication, and its imposition layout is suitable for mathematics section object digital publicationTypesetting.
If step 103 exists, according to described template file, show corresponding imposition layout.
In the present embodiment, concrete, if exist with class indication in item name and label phaseCorresponding template file, opens this template file, thereby shows imposition layout's feelings of this template fileCondition.
Step 104, receive the data for the treatment of typesetting that described user sends, the described data for the treatment of typesetting are addedBe downloaded to the corresponding position of described imposition layout, to form described digital publication.
In the present embodiment, concrete, after having opened the template file of required classification, user's inputThe data for the treatment of typesetting of digital publication, according to carrying of the column layout in template file and each columnShow information, the data placement that each is treated to typesetting is in the position corresponding with data, thereby will treat typesettingData be loaded into the corresponding position of imposition layout, for instance, certain column in imposition layoutPoint out and added word content, only word content need to be loaded in this column, treated thereby formThe digital publication of publishing.
In the present embodiment, the typesetting instruction with class indication sending by receiving user, is determiningBe present in the template file that this class indication is corresponding after, demonstrate the imposition layout in template file,Then the data for the treatment of typesetting that send according to user, are carried in the corresponding of imposition layout by the data for the treatment of typesettingPosition, to form digital publication to be published. Thereby make carrying out the typesetting of digital publicationTime, only need to open the template file corresponding with class indication, add according to the imposition layout of template fileAdd the data for the treatment of typesetting, just can form digital publication to be published, and need to not edit numeralAfter the imposition layout of publication, add again the data for the treatment of typesetting, just can become digital publishing to be publishedThing, thus the typesetting efficiency of digital publication improved.
The flow chart of the composition method of a kind of digital publication that Fig. 2 provides for the embodiment of the present invention two, asShown in Fig. 2, the method for the present embodiment comprises:
The typesetting instruction that step 201, reception user send, wherein, described typesetting instruction comprises classificationMark.
In the present embodiment, concrete, software for composing receives the row who includes class indication that user sendsVersion instruction, wherein, class indication has comprised the item name of template file and the label of template file.
Step 202, determine whether to exist the template file corresponding with described class indication, wherein, described inTemplate file is for describing the imposition layout of described digital publication.
In the present embodiment, concrete, determine and whether exist user required, with the class of template fileAnother name claims, the corresponding template file of label, in different template files, has described digital publication notImposition layout with mode and different-style arranges.
If step 203 does not exist, receive the template file making instruction that described user sends, and aobviousShow the blank template space of a whole page; Receive the typesetting of each space of a whole page that described user carries out on the described blank template space of a whole pageLayout setting; Arrange and extract template file key message according to described imposition layout, and will extract respectivelyEach key message write in corresponding each file directory, to complete the making of described template file, wherein,Described template file comprises described each file directory, and described template file key message comprises described each editionImposition layout's information of face and the attribute information of described template file, described attribute information comprises described pointClass mark.
In the present embodiment, concrete, if do not exist with class indication in item name and labelCorresponding template file, needs to make needed template file. User is to digital publicationThe template file that software for composing sends is made instruction, and digital publication shows a blank template space of a whole page, usesCarry out layout in the each space of a whole page to the blank template space of a whole page; User is by the column layout of each space of a whole page, eachThe information of column, and audio frequency, video, picture and link etc. are input to each version of blank templateIn face, thus completed template file imposition layout arrange. Then, imposition layout need to be arranged intoThe preservation that row rationalizes, extracts the template file key message of imposition layout in arranging, and template file closesKey information has comprised imposition layout's information of each space of a whole page and the attribute information of template file. First from typesetting clothOffice arranges middle extractions imposition layout information, and imposition layout's information has comprised the column layout in each space of a whole page, oftenThe information of individual column, audio frequency, video, picture and link etc. on the space of a whole page, and audio frequency, video,The positional information of picture and link etc. Then, by the column layout in imposition layout's information, each columnInformation, and the positional information of audio frequency, video, picture and link etc. is written to corresponding with itIn space of a whole page data file, thereby form space of a whole page data file content; Wherein, space of a whole page data file adoptsThere is the extend markup language (ExtensibleMarkupLanguage is called for short XML) of expansion capabilityBe described, adopt the XML with expansion capability to describe space of a whole page data file and make the user can basisThe demand change imposition layout of oneself arranges. Meanwhile, by the audio frequency in imposition layout's information, video, figureSheet and link etc. are written in the plug-in resource file corresponding with it, go to form plug-in resource file catalogue.Moreover, the attribute information of extraction template file from imposition layout arranges, the attribute information bag of template fileDrawn together size, the space of a whole page of class indication, the template file of template file space of a whole page size, date created,The information such as founder, the attribute information of template file has also comprised and has created the typesetting that this template file usesThe attribute information of software, writes the attribute information of template file in meta data file, wherein metadata literary compositionPart adopts common XML to be described, thereby has formed meta data file catalogue. Like this, form and protectHave the space of a whole page data file content of the different key message of template file, plug-in resource file catalogue,These file directorys at different levels of meta data file catalogue, have completed the making of template file.
In the present embodiment, by determining that not have user required, with the item name of template file,The template file that label is corresponding; Then receive the template file making instruction that user sends, and show emptyThe white template space of a whole page, for user provides a blank template file that can arrange voluntarily; Receive user at skyThe imposition layout of the each space of a whole page carrying out on the white template space of a whole page arranges; Having extracted each during imposition layout arrangesImposition layout's information of the space of a whole page and the attribute information of described template file as template file key message itAfter, different key messages is written in corresponding file directory, thereby has completed the system of template fileDo. For different digital publications provides the template file of different imposition layouts style, make sameThe template file that imposition layout arranges can be adapted to digital publication of the same type; And by different passesKey information is written in corresponding file directory, thereby a template that has clear and definite institutional framework is providedFile, and be conducive to accelerate the picking rate of key message.
Further, in step 203, in described template file key message, also comprise pre-review information,In described pre-review information, describe the described imposition layout of information of described imposition layout has been carried out to preset ratioThe required information of convergent-divergent preview.
In the present embodiment, concrete, need to be from imposition layout arranges extraction pre-review information as mouldA kind of key message in the different key message of plate file. Due to imposition layout's packets of information of each space of a whole pageDraw together the column layout of each column, the information of each column, the audio frequency on the space of a whole page, video, figureSheet and link etc., and the positional information of audio frequency, video, picture and link etc., above these information structuresBecome each imposition layout's space of a whole page, each imposition layout space of a whole page has been carried out to convergent-divergent according to default ratio, for exampleCan imposition layout's space of a whole page be dwindled according to the ratio of 1:4; Then, by the imposition layout after convergent-divergentInformation on the space of a whole page is stored as pre-review information, and each imposition layout's space of a whole page after dwindling is for carrying out to userShow, thereby for template file has added the function of the concrete imposition layout situation that can check template file,So that user in carrying out the typesetting of digital publication, checks the template literary composition of current imposition layout formWhether part is needed template file.
Further, the another kind of embodiment of step 203 is specially: if do not exist, described in receivingThe template file that user sends is made instruction, and shows the blank template space of a whole page; Receive described user describedThe imposition layout of the each space of a whole page carrying out on the blank template space of a whole page arranges; According to described imposition layout, extraction is setTemplate file key message, and respectively the each key message extracting is write in corresponding each file directory,To complete the making of described template file, wherein, described template file comprises described each file directory,Described template file key message comprises imposition layout's information of described each space of a whole page and the genus of described template fileProperty information, described attribute information comprises described class indication;
After in the described each file directory that respectively the each key message extracting is write to correspondence, also bagDraw together:
Store described each file directory by compressing file mode.
In the present embodiment, concrete, at the typesetting cloth that has extracted the each space of a whole page during imposition layout arrangesThe attribute information of office's information and template file is as after template file key message, by different key lettersBreath is written in corresponding file directory; Then, all file directorys are done to as a whole pressureContracting, thus final template file obtained, for instance, all file directorys are done as a wholeCompress in computer documents compression (Deflate is called for short ZIP) mode, after compression, obtain template fileThe template file of data format. Template file is presented to user in the mode of compression, thereby user is looked intoSee and open the imposition layout's feelings that just can see template file with the file of the suffix name of template fileCondition, is convenient to user and operates.
The flow chart of the composition method of a kind of digital publication that Fig. 3 provides for the embodiment of the present invention three, asShown in Fig. 3, the method for the present embodiment comprises:
The typesetting instruction that step 301, reception user send, wherein, described typesetting instruction comprises classificationMark.
In the present embodiment, concrete, software for composing receives the row who has comprised class indication that user sendsVersion instruction.
Step 302, determine whether to exist the template file corresponding with described class indication, wherein, described inTemplate file is for describing the imposition layout of described digital publication.
If step 303 exists, according to described pre-review information, show the preview contracting of described template fileSketch map, so that described user determines whether to adopt described template file; According to described template file, showCorresponding imposition layout.
In the present embodiment, concrete, if there is the template file corresponding with class indication, foundationThe pre-review information of the template file of storing in template file, according to default ratio, goes to demonstrate and works as front mouldThe imposition layout of plate file. In actual applications, be according to default ratio, demonstrate when front template literary compositionThe preview thumbnail of part, wherein, the imposition layout's information that has current template file in pre-review information is describedImposition layout to carry out the required information of preview after dwindling according to a certain percentage; Thereby user is according to aobviousThe preview thumbnail of the current template file illustrating, goes to determine whether current template file is own requiredTemplate file; In the time that user has determined current template file, own needed template file, selectsOpen current template file, the content in the file directory that software for composing preserves according to current template file,Demonstrate the imposition layout of current template file.
Step 304, receive the data for the treatment of typesetting that described user sends, the described data for the treatment of typesetting are addedBe downloaded to the corresponding position of described imposition layout, to form described digital publication.
In the present embodiment, concrete, user is according to the current template file demonstrating in step 303Imposition layout, adds the suitable data for the treatment of typesetting in the corresponding position of imposition layout. For instance,If picture is added in certain the column prompting in imposition layout, user adds picture in this column to.Thereby the data for the treatment of typesetting that type-setting document sends user are loaded into the corresponding position of imposition layout, withTime, the data for the treatment of typesetting that user is sent are saved in corresponding document. Through adding the data for the treatment of typesettingAfterwards, the template file that has added the data for the treatment of typesetting becomes the digital publication for publishing.
In the present embodiment, there is the template file corresponding with class indication by determining, according to templateThe pre-review information of file, demonstrates the preview thumbnail of template file, thus by template file with visualMode show user, be convenient to user according to the preview thumbnail of current template file, go to determine currentWhether template file is own needed template file, thereby user uses template file to provide convenience.
The flow chart of the composition method of a kind of digital publication that Fig. 4 provides for the embodiment of the present invention four, asShown in Fig. 4, the method for the present embodiment comprises:
The new files instruction that step 401, reception user send, opens new files.
In the present embodiment, concrete, user, after opening software for composing, selects a newly-built file,Software for composing receives the new files instruction that user sends, the newly-built file of software for composing, and this is newBuild file is for carrying out the making of template file.
The imposition layout that step 402, reception user carry out in new files arranges.
In the present embodiment, concrete, user is by the column layout in each space of a whole page, the prompting of each columnOn information and the space of a whole page, the information such as required audio frequency, video and picture enters in new files. Thereby eachAudio frequency, video and picture on column layout in the space of a whole page, information and the space of a whole page of each columnDeng the imposition layout's information that has formed template file; Close the position on the space of a whole page such as audio frequency, video and pictureSystem also inputs imposition layout's information; The class indication of the new files of imposition layout's information, size, establishmentDate, and create the attribute of the software for composing that this new files adopts, all become template fileAttribute information. Imposition layout's information of template file and the attribute information of template file become imposition layout and establishPut, software for composing arranges imposition layout to be loaded in new files.
Each key message during step 403, extraction imposition layout arrange, by the each key message extractingBe saved in each file directory.
In the present embodiment, concrete, template file attribute information and row during extraction imposition layout arrangesVersion layout information is as key message. Need to extract the attribute information of the template file of imposition layout in arranging,The attribute information of template file has comprised size, the space of a whole page of class indication, the template file of template fileThe information such as the mark of space of a whole page size, the software for composing that adopts; Wherein, the class indication bag of template fileDrawn together the classification of template file and the label of template file, the classification of template file shows when front template literary compositionPublication classification under part, the label list of template file understands the typesetting style of template file; By template literary compositionThe attribute information of part is stored in meta data file catalogue. Imposition layout's information has comprised the column of each space of a whole pageLayout, the information of each column, audio frequency, video and picture etc. on the space of a whole page, and audio frequency, videoPositional information with picture etc. By the column layout of the each space of a whole page extracting, the information of each column, versionThe space of a whole page data information memory such as the positional information of audio frequency, video and picture on face are to space of a whole page data file orderIn record. The plug-in resource informations such as the audio frequency of extraction, video and picture are stored to plug-in resource file catalogueIn. Each space of a whole page is carried out to convergent-divergent according to default ratio, the layout information after convergent-divergent is stored as to preview letterBreath, is stored to pre-review information in preview file catalogue.
Step 404, judge whether to receive the change template file instruction that user sends, if so, holdRow step 402; Otherwise, perform step 405.
In the present embodiment, concrete, if user selects to change template file, software for composing receivesThe instruction of change template file, corresponding, go to perform step 402; If user selects not change template file,Software for composing can not receive the instruction of change template file, corresponding, goes to perform step 405.
Step 405, preserve each file directory by compressing file mode, to form template file.
In the present embodiment, concrete, if in step 404, software for composing does not receive user and sends outThe instruction of the change template file sending, by the meta data file catalogue, the space of a whole page number that form in step 403Do as a wholely to press with ZIP file according to file directory, plug-in resource file catalogue and preview file catalogueContracting mode is preserved, and forms the template file of a self-defining data format.
Step 406, receive user send newly-built digital publication file instruction after, open mouldPlate file; Or receive user send open template file instruction after, open template file.
In the present embodiment, concrete, if user selects newly-built digital publication file, a typesettingSoftware receives the newly-built digital publication file instruction that user sends, and then receives the template that user sendsThe class indication of file, opens the template file corresponding with class indication according to class indication; Or, ifUser selects to open the template file of appointment, and software for composing receives the template file of the appointment of user's transmissionClass indication, open the template file corresponding with this class indication according to this class indication.
Step 407, the each file directory in template file is carried out to decompress(ion).
In the present embodiment, concrete, because each file directory of template file is entered in compressing file modeRow is preserved, and need to, after selecting to open template file, each file directory be carried out to decompress(ion).
Step 408, the each key message in the each file directory after decompress(ion) is resolved.
The imposition layout of step 409, indicating template file.
In the present embodiment, concrete, because step 408 belongs to the template file in template file catalogueProperty information, space of a whole page data message, plug-in resource information and pre-review information are resolved, so can be byThe column layout of the each space of a whole page in space of a whole page data message, the information of each column is shown to template fileOn each space of a whole page, the audio frequency in plug-in resource information, video and picture etc. are shown to the phase of each space of a whole page simultaneouslyAnswer on position, thereby demonstrate the imposition layout of template file.
If step 410 carry out be in step 406 receive user send newly-built digital publishingAfter thing file instruction, open template file, the typesetting data for the treatment of of user's input is loaded into template fileThe relevant position of imposition layout, to form digital publication; If what carry out is connecing in step 406Receive that user sends open template file instruction after, open template file, according to user's inputThe imposition layout that imposition layout arranges change template file arranges, to form the template file after change.
In the present embodiment, concrete, if in step 406, carry out receiving user sendAfter newly-built digital publication file instruction, open template file, demonstrating the typesetting cloth of template fileAfter office, user treats typesetting data accordingly according to the information input of each column, thus software for composingTo respectively treat that typesetting data is loaded into the relevant position of the imposition layout of template file, finish input and treat typesetting numberAccording to, form the digital publication for publishing. If what carry out in step 406 is to receive useFamily send open template file instruction after, open template file, demonstrating the row of template fileAfter version layout, user can change according to demand the imposition layout of template file, software for composingAfter each file directory that imposition layout is arranged to formation is preserved again, form the template literary composition after changePart.
In the present embodiment, imposition layout's setting of carrying out in new files by receiving user, is carryingGet the each key message of imposition layout in arranging, the each key message extracting is saved to each file directoryAfterwards, preserve each file directory by compressing file mode, thereby can provide different typesettings for userThe template file of layout style. And by opening template file, the imposition layout of indicating template file itAfter, the typesetting data for the treatment of of user's input can be loaded into the relevant position of the imposition layout of template file,To form digital publication, the row of change template file also can be set according to the imposition layout of user's inputVersion layout setting; Thereby make in carrying out the typesetting of digital publication, only need to open and classifyIdentify corresponding template file, the data for the treatment of typesetting are loaded in the imposition layout of template file, just canTo form digital publication to be published, and need to be after not edited the imposition layout of digital publicationAdd again the data for the treatment of typesetting, just can become digital publication to be published, go out thereby improved numeralThe typesetting efficiency of version thing.
The structural representation of the composing device of a kind of digital publication that Fig. 5 provides for the embodiment of the present invention fiveFigure, as shown in Figure 5, the device of the present embodiment comprises:
Receiver module 51, the typesetting instruction sending for receiving user, wherein, wraps in described typesetting instructionDraw together class indication;
Judge module 52, for determining whether to exist the template file corresponding with described class indication, wherein,Described template file is for describing the imposition layout of described digital publication;
Show imposition layout's module 53, if determine that for judge templet existence is corresponding with described class indicationTemplate file, according to described template file, shows corresponding imposition layout;
Type-setting module 54, the data for the treatment of typesetting that send for receiving described user, treat typesetting by describedData are loaded into the corresponding position of described imposition layout, to form described digital publication.
On the basis of technique scheme, further, described demonstration imposition layout module 53, also usesIn described according to described template file, before showing corresponding imposition layout, according to described pre-review information,Show the preview thumbnail of described template file, so that described user determines whether to adopt described template file.
The typesetting of a kind of digital publication that the specific implementation of the present embodiment provides with reference to the embodiment of the present invention oneMethod, and the composition method of a kind of digital publication of providing of the embodiment of the present invention three. At the present embodimentIn, the typesetting instruction with class indication sending by receiving user, is present in this classification having determinedAfter identifying corresponding template file, demonstrate the imposition layout in template file, then send out according to userThe data for the treatment of typesetting of sending, are carried in the data for the treatment of typesetting the corresponding position of imposition layout, to formDigital publication to be published. Thereby make in carrying out the typesetting of digital publication, only need to beatOpen the template file corresponding with class indication, add according to the imposition layout of template file the data for the treatment of typesetting,Just can form digital publication to be published, and need to be in the imposition layout that has edited digital publicationAdd again afterwards the data for the treatment of typesetting, just can become digital publication to be published, thereby improve numberThe typesetting efficiency of word publication.
The structural representation of the composing device of a kind of digital publication that Fig. 6 provides for the embodiment of the present invention sixFigure, as shown in Figure 6, the device of the present embodiment comprises:
Receiver module 61, the typesetting instruction sending for receiving user, wherein, wraps in described typesetting instructionDraw together class indication;
Judge module 62, for determining whether to exist the template file corresponding with described class indication, wherein,Described template file is for describing the imposition layout of described digital publication;
Show dummy plate face mould piece 63, if for judge templet determine do not exist corresponding with described class indicationTemplate file, receive the template file that described user sends and make instruction, and show blank template versionFace;
Layout setting module 64, for each edition that receives described user and carry out on the described blank template space of a whole pageThe imposition layout of face arranges;
Extraction module 65, extracts template file key message for arranging according to described imposition layout, and pointThe each key message extracting is not write in corresponding each file directory, to complete described template fileMake, wherein, described template file comprises described each file directory, described template file key messageComprise imposition layout's information of described each space of a whole page and the attribute information of described template file, described attribute informationComprise described class indication.
On the basis of technique scheme, further, in described template file key message, also comprisePre-review information, has described in described pre-review information the described imposition layout of information of described imposition layout has been enteredThe required information of convergent-divergent preview of row preset ratio.
On the basis of technique scheme, further, described extraction module 65, also for describedAfter respectively the each key message extracting being write in corresponding each file directory, by compressing file sideThe described each file directory of formula storage.
The typesetting of a kind of digital publication that the specific implementation of the present embodiment provides with reference to the embodiment of the present invention twoMethod. In the present embodiment, by determining that not have user required, with the class name of template fileTitle, the corresponding template file of label; Then receive the template file making instruction that user sends, and aobviousShow the blank template space of a whole page, for user provides a blank template file that can arrange voluntarily; Receive userThe imposition layout of the each space of a whole page carrying out on the blank template space of a whole page arranges; Having extracted during imposition layout arrangesImposition layout's information of each space of a whole page and the attribute information of described template file as template file key messageAfterwards, different key messages is written in corresponding file directory, thereby has completed template fileMake. For different digital publications provides the template file of different imposition layouts style, make sameThe template file of planting imposition layout's setting can be adapted to digital publication of the same type; And by differentKey message is written in corresponding file directory, thereby a mould that has clear and definite institutional framework is providedPlate file, and be conducive to accelerate the picking rate of key message. Provide pre-review information, to use simultaneouslyWhether family, in carrying out the typesetting of digital publication, checks the template file of current imposition layout formIt is needed template file; And template file is presented to user in the mode of compression, thereby makesUser checks and opens the typesetting cloth that just can see template file with the file of the suffix name of template fileOffice's situation, is convenient to user and operates.
The structural representation of the composing device of a kind of digital publication that Fig. 7 provides for the embodiment of the present invention sevenFigure, as shown in Figure 7, the device of the present embodiment comprises:
Document module 71, the new files instruction sending for receiving user, opens new files.
Template Information module 72, imposition layout's setting of carrying out in new files for receiving user; CarryGet the each key message of imposition layout in arranging, the each key message extracting is saved to each file directoryIn after, preserve each file directory by compressing file mode, to form template file.
Resource management module 73, for after opening template file, by the each file order in template fileDecompress(ion) is carried out in record, and after the each key message in the each file directory after decompress(ion) is resolved, showsThe imposition layout of template file.
Space of a whole page data editing module 74, if for the newly-built digital publication file receiving user's transmissionAfter instruction, open template file, the typesetting data for the treatment of of user's input is loaded into the typesetting of template fileThe relevant position of layout, to form digital publication; If receiving the template file of opening of user's transmissionAfter instruction, open template file, according to the imposition layout of user input, change template file is setImposition layout arranges, to form the template file after change.
On the basis of technique scheme, further, document module 71, also for receiving useAfter the newly-built digital publication file instruction that family sends, open template file; Or receiving userSend open template file instruction after, open template file.
The typesetting of a kind of digital publication that the specific implementation of the present embodiment provides with reference to the embodiment of the present invention fourMethod, in the present embodiment, imposition layout's setting of carrying out in new files by receiving user,Each key message during extraction imposition layout arranges, is saved to each file order by the each key message extractingAfter record, preserve each file directory by compressing file mode, thereby can provide different rows for userThe template file of version layout style. And by opening template file, the imposition layout of indicating template fileAfterwards, the typesetting data for the treatment of of user's input can be loaded into the relevant position of the imposition layout of template file,To form digital publication, the row of change template file also can be set according to the imposition layout of user's inputVersion layout setting; Thereby make in carrying out the typesetting of digital publication, only need to open and classifyIdentify corresponding template file, the data for the treatment of typesetting are loaded in the imposition layout of template file, just canTo form digital publication to be published, and need to be after not edited the imposition layout of digital publicationAdd again the data for the treatment of typesetting, just can become digital publication to be published, go out thereby improved numeralThe typesetting efficiency of version thing.
One of ordinary skill in the art will appreciate that: all or part of step that realizes above-mentioned each embodiment of the methodSuddenly can complete by the relevant hardware of programmed instruction. Aforesaid program can be stored in a computer canRead in storage medium. This program, in the time carrying out, is carried out the step that comprises above-mentioned each embodiment of the method; AndAforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. are various can be program code storedMedium.
Finally it should be noted that: above embodiment is only in order to technical scheme of the present invention to be described, but not to itRestriction; Although the present invention is had been described in detail with reference to previous embodiment, the ordinary skill of this areaPersonnel are to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, orPerson is equal to replacement to part technical characterictic wherein; And these amendments or replacement do not make corresponding skillThe essence of art scheme departs from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (10)

1. a composition method for digital publication, is characterized in that, comprising:
Receive the typesetting instruction that user sends, wherein, described typesetting instruction comprises class indication;
Determine whether to exist the template file corresponding with described class indication, wherein, described template file is usedIn the imposition layout of describing described digital publication;
If exist, according to described template file, show corresponding imposition layout;
Receive the data for the treatment of typesetting that described user sends, the described data for the treatment of typesetting are loaded into described rowThe corresponding position of version layout, to form described digital publication.
2. method according to claim 1, is characterized in that, also comprises:
If do not exist, receive the template file making instruction that described user sends, and show blank templateThe space of a whole page;
The imposition layout that receives each space of a whole page that described user carries out on the described blank template space of a whole page arranges;
Arrange and extract template file key message according to described imposition layout, and respectively by each pass of extractingKey information writes in corresponding each file directory, to complete the making of described template file, wherein, described inTemplate file comprises described each file directory, and described template file key message comprises described each space of a whole pageThe attribute information of imposition layout's information and described template file, described attribute information comprises described contingency tableKnow.
3. method according to claim 2, is characterized in that, in described template file key messageAlso comprise pre-review information, in described pre-review information, described the described typesetting of described imposition layout informationLayout is carried out the required information of convergent-divergent preview of preset ratio.
4. method according to claim 3, is characterized in that, described according to described template file,Before showing corresponding imposition layout, also comprise:
According to described pre-review information, show the preview thumbnail of described template file, so that described user is trueDetermine whether to adopt described template file.
5. according to the method described in any one in claim 2 to 4, it is characterized in that, in described differenceAfter the each key message extracting is write in corresponding each file directory, also comprise:
Store described each file directory by compressing file mode.
6. a composing device for digital publication, is characterized in that, comprising:
Receiver module, the typesetting instruction sending for receiving user, wherein, described typesetting instruction comprisesClass indication;
Judge module, for determining whether to exist the template file corresponding with described class indication, wherein,Described template file is for describing the imposition layout of described digital publication;
Show imposition layout's module, if determine and have the mould corresponding with described class indication for judge templetPlate file, according to described template file, shows corresponding imposition layout;
Type-setting module, the data for the treatment of typesetting that send for receiving described user, by the described number for the treatment of typesettingAccording to the corresponding position that is loaded into described imposition layout, to form described digital publication.
7. device according to claim 6, is characterized in that, also comprises:
Show dummy plate face mould piece, if for judge templet determine do not exist corresponding with described class indicationTemplate file, receives the template file making instruction that described user sends, and shows the blank template space of a whole page;
Layout setting module, the each space of a whole page carrying out on the described blank template space of a whole page for receiving described userImposition layout arrange;
Extraction module, extracts template file key message for arranging according to described imposition layout, and respectivelyThe each key message extracting is write in corresponding each file directory, to complete the system of described template fileDo, wherein, described template file comprises described each file directory, described template file key message bagDraw together imposition layout's information of described each space of a whole page and the attribute information of described template file, in described attribute informationComprise described class indication.
8. device according to claim 7, is characterized in that, in described template file key messageAlso comprise pre-review information, in described pre-review information, described the described typesetting of described imposition layout informationLayout is carried out the required information of convergent-divergent preview of preset ratio.
9. device according to claim 8, is characterized in that, described demonstration imposition layout module,Also for described according to described template file, before showing corresponding imposition layout, according to described previewInformation, shows the preview thumbnail of described template file, so that described user determines whether to adopt described mouldPlate file.
10. according to the device described in any one in claim 7 to 9, it is characterized in that described extractionModule, also for described respectively the each key message extracting is write corresponding each file directory itAfter, store described each file directory by compressing file mode.
CN201410648066.1A 2014-11-14 2014-11-14 The composition method and device of digital publication Expired - Fee Related CN105589842B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410648066.1A CN105589842B (en) 2014-11-14 2014-11-14 The composition method and device of digital publication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410648066.1A CN105589842B (en) 2014-11-14 2014-11-14 The composition method and device of digital publication

Publications (2)

Publication Number Publication Date
CN105589842A true CN105589842A (en) 2016-05-18
CN105589842B CN105589842B (en) 2018-09-14

Family

ID=55929432

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410648066.1A Expired - Fee Related CN105589842B (en) 2014-11-14 2014-11-14 The composition method and device of digital publication

Country Status (1)

Country Link
CN (1) CN105589842B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108073562A (en) * 2016-11-16 2018-05-25 北大方正集团有限公司 Publication processing method and processing device based on cloud platform
CN109460481A (en) * 2018-11-13 2019-03-12 北京中网易企秀科技有限公司 A kind of multimedia file producting method and device
CN109670160A (en) * 2017-10-13 2019-04-23 北大方正集团有限公司 The typesetting processing method and device of file
CN111382552A (en) * 2020-03-11 2020-07-07 北大方正集团有限公司 Typesetting processing method, device, equipment and storage medium
CN112464341A (en) * 2020-11-25 2021-03-09 北京构力科技有限公司 Method and electronic device for arranging component subgraphs based on definable layout templates
CN112836470A (en) * 2021-02-25 2021-05-25 珠海金山办公软件有限公司 Document typesetting method and device
CN113901764A (en) * 2021-09-30 2022-01-07 数坤(北京)网络科技股份有限公司 Content typesetting method and device, electronic equipment and storage medium
CN115983199A (en) * 2023-03-16 2023-04-18 山东天成书业有限公司 Mobile digital publishing system and method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1389809A (en) * 2001-06-04 2003-01-08 黎明网络有限公司 Electronic official document expressing method and system
CN1949209A (en) * 2006-09-22 2007-04-18 北京北大方正电子有限公司 Method of mfg. to book by network collected works
CN101976268A (en) * 2010-11-19 2011-02-16 百度在线网络技术(北京)有限公司 Online document reading device and method
CN101989256A (en) * 2009-07-31 2011-03-23 北京大学 Typesetting method of document file and device
CN102855244A (en) * 2011-06-28 2013-01-02 北大方正集团有限公司 Method and device for file catalogue processing
CN202795366U (en) * 2012-09-24 2013-03-13 上海理工大学 System capable of generating digital publication
CN103761218A (en) * 2014-01-27 2014-04-30 上海维响信息科技有限公司 Method for annotating and commenting electronic document on computer

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1389809A (en) * 2001-06-04 2003-01-08 黎明网络有限公司 Electronic official document expressing method and system
CN1949209A (en) * 2006-09-22 2007-04-18 北京北大方正电子有限公司 Method of mfg. to book by network collected works
CN101989256A (en) * 2009-07-31 2011-03-23 北京大学 Typesetting method of document file and device
CN101976268A (en) * 2010-11-19 2011-02-16 百度在线网络技术(北京)有限公司 Online document reading device and method
CN102855244A (en) * 2011-06-28 2013-01-02 北大方正集团有限公司 Method and device for file catalogue processing
CN202795366U (en) * 2012-09-24 2013-03-13 上海理工大学 System capable of generating digital publication
CN103761218A (en) * 2014-01-27 2014-04-30 上海维响信息科技有限公司 Method for annotating and commenting electronic document on computer

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108073562A (en) * 2016-11-16 2018-05-25 北大方正集团有限公司 Publication processing method and processing device based on cloud platform
CN109670160A (en) * 2017-10-13 2019-04-23 北大方正集团有限公司 The typesetting processing method and device of file
CN109670160B (en) * 2017-10-13 2021-04-09 北大方正集团有限公司 Typesetting processing method and device for files
CN109460481A (en) * 2018-11-13 2019-03-12 北京中网易企秀科技有限公司 A kind of multimedia file producting method and device
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
CN112464341A (en) * 2020-11-25 2021-03-09 北京构力科技有限公司 Method and electronic device for arranging component subgraphs based on definable layout templates
CN112464341B (en) * 2020-11-25 2024-02-02 北京构力科技有限公司 Method and electronic device for arranging component subgraphs based on definable layout templates
CN112836470A (en) * 2021-02-25 2021-05-25 珠海金山办公软件有限公司 Document typesetting method and device
CN113901764A (en) * 2021-09-30 2022-01-07 数坤(北京)网络科技股份有限公司 Content typesetting method and device, electronic equipment and storage medium
CN115983199A (en) * 2023-03-16 2023-04-18 山东天成书业有限公司 Mobile digital publishing system and method
CN115983199B (en) * 2023-03-16 2023-05-30 山东天成书业有限公司 Mobile digital publishing system and method

Also Published As

Publication number Publication date
CN105589842B (en) 2018-09-14

Similar Documents

Publication Publication Date Title
CN105589842A (en) Typesetting method and device for digital publications
US20190361969A1 (en) Method and system for annotation and connection of electronic documents
CN101548273B (en) Method for demonstrating file
US20030158969A1 (en) Authoring of media content and dissemination via an information technology network
EP2291010A1 (en) Structure processing method and apparatus for layout file
CN105376502A (en) All media on-line editing tool
CN110083805A (en) A kind of method and system that Word file is converted to EPUB file
CN106021394A (en) Website construction method and apparatus
CN104123399A (en) Cross-platform question bank resource structuring method
CN103049491A (en) Method and device for managing picture file
CN109445794B (en) Page construction method and device
CN108073562A (en) Publication processing method and processing device based on cloud platform
CN102103586B (en) Multi-language bidirectionally mixed-arranged caption edition system
CN104699664B (en) The composing system and method for a kind of template independence
CN103186540A (en) Electronic document processing method, electronic document reading server, electronic document reading terminal and electronic document reading system
CN104424170A (en) Electronic content data packet postprocessing system and method
CN103942186A (en) Method and system for managing documents
CN107066437B (en) Method and device for labeling digital works
CN102104741B (en) Method and device for arranging multi-language captions
CN101017503A (en) Multiple layouts e-card machine and manufacture method of multiple layouts e-card
KR101251686B1 (en) Determining fields for presentable files and extensible markup language schemas for bibliographies and citations
CN102104743B (en) Method and device for editing multi-language hybrid arranged captions
CN102982036B (en) A kind of structurized method of language material and device
KR20020000413A (en) The converting method from the docutment written by QuarkXpress to the XML data
CN105391754A (en) Journal paper multimedia publishing system and 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
TR01 Transfer of patent right

Effective date of registration: 20220624

Address after: 3007, Hengqin international financial center building, No. 58, Huajin street, Hengqin new area, Zhuhai, Guangdong 519031

Patentee after: New founder holdings development Co.,Ltd.

Patentee after: BEIJING FOUNDER ELECTRONICS Co.,Ltd.

Address before: 100871, Beijing, Haidian District, Cheng Fu Road, No. 298, Zhongguancun Fangzheng building, 9 floor

Patentee before: PEKING UNIVERSITY FOUNDER GROUP Co.,Ltd.

Patentee before: BEIJING FOUNDER ELECTRONICS Co.,Ltd.

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180914

CF01 Termination of patent right due to non-payment of annual fee