CN1908931A - Literal data variable typesetting method - Google Patents
Literal data variable typesetting method Download PDFInfo
- Publication number
- CN1908931A CN1908931A CNA2006101124986A CN200610112498A CN1908931A CN 1908931 A CN1908931 A CN 1908931A CN A2006101124986 A CNA2006101124986 A CN A2006101124986A CN 200610112498 A CN200610112498 A CN 200610112498A CN 1908931 A CN1908931 A CN 1908931A
- Authority
- CN
- China
- Prior art keywords
- node
- content
- word flow
- section
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Document Processing Apparatus (AREA)
Abstract
The related variable data layout method comprises: unlike to prior art, resolving designed script flow template, constructing node tree on three levels of paragraph, line and variable content; correlating the note tree and layout data, gradual outspreading the content according to layout content for final layout. This invention has more rich ways to layout, and supports cross-page operation.
Description
Technical field
The invention belongs to the front computer composition technical field of seal, be specifically related to a kind of method of variable data composing of literal.
Background technology
At present, in the composing work before various publication printings, often can run into to the word content of big data quantity set type regularly and word content between the situation that is mutually related again, the pattern that the regularity of this composing is embodied in text composition is identical, only is that the content of literal is different; Interrelated then being embodied in for the literal after setting type, if need again the literal of editor or additions and deletions front, the variation that need to link of the layout position of its back literal, the for example composing of dictionary, if a word and all notes thereof of deletion front, then filler need to be caught up with accordingly in the word of its back, and when perhaps inserting a new word and relevant information thereof, the word of its back need to correspondingly automatically move back. In the composing work before the publication seal, the additions and deletions of typesetting data and modification are often to occur, so after the text composition of big data quantity, support that in the process that it is edited again the interlock of typesetting data is necessary.
At present, in the existing variable data typesetting technique, the implementation method that the variable data of literal is set type is: the character block that creates given pattern according to the data content of setting type, then directly the variable content item of appointment in the character block is replaced according to typesetting data, the effect of setting type is simple, and the space of a whole page after the composing is relatively fixing, and the composing result is a plurality of independently character blocks, the again linkage in the editing process of result that can't keep setting type causes composing result's again editor's difficulty; Simultaneously also be difficult to support page of big data quantity literal not arranged, need the requirement on continuous a plurality of pages of setting type. These have all limited the application scenarios that variable data is set type.
Summary of the invention
For the defective that exists in the prior art, the method that the purpose of this invention is to provide a kind of variable data composing of literal, the method the word content of big data quantity is set type regularly and word content between when interrelated again, can make the effect of text composition more flexibly abundant, the linkage that the result that can support simultaneously to set type edits again, support is striden page or leaf and is set type, and can further expand the range of application that variable data is set type.
For reaching above purpose, the technical solution used in the present invention is: the method that a kind of variable data of literal is set type may further comprise the steps:
The content of (1) needs being set type is the data that lteral data is converted to the XML form, obtains simultaneously the data structure of the typesetting content of XML-based, if the lteral data that needs to set type has been the data of XML form, then directly enters step (2);
The lteral data content of (2) setting type as required, design word flow template in composing system, then resolve the word flow masterplate, make up and initialize the node tree of word flow masterplate according to section, row, three levels of variable content item, be section, row, the section node of variable content item corresponding node tree, row node, the variable content item node of word flow template, its stage casing node, row node are the limb node, and variable content item node is leaf node;
(3) according to section, row, variable content item order from top to bottom, related between the typesetting content data structure of XML-based in each node of word flow masterplate node tree and the step (1) is set step by step;
(4) according to the association of setting up in the step (3), the data content of setting type is launched step by step, recurrence obtains the corresponding typesetting content of each node step by step, according to the one-to-many principle, in word flow every template node tree, make up corresponding node object, typesetting content is recorded in the corresponding node object successively the word flow masterplate node tree after obtaining launching;
(5) according to the word flow masterplate node tree that launches in the step (4), section, the row of word flow masterplate content carried out the establishment that copies of one-one relationship, realize the expansion to word flow masterplate content;
(6) obtain successively each leaf node of word flow masterplate node tree, with corresponding variable content item in the typesetting data content displacement word flow masterplate content of leaf node record;
(7) according to the one layout region scope of appointment, create successively continuous row's character block, in character block, add the content of word flow masterplate, until all setting type, the content of word flow masterplate finishes, then processing finishes.
Further, for making the present invention have better invention effect, distinguish two different sections in the step (2) take the section separator as boundary, described section separator is the separator of separating a plurality of different section in one piece of article, for each section, the section of having attributes all, the first indentation of the section of comprising (the i.e. position of the several words of the section start of the first row of section elder generation's indentation, and then row's word content, remaining is capable does not carry out just direct composing literal of indentation), intersegmental distance (determine between two sections between the upper and lower every parameter) etc.; Distinguish different row take the new line symbol as boundary.
Further, have better invention effect for making the present invention, the section node described in the step (2), row node, variable content item node all are based on the XML structure and are described.
Further, have better invention effect for making the present invention, section node, the row node stated in the step (2) all are numbered, and the numbering of section increases progressively by natural number successively since 0; Line number increases progressively by natural number since 0, whenever restarts one section, and line number is all again since 0 counting.
Further, for making the present invention have better invention effect, during related between each node that word flow masterplate node tree is set in the step (3) and the typesetting content data structure, section node, row node, variable content item node three category nodes all by XML nodal community databinding record with the typesetting data content between related.
Further, for making the present invention have better invention effect, in the step (4) data content of setting type is launched step by step, during word flow masterplate node tree after obtaining launching, the method that adopts is: word flow masterplate node tree is based on XML and makes up, each node of node tree has recorded XML nodal community databinding, according to databinding, the XML node of the corresponding typesetting content of each node that obtains node tree of recurrence step by step, employing XPath technology can realize the access to the XML node of typesetting content, and construct the node object of corresponding word flow masterplate node tree, simultaneously with the data content assignment of the XML nodes records of typesetting content among the node object that creates, thereby realize the expansion of word flow masterplate node tree.
Further, have better invention effect for making the present invention, when in the step (5) content of word flow masterplate being launched, the method for employing is as follows:
1) obtains first section node of the word flow masterplate node tree after the expansion, it is labeled as Para_Node, as the present segment node;
2) segment number that records according to present segment node Para_Node copies and inserts corresponding section content in the section corresponding position of word flow masterplate content;
3) obtain first row node under the section node Para_Node of current operation, it is labeled as Line_Node, as present node;
4) line number that records according to current line node Line_Node copies and inserts corresponding capable content in section corresponding to word flow masterplate content, obtain next row node as the current generation, repeated execution of steps 4), to the last a capable node processing is finished, and then execution in step 5);
5) obtain next section node, repeated execution of steps 2), to the last a section node processing is finished, and then processing finishes;
Further, for making the present invention have better invention effect, behind the complete new character block that creates of every composing, obtain not drained word flow masterplate content newly creates character block as the next one input content in the step (7), until do not remain, processing finishes.
Effect of the present invention is: adopt method of the present invention, the word content of big data quantity is set type regularly and word content between when interrelated again, can make the effect of composing more flexibly abundant, same leaf, the linkage that the result that can guarantee to set type edits again, support to stride page or leaf and set type, thereby expanded the range of application that variable data is set type.
Description of drawings
Fig. 1 is the flow chart of the method for the invention;
Fig. 2 is the flow chart that word flow masterplate node tree is launched according to typesetting content;
Fig. 3 is the word flow masterplate schematic diagram that designs in composing system;
Fig. 4 is the node tree schematic diagram that makes up according to the word flow masterplate;
Fig. 5 is based on the data structure schematic diagram of the typesetting content of XML description;
Fig. 6 is each node of word flow masterplate node tree and the related schematic diagram of typesetting content data structure;
Fig. 7 is the expansion result schematic diagram of word flow masterplate content;
Fig. 8 is the design sketch that word flow masterplate content typesetting enters a character block;
Fig. 9 is the design sketch that word flow masterplate content typesetting enters a plurality of character blocks;
Figure 10 is the design sketch that adopts typesetting content shown in the existing techniques in realizing table 1;
Figure 11 adopts the design sketch of prior art behind Bibliographic Records of the basis of Figure 10 deletion;
Figure 12 is composing design sketch behind Bibliographic Records of deletion in composing result shown in Figure 8.
The specific embodiment
Below in conjunction with embodiment and accompanying drawing, the invention will be further elaborated:
As shown in Figure 1, the method that a kind of variable data of literal is set type may further comprise the steps:
The content of (1) needs being set type is the data that lteral data is converted to the XML form, obtains simultaneously the data structure of the typesetting content of XML-based, if the lteral data that needs to set type has been the data of XML form, then directly enters step (2);
The data that need in this example to set type are Bibliographical Information, and the unprocessed form of data file is as shown in table 1:
Table 1 needs the Bibliographical Information of composing
Publishing house | Title | The author | Publication date | Number of the edition | Brief introduction |
Publishing house of Shanghai Communications University | The marketing engineering | Wang Fanghua, Li Naihe | In January, 2006 | ISBN7-313 -04224-8 | This book content contains 26 Marketing Models, relates generally to Market reaction function, market segments model, and market orientation model, ad content design a model etc. He can help MBA and on-the-job marketing manager's systematic learning marketing engineering software that support on the principle is provided. |
The surging automobile brand revelation of Japan | Xue can | In May, 2005 | ISBN7-313 -04180-2 | The jpresent writer parent goes to Japan to carry out the case study of automobile brand, system research Historical Development, brand image location, quality guarantee, advertizing and the public relations performance of Japanese Toyota, Honda, daily output three large surging automobile brands, and three famous brands have been carried out omnibearing comparison. |
English Major level Four bilingual dictionary | Wu Yundi | In February, 2006 | ISBN7-313 -04211-6 | This book is write according to " College English specialty Band Four Test outline ", and include institution of higher education's English majors and should grasp 5500~6000 of cognitive vocabulary at foundation phase, and the most basic collocation. Pandect has been write the difference of synonym or near synonym note and usage, and with example sentence, makes the reader very clear. | |
The Yellow River water conservancy publishing house | Do not allow and make great efforts to become trap | The Marvin's great waves | In January, 2006 | ISBN7-80 734-032-0 | This book is by telling about more than 30 philosophic theory story, describe in detail all obstacles that lead to successfully on the road and the method for processing these obstacles. This book is told us such reason: the award of life is in the starting point of making great efforts, and far away from the terminal point of success; Changing needs experience painful, but changes uncomfortable painful starting point, but terminal point. |
China Standard Press | The standardization Q ﹠ A: The Elementary Knowledge | Bai Dianyi | In March, 2006 | ISBN7-506 6-4008-2 | This book has carried out the explanation explained the profound in simple terms from the aspects such as formulation, standard and life of the content of standard and standardization, standard, standard to standard, content relate to standard code implication, what is international standard, what is national standard, what is safety standard, what is that sanitary standard, standard and our life have what relation, toy to use should to comprise which content, food labelling should comprise what content etc. |
Logotype in the life | Bai Dianyi | In March, 2006 | ISBN7-506 6-4011-2 | This book has been selected from national and foreign standards and the closely-related common information pattern symbol of people's daily life, equipment graphical symbol; relate to the fields such as public information, railway transport of passengers, urban transportation, packing, environmental protection and safety; and included common domestic and international authentication marks, relate to the fields such as household electrical appliance, food security, electronic product. |
Typesetting content shown in the table 1 is converted to the data of XML form, obtain XML-based typesetting content data structure as shown in Figure 5, be embodied in following form:
<Bibliographical Information collection 〉
<publishing house bibliography 〉
<the Ming Cheng ﹠gt of publishing house; Publishing house of Shanghai Communications University <the Ming Cheng ﹠gt of/publishing house;
<Bibliographic Records 〉
<shu Ming>The marketing engineering</Shu Ming>
<zuo Zhe>Wang Fanghua, Li Naihe</Zuo Zhe>
<chu Banriqi>In January, 2006</Chu Banriqi>
<kan Hao>ISBN7-313-04224-8</Kan Hao>
<nei Rongjianjie>This book content contains 26 Marketing Models, relates generally to Market reaction function, market segments model, and market orientation model, ad content design a model etc. He can help MBA and on-the-job marketing manager's systematic learning marketing engineering software that support on the principle is provided.</Nei Rongjianjie>
</Shu Mujilu>
<Bibliographic Records 〉
<shu Ming>The surging automobile brand revelation of Japan</Shu Ming>
<zuo Zhe>Xue can</Zuo Zhe>
<chu Banriqi>In May, 2005</Chu Banriqi>
<kan Hao>ISBN7-313-04180-2</Kan Hao>
<nei Rongjianjie>The jpresent writer parent goes to Japan to carry out the case study of automobile brand, system research Historical Development, brand image location, quality guarantee, advertizing and the public relations performance of Japanese Toyota, Honda, daily output three large surging automobile brands, and three famous brands have been carried out omnibearing comparison.</Nei Rongjianjie>
</Shu Mujilu>
<Bibliographic Records 〉
<shu Ming>English Major level Four bilingual dictionary</Shu Ming>
<zuo Zhe>Wu Yundi</Zuo Zhe>
<chu Banriqi>In February, 2006</Chu Banriqi>
<kan Hao>ISBN7-313-04211-6</Kan Hao>
<nei Rongjianjie>This book is write according to " College English specialty Band Four Test outline ", and include institution of higher education's English majors and should grasp 5500~6000 of cognitive vocabulary at foundation phase, and the most basic collocation. Pandect has been write the difference of synonym or near synonym note and usage, and with example sentence, makes the reader very clear.</Nei Rongjianjie>
</Shu Mujilu>
<the Shu Mu ﹠gt of/publishing house;
<publishing house bibliography 〉
<the Ming Cheng ﹠gt of publishing house; The Yellow River water conservancy publishing house <the Ming Cheng ﹠gt of/publishing house;
<Bibliographic Records 〉
<shu Ming>Do not allow and make great efforts to become trap</Shu Ming>
<zuo Zhe>The Marvin's great waves</Zuo Zhe>
<chu Banriqi>In January, 2006</Chu Banriqi>
<kan Hao>ISBN7-80734-032-0</Kan Hao>
<nei Rongjianjie>This book is by telling about more than 30 philosophic theory story, describe in detail all obstacles that lead to successfully on the road and the method for processing these obstacles. This book is told us such reason: the award of life is in the starting point of making great efforts, and far away from the terminal point of success; Changing needs experience painful, but changes uncomfortable painful starting point, but terminal point.</Nei Rongjianjie>
</Shu Mujilu>
<the Shu Mu ﹠gt of/publishing house;
<the Shu Mu ﹠gt of/publishing house;
<publishing house bibliography 〉
<the Ming Cheng ﹠gt of publishing house; China Standard Press <the Ming Cheng ﹠gt of/publishing house;
<Bibliographic Records 〉
<shu Ming>The standardization Q ﹠ A: The Elementary Knowledge</Shu Ming>
<zuo Zhe>Bai Dianyi</Zuo Zhe>
<chu Banriqi>In March, 2006</Chu Banriqi>
<kan Hao>ISBN7-5066-4008-2</Kan Hao>
<nei Rongjianjie>This book has carried out the explanation explained the profound in simple terms from the aspects such as formulation, standard and life of the content of standard and standardization, standard, standard to standard, content relate to standard code implication, what is international standard, what is national standard, what is safety standard, what is that sanitary standard, standard and our life have what relation, toy to use should to comprise which content, food labelling should comprise what content etc.</Nei Rongjianjie>
</Shu Mujilu>
<Bibliographic Records 〉
<shu Ming>Logotype in the life</Shu Ming>
<zuo Zhe>Bai Dianyi</Zuo Zhe>
<chu Banriqi>In March, 2006</Chu Banriqi>
<kan Hao>ISBN7-5066-4011-2</Kan Hao>
<nei Rongjianjie>This book has been selected from national and foreign standards and the closely-related common information pattern symbol of people's daily life, equipment graphical symbol; relate to the fields such as public information, railway transport of passengers, urban transportation, packing, environmental protection and safety; and included common domestic and international authentication marks, relate to the fields such as household electrical appliance, food security, electronic product.</Nei Rongjianjie>
</Shu Mujilu>
<the Shu Mu ﹠gt of/publishing house;
</Bibliographical Information Ji>
Can be with reference to XML Base W3C Recommendation 27 June 2001 about the XML language.
The lteral data content of (2) setting type as required, design word flow template in composing system, then resolve the word flow masterplate, distinguish two different sections take the section separator as boundary, distinguish different row take the new line symbol as boundary, make up and initialize the node tree of word flow masterplate according to section, row, three levels of variable content item, be section, row, the section node of variable content item corresponding node tree, row node, the variable content item node of word flow template, its stage casing node, row node are the limb node, and variable content item node is leaf node; In the present embodiment, section node, row node all are numbered, and the numbering of section increases progressively by natural number successively since 0; Line number increases progressively by natural number since 0, whenever restarts one section, and line number is all again since 0 counting; Duan Jiedian, row node, variable content item node all are based on the XML structure and are described.
In the present embodiment, according to the typesetting data characteristics shown in the table 1, design word flow masterplate as shown in Figure 3 in composing system, in word flow masterplate shown in Figure 3, comprise a section, 2 row, wherein publishing house is delegation, and title, author, publication time, number of the edition and brief introduction are another row. Take section transformation character as a section separator, take the new line symbol as line Separator, according to section, row, three levels of variable content item word flow masterplate content is split, the result that word flow masterplate content in this example splits is for forming 1 section node (being labeled as P0), this section the inside comprises successively point (being labeled as respectively L0, L1) of 2 row, wherein L0 comprise a variable content item node (Publishing house), L1 comprises 5 variable content item nodes, is successively:Title、
The author、
Publication time、
Number of the edition and content Brief introduction。
The node tree of the word flow masterplate that is comprised of section node P0, row node L0, L1 and each variable content item node as shown in Figure 4.
(3) according to section, row, variable content item order from top to bottom, related between the typesetting content data structure of XML-based in each node of word flow masterplate node tree and the step (1) is set step by step; In the present embodiment, each node of word flow masterplate node tree i.e. section node, row node, variable content item node all is based on the XML structure and is described, each node has an XML nodal community databinding, utilize this nodal community databinding that related between the typesetting content data structure of word flow masterplate node tree and XML-based is set step by step, as shown in Figure 6;
(4) according to the association of setting up in the step (3), the data content of setting type is launched step by step, recurrence obtains the corresponding typesetting content of each node step by step, according to the one-to-many principle, in word flow every template node tree, make up corresponding node object, typesetting content is recorded in the corresponding node object successively the word flow masterplate node tree after obtaining launching;
In the present embodiment, word flow masterplate node tree is based on XML and makes up, each node of node tree has recorded XML nodal community databinding, according to databinding, the XML node of the corresponding typesetting content of each node that obtains node tree of recurrence (has converted typesetting content to the data of XML form in the step of the present invention (1) step by step, naturally just obtained the XML node of typesetting content), employing XPath technology can realize the access to the XML node of typesetting content, and construct the node object of corresponding word flow masterplate node tree, simultaneously with the data content assignment of the XML nodes records of typesetting content among the node object that creates, thereby realize the expansion of word flow masterplate node tree.
(5) according to the word flow masterplate node tree that launches in the step (4), section, the row of word flow masterplate content carried out the establishment that copies of one-one relationship, realize the expansion to word flow masterplate content, the process of expansion as shown in Figure 2, concrete grammar is as follows:
1) obtains first section node of the word flow masterplate node tree after the expansion, it is labeled as Para_Node, as the present segment node;
2) segment number that records according to present segment node Para_Node copies and inserts corresponding section content in the section corresponding position of word flow masterplate content;
3) obtain first row node under the section node Para_Node of current operation, it is labeled as Line_Node, as present node;
4) line number that records according to current line node Line_Node copies and inserts corresponding capable content in section corresponding to word flow masterplate content, obtain next row node as the current generation, repeated execution of steps 4), to the last a capable node processing is finished, and then execution in step 5);
5) obtain next section node, repeated execution of steps 2), to the last a section node processing is finished, and then processing finishes.
The expansion result of the word flow masterplate content in this example as shown in Figure 7, word flow masterplate typesetting content has formed three sections after launching according to node tree, wherein, first paragraph comprises 4 row, second segment comprises 2 row, the 3rd section comprises 3 row.
(6) obtain successively each leaf node of word flow masterplate node tree, with corresponding variable content item in the typesetting data content displacement word flow masterplate content of leaf node record;
(7) according to the one layout region scope of appointment, create successively continuous row's character block, the content that adds the word flow masterplate, until word flow masterplate content is all drained, final composing effect such as Fig. 8 and shown in Figure 9, composing effect shown in Figure 8 is that all typesetting contents are entered in the character block, certainly, the user also can according to demand, enter typesetting content in the different character blocks, as shown in Figure 9.
Realize the composing effect of the described typesetting content of table 1 in this example if utilize existing literal variable data typesetting technique, so, publishing house's title, Bibliographic Records all need to generate independently character block, and then the character block that generates is carried out streaming set type, the result as shown in figure 10, if need the deletion content this moment, as delete title and be the Bibliographic Records content of " Japanese surging automobile brand revelation ", so, the effect of the space of a whole page as shown in figure 11, need the composing result who continues the back to adjust, could be to " Japanese surging automobile brand revelation " shared layout position filler; And adopt method of the present invention, and the Bibliographic Records content of directly deleting " Japanese surging automobile brand revelation " on the basis of Fig. 8, the word content of back can flow forward automatically carry out filler, and the result is as shown in figure 12.
Method of the present invention is not limited to the embodiment described in the specific embodiment, and those skilled in the art's technical scheme according to the present invention draws other embodiment, belongs to equally technological innovation scope of the present invention.
Claims (7)
1. the variable data of the literal method of setting type may further comprise the steps:
The content of (1) needs being set type is the data that lteral data is converted to the XML form, obtains simultaneously the data structure of the typesetting content of XML-based, if the lteral data that needs to set type has been the data of XML form, then directly enters step (2);
The lteral data content of (2) setting type as required, design word flow template in composing system, then resolve the word flow masterplate, make up and initialize the node tree of word flow masterplate according to section, row, three levels of variable content item, be section, row, the section node of variable content item corresponding node tree, row node, the variable content item node of word flow template, its stage casing node, row node are the limb node, and variable content item node is leaf node;
(3) according to section, row, variable content item order from top to bottom, related between the typesetting content data structure of XML-based in each node of word flow masterplate node tree and the step (1) is set step by step;
(4) according to the association of setting up in the step (3), the data content of setting type is launched step by step, recurrence obtains the corresponding typesetting content of each node step by step, according to the one-to-many principle, in word flow every template node tree, make up corresponding node object, typesetting content is recorded in the corresponding node object successively the word flow masterplate node tree after obtaining launching;
(5) according to the word flow masterplate node tree that launches in the step (4), section, the row of word flow masterplate content carried out the establishment that copies of one-one relationship, realize the expansion to word flow masterplate content;
(6) obtain successively each leaf node of word flow masterplate node tree, with corresponding variable content item in the typesetting data content displacement word flow masterplate content of leaf node record;
(7) according to the one layout region scope of appointment, create successively continuous row's character block, in character block, add the content of word flow masterplate, until all setting type, the content of word flow masterplate finishes, then processing finishes.
The method that the variable data of 2 a kind of literal as claimed in claim 1 is set type is characterized in that:
Distinguish two different sections take the section separator as boundary in the step (2), described section separator is the separator of separating a plurality of different section in one piece of article; Distinguish different row take the new line symbol as boundary;
Section node described in the step (2), row node, variable content item node all are based on the XML structure and are described;
Section node, the row node stated in the step (2) all are numbered, and the numbering of section increases progressively by natural number successively since 0; Line number increases progressively by natural number since 0, whenever restarts one section, and line number is all again since 0 counting.
3. the variable data of a kind of literal as claimed in claim 1 or 2 method of setting type, it is characterized in that: during related between each node that word flow masterplate node tree is set in the step (3) and the typesetting data, section node, row node, variable content item node three category nodes all by XML nodal community databinding record with the typesetting data content between related.
4. the variable data of a kind of literal as claimed in claim 1 or 2 method of setting type, it is characterized in that: in the step (4) data content of setting type is launched step by step, during word flow masterplate node tree after obtaining launching, the method that adopts is: word flow masterplate node tree is based on XML and makes up, each node of node tree has recorded XML nodal community databinding, according to databinding, recurrence obtains the XML node of the corresponding typesetting content of each node of node tree step by step, employing XPath technology can realize the access to the XML node of typesetting content, and construct the node object of corresponding word flow masterplate node tree, simultaneously with the data content assignment of the XML nodes records of typesetting content among the node object that creates, thereby realize the expansion of word flow masterplate node tree.
5. the variable data of a kind of literal as claimed in claim 3 method of setting type, it is characterized in that: in the step (4) data content of setting type is launched step by step, during word flow masterplate node tree after obtaining launching, the method that adopts is: word flow masterplate node tree is based on XML and makes up, each node of node tree has recorded XML nodal community databinding, according to databinding, recurrence obtains the XML node of the corresponding typesetting content of each node of node tree step by step, employing XPath technology can realize the access to the XML node of typesetting content, and construct the node object of corresponding word flow masterplate node tree, simultaneously with the data content assignment of the XML nodes records of typesetting content among the node object that creates, thereby realize the expansion of word flow masterplate node tree.
6. the variable data of a kind of literal as claimed in claim 1 method of setting type is characterized in that: when in the step (5) content of word flow masterplate being launched, the method for employing is as follows:
1) obtains first section node of the word flow masterplate node tree after the expansion, it is labeled as Para_Node, as the present segment node;
2) segment number that records according to present segment node Para_Node copies and inserts corresponding section content in the section corresponding position of word flow masterplate content;
3) obtain first row node under the section node Para_Node of current operation, it is labeled as Line_Node, as present node;
4) line number that records according to current line node Line_Node copies and inserts corresponding capable content in section corresponding to word flow masterplate content, obtain next row node as the current line node, repeated execution of steps 4), to the last a capable node processing is finished, and then execution in step 5);
5) obtain next section node, repeated execution of steps 2), to the last a section node processing is finished, and then processing finishes.
7. the variable data of a kind of literal as claimed in claim 1 method of setting type, it is characterized in that: in the step (7) behind the complete new character block that creates of every composing, obtain not drained word flow masterplate content newly creates character block as the next one input content, until do not remain, processing finishes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006101124986A CN100418086C (en) | 2006-08-22 | 2006-08-22 | Literal data variable typesetting method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006101124986A CN100418086C (en) | 2006-08-22 | 2006-08-22 | Literal data variable typesetting method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1908931A true CN1908931A (en) | 2007-02-07 |
CN100418086C CN100418086C (en) | 2008-09-10 |
Family
ID=37700042
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2006101124986A Expired - Fee Related CN100418086C (en) | 2006-08-22 | 2006-08-22 | Literal data variable typesetting method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100418086C (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100517299C (en) * | 2007-12-29 | 2009-07-22 | 北京方正国际软件系统有限公司 | Typesetting method for implementing multiple alignment in word rows |
CN101286146B (en) * | 2007-04-12 | 2011-01-05 | 北京北大方正电子有限公司 | Typesetting method and system |
CN101149731B (en) * | 2007-11-12 | 2011-02-02 | 北大方正集团有限公司 | Variable data typesetting pre-flighting method and device |
CN101436307B (en) * | 2008-12-15 | 2012-03-28 | 北大方正集团有限公司 | Interactive typesetting method and system for formula |
CN102467496A (en) * | 2010-11-17 | 2012-05-23 | 北大方正集团有限公司 | Method and apparatus for converting streaming typeset content into block-type typeset document |
CN101876973B (en) * | 2009-04-30 | 2012-05-30 | 方正国际软件(北京)有限公司 | Layout equalization typesetting method |
CN102567303A (en) * | 2010-12-24 | 2012-07-11 | 北京大学 | Typesetting method and device for variable official document data |
CN102779118A (en) * | 2012-07-17 | 2012-11-14 | 周广超 | Paper typesetting method and system |
CN102841887A (en) * | 2011-06-21 | 2012-12-26 | 北大方正集团有限公司 | Method and device for typesetting variable data |
CN105718649A (en) * | 2016-01-20 | 2016-06-29 | 华中科技大学 | Construction method for paper book capable of hierarchically displaying knowledge network |
CN108052488A (en) * | 2017-12-06 | 2018-05-18 | 广东技术师范学院天河学院 | Paper automatic generation method based on template |
CN109670160A (en) * | 2017-10-13 | 2019-04-23 | 北大方正集团有限公司 | The typesetting processing method and device of file |
CN111444699A (en) * | 2018-12-27 | 2020-07-24 | 北大方正集团有限公司 | Directory updating method, system and computer readable storage medium |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6812941B1 (en) * | 1999-12-09 | 2004-11-02 | International Business Machines Corp. | User interface management through view depth |
US20020035559A1 (en) * | 2000-06-26 | 2002-03-21 | Crowe William L. | System and method for a decision engine and architecture for providing high-performance data querying operations |
CN1180377C (en) * | 2002-08-29 | 2004-12-15 | 北京北大方正技术研究院有限公司 | Text excavating method of semi-structural document set |
CN1553377A (en) * | 2003-05-26 | 2004-12-08 | 珠海金山软件股份有限公司 | System and method for scientific formula visual edit |
US7412649B2 (en) * | 2005-01-24 | 2008-08-12 | International Business Machines Corporation | Viewing and editing markup language files with complex semantics |
-
2006
- 2006-08-22 CN CNB2006101124986A patent/CN100418086C/en not_active Expired - Fee Related
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101286146B (en) * | 2007-04-12 | 2011-01-05 | 北京北大方正电子有限公司 | Typesetting method and system |
CN101149731B (en) * | 2007-11-12 | 2011-02-02 | 北大方正集团有限公司 | Variable data typesetting pre-flighting method and device |
CN100517299C (en) * | 2007-12-29 | 2009-07-22 | 北京方正国际软件系统有限公司 | Typesetting method for implementing multiple alignment in word rows |
CN101436307B (en) * | 2008-12-15 | 2012-03-28 | 北大方正集团有限公司 | Interactive typesetting method and system for formula |
CN101876973B (en) * | 2009-04-30 | 2012-05-30 | 方正国际软件(北京)有限公司 | Layout equalization typesetting method |
CN102467496A (en) * | 2010-11-17 | 2012-05-23 | 北大方正集团有限公司 | Method and apparatus for converting streaming typeset content into block-type typeset document |
CN102567303A (en) * | 2010-12-24 | 2012-07-11 | 北京大学 | Typesetting method and device for variable official document data |
CN102841887A (en) * | 2011-06-21 | 2012-12-26 | 北大方正集团有限公司 | Method and device for typesetting variable data |
CN102779118A (en) * | 2012-07-17 | 2012-11-14 | 周广超 | Paper typesetting method and system |
CN102779118B (en) * | 2012-07-17 | 2015-07-15 | 周广超 | Paper typesetting method and system |
CN105718649A (en) * | 2016-01-20 | 2016-06-29 | 华中科技大学 | Construction method for paper book capable of hierarchically displaying knowledge network |
CN109670160A (en) * | 2017-10-13 | 2019-04-23 | 北大方正集团有限公司 | The typesetting processing method and device of file |
CN108052488A (en) * | 2017-12-06 | 2018-05-18 | 广东技术师范学院天河学院 | Paper automatic generation method based on template |
CN111444699A (en) * | 2018-12-27 | 2020-07-24 | 北大方正集团有限公司 | Directory updating method, system and computer readable storage medium |
CN111444699B (en) * | 2018-12-27 | 2022-03-01 | 北大方正集团有限公司 | Directory updating method, system and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN100418086C (en) | 2008-09-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1908931A (en) | Literal data variable typesetting method | |
CN1912872A (en) | Method and system for abstracting new word | |
CN1102271C (en) | Electronic dictionary with function of processing customary wording | |
CN1190053C (en) | Off-line data configuration method for communication equipment | |
CN1261867C (en) | Method for implementing language resource localization of software | |
CN1687926A (en) | Method of PDF file information extraction system based on XML | |
CN1609835A (en) | Comment method, apparatus and system for electronic file | |
CN101079028A (en) | On-line translation model selection method of statistic machine translation | |
CN101046808A (en) | File process system and method | |
CN1653448A (en) | System and method for searching data sources | |
CN100337231C (en) | Structured document processor , method and programme | |
CN1808377A (en) | Application-generic sequence diagram generator driven by a non-proprietary language | |
CN101055588A (en) | Method for catching limit word information, optimizing output and input method system | |
CN1265307C (en) | Characteristic character string extracting and substituting method in language localization | |
CN101075320A (en) | System and method for issuing and inquiring information | |
CN1752934A (en) | Compiler, compilation method, and compilation program | |
CN101051270A (en) | Interface layout changing method and interface display controller | |
CN1889043A (en) | Method for using human natural language in computer programing | |
CN1410918A (en) | Searching engine based on information extraction technique | |
CN1858717A (en) | Data coding and decoding method and its coding and decoding device | |
CN1828608A (en) | Multiple file summarization method based on sentence relation graph | |
CN1523660A (en) | Bidirectional technique system of integrated circuit design | |
CN1614927A (en) | Method for realizing tree-shaped structure in B/S structure | |
CN1955957A (en) | Data base automatic operation method based on web service | |
CN1855052A (en) | Method for generating target source code from tree structural data and a set of fragment structure |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
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: 20080910 |