CN105740403A - Method and device for regulating preview effect - Google Patents

Method and device for regulating preview effect Download PDF

Info

Publication number
CN105740403A
CN105740403A CN201610060140.7A CN201610060140A CN105740403A CN 105740403 A CN105740403 A CN 105740403A CN 201610060140 A CN201610060140 A CN 201610060140A CN 105740403 A CN105740403 A CN 105740403A
Authority
CN
China
Prior art keywords
target
button
preview effect
document
margin
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
CN201610060140.7A
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.)
Inspur General Software Co Ltd
Original Assignee
Inspur General Software 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 Inspur General Software Co Ltd filed Critical Inspur General Software Co Ltd
Priority to CN201610060140.7A priority Critical patent/CN105740403A/en
Publication of CN105740403A publication Critical patent/CN105740403A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a method and a device for regulating a preview effect. The method comprises the following steps: firstly, determining the current preview effect and the current format information of a target object in a preview interface, obtaining a target instruction which is input by a user and is used for changing a current preview effect, determining next format information corresponding to the target instruction according to the current format information, and changing the current preview effect into a next preview effect corresponding to the next format information so as to regulate the preview effect of the target object for one time; and meanwhile, on the basis of the current regulation, adopting the same regulation way to carry out secondary regulation, and circulating in the above way until the regulated preview effect meets user demands. Therefore, the scheme can simplify a preview regulation operation on the target object.

Description

A kind of method that preview effect is adjusted and device
Technical field
The present invention relates to field of computer technology, particularly to a kind of method that preview effect is adjusted and device.
Background technology
Under routine work environment, it is often necessary to various destination objects, such as chart, document, word paragraph etc., carry out preview to check preview effect.Such as, in one application, before document prints, it is necessary to this document is carried out Print Preview, whether desirable to check corresponding preview effect.
At present, if the preview effect of destination object is undesirable, it is possible to by repeatedly adjusting the mode of page setup, as adjusted margin, scaling etc., to adjust destination object position shown in preview interface or size, thus obtaining relatively desirably preview effect.
But, it is more complicated that existing preview effect adjusts mode.
Summary of the invention
The invention provides a kind of method that preview effect is adjusted and device, it is possible to simplify the preview adjustment to destination object and operate.
In order to achieve the above object, the present invention is achieved through the following technical solutions:
On the one hand, the invention provides a kind of method that preview effect is adjusted, the method includes:
S1: determine destination object current preview effect in preview interface and current format information;
S2: obtain the target instruction target word for changing described current preview effect of user's input;
S3: according to described current format information, it is determined that the next format information corresponding with described target instruction target word;
S4: according to described next format information, changes into described current preview effect corresponding next preview effect, and performs S1.
Further, described destination object, including target document;
Before S1, farther include: utilize JavaApplet technology, the numbering according to described target document, from data base, read the initial document information corresponding with described numbering, and according to described initial document information, IE window shows the initial preview effect of described target document, wherein
Described initial document information, including any one in document format, source data, function formula and page setup information or multiple.
Further, described current format information, including the document length and width of: described target document, row height, col width, include font size, margin, blank value and paging information.
Further, described S2, including: the target instruction target word for changing described current preview effect that acquisition user is operated by one group of the target button in described preview interface and inputs, wherein,
Described the target button, including being moved to the left button, the button that moves right, the button that moves up, move down button, horizontal stretch button, horizontal retraction button, stretched vertically button and vertical contraction button, and the change granularity corresponding with the target button each described is 2mm.
Further, described determine the next format information corresponding with described target instruction target word, including:
A1: when described target instruction target word is for being moved to the left instruction, it is judged that left margin from left margin value sum whether more than changing granularity, if so, perform A2;
A2: judge that whether described left margin is from more than described change granularity, if, then described left margin from minimizing amount be described change granularity, right margin from increase amount be described change granularity, otherwise, by described left margin from being kept to 0, the minimizing amount of described left margin value be described change granularity with described left margin from difference, described right margin from increase amount be described change granularity;
A3: calculate paging information.
Further, described determine the next format information corresponding with described target instruction target word, including:
B1: when described target instruction target word is horizontal stretch instruction, it is determined that the start-stop number of row and the size including font;
B2: judge that left margin is from whether left margin value sum and right margin are all higher than changing granularity from right blank value sum, if so, performing B3;
B3: judge that whether described left margin is from more than described change granularity, if so, then described left margin from minimizing amount be described change granularity, otherwise, described left margin from being kept to 0, the minimizing amount of described left margin value be described change granularity with described left margin from difference;And, it is judged that described right margin from whether more than described change granularity, if, then described right margin from minimizing amount be described change granularity, otherwise, described right margin from being kept to 0, the minimizing amount of described right blank value be described change granularity with described right margin from difference;
B4: by the total value mean allocation of described change granularity to every string;
B5: calculate paging information and the described size including font.
Further, described determine the next format information corresponding with described target instruction target word, including:
C1: when described target instruction target word is level contraction instruction, it is determined that the start-stop number of row and the size including font;
C2: judge whether col width and described font size all can reduce, if so, then left margin from right margin from increase amount be change granularity;
C3: by the total value mean allocation of described change granularity to every string;
C4: calculate paging information and the described size including font.
On the other hand, the invention provides a kind of device that preview effect is adjusted, including:
Processing unit, for determining destination object current preview effect in preview interface and current format information;When receiving the triggering signal of acquiring unit, according to the target instruction target word that described acquiring unit exports, and according to described current format information, it is determined that the next format information corresponding with described target instruction target word;According to described next format information, described current preview effect is changed into corresponding next preview effect.
Described acquiring unit, for obtaining the target instruction target word for changing described current preview effect of user's input, and triggers described processing unit, and exports described target instruction target word to described processing unit.
Further, when described destination object includes target document, described processing unit, including the unit utilizing JavaApplet technology, specifically for utilizing described JavaApplet technology, numbering according to described target document, from data base, read the initial document information corresponding with described numbering, and according to described initial document information, IE window shows the initial preview effect of described target document, wherein
Described initial document information, including any one in document format, source data, function formula and page setup information or multiple.
Further, described acquiring unit, it is operated by one group of the target button in described preview interface and the target instruction target word for changing described current preview effect that inputs specifically for obtaining user, wherein,
Described the target button, including being moved to the left button, the button that moves right, the button that moves up, move down button, horizontal stretch button, horizontal retraction button, stretched vertically button and vertical contraction button, and the change granularity corresponding with the target button each described is 2mm.
The invention provides a kind of method that preview effect is adjusted and device, first destination object current preview effect in preview interface and current format information are determined, and obtain the target instruction target word for changing described current preview effect of user's input, with according to described current format information, determine the next format information corresponding with described target instruction target word, and described current preview effect is changed into the next preview effect corresponding with described next format information, it is achieved thereby that the once adjustment to described destination object preview effect;Meanwhile, on the basis of this adjustment, adopt identical adjustment mode again to adjust, so circulate, until the preview effect after adjusting meets user's request.Therefore, the present invention can simplify the preview adjustment to destination object and operates.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is a kind of flow chart to the method that preview effect is adjusted that one embodiment of the invention provides;
Fig. 2 is the another kind of one embodiment of the invention offer flow chart to the method that preview effect is adjusted;
Fig. 3 is a kind of schematic diagram to the device that preview effect is adjusted that one embodiment of the invention provides.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearly; below in conjunction with the accompanying drawing in the embodiment of the present invention; technical scheme in the embodiment of the present invention is clearly and completely described; obviously; described embodiment is a part of embodiment of the present invention, rather than whole embodiments, based on the embodiment in the present invention; the every other embodiment that those of ordinary skill in the art obtain under the premise not making creative work, broadly falls into the scope of protection of the invention.
As it is shown in figure 1, embodiments provide a kind of method that preview effect is adjusted, it is possible to comprise the following steps:
Step 101: determine destination object current preview effect in preview interface and current format information.
Step 102: obtain the target instruction target word for changing described current preview effect of user's input.
Step 103: according to described current format information, it is determined that the next format information corresponding with described target instruction target word.
Step 104: according to described next format information, changes into described current preview effect corresponding next preview effect, and performs step 101.
Embodiments provide a kind of method that preview effect is adjusted, first destination object current preview effect in preview interface and current format information are determined, and obtain the target instruction target word for changing described current preview effect of user's input, with according to described current format information, determine the next format information corresponding with described target instruction target word, and described current preview effect is changed into the next preview effect corresponding with described next format information, it is achieved thereby that the once adjustment to described destination object preview effect;Meanwhile, on the basis of this adjustment, adopt identical adjustment mode again to adjust, so circulate, until the preview effect after adjusting meets user's request.Therefore, the embodiment of the present invention can simplify the preview adjustment to destination object and operates.
In a kind of possible implementation, in order to the display process of a kind of target document initial preview effect in described preview interface is described, so, described destination object, including target document;
Before step 101, farther include: utilize JavaApplet technology, numbering according to described target document, the initial document information corresponding with described numbering is read from data base, and according to described initial document information, IE window shows the initial preview effect of described target document, wherein
Described initial document information, including any one in document format, source data, function formula and page setup information or multiple.
In a kind of possible implementation, in order to according to described current format information accurately to determine the next preview effect of described target document, so, described current format information, including the document length and width of: described target document, row height, col width, includes font size, margin, blank value and paging information.
In a kind of possible implementation, in order to a kind of input mode of described target instruction target word is described, so, described step 102, including: the target instruction target word for changing described current preview effect that acquisition user is operated by one group of the target button in described preview interface and inputs, wherein
Described the target button, including being moved to the left button, the button that moves right, the button that moves up, move down button, horizontal stretch button, horizontal retraction button, stretched vertically button and vertical contraction button, and the change granularity corresponding with the target button each described is 2mm.
In a kind of possible implementation, in order to illustrate when user inputs move, the determination process of the next format information of target document, so, described determine the next format information corresponding with described target instruction target word, including: when described target instruction target word is for being moved to the left instruction, it is judged that left margin from left margin value sum whether more than changing granularity, if so, continue executing with;Judge that whether described left margin is from more than described change granularity, if, then described left margin from minimizing amount be described change granularity, right margin from increase amount be described change granularity, otherwise, by described left margin from being kept to 0, the minimizing amount of described left margin value be described change granularity with described left margin from difference, described right margin from increase amount be described change granularity;Calculate paging information.
In a kind of possible implementation, in order to illustrate when user inputs stretching instruction, the determination process of the next format information of target document, so, described determine the next format information corresponding with described target instruction target word, including: when described target instruction target word is horizontal stretch instruction, it is determined that the start-stop number of row and the size including font;Judge that left margin is from whether left margin value sum and right margin are all higher than changing granularity from right blank value sum, if so, continuing executing with;Judge described left margin from whether more than described change granularity, if so, then described left margin from minimizing amount be described change granularity, otherwise, described left margin from being kept to 0, the minimizing amount of described left margin value be described change granularity with described left margin from difference;And, it is judged that described right margin from whether more than described change granularity, if, then described right margin from minimizing amount be described change granularity, otherwise, described right margin from being kept to 0, the minimizing amount of described right blank value be described change granularity with described right margin from difference;By the total value mean allocation of described change granularity to every string;Calculate paging information and the described size including font.
In a kind of possible implementation, in order to illustrate when user inputs contraction instruction, the determination process of the next format information of target document, so, described determine the next format information corresponding with described target instruction target word, including: when described target instruction target word is level contraction instruction, it is determined that the start-stop number of row and the size including font;Judge whether col width and described font size all can reduce, if so, then left margin from right margin from increase amount be change granularity;By the total value mean allocation of described change granularity to every string;Calculate paging information and the described size including font.
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with drawings and the specific embodiments, the present invention is described in further detail.
As in figure 2 it is shown, one embodiment of the invention provides the method that preview effect is adjusted, the method may comprise steps of:
Step 201: utilize JavaApplet technology, the numbering according to target document, reads the initial document information corresponding with described numbering from data base, and according to described initial document information, shows the initial preview effect of described target document in IE window.
Specifically, described initial document information, including any one in document format, source data, function formula and page setup information or multiple.
In detail, for the concrete numerical value in described initial document information, such as document length and width, row height, col width etc., it is possible to this concrete numerical value deposited by millimeter is first converted into inch, and reconvert pixel unit, to display in IE window.
For example, certain operational control information system adopts the framework of " concentration/distribution formula " at present, head office/branch company's management system can be divided into and hold storage base management system two parts, wherein, the former primarily focuses on business norms, management, supervision, comprehensive inquiry and decision analysis etc., and the latter mainly stresses business execution, business datum is collected and form reports.The printing of various document all can be related to owing to the main business in system manages module, therefore, for the purpose of unified management, for each document, all can unified organizational system document template.Such as, the document template of establishment can comprise the information such as document format, source data code, function formula, page setup.It is then possible to extract the Template Information of each document from data base to make patch, and upgraded at national each storehouse point by patch upgrading platform.
But, the printer used due to each storehouse point is not quite similar, and the business datum diversity filled in document is relatively big, therefore the Print Preview effect being easily caused part document is undesirable.Therefore, for the document that those Print Preview effects are undesirable, the practical application request according to different user, it is necessary to its preview effect is adjusted in various degree.
In the present embodiment, target document initial preview effect display process in IE window, it is possible to include following content: the exclusive number according to target document, by JavaApplet technology, first corresponding document format information is read, such as document length and width, row height and col width;Further according to source data code to extract corresponding each SDI, wherein this source data can be concrete numeral, it is also possible to be the result numeral being computed by specific function or formula and being obtained;Then read corresponding page setup information, such as margin, whether expire page and print, whether automatically extend and whether fixed line number and columns;It is thus possible to according to the whole initial document information obtained, graphically the Print Preview page in IE window accurately shows the initial preview effect of this target document.
Step 202: determine current preview effect and the current document information of described target document.
Specifically, described current document information, including document length and width, row height, col width, include font size, margin, blank value and paging information.Wherein, described blank value, represent the value of white space between a certain edge and the back gauge corresponding with this edge of target document, for instance, left margin value represent the left hand edge of target document and left margin between distance.
In the present embodiment, after the initial preview effect of target document has shown, if not meeting user's request, then using this initial preview effect as current preview effect, corresponding initial document information is as current document information, and after user sends concrete adjustment order, can be adjusted correspondingly based on this, to obtain corresponding next preview effect and next one document information;Meanwhile, if still not meeting user's request after adjusting, then again determining that this next one preview effect is current preview effect, this next one document information is current document information, so circulates, until adjusting to optimum efficiency.
Step 203: the target instruction target word for changing described current preview effect that acquisition user is operated by one group of the target button on described IE window and inputs.
Specifically, described the target button, including being moved to the left button, the button that moves right, the button that moves up, move down button, horizontal stretch button, horizontal retraction button, stretched vertically button and vertical contraction button.
Specifically, corresponding with the target button each described change granularity is 2mm.
Such as, it is moved to the left button, represents and make target document be moved to the left 2mm;Horizontal stretch button, represents and makes target document all stretch 2mm to the left and to the right.It is apparent that other suitable change granularities can also be preset.
In the present embodiment, an adjustment toolbar can be increased by the Print Preview page in IE window, and in this adjustment toolbar, comprise various concrete adjustment button, such that it is able to make user according to self actual demand, it is operated by specifically adjusting button accordingly, so that target document Print Preview effect to be adjusted.
Meanwhile, after user operation specifically adjusts button, through backstage high-speed computation, directly can quickly show the preview effect after adjustment, thus visualization when realizing document Print Preview adjusts in real time, simple to operate, Adjustment effect good, it is of value to and ensures suitable printing effect.
Step 204: according to described target instruction target word, and according to described current document information, calculate the next document information of described target document.
In detail, when target document is adjusted, it is desirable to the value of any page back gauge is not less than 0;Require the length of document and wide be all not less than the 1/2 of initial value;Require that the font size that document includes font is not less than No. six.
In the present embodiment, when user's input is moved to the left instruction, first the main step that realizes carried out on backstage may include that, judge left margin from left margin value sum whether more than changing granularity, if so, perform next step, otherwise, do not perform to be moved to the left instruction, end operation;Then, judge that whether left margin is from more than changing granularity, if so, then left margin from minimizing amount for change granularity, right margin from increase amount for change granularity, left margin value and right blank value are all constant, otherwise, by left margin from being kept to 0, the minimizing amount of left margin value be change granularity and left margin from difference, right margin from increase amount for change granularity, right blank value is constant;Finally, paging information is calculated.In the present embodiment, when user inputs to the right, moves up or down instruction, it is achieved step is same as above, this is not done and repeats to limit by the present embodiment.For example, the mobile execution adjusting operation can be realized by following program in machine code:
In the present embodiment, when user's input level stretches instruction, first the main step that realizes carried out on backstage may include that, calculates start-stop number and the font size of row;Again, it is judged that left margin, from whether left margin value sum and right margin are all higher than changing granularity from right blank value sum, if so, then performing next step, otherwise, does not perform to stretch instruction, end operation;Then, for left margin from, it is judged that left margin from whether more than changing granularity, if, then left margin from minimizing amount for change granularity, left margin value constant, otherwise, left margin is from being kept to 0, the minimizing amount of left margin value be change granularity and left margin from difference, meanwhile, with left margin from identical, for right margin from, perform same operating procedure;Furthermore, total value mean allocation extremely each row of granularity will be changed, and calculate paging information and font size.In the present embodiment, when user inputs stretched vertically instruction, it is achieved step is same as above, this is not done and repeats to limit by the present embodiment.For example, stretch the execution adjusting operation to be realized by following program in machine code:
In the present embodiment, when user's input level shrinks instruction, first the main step that realizes carried out on backstage may include that, calculates start-stop number and the font size of row;Again, it is judged that whether col width and font size all can reduce, if then performing next step, otherwise, do not perform to shrink instruction, end operation;Then, left margin from right margin from increase amount to be change granularity, left margin value and right blank value all constant;Then, total value mean allocation extremely each row of granularity will be changed, and calculate paging information and font size.In the present embodiment, when user inputs vertical contraction instruction, it is achieved step is same as above, this is not done and repeats to limit by the present embodiment.For example, shrink the execution adjusting operation to be realized by following program in machine code:
In addition, in the present embodiment, when the page setup detail district of target document is redefined for full page, fixed line number (isZdkz=false) or fixing columns (isZdkz=false), paging information does not change, and when changing page 1, other corresponding pages acquiescence performs identical adjustment operation;When being redefined for extension (isZdkz=true) automatically in the page setup detail district of target document, paging information is it may happen that change, and when changing page 1, other corresponding pages acquiescence performs identical adjustment operation.
Step 205: according to described next document information, changes into described current preview effect corresponding next preview effect, and performs step 202.
In the present embodiment, it is possible to the practical application request according to user, operation the target button is alternateed to change target document relative position in preview page and relative size, thus realizing the real-time visual adjustment of the Print Preview effect of target document.This implementation is of value to raising printing effect and printing precision.
As it is shown on figure 3, embodiments provide a kind of device that preview effect is adjusted, including:
Processing unit 301, for determining destination object current preview effect in preview interface and current format information;When receiving the triggering signal of acquiring unit 302, the target instruction target word according to the output of described acquiring unit 302, and according to described current format information, it is determined that the next format information corresponding with described target instruction target word;According to described next format information, described current preview effect is changed into corresponding next preview effect.
Described acquiring unit 302, for obtaining the target instruction target word for changing described current preview effect of user's input, and triggers described processing unit 301, and exports described target instruction target word to described processing unit 301.
In a kind of possible implementation, when described destination object includes target document, described processing unit 301, including the unit utilizing JavaApplet technology, specifically for utilizing described JavaApplet technology, numbering according to described target document, from data base, read the initial document information corresponding with described numbering, and according to described initial document information, IE window shows the initial preview effect of described target document, wherein
Described initial document information, including any one in document format, source data, function formula and page setup information or multiple.
In a kind of possible implementation, described acquiring unit 302, it is operated by one group of the target button in described preview interface and the target instruction target word for changing described current preview effect that inputs specifically for obtaining user, wherein,
Described the target button, including being moved to the left button, the button that moves right, the button that moves up, move down button, horizontal stretch button, horizontal retraction button, stretched vertically button and vertical contraction button, and the change granularity corresponding with the target button each described is 2mm.
The contents such as the information between each unit in said apparatus is mutual, execution process, due to the inventive method embodiment based on same design, particular content referring to the narration in the inventive method embodiment, can repeat no more herein.
In sum, each embodiment of the present invention at least has the advantages that
1, in the embodiment of the present invention, first destination object current preview effect in preview interface and current format information are determined, and obtain the target instruction target word for changing described current preview effect of user's input, with according to described current format information, determine the next format information corresponding with described target instruction target word, and described current preview effect is changed into the next preview effect corresponding with described next format information, it is achieved thereby that the once adjustment to described destination object preview effect;Meanwhile, on the basis of this adjustment, adopt identical adjustment mode again to adjust, so circulate, until the preview effect after adjusting meets user's request.Therefore, the embodiment of the present invention can simplify the preview adjustment to destination object and operates.
2, in the embodiment of the present invention, an adjustment toolbar can be increased by the Print Preview page in IE window, and in this adjustment toolbar, comprise various concrete adjustment button, such that it is able to make user according to self actual demand, it is operated by specifically adjusting button accordingly, so that target document Print Preview effect to be adjusted.
3, in the embodiment of the present invention, after user operation specifically adjusts button, through backstage high-speed computation, directly can quickly show the preview effect after adjustment, thus visualization when realizing document Print Preview adjusts in real time, simple to operate, Adjustment effect good, it is of value to and ensures suitable printing effect.
4, in the embodiment of the present invention, it is possible to the practical application request according to user, operation the target button is alternateed to change target document relative position in preview page and relative size, thus realizing the real-time visual adjustment of the Print Preview effect of target document.This implementation is of value to raising printing effect and printing precision.
Last it should be understood that the foregoing is only presently preferred embodiments of the present invention, it is merely to illustrate technical scheme, is not intended to limit protection scope of the present invention.All make within the spirit and principles in the present invention any amendment, equivalent replacement, improvement etc., be all contained in protection scope of the present invention.

Claims (10)

1. the method that preview effect is adjusted, it is characterised in that the method includes:
S1: determine destination object current preview effect in preview interface and current format information;
S2: obtain the target instruction target word for changing described current preview effect of user's input;
S3: according to described current format information, it is determined that the next format information corresponding with described target instruction target word;
S4: according to described next format information, changes into described current preview effect corresponding next preview effect, and performs S1.
2. method according to claim 1, it is characterised in that
Described destination object, including target document;
Before S1, farther include: utilize JavaApplet technology, the numbering according to described target document, from data base, read the initial document information corresponding with described numbering, and according to described initial document information, IE window shows the initial preview effect of described target document, wherein
Described initial document information, including any one in document format, source data, function formula and page setup information or multiple.
3. method according to claim 2, it is characterised in that described current format information, including the document length and width of: described target document, row height, col width, includes font size, margin, blank value and paging information.
4. according to described method arbitrary in claims 1 to 3, it is characterised in that described S2, including: the target instruction target word for changing described current preview effect that acquisition user is operated by one group of the target button in described preview interface and inputs, wherein,
Described the target button, including being moved to the left button, the button that moves right, the button that moves up, move down button, horizontal stretch button, horizontal retraction button, stretched vertically button and vertical contraction button, and the change granularity corresponding with the target button each described is 2mm.
5. method according to claim 3, it is characterised in that described determine the next format information corresponding with described target instruction target word, including:
A1: when described target instruction target word is for being moved to the left instruction, it is judged that left margin from left margin value sum whether more than changing granularity, if so, perform A2;
A2: judge that whether described left margin is from more than described change granularity, if, then described left margin from minimizing amount be described change granularity, right margin from increase amount be described change granularity, otherwise, by described left margin from being kept to 0, the minimizing amount of described left margin value be described change granularity with described left margin from difference, described right margin from increase amount be described change granularity;
A3: calculate paging information.
6. method according to claim 3, it is characterised in that described determine the next format information corresponding with described target instruction target word, including:
B1: when described target instruction target word is horizontal stretch instruction, it is determined that the start-stop number of row and the size including font;
B2: judge that left margin is from whether left margin value sum and right margin are all higher than changing granularity from right blank value sum, if so, performing B3;
B3: judge that whether described left margin is from more than described change granularity, if so, then described left margin from minimizing amount be described change granularity, otherwise, described left margin from being kept to 0, the minimizing amount of described left margin value be described change granularity with described left margin from difference;And, it is judged that described right margin from whether more than described change granularity, if, then described right margin from minimizing amount be described change granularity, otherwise, described right margin from being kept to 0, the minimizing amount of described right blank value be described change granularity with described right margin from difference;
B4: by the total value mean allocation of described change granularity to every string;
B5: calculate paging information and the described size including font.
7. method according to claim 3, it is characterised in that described determine the next format information corresponding with described target instruction target word, including:
C1: when described target instruction target word is level contraction instruction, it is determined that the start-stop number of row and the size including font;
C2: judge whether col width and described font size all can reduce, if so, then left margin from right margin from increase amount be change granularity;
C3: by the total value mean allocation of described change granularity to every string;
C4: calculate paging information and the described size including font.
8. the device that preview effect is adjusted, it is characterised in that including:
Processing unit, for determining destination object current preview effect in preview interface and current format information;When receiving the triggering signal of acquiring unit, according to the target instruction target word that described acquiring unit exports, and according to described current format information, it is determined that the next format information corresponding with described target instruction target word;According to described next format information, described current preview effect is changed into corresponding next preview effect.
Described acquiring unit, for obtaining the target instruction target word for changing described current preview effect of user's input, and triggers described processing unit, and exports described target instruction target word to described processing unit.
9. the device that preview effect is adjusted according to claim 8, it is characterised in that
When described destination object includes target document, described processing unit, including the unit utilizing JavaApplet technology, specifically for utilizing described JavaApplet technology, the numbering according to described target document, reads the initial document information corresponding with described numbering from data base, and according to described initial document information, IE window shows the initial preview effect of described target document, wherein
Described initial document information, including any one in document format, source data, function formula and page setup information or multiple.
10. arbitrary described device that preview effect is adjusted according to Claim 8 with 9, it is characterised in that
Described acquiring unit, is operated by one group of the target button in described preview interface and the target instruction target word for changing described current preview effect that inputs specifically for obtaining user, wherein,
Described the target button, including being moved to the left button, the button that moves right, the button that moves up, move down button, horizontal stretch button, horizontal retraction button, stretched vertically button and vertical contraction button, and the change granularity corresponding with the target button each described is 2mm.
CN201610060140.7A 2016-01-28 2016-01-28 Method and device for regulating preview effect Pending CN105740403A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610060140.7A CN105740403A (en) 2016-01-28 2016-01-28 Method and device for regulating preview effect

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610060140.7A CN105740403A (en) 2016-01-28 2016-01-28 Method and device for regulating preview effect

Publications (1)

Publication Number Publication Date
CN105740403A true CN105740403A (en) 2016-07-06

Family

ID=56247889

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610060140.7A Pending CN105740403A (en) 2016-01-28 2016-01-28 Method and device for regulating preview effect

Country Status (1)

Country Link
CN (1) CN105740403A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090245685A1 (en) * 2008-03-25 2009-10-01 Sony Corporation Image processing apparatus, image processing method, and program
CN102566851A (en) * 2010-12-15 2012-07-11 盛乐信息技术(上海)有限公司 Device and method for previewing file object
CN103814371A (en) * 2011-09-26 2014-05-21 英特尔公司 Simulation of Web applications and secondary devices in a Web browser, Web application development tools, and methods using the same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090245685A1 (en) * 2008-03-25 2009-10-01 Sony Corporation Image processing apparatus, image processing method, and program
CN102566851A (en) * 2010-12-15 2012-07-11 盛乐信息技术(上海)有限公司 Device and method for previewing file object
CN103814371A (en) * 2011-09-26 2014-05-21 英特尔公司 Simulation of Web applications and secondary devices in a Web browser, Web application development tools, and methods using the same

Similar Documents

Publication Publication Date Title
CN109378052B (en) The preprocess method and system of image labeling
CN107264091B (en) A kind of laser marking control method, laser marking machine and storage medium
CN102855232B (en) A kind of tabular analysis adapts job operation
CN102074080A (en) Customization and management method of visual management invoice template
CN109522975A (en) Handwriting samples generation method, device, computer equipment and storage medium
CN113901933B (en) Electronic invoice information extraction method, device and equipment based on artificial intelligence
CN106156685A (en) The method of multiple Quick Response Codes, device and the terminal that recognition is in the same area
CN110347855A (en) Paintings recommended method, terminal device, server, computer equipment and medium
CN107992654A (en) A kind of intelligence composition method
CN110867243B (en) Image annotation method, device, computer system and readable storage medium
CN112633118A (en) Text information extraction method, equipment and storage medium
CN116737301A (en) Alignment method and device for layer elements
CN109411056A (en) Image storage method and system
US20110310403A1 (en) Information processing apparatus, method for controlling same, and storage medium on which computer program has been recorded
KR101516213B1 (en) Responsive Web Generating Method By Converting Document To Responsive Web
CN113901768A (en) Standard file generation method, device, equipment and storage medium
CN105740403A (en) Method and device for regulating preview effect
US20080266606A1 (en) Optimized print layout
CN106056575B (en) A kind of image matching method based on like physical property proposed algorithm
JP2022128202A (en) Information processing device, information processing system, and information processing program
CN106682595A (en) Image content marking method and apparatus thereof
US20040044964A1 (en) Behavior of anchored frames
CN111462280A (en) Picture generation method and device, electronic equipment and computer storage medium
CN106096041A (en) Power communication static resource segment automatic generation method
CN103942187A (en) Page makeup method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160706