CN103150301A - Method and device for cutting flat - Google Patents

Method and device for cutting flat Download PDF

Info

Publication number
CN103150301A
CN103150301A CN2011104065158A CN201110406515A CN103150301A CN 103150301 A CN103150301 A CN 103150301A CN 2011104065158 A CN2011104065158 A CN 2011104065158A CN 201110406515 A CN201110406515 A CN 201110406515A CN 103150301 A CN103150301 A CN 103150301A
Authority
CN
China
Prior art keywords
coordinate data
cuts
module
data
whole page
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.)
Pending
Application number
CN2011104065158A
Other languages
Chinese (zh)
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.)
Peking University Founder Group 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 CN2011104065158A priority Critical patent/CN103150301A/en
Publication of CN103150301A publication Critical patent/CN103150301A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

The invention provides a method and a device for cutting a flat. The method comprises the following steps of: analyzing out coordinate data of a layout from xml (Extensible Markup Language) data of the flat; according to the coordinate data, establishing a preview of the layout; receiving a cutting operation on the preview; and according to the cutting operation, modifying the coordinate data of the layout. According to the invention, the coordinate data of the layout of the flat is modified, so that rapid cutting of the flat is implemented and efficiency of making the flat is improved. The problems that in the prior art, flat data is repeatedly made and efficiency is low are solved.

Description

The method and apparatus that large version cuts
Technical field
The present invention relates to type-setting domain, in particular to a kind of large edition method and apparatus that cuts.
Background technology
Before the publication printing, usually according to the sequence of pages of publication, pages content is made into large version printing.The mode that is made at present large version is mainly processed or the layout processing by the folding hand.
The processing of folding hand is the sequence of pages according to publication, and page folding is become large version.The layout processing is that the page of printing is together arranged sequentially by certain page number according to its page size, folding mode, is combined into a large version.
After being made into large version, the user may adjust according to the Output Size of the requirement of publishing to large version.Because the space of a whole page of large version can not be visual, usually adopt at present the processing mode of above-mentioned folding hand or layout, again make large version according to the Output Size after adjusting.Because each size of adjusting all needs again to make, there is the lower problem of efficient.
Summary of the invention
The present invention aims to provide the method and apparatus that a kind of large version cuts, and all needs again to make to solve above-mentioned each adjustment size, has the lower problem of efficient.
In an embodiment of the present invention, a kind of method that provides large version to cut comprises: the coordinate data that parses the space of a whole page from the xml data of large version; Set up the preview graph of the described space of a whole page according to described coordinate data; Receive on described preview graph and cut operation; According to the described coordinate data that cuts the described space of a whole page of operation modification.
In an embodiment of the present invention, the device that provides a kind of large version to cut comprises: parsing module, for parse the coordinate data of the space of a whole page from the xml data of large edition; The preview graph module is for set up the preview graph of the described space of a whole page according to described coordinate data; Receiver module receives on described preview graph and cuts operation; Cut module, according to the described coordinate data that cuts the described space of a whole page of operation modification.
Scheme in embodiment is revised the coordinate data of the space of a whole page of large edition, thereby has realized cutting fast of large version, has improved the efficient of making large version.Overcome and repeated to make large version data, the problem that efficient is lower in prior art.
Description of drawings
Accompanying drawing described herein is used to provide a further understanding of the present invention, consists of the application's a part, and illustrative examples of the present invention and explanation thereof are used for explaining the present invention, do not consist of improper restriction of the present invention.In the accompanying drawings:
Fig. 1 shows the process flow diagram of preferred embodiment;
Fig. 2 shows the process flow diagram of the embodiment of the process of cutting;
Fig. 3 shows the design sketch of preview graph of data of the large version of selection;
Fig. 4 shows the design sketch that shows preview graph in action pane;
The design sketch of the large version after Fig. 5 shows and cuts;
Fig. 6 shows the structured flowchart of device embodiment.
Embodiment
Below with reference to the accompanying drawings and in conjunction with the embodiments, describe the present invention in detail.
Referring to Fig. 1, comprise the following steps:
S11: the coordinate data that parses the space of a whole page from the xml data of large version;
S12: the preview graph of setting up the described space of a whole page according to described coordinate data;
S13: receive on described preview graph and cut operation;
S14: according to the described coordinate data that cuts the described space of a whole page of operation modification.
By above-mentioned steps, the coordinate data of the space of a whole page of large edition is revised, thereby realized cutting fast of large version, improved the efficient of making large version.Overcome and repeated to make large version data, the problem that efficient is lower in prior art.
Preferably, the employing XML of large version analyzes large version resource in advance as descriptive language, comprising: by the XML grammatical analysis, extract the data of large version from the descriptive language of described large version.Employing XML voice have the versatility between better equipment, are convenient to cut processing.
Preferably, the process flow diagram of embodiment shown in Figure 2, the process that the space of a whole page in Fig. 3 is cut comprises:
Whether S21: checking has large version to cut processor in current job processing flow;
Detect the program that large version cuts that whether is useful in the work flow of moving in computer equipment, this program is called in an embodiment and cuts processor.If no, execution in step
S22; If have, execution in step S23;
S22: if not newly-built large version cuts processor;
Large version is installed in computer equipment cuts processor, execution in step S23.
S23: receive the operation that the user selects the large version that need to cut;
The large version that the needs that the user selects cut is the large version in Fig. 3, in the present embodiment, adopt the name of the data of large version to be called: [Surface_Sig1_Sheet1_Front], preview graph as shown in Figure 3, need to dismiss the surrounding white space of this large version and the mark that no longer needs, in order to save paper.
S24: the attribute of resolving the XML data of large version;
The attribute of the data of the large version of resolving comprises: the data of the position of the element in the coordinate data of large version, large version, size, rotation angle.
Described coordinate data comprises the coordinate data on summit at an angle of large version and the dimensional data of length and width.
S25: visual action pane is provided, shows the preview graph of setting up according to large version data in action pane;
S26: receive user's the operation that cuts on the visualized operation window;
The operation that cuts that receives comprises following dual mode:
1) receive the operation that cuts that mouse pulls on preview graph; Coordinate data by the definite described space of a whole page of coordinate data replacement of described drag operation.
The rectangular area of using the coordinate data after replacing to determine is the large version zone after cutting.
2) by present the input window of coordinate data on described preview graph;
For example: the window of the bottom in Fig. 4, the apex coordinate (X, Y) at the angle of demonstration, width dimensions, the height dimension of the space of a whole page of large version.
Receive the coordinate data of user's input by described input window;
Replace the coordinate data of the described space of a whole page with the coordinate data of user input.
The rectangular area of using the coordinate data after replacing to determine is the large version zone after cutting.
Above-mentioned dual mode is dismissed the surrounding white space of this large version and the mark that no longer needs, in the present embodiment, be about to the output area coordinate (0,0,594 in large version [Surface_Sig1_Sheet1_Front], 420) be cut into (69.5,42.5,455,335), cropped area (69.5,42.5,455,335) and extraneous large version data fall cropped.
In the present embodiment, the cropped area parameter is as shown in Figure 4: position (X:69.5, Y:42.5) size: (width: 456, highly: 335).
S27: cut large version data after operation according to execution, generate the new large version after cutting.
The space of a whole page of the large version after cutting as shown in Figure 5.
Preferably, in the process of step S26, also comprise: according to described amended coordinate data, the attribute data of the regional interior element of large version after corresponding adjustment cuts.
Because the space of a whole page size of large edition changes, the data of the position of the element in large version, size, rotation angle need to be done corresponding adjustment.
Referring to Fig. 6, the device that the present invention also provides a kind of large version to cut comprises:
Parsing module 31 is for parse the coordinate data of the space of a whole page from the xml data of large edition;
Preview graph module 32 is for set up the preview graph of the described space of a whole page according to the coordinate data of described parsing module 31 parsings;
Receiver module 33 cuts operation for receiving on the preview graph of setting up in described preview graph module 32;
Cut module 34, be used for the coordinate data that cuts the described space of a whole page of operation modification that receives according to described receiver module 33.
By above-mentioned module, the coordinate data of the space of a whole page of large edition is revised, thereby realized cutting fast of large version, improved the efficient of making large version.Overcome and repeated to make large version data, the problem that efficient is lower in prior art.
Preferably, described receiver module 33 comprises:
Track receiver module 331 be used for to receive the operation that cuts that mouse pulls;
Described cutting in module 34 comprises:
The first modified module 332 is used for the coordinate data of replacing the described space of a whole page by the coordinate data that the drag operation that described track receiver module 331 receives is determined.
Or described receiver module 33 comprises:
Data reception module 333 is used for presenting the input window of coordinate data on described preview graph; Receive the coordinate data of user's input by described input window;
The described module 34 that cuts comprises:
The second modified module 334 is used for the coordinate data of replacing the described space of a whole page with the coordinate data that the user that data reception module 333 receives inputs.
Preferably, described device also comprises:
Attribute modification module 35 is used for according to described the first modified module 334 or the second amended coordinate data of modified module 334, the attribute data of the regional interior element of large version after corresponding adjustment cuts.
obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with general calculation element, they can concentrate on single calculation element, perhaps be distributed on the network that a plurality of calculation elements form, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in memory storage and be carried out by calculation element, perhaps they are made into respectively each integrated circuit modules, perhaps a plurality of modules in them or step being made into the single integrated circuit module realizes.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is only the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. the method that large version cuts, is characterized in that, comprising:
Parse the coordinate data of the space of a whole page from the xml data of large version;
Set up the preview graph of the described space of a whole page according to described coordinate data;
Receive on described preview graph and cut operation;
According to the described coordinate data that cuts the described space of a whole page of operation modification.
2. method according to claim 1, is characterized in that, described modification process comprises:
Receive the operation that cuts that mouse pulls;
Coordinate data by the definite described space of a whole page of coordinate data replacement of described drag operation.
3. method according to claim 1, is characterized in that, described modification process comprises:
The input window that presents coordinate data on described preview graph;
Receive the coordinate data of user's input by described input window;
Replace the coordinate data of the described space of a whole page with the coordinate data of user input.
4. according to claim 1~3 described methods of any one, is characterized in that, described coordinate data comprises the coordinate data on summit at an angle of large version and the dimensional data of length and width.
5. method according to claim 1, is characterized in that, the rectangular area that described coordinate data is determined is the large version zone after cutting.
6. method according to claim 5, is characterized in that, also comprises: according to described amended coordinate data, and the attribute data of the regional interior element of large version after corresponding adjustment cuts.
7. the device that large version cuts, is characterized in that, comprising:
Parsing module is for parse the coordinate data of the space of a whole page from the xml data of large edition;
The preview graph module is for set up the preview graph of the described space of a whole page according to described coordinate data;
Receiver module receives on described preview graph and cuts operation;
Cut module, according to the described coordinate data that cuts the described space of a whole page of operation modification.
8. device according to claim 7, is characterized in that, described receiver module comprises:
The track receiver module be used for to receive the operation that cuts that mouse pulls;
The described module that cuts comprises:
The first modified module is used for the first modified module, replaces the coordinate data of the described space of a whole page with the coordinate data of determining by described drag operation.
9. device according to claim 7, is characterized in that, described receiver module comprises:
Data reception module is used for presenting the input window of coordinate data on described preview graph;
The described module that cuts comprises:
The second modified module is used for receiving by described input window the coordinate data that the user inputs; Replace the coordinate data of the described space of a whole page with the coordinate data of user input.
10. device according to claim 7, is characterized in that, also comprises:
The attribute modification module is used for according to described amended coordinate data, the attribute data of the regional interior element of large version after corresponding adjustment cuts.
CN2011104065158A 2011-12-06 2011-12-06 Method and device for cutting flat Pending CN103150301A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011104065158A CN103150301A (en) 2011-12-06 2011-12-06 Method and device for cutting flat

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011104065158A CN103150301A (en) 2011-12-06 2011-12-06 Method and device for cutting flat

Publications (1)

Publication Number Publication Date
CN103150301A true CN103150301A (en) 2013-06-12

Family

ID=48548387

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011104065158A Pending CN103150301A (en) 2011-12-06 2011-12-06 Method and device for cutting flat

Country Status (1)

Country Link
CN (1) CN103150301A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104424171A (en) * 2013-08-23 2015-03-18 北大方正集团有限公司 Method and device for setting cutting line on pasteup layout
CN104572610A (en) * 2013-10-24 2015-04-29 北大方正集团有限公司 Method and device for automatic imposition
CN104679725A (en) * 2013-11-28 2015-06-03 北大方正集团有限公司 Imposition template adjustment method and device
CN110989491A (en) * 2019-12-27 2020-04-10 杭州爱科科技股份有限公司 Automatic cutting track generation method and device for flexible material zero-space layout pattern
CN111078163A (en) * 2019-12-13 2020-04-28 无锡市海得印务有限公司 Digital combination plate network printing process

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
北京北大方正电子有限公司: "《方正畅流PDF/JDF工作流程管理系统V5.0用户手册》", 30 June 2010 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104424171A (en) * 2013-08-23 2015-03-18 北大方正集团有限公司 Method and device for setting cutting line on pasteup layout
CN104424171B (en) * 2013-08-23 2017-08-25 北大方正集团有限公司 The method and apparatus that cutting line is set on the layout space of a whole page
CN104572610A (en) * 2013-10-24 2015-04-29 北大方正集团有限公司 Method and device for automatic imposition
CN104572610B (en) * 2013-10-24 2018-05-01 北大方正集团有限公司 A kind of automatic keyline layout method and device
CN104679725A (en) * 2013-11-28 2015-06-03 北大方正集团有限公司 Imposition template adjustment method and device
CN111078163A (en) * 2019-12-13 2020-04-28 无锡市海得印务有限公司 Digital combination plate network printing process
CN110989491A (en) * 2019-12-27 2020-04-10 杭州爱科科技股份有限公司 Automatic cutting track generation method and device for flexible material zero-space layout pattern

Similar Documents

Publication Publication Date Title
US9489155B2 (en) Image processing device
CN106933862B (en) Method and device for generating mail report
CN103150301A (en) Method and device for cutting flat
US8111944B2 (en) Method and system for optimizing web page images
CN102253979B (en) Vision-based web page extracting method
CN110673847B (en) Method and device for generating configuration page, electronic equipment and readable storage medium
US9952832B2 (en) Methods for generating smart archtecture templates and devices thereof
CN104063380A (en) Method and device for converting picture files into webpage files
CN104217036A (en) Method and device for extracting webpage content
US9141596B2 (en) System and method for processing markup language templates from partial input data
CN110096275B (en) Page processing method and device
CN104461481A (en) Application software adjustment method and device
US20130124684A1 (en) Visual separator detection in web pages using code analysis
US8826161B2 (en) Image forming control method and image processing apparatus
US20120254833A1 (en) Software layout processing in localization
CN103605521A (en) Method and device for realizing interface apposition
CN106033387A (en) A method and a device for testing flash intrinsic controls
CN106575303B (en) Method and device for displaying webpage
CN103914293A (en) Page generation method and server
CN103365640A (en) Cascading style sheet style transformation method and device
CN103034623A (en) Method and device for dividing page
RU2398276C2 (en) Analysis alternatives in scope trees
CN110633081A (en) Page generation method and device
CN103034990A (en) Method and device for checking publications
US8582165B2 (en) Document processing apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130612