CN105589842B - The composition method and device of digital publication - Google Patents

The composition method and device of digital publication Download PDF

Info

Publication number
CN105589842B
CN105589842B CN201410648066.1A CN201410648066A CN105589842B CN 105589842 B CN105589842 B CN 105589842B CN 201410648066 A CN201410648066 A CN 201410648066A CN 105589842 B CN105589842 B CN 105589842B
Authority
CN
China
Prior art keywords
template file
file
imposition layout
template
typesetting
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.)
Expired - Fee Related
Application number
CN201410648066.1A
Other languages
Chinese (zh)
Other versions
CN105589842A (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

Landscapes

  • Document Processing Apparatus (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

The present invention provides a kind of composition method and device of digital publication, wherein this method includes:Receive the typesetting instruction that user sends, wherein typesetting instruction includes class indication;Determine whether there is template file corresponding with class indication, wherein template file is used to describe the imposition layout of digital publication;If in the presence of according to template file, corresponding imposition layout is shown;The data for waiting for typesetting that user sends are received, will wait for that the data of typesetting are loaded into the corresponding position of imposition layout, to form digital publication.It realizes when carrying out the typesetting of digital publication, it is only necessary to which the template file of type needed for opening goes addition to wait for the data of typesetting, the imposition layout without editing digital publication again, to improve the typesetting efficiency of digital publication.

Description

The composition method and device of digital publication
Technical field
The present invention relates to digital publishing field more particularly to the composition methods and device of a kind of digital publication.
Background technology
Digital publishing technology is that a kind of foundation is contour in computer technology, network technology, memory technology and mechanics of communication Emerging publishing technology on the basis of new technology.After digital publishing technology carries out typesetting to digital publication, by digital publication All information be all stored in medium in the form of digitized, form digital publishing product, such as e-book, datagram Paper, Web education publication etc..
In the prior art, when carrying out typesetting to digital publication, many editor's information is added in digital publication, These editor's information include layout, input prompt, picture and video etc., remove the typesetting cloth to form data publication Office;Then it will wait for that the data of typesetting are added in the corresponding position in the imposition layout of digital publication again, go to be formed complete Digital publication.
However, in the prior art, when carrying out typesetting every time, needing to repeat to edit in similar digital publication Identical editor's information, complete digital publication can just be become by adding after the data for waiting for typesetting, to reduce number The typesetting efficiency of word publication.
Invention content
The present invention provides a kind of composition method and device of digital publication, to solve in the prior art every time to number When publication carries out typesetting, needs to repeat to edit identical editor's information in similar digital publication, add and wait for Complete digital publication can just be become after the data of typesetting, the typesetting efficiency to reduce digital publication is asked Topic.
The first aspect of the invention is to provide a kind of composition method of digital publication, including:
Receive the typesetting instruction that user sends, wherein the typesetting instruction includes class indication;
Determine whether there is template file corresponding with the class indication, wherein the template file is for describing institute State the imposition layout of digital publication;
If in the presence of according to the template file, corresponding imposition layout is shown;
The data for waiting for typesetting that the user sends are received, wait for that the data of typesetting are loaded into the imposition layout by described Corresponding position, to form the digital publication.
Another aspect of the present invention is a kind of composing device of digital publication, including:
Receiving module, the typesetting instruction for receiving user's transmission, wherein the typesetting instruction includes class indication;
Judgment module is used to determine whether there is template file corresponding with the class indication, wherein the template text Part is used to describe the imposition layout of the digital publication;
Show imposition layout's module, if determining there is template file corresponding with the class indication for judge templet, Then according to the template file, corresponding imposition layout is shown;
Type-setting module, the data for waiting for typesetting sent for receiving the user, waits for that the data of typesetting are loaded by described The corresponding position of the imposition layout, to form the digital publication.
The composition method and device of digital publication provided by the invention are instructed by receiving the typesetting that user sends, In, typesetting instruction includes class indication;Then template file corresponding with the class indication is determined whether there is, wherein mould Plate file is used to describe the imposition layout of digital publication;If in the presence of according to template file, corresponding imposition layout is shown; The data for waiting for typesetting that user sends are received, will wait for that the data of typesetting are loaded into the corresponding position of imposition layout, to form number Word publication.To when carrying out the typesetting of digital publication, it is only necessary to which the template file of type needed for opening goes to add The data for waiting for typesetting, the imposition layout without editing digital publication again, to improve the typesetting of digital publication Efficiency.
Description of the drawings
Fig. 1 is a kind of flow chart of the composition method for digital publication that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow chart of the composition method of digital publication provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of flow chart of the composition method for digital publication that the embodiment of the present invention three provides;
Fig. 4 is a kind of flow chart of the composition method for digital publication that the embodiment of the present invention four provides;
Fig. 5 is a kind of structural schematic diagram of the composing device for digital publication that the embodiment of the present invention five provides;
Fig. 6 is a kind of structural schematic diagram of the composing device for digital publication that the embodiment of the present invention six provides;
Fig. 7 is a kind of structural schematic diagram of the composing device for digital publication that the embodiment of the present invention seven provides.
Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art The every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Fig. 1 is a kind of flow chart of the composition method for digital publication that the embodiment of the present invention one provides, as shown in Figure 1, The method of the present embodiment includes:
Step 101 receives the typesetting instruction that user sends, wherein the typesetting instruction includes class indication.
In the present embodiment, specifically, user opens the software for composing of digital publication, the row for carrying out digital publication is gone Version, at this point, software for composing receives the typesetting instruction of user's transmission, wherein include digital publication in typesetting instruction The class indication of template file;Class indication includes the item name of template file, to which class indication shows template text The type of part, for example, can be by template file according to country classification is published, then class indication is to publish national title, is pressed Classify according to course of instruction classification, then class indication is teaching material Course in English;Meanwhile further comprising template in the class indication The label of file, each template file are added to one or more labels, label show subject belonging to template file, The typesetting style of template file etc. information.
Step 102 determines whether there is template file corresponding with the class indication, wherein the template file is used In the imposition layout for describing the digital publication.
In the present embodiment, specifically, describing the imposition layout of different digital publications in different template files, Imposition layout includes the column layout of each space of a whole page of template file, the prompt message of each column, audio, video, picture And link and audio, video, picture and the location information of link, wherein these audios, video, picture, link are advance Fixed setting, rather than wait for the data content of typesetting.After the software for composing of digital publication receives typesetting instruction, judgement is It is no to exist and the item name and the corresponding template file of label in class indication;For example, when in class indication Item name is China, when label is mathematic subject, needs to determine whether there is and publishes country and be China and be several Subject purpose template file, the template file describe the imposition layout for the digital publication for needing to publish in China, and Its imposition layout is suitable for the typesetting of the digital publication of mathematic subject.
If step 103, in the presence of according to the template file, showing corresponding imposition layout.
In the present embodiment, if specifically, in the presence of with the item name and the corresponding template of label in class indication File then opens this template file, to show imposition layout's situation of the template file.
Step 104 receives the data for waiting for typesetting that the user sends, and waits for that the data of typesetting are loaded into the row by described The corresponding position of version layout, to form the digital publication.
In the present embodiment, specifically, after the template file for opening required classification, user inputs digital publication The data for waiting for typesetting wait for typesetting by each according to the prompt message of column layout and each column in template file Data are positioned at position corresponding with data, to wait for that the data of typesetting have been loaded into the corresponding position of imposition layout Place, for example, some column in imposition layout has prompted addition word content, then only needs word content being loaded into this In a column, to form digital publication to be published.
In the present embodiment, it is instructed by receiving the typesetting with class indication that user sends, is present in determining After the corresponding template file of the class indication, the imposition layout in template file is shown, then waited for according to what user sent The data of typesetting will wait for that the data of typesetting are loaded in the corresponding position of imposition layout, to form digital publication to be published. So that when carrying out the typesetting of digital publication, it is only necessary to open template file corresponding with class indication, foundation Imposition layout's addition of template file waits for the data of typesetting, so that it may to form digital publication to be published, without compiling The imposition layout for having collected digital publication adds the data for waiting for typesetting again later, can just become digital publication to be published, To improve the typesetting efficiency of digital publication.
Fig. 2 is a kind of flow chart of the composition method of digital publication provided by Embodiment 2 of the present invention, as shown in Fig. 2, The method of the present embodiment includes:
Step 201 receives the typesetting instruction that user sends, wherein the typesetting instruction includes class indication.
In the present embodiment, specifically, software for composing receive user send include class indication typesetting instruction, In, class indication includes the item name of template file and the label of template file.
Step 202 determines whether there is template file corresponding with the class indication, wherein the template file is used In the imposition layout for describing the digital publication.
In the present embodiment, specifically, whether determination exists needed for user, item name, mark with template file Corresponding template file is signed, the different modes of digital publication and the row of different-style are described in different template files Version layout setting.
If step 203 is not present, receives the template file that the user sends and make instruction, and show blank template The space of a whole page;Receive the imposition layout's setting for each space of a whole page that the user carries out on the blank template space of a whole page;According to the typesetting Layout setting extraction template file key message, and corresponding each file directory is written into each key message extracted respectively In, to complete the making of the template file, wherein the template file includes each file directory, the template text Part key message includes the attribute information of the imposition layout's information and the template file of each space of a whole page, in the attribute information Including the class indication.
In the present embodiment, if specifically, there is no with the item name and the corresponding mould of label in class indication Plate file then needs to make required template file.The template file that user sends to the software for composing of digital publication Instruction is made, digital publication shows a blank template space of a whole page, is laid out for each space of a whole page to the blank template space of a whole page; The column of each space of a whole page is laid out by user, and the prompt message and audio of each column, video, picture and link etc. are input to In each space of a whole page of blank template, it is arranged so as to complete the imposition layout of template file.Then, it needs imposition layout being arranged The preservation rationalized, then extract the template file key message in imposition layout's setting, and template file key message includes Imposition layout's information of each space of a whole page and the attribute information of template file.Imposition layout's letter is extracted in being arranged first from imposition layout Breath, imposition layout's information include the column layout in each space of a whole page, the prompt message of each column, audio, video on the space of a whole page, Picture and link etc. and the location information of audio, video, picture and link etc..Then, by the column in imposition layout's information Layout, the location information of the prompt message and audio of each column, video, picture and link etc. are written to corresponding In layout data file, so as to form layout data file directory;Wherein, layout data file is used with expansion capability Extensible markup language (Extensible Markup Language, abbreviation XML) is described, using with expansion capability XML describes layout data file and user is allow to change imposition layout's setting according to the demand of oneself.Meanwhile by imposition layout Audio, video, picture and link in information etc. are written in corresponding plug-in resource file, go to form plug-in resource text Part catalogue.Furthermore the attribute information of template file is extracted in being arranged from imposition layout, the attribute information of template file includes mould The information such as the class indication of plate file, the size of template file, the space of a whole page size of the space of a whole page, date created, founder, template file Attribute information further comprise the attribute information for creating software for composing used in the template file, the attribute of template file is believed In breath write-in meta data file, wherein meta data file is described using common XML, so as to form meta data file mesh Record.In this way, forming the layout data file directory for the different key messages for preserving template file, plug-in resource file mesh Record, meta data file catalogue these file directorys at different levels, complete the making of template file.
In the present embodiment, have needed for user by determining to be not present, it is opposite with the item name of template file, label The template file answered;Then it receives the template file that user sends and makes instruction, and show the blank template space of a whole page, provide to the user One blank template file that can be voluntarily arranged;Receive the imposition layout for each space of a whole page that user carries out on the blank template space of a whole page Setting;The attribute information conduct of the imposition layout's information and the template file of each space of a whole page in being extracted imposition layout's setting After template file key message, different key messages is written in corresponding file directory, so as to complete template text The making of part.The template file of different imposition layout's styles is provided for different digital publications so that same typesetting cloth The template file of office's setting is adapted to the digital publication of same type;And different key messages is written to corresponding In file directory, there is the template file of clear institutional framework to provide one, and is conducive to accelerate adopting for key message Collect speed.
Further, in step 203, further include pre-review information in the template file key message, the preview letter The information carried out to imposition layout described in imposition layout's information needed for the scaling preview of preset ratio is described in breath.
In the present embodiment, specifically, needing to extract pre-review information in from imposition layout being arranged as template file A kind of key message in different key messages.Since imposition layout's information of each space of a whole page includes the column cloth of each column Office, the prompt message of each column, audio, video, picture and link on the space of a whole page etc. and audio, video, picture and link Deng location information, the above information constitutes each imposition layout's space of a whole page, by each imposition layout's space of a whole page according to preset ratio Example zooms in and out, for example can be according to 1:4 ratio reduces imposition layout's space of a whole page;Then, by the typesetting cloth after scaling Information storage on office's space of a whole page is pre-review information, and imposition layout's space of a whole page after each diminution is used to show to user, to The function for the specific imposition layout's situation that can check template file is added to for template file, so that user goes out in progress number When the typesetting of version object, check whether the template file of current imposition layout's form is required template file.
Further, the another embodiment of step 203 is specially:If being not present, receive what the user sent Template file makes instruction, and shows the blank template space of a whole page;Receive the user carried out on the blank template space of a whole page it is each The imposition layout of the space of a whole page is arranged;Extraction template file key message is set according to the imposition layout, and will be extracted respectively Each key message is written in corresponding each file directory, to complete the making of the template file, wherein in the template file Including each file directory, the template file key message includes imposition layout's information of each space of a whole page and the template The attribute information of file, the attribute information include the class indication;
It is described each key message extracted is written in corresponding each file directory respectively after, further include:
Each file directory is stored by compressing file mode.
In the present embodiment, specifically, be extracted imposition layout setting in each space of a whole page imposition layout's information and After the attribute information of template file is as template file key message, different key messages is written to corresponding file mesh In record;Then, all file directorys are compressed as a whole, to obtain final template file, citing comes It says, all file directorys is compressed in computer documents compression (Deflate, abbreviation ZIP) mode as a whole, The template file of template file data format is obtained after compression.Template file is presented to the user in compressed fashion, so that User check and open the suffix name with template file file it is seen that template file imposition layout's situation, be convenient for User operates.
Fig. 3 is a kind of flow chart of the composition method for digital publication that the embodiment of the present invention three provides, as shown in figure 3, The method of the present embodiment includes:
Step 301 receives the typesetting instruction that user sends, wherein the typesetting instruction includes class indication.
In the present embodiment, specifically, software for composing receive user send include class indication typesetting instruction.
Step 302 determines whether there is template file corresponding with the class indication, wherein the template file is used In the imposition layout for describing the digital publication.
If step 303, in the presence of according to the pre-review information, the preview thumbnail of the template file being shown, so that institute User is stated to determine whether to use the template file;According to the template file, corresponding imposition layout is shown.
In the present embodiment, if specifically, in the presence of template file corresponding with class indication, according in template file The pre-review information of the template file of storage goes to the imposition layout for showing current template file according to preset ratio.In reality It is to show the preview thumbnail of current template file, wherein have in pre-review information and work as according to preset ratio in The imposition layout of the imposition layout information description of front template file reduce according to a certain percentage after the letter that carry out needed for preview Breath;Preview thumbnail to user according to the current template file shown goes to determine whether current template file is oneself Required template file;Oneself required template file when user determines current template file then selects to open and work as Front template file, the content in the file directory that software for composing is preserved according to current template file, shows current template text The imposition layout of part.
Step 304 receives the data for waiting for typesetting that the user sends, and waits for that the data of typesetting are loaded into the row by described The corresponding position of version layout, to form the digital publication.
In the present embodiment, specifically, imposition layout of the user according to the current template file shown in step 303, In the corresponding position of imposition layout, addition suitably waits for the data of typesetting.For example, if some column in imposition layout Picture is added in prompt, then picture is added in this column by user.The number for waiting for typesetting for sending user to type-setting document According to the corresponding position for being loaded into imposition layout, meanwhile, wait for that the data of typesetting are saved in corresponding document by what user sent.Through It crosses after the data that addition waits for typesetting, is added to the digital publishing for waiting for that the template file of the data of typesetting becomes for publication Object.
In the present embodiment, there is template file corresponding with class indication by determining, according to the pre- of template file It lookes at information, shows the preview thumbnail of template file, to which template file is showed user in a manner of visual, be convenient for Preview thumbnail of the user according to current template file goes to determine whether current template file is oneself required template text Part, to which user is provided convenience using template file.
Fig. 4 is a kind of flow chart of the composition method for digital publication that the embodiment of the present invention four provides, as shown in figure 4, The method of the present embodiment includes:
Step 401 receives the new files instruction that user sends, and opens new files.
In the present embodiment, it specifically, user is after opening software for composing, selects to create a file, then typesetting is soft Part receives the new files instruction of user's transmission, and software for composing creates a file, and the new files are for carrying out template text The making of part.
Step 402 receives imposition layout's setting that user carries out in new files.
In the present embodiment, specifically, user by each space of a whole page column layout, each column prompt message and The information such as audio, video and picture needed on the space of a whole page are discharged into new files.To column layout, each version in each space of a whole page The prompt message of block and audio, video and picture on the space of a whole page etc. constitute imposition layout's information of template file;Audio, The position relationship on the space of a whole page such as video and picture also inputs imposition layout's information;The classification of the new files of imposition layout's information Mark, size, date created, and the attribute of software for composing used by the new files is created, all become template file Attribute information.Imposition layout's information of template file and the attribute information of template file are arranged as imposition layout, and typesetting is soft Imposition layout's setting is loaded into new files by part.
Each key message in step 403, the setting of extraction imposition layout, each key message extracted is preserved to each text In part catalogue.
In the present embodiment, specifically, the template file attribute information in the setting of extraction imposition layout and imposition layout's letter Breath is used as key message.Need the attribute information of the template file in the setting of extraction imposition layout, the attribute information of template file Include the class indication of template file, the size of template file, the space of a whole page size of the space of a whole page, the mark of used software for composing Etc. information;Wherein, the class indication of template file includes the classification of template file and the label of template file, template file Classification show that the publication classification belonging to current template file, the label of template file show the typesetting style of template file; The attribute information of template file is stored into meta data file catalogue.Imposition layout's information includes the column cloth of each space of a whole page The position letter of office, the prompt message of each column, audio, video and picture on the space of a whole page etc. and audio, video and picture etc. Breath.The column of each space of a whole page of extraction is laid out, the prompt message of each column, the position letter of the audio, video and picture on the space of a whole page In the layout datas information storages to layout data file directory such as breath.By the plug-in resource letter such as the audio of extraction, video and picture Breath is stored into plug-in resource file catalogue.Each space of a whole page is zoomed in and out according to preset ratio, by the layout information after scaling It is stored as pre-review information, pre-review information is stored into preview file catalogue.
Step 404 judges whether to receive the change template file instruction of user's transmission, if so, thening follow the steps 402; Otherwise, 405 are thened follow the steps.
In the present embodiment, if specifically, user selects change template file, software for composing to receive change template text Part instructs, correspondingly, go to execute step 402,;If template file is not changed in user's selection, software for composing will not receive more Change template file instruction, correspondingly, going to execute step 405.
Step 405 preserves each file directory by compressing file mode, to form template file.
In the present embodiment, if specifically, in step 404, software for composing is not received by the change mould of user's transmission The instruction of plate file, then by the meta data file catalogue formed in step 403, layout data file directory, plug-in resource file Catalogue and preview file catalogue are preserved with ZIP file compress mode as a whole, form a customized data The template file of format.
Step 406, receive user transmission newly-built digital publication file instruction after, open template file;Or Person opens template file after receiving the opening template file instruction of user's transmission.
In the present embodiment, if specifically, newly-built one digital publishing files of user's selection, software for composing receive Then the newly-built digital publication file instruction that user sends receives the class indication for the template file that user sends, foundation point Class mark opens template file corresponding with class indication;Alternatively, if user selects to open specified template file, typesetting is soft Part receives the class indication for the specified template file that user sends, and is opened according to the class indication corresponding with the class indication Template file.
Step 407 decompresses each file directory in template file.
In the present embodiment, it specifically, each file directory due to template file is preserved in a manner of compressing file, needs Each file directory to be decompressed after template file is opened in selection.
Step 408 parses each key message in each file directory after decompression.
The imposition layout of step 409, indicating template file.
In the present embodiment, specifically, since step 408 is to the template file attribute information in template file catalogue, version Face data information, plug-in resource information and pre-review information are parsed, it is possible to by each space of a whole page in layout data information Column layout, the prompt message of each column is shown on each space of a whole page of template file, while by the sound in plug-in resource information Frequently, video and picture etc. are shown on the corresponding position of each space of a whole page, to show the imposition layout of template file.
If step 410, execute be in step 406 receive user transmission newly-built digital publication file instruction Open template file later, then by the corresponding position input by user waited for typesetting data and be loaded into the imposition layout of template file, To form digital publication;If execute be in step 406 receive user transmission opening template file instruction after, Template file is opened, then imposition layout's setting of change template file is set according to imposition layout input by user, to be formed more Template file after changing.
In the present embodiment, if specifically, what is carried out in a step 406 is gone out in the newly-built number for receiving user's transmission Template file is opened after version object file instruction, then after showing the imposition layout of template file, user is according to each column Prompt message input wait for typesetting data accordingly, so that software for composing will respectively wait for that typesetting data is loaded into the typesetting of template file The corresponding position of layout terminates input and waits for typesetting data, then forms the digital publication for publication.If in a step 406 What is carried out is to open template file after receiving the opening template file instruction of user's transmission, then is showing template text After the imposition layout of part, user can be modified the imposition layout of template file as desired, and software for composing is by typesetting After each file directory that layout setting is formed is preserved again, the template file after change is formed.
In the present embodiment, it is arranged by receiving the imposition layout that user carries out in new files, in extraction typesetting cloth Each key message in office's setting, each key message extracted is preserved to each file directory, by compressing file side Formula preserves each file directory, so as to provide the template file of different imposition layout's styles to the user.And by opening Template file after the imposition layout of indicating template file, can wait for that typesetting data is loaded into template file by input by user Imposition layout corresponding position, to form digital publication, can also according to imposition layout input by user be arranged change mould The imposition layout of plate file is arranged;So that when carrying out the typesetting of digital publication, it is only necessary to opening and contingency table Know corresponding template file, will wait for that the data of typesetting are loaded into the imposition layout of template file, so that it may to be published to be formed Digital publication waits for the data of typesetting without being added again after the imposition layout for editing digital publication, just can be with As digital publication to be published, to improve the typesetting efficiency of digital publication.
Fig. 5 is a kind of structural schematic diagram of the composing device for digital publication that the embodiment of the present invention five provides, such as Fig. 5 institutes Show, the device of the present embodiment includes:
Receiving module 51, the typesetting instruction for receiving user's transmission, wherein the typesetting instruction includes contingency table Know;
Judgment module 52 is used to determine whether there is template file corresponding with the class indication, wherein the template File is used to describe the imposition layout of the digital publication;
It shows imposition layout's module 53, there is template corresponding with class indication text if being determined for judge templet Part shows corresponding imposition layout then according to the template file;
Type-setting module 54, the data for waiting for typesetting sent for receiving the user load the data for waiting for typesetting To the corresponding position of the imposition layout, to form the digital publication.
Based on the above technical solution, further, display imposition layout module 53, is additionally operable at described According to the template file, before showing corresponding imposition layout, according to the pre-review information, the preview of the template file is shown Thumbnail, so that the user determines whether to use the template file.
A kind of composition method for digital publication that the specific implementation of the present embodiment is provided with reference to the embodiment of the present invention one, with And a kind of composition method of digital publication of the offer of the embodiment of the present invention three.In the present embodiment, it is sent by receiving user The typesetting instruction with class indication show depanning after determining and being present in the corresponding template file of the class indication Imposition layout in plate file, the data for waiting for typesetting then sent according to user will wait for that the data of typesetting are loaded in typesetting cloth The corresponding position of office, to form digital publication to be published.So that when carrying out the typesetting of digital publication, It only needs to open template file corresponding with class indication, the data of typesetting is waited for according to imposition layout's addition of template file, just Digital publication to be published can be formed, without adding the row of waiting for again after the imposition layout for editing digital publication The data of version can just become digital publication to be published, to improve the typesetting efficiency of digital publication.
Fig. 6 is a kind of structural schematic diagram of the composing device for digital publication that the embodiment of the present invention six provides, such as Fig. 6 institutes Show, the device of the present embodiment includes:
Receiving module 61, the typesetting instruction for receiving user's transmission, wherein the typesetting instruction includes contingency table Know;
Judgment module 62 is used to determine whether there is template file corresponding with the class indication, wherein the template File is used to describe the imposition layout of the digital publication;
Blank potential module 63 is shown, if determining that there is no template corresponding with class indication texts for judge templet Part then receives the template file that the user sends and makes instruction, and shows the blank template space of a whole page;
It is laid out setup module 64, the typesetting for receiving each space of a whole page that the user carries out on the blank template space of a whole page Layout setting;
Extraction module 65, for extraction template file key message to be arranged according to the imposition layout, and respectively will extraction To each key message be written in corresponding each file directory, to complete the making of the template file, wherein the template text Part includes each file directory, and the template file key message includes imposition layout's information of each space of a whole page and described The attribute information of template file, the attribute information include the class indication.
Based on the above technical solution, further, further include pre-review information in the template file key message, The scaling preview that preset ratio is carried out to imposition layout described in imposition layout's information is described in the pre-review information Required information.
Based on the above technical solution, further, the extraction module 65 is additionally operable to extract respectively described To each key message be written in corresponding each file directory after, each file directory is stored by compressing file mode.
The specific implementation of the present embodiment is with reference to a kind of composition method of digital publication provided by Embodiment 2 of the present invention. In the present embodiment, by determining there is no having needed for user, template text corresponding with the item name of template file, label Part;Then it receives the template file that user sends and makes instruction, and show the blank template space of a whole page, providing one to the user can be certainly The blank template file of row setting;Receive the imposition layout's setting for each space of a whole page that user carries out on the blank template space of a whole page;It is carrying Imposition layout's information of each space of a whole page in the setting of Qu Liao imposition layouts and the attribute information of the template file are as template file After key message, different key messages is written in corresponding file directory, so as to complete the making of template file. The template file of different imposition layout's styles is provided for different digital publications so that the mould of same imposition layout's setting Plate file is adapted to the digital publication of same type;And different key messages is written to corresponding file directory In, there is the template file of clear institutional framework to provide one, and be conducive to accelerate the picking rate of key message.Together When provide pre-review information so that user carry out digital publication typesetting when, check current imposition layout's form Whether template file is required template file;Also, template file is presented to the user in compressed fashion, so that with Family check and open the suffix name with template file file it is seen that template file imposition layout's situation, convenient for use Family is operated.
Fig. 7 is a kind of structural schematic diagram of the composing device for digital publication that the embodiment of the present invention seven provides, such as Fig. 7 institutes Show, the device of the present embodiment includes:
Document module 71, the new files instruction for receiving user's transmission, opens new files.
Template Information module 72, the imposition layout's setting carried out in new files for receiving user;Extract typesetting cloth Each key message in office's setting passes through compressing file after preserving each key message extracted into each file directory Mode preserves each file directory, to form template file.
Resource management module 73, for after opening template file, each file directory in template file to be solved Pressure, and after being parsed to each key message in each file directory after decompression, the imposition layout of indicating template file.
Layout data editor module 74, if for after the newly-built digital publication file instruction for receiving user's transmission Template file is opened, then by the corresponding position input by user waited for typesetting data and be loaded into the imposition layout of template file, with shape At digital publication;If after receiving the opening template file instruction of user's transmission, template file is opened, then according to user Imposition layout's setting of imposition layout's setting change template file of input, to form the template file after changing.
Based on the above technical solution, further, document module 71 are additionally operable to receiving the new of user's transmission It builds after digital publication file instruction, opens template file;Or in the opening template file instruction for receiving user's transmission Later, template file is opened.
A kind of composition method for digital publication that the specific implementation of the present embodiment is provided with reference to the embodiment of the present invention four, In the present embodiment, it is arranged by receiving the imposition layout that user carries out in new files, in the setting of extraction imposition layout Each key message, each key message extracted is preserved to each file directory, and each text is preserved by compressing file mode Part catalogue, so as to provide the template file of different imposition layout's styles to the user.And it by opening template file, shows It, can be by the imposition layout input by user for waiting for typesetting data and being loaded into template file after showing the imposition layout of template file The typesetting of change template file can also be arranged to form digital publication in corresponding position according to imposition layout input by user Layout setting;So that when carrying out the typesetting of digital publication, it is only necessary to open template corresponding with class indication File will wait for that the data of typesetting are loaded into the imposition layout of template file, so that it may to form digital publication to be published, and The data for waiting for typesetting need not be added again after the imposition layout for editing digital publication, can just become number to be published Word publication, to improve the typesetting efficiency of digital publication.
One of ordinary skill in the art will appreciate that:Realize that all or part of step of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer read/write memory medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned includes:ROM, RAM, magnetic disc or The various media that can store program code such as person's CD.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although Present invention has been described in detail with reference to the aforementioned embodiments, it will be understood by those of ordinary skill in the art that:It still may be used With technical scheme described in the above embodiments is modified or equivalent replacement of some of the technical features; And these modifications or replacements, various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution spirit and Range.

Claims (8)

1. a kind of composition method of digital publication, which is characterized in that including:
Receive the typesetting instruction that user sends, wherein the typesetting instruction includes class indication;
Determine whether there is template file corresponding with the class indication, wherein the template file is for describing the number The imposition layout of word publication;
If in the presence of according to the template file, corresponding imposition layout is shown;
The data for waiting for typesetting that the user sends are received, wait for that the data of typesetting are loaded into the corresponding of the imposition layout by described At position, to form the digital publication;
If being not present, receives the template file that the user sends and make instruction, and show the blank template space of a whole page;
Receive the imposition layout's setting for each space of a whole page that the user carries out on the blank template space of a whole page;
Extraction template file key message is set according to the imposition layout, and respectively by each key message extracted write-in pair In each file directory answered, to complete the making of the template file, wherein the template file includes each file mesh Record, the template file key message includes the attribute information of the imposition layout's information and the template file of each space of a whole page, The attribute information includes the class indication.
2. according to the method described in claim 1, it is characterized in that, further including preview letter in the template file key message It ceases, is described in the pre-review information pre- to the scaling of imposition layout's progress preset ratio described in imposition layout's information Look at required information.
3. according to the method described in claim 2, it is characterized in that, showing corresponding row according to the template file described Before version layout, further include:
According to the pre-review information, the preview thumbnail of the template file is shown, so that the user determines whether to use institute State template file.
4. according to the method in any one of claims 1 to 3, which is characterized in that in each pass that will be extracted respectively After key information is written in corresponding each file directory, further include:
Each file directory is stored by compressing file mode.
5. a kind of composing device of digital publication, which is characterized in that including:
Receiving module, the typesetting instruction for receiving user's transmission, wherein the typesetting instruction includes class indication;
Judgment module is used to determine whether there is template file corresponding with the class indication, wherein the template file is used In the imposition layout for describing the digital publication;
Imposition layout's module is shown, if determining there is template file corresponding with the class indication, root for judge templet According to the template file, corresponding imposition layout is shown;
Type-setting module, the data for waiting for typesetting sent for receiving the user, to wait for that the data of typesetting are loaded into described by described The corresponding position of imposition layout, to form the digital publication;
It shows blank potential module, template file corresponding with the class indication is not present if being determined for judge templet, It receives the template file that the user sends and makes instruction, and show the blank template space of a whole page;
It is laid out setup module, the imposition layout for receiving each space of a whole page that the user carries out on the blank template space of a whole page sets It sets;
Extraction module, for extraction template file key message to be arranged according to the imposition layout, and it is each by what is extracted respectively Key message is written in corresponding each file directory, to complete the making of the template file, wherein wrapped in the template file Each file directory is included, the template file key message includes the imposition layout's information and template text of each space of a whole page The attribute information of part, the attribute information include the class indication.
6. device according to claim 5, which is characterized in that further include preview letter in the template file key message It ceases, is described in the pre-review information pre- to the scaling of imposition layout's progress preset ratio described in imposition layout's information Look at required information.
7. device according to claim 6, which is characterized in that display imposition layout module is additionally operable at described According to the template file, before showing corresponding imposition layout, according to the pre-review information, the preview of the template file is shown Thumbnail, so that the user determines whether to use the template file.
8. device according to any one of claims 5 to 7, which is characterized in that the extraction module is additionally operable to described After each key message extracted is written in corresponding each file directory respectively, stored by compressing file mode described each File directory.
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 CN105589842A (en) 2016-05-18
CN105589842B true 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)

Families Citing this family (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
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
CN111382552B (en) * 2020-03-11 2022-05-10 北大方正集团有限公司 Typesetting processing method, device, equipment and storage medium
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
CN115983199B (en) * 2023-03-16 2023-05-30 山东天成书业有限公司 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

Also Published As

Publication number Publication date
CN105589842A (en) 2016-05-18

Similar Documents

Publication Publication Date Title
CN105589842B (en) The composition method and device of digital publication
US9880709B2 (en) System and method for creating and displaying previews of content items for electronic works
GB2384878A (en) Authoring media content for dissemination over a network accessible by a variety of device types
CN101609707B (en) Information processing apparatus and information processing method
CN104516861B (en) Multimedia interactive document processing method
US11237848B2 (en) View playback to enhance collaboration and comments
CN102622332A (en) E-book realizing method and making system
CN108595705A (en) Micro- class production method, system, device and the learning platform of multi-format document encapsulation
CN105095285B (en) Digital publication guide to visitors catalogue treating method and apparatus
CN117235019B (en) Method for generating new readable file by multi-file extraction combination
US10366149B2 (en) Multimedia presentation authoring tools
JP2006350477A (en) File management device, its control method, computer program, and computer readable storage medium
CN104850580B (en) A kind of method of mark and retrieval teaching resource on the internet
JPWO2015162737A1 (en) Transliteration work support device, transliteration work support method, and program
JP5944975B2 (en) Story display program and story display system
JP2009134378A (en) Document group presentation device and document group presentation program
CN103309610B (en) Chinese display and Chinese character display method
JP2005326811A (en) Voice synthesizer and voice synthesis method
WO2021106051A1 (en) Server and data allocating method
JP2007083663A (en) Image forming device and method of outputting animation data carrying image forming medium
JP6979738B1 (en) Servers and animation recommendation systems, animation recommendation methods, programs
JP2015203933A (en) content extraction device and content extraction method
JPH08153104A (en) Hypermedia system and hypermedia document preparing and editing method
WO2022003798A1 (en) Server, composite content data creation system, composite content data creation method, and program
JP4713264B2 (en) Document management system, program, document management method, and recording medium

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
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.

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

Granted publication date: 20180914