CN110874524B - Method, system and device for changing visual effect of document - Google Patents

Method, system and device for changing visual effect of document Download PDF

Info

Publication number
CN110874524B
CN110874524B CN201810910664.XA CN201810910664A CN110874524B CN 110874524 B CN110874524 B CN 110874524B CN 201810910664 A CN201810910664 A CN 201810910664A CN 110874524 B CN110874524 B CN 110874524B
Authority
CN
China
Prior art keywords
elements
document
stacking
visual effect
relationship
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.)
Active
Application number
CN201810910664.XA
Other languages
Chinese (zh)
Other versions
CN110874524A (en
Inventor
王茜
刘堃
胡娟
庄湧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Guangzhou Kingsoft Mobile Technology Co Ltd
Original Assignee
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Guangzhou Kingsoft Mobile Technology 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 Beijing Kingsoft Office Software Inc, Zhuhai Kingsoft Office Software Co Ltd, Guangzhou Kingsoft Mobile Technology Co Ltd filed Critical Beijing Kingsoft Office Software Inc
Priority to CN201810910664.XA priority Critical patent/CN110874524B/en
Publication of CN110874524A publication Critical patent/CN110874524A/en
Application granted granted Critical
Publication of CN110874524B publication Critical patent/CN110874524B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method, a system and a device for changing a visual effect of a document, wherein the method comprises the following steps: acquiring a stacking relationship among a plurality of elements in the document; and modifying the display attribute for the elements in the corresponding lamination according to the lamination relation. The invention optimizes the visual effect of document display.

Description

Method, system and device for changing visual effect of document
Technical Field
The invention relates to a document visual effect editing technology, in particular to a method, a system and a device for changing a document visual effect.
Background
The display interface of the slide typically includes various elements, such as a title frame, a content frame, and the content frame may include various types of content: such as text, background images. In the application of an actual slide, a case where a plurality of elements on the slide display interface are displayed in a superimposed manner may occur. The plurality of superimposed elements are not visually distinguishable, and are not conducive to user experience.
Disclosure of Invention
In order to solve the technical problems, the invention provides a method, a system and a device for changing the visual effect of a document, which can clearly define a plurality of elements with a stacking relationship in vision and optimize the visual effect of document display.
In order to achieve the purpose of the invention, the invention provides a method for changing the visual effect of a document, which comprises the following steps:
acquiring a stacking relationship among a plurality of elements in the document;
and modifying the display attribute for the elements in the corresponding lamination according to the lamination relation.
As an alternative implementation manner, the obtaining the stacking relation among the plurality of elements in the document comprises the following steps:
acquiring a stacking relationship among a plurality of elements from a document solidifying the stacking relationship among the description elements;
or (b)
A stacking relationship between a plurality of elements is obtained from a document of a stacking relationship between editable elements.
As an optional implementation manner, the modifying the display attribute for the elements in the corresponding stack according to the stack relation includes:
determining the lamination of the corresponding elements according to the lamination relation and the target visual effect;
for the elements in the determined stack, their display properties are modified in accordance with the target visual effect.
The invention also provides a system for changing the visual effect of the document, which comprises:
a stacking relationship obtaining module, configured to obtain a stacking relationship between a plurality of elements in the document;
and the changing module is used for changing the display attribute of the elements in the corresponding lamination according to the lamination relation.
As an optional implementation manner, the stacking relationship obtaining module is configured to obtain a stacking relationship between a plurality of elements in the document, and includes:
acquiring a stacking relationship among a plurality of elements from a document solidifying the stacking relationship among the description elements;
or (b)
A stacking relationship between a plurality of elements is obtained from a document of a stacking relationship between editable elements.
As an alternative embodiment, the modifying module is configured to modify, according to the stacking relationship, a display attribute for an element in a corresponding stack, including:
determining the lamination of the corresponding elements according to the lamination relation and the target visual effect;
for the elements in the determined stack, their display properties are modified in accordance with the target visual effect.
The present invention also provides a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, implement a method of altering a visual effect of a document as described above.
The invention also provides a terminal for changing the visual effect of the document, which comprises:
a memory for storing computer readable instructions;
and a processor for executing the computer readable instructions to implement the method for altering a visual effect of a document as described above.
Compared with the prior art, the invention comprises the following steps: acquiring a stacking relationship among a plurality of elements in the document; and modifying the display attribute for the elements in the corresponding lamination according to the lamination relation. The invention can visually and clearly define a plurality of elements in a stacked relation, and optimizes the visual effect of document display.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate and do not limit the invention.
FIG. 1 is a flowchart of a method for changing a visual effect of a document according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a stacking relationship between elements shown in an application example of the present invention;
FIG. 3 is a schematic diagram of a display effect of elements in a stacked relationship in the prior art;
FIG. 4 is a schematic diagram of the display effect of elements in a stacked relationship shown in an application example of the present invention;
FIG. 5 is a schematic view of another element display effect in a stacked relationship shown in an application example of the present invention;
FIG. 6 is a block diagram of a document visual effect modification system provided by an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail hereinafter with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the embodiments and features in the embodiments may be arbitrarily combined with each other.
The steps illustrated in the flowchart of the figures may be performed in a computer system, such as a set of computer-executable instructions. Also, while a logical order is depicted in the flowchart, in some cases, the steps depicted or described may be performed in a different order than presented herein.
As shown in FIG. 1, the invention provides a method for changing the visual effect of a document, which comprises the following steps:
s101, acquiring a stacking relationship among a plurality of elements in a document;
the plurality of inter-element layer relationships includes: elements do not overlap each other, there is partial overlap of elements, complete overlap of elements, elements contain but do not overlap (e.g., visually contained elements penetrate contained elements, are located on contained elements);
the document may include a slide document; the elements may include a title box, a content box, content in a content box in a document;
s102, modifying display attributes for elements in the corresponding stacks according to the stacking relationship.
Wherein, step S101 obtains a stacking relationship among a plurality of elements in a document, including:
acquiring a stacking relationship among a plurality of elements from a document solidifying the stacking relationship among the description elements; alternatively, the hierarchical relationship between the plurality of elements is obtained from a document in which the hierarchical relationship between the elements can be edited.
The stacking relation among different elements is solidified and written into a document, for example, a slide is written into a self-contained document, so that the existing functions of a document program can be enriched, and the user experience of the document program is optimized; the stacking relation among different elements is written into the editable document, so that a user can adjust the stacking relation among the elements according to the requirement, and the method is flexible and convenient to use.
The stacking relationship written in the document may be calculated by the document creator (e.g., template designer, document user) based on the stacking and perspective effects of the elements.
Wherein step S102 modifies the display attribute for the elements in the corresponding stack according to the stack relationship, including:
determining the lamination of the corresponding elements according to the lamination relation and the target visual effect;
for the elements in the determined stack, their display properties are modified in accordance with the target visual effect.
The display attributes include: color, shape; the target visual effect may be set.
The invention can visually and clearly define a plurality of elements in a stacked relation, and optimizes the visual effect of document display.
The above embodiment is further described below with a specific application example.
Assuming that a slide has a stacking relationship as shown in fig. 2, there is a matrix at the bottom of the slide background, and three matrices are stacked on the matrix; three circles are arranged in the middle of the slide background, and three stars are overlapped on the three circles.
According to the conventional slide display method, the above element display patterns having a layered relationship are as shown in fig. 3, the layered relationship between the elements is not easily distinguished, and the visual effect of the document display is not ideal.
According to the method for changing the visual effect of the document provided by the embodiment of the invention, the element display pattern with the layering relationship is shown in fig. 4, and the layering relationship of the elements is visually clear.
Fig. 5 shows another display pattern in which the above-described lamination relation elements exist, since the visual effect can be set.
As shown in FIG. 6, the present invention provides a system for altering a visual effect of a document, the system comprising:
a stacking relationship obtaining module 601, configured to obtain a stacking relationship between a plurality of elements in the document;
the plurality of inter-element layer relationships includes: the elements do not overlap each other, there is partial overlap of the elements, complete overlap of the elements, the elements include but do not overlap;
the document may include a slide document; the elements may include a title box, a content box, content in a content box in a document;
a modification module 602, configured to modify display attributes for elements in the corresponding stacks according to the stacking relationship.
As an optional implementation manner, the stacking relationship obtaining module 601 is configured to obtain stacking relationships among a plurality of elements in the document, and includes:
acquiring a stacking relationship among a plurality of elements from a document solidifying the stacking relationship among the description elements; or, obtaining the stacking relation among a plurality of elements from the document of the stacking relation among the editable elements.
The stacking relation among different elements is solidified and written into a document, for example, a slide is written into a self-contained document, so that the existing functions of a document program can be enriched, and the user experience of the document program is optimized; the stacking relation among different elements is written into the editable document, so that a user can adjust the stacking relation among the elements according to the requirement, and the method is flexible and convenient to use.
As an alternative embodiment, the modifying module 602 is configured to modify, according to the stacking relationship, a display attribute for an element in a corresponding stack, including:
determining the lamination of the corresponding elements according to the lamination relation and the target visual effect;
for the elements in the determined stack, their display properties are modified in accordance with the target visual effect.
The display attributes include: color, shape; the target visual effect may be set.
The invention can visually and clearly define a plurality of elements in a stacked relation, and optimizes the visual effect of document display.
Embodiments of the present invention also provide a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, implement a method for modifying a visual effect of a document as described in the above embodiments.
The embodiment of the invention also provides a terminal for changing the visual effect of the document, which is characterized by comprising:
a memory for storing computer readable instructions;
and a processor for executing the computer readable instructions to implement the method for modifying a visual effect of a document according to the above embodiment.
Those of ordinary skill in the art will appreciate that all or some of the steps, systems, functional modules/units in the apparatus, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between the functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed cooperatively by several physical components. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media.

Claims (4)

1. A method for modifying a visual effect of a document, comprising:
acquiring a stacking relationship among a plurality of elements in the document;
wherein the stacking relation among the plurality of elements is determined according to the stacking and perspective effects of the elements and is pre-cured and written into the document; the stacking relationship between the plurality of elements includes: the elements do not overlap each other, there is partial overlap of the elements, complete overlap of the elements, the elements include but do not overlap;
modifying display attributes for elements in the corresponding stacks according to the stacking relationship;
the obtaining the stacking relation among a plurality of elements in the document comprises the following steps:
acquiring a stacking relationship among a plurality of elements from a document solidifying the stacking relationship among the description elements;
or alternatively, the first and second heat exchangers may be,
acquiring a stacking relationship among a plurality of elements from a document of the stacking relationship among the editable elements;
the modifying the display attribute for the elements in the corresponding stack according to the stack relation includes:
determining the lamination of the corresponding elements according to the lamination relation and the target visual effect;
for the elements in the determined stack, their display properties are modified in accordance with the target visual effect to visually define a plurality of elements in a stacked relationship.
2. A system for altering a visual effect of a document, the system comprising:
a stacking relationship obtaining module, configured to obtain a stacking relationship between a plurality of elements in the document; wherein the stacking relation among the plurality of elements is determined according to the stacking and perspective effects of the elements and is pre-cured and written into the document; the stacking relationship between the plurality of elements includes: the elements do not overlap each other, there is partial overlap of the elements, complete overlap of the elements, the elements include but do not overlap;
a modification module, configured to modify display attributes for elements in a corresponding stack according to the stacking relationship;
the stacking relation obtaining module is configured to obtain a stacking relation among a plurality of elements in a document, and includes:
acquiring a stacking relationship among a plurality of elements from a document solidifying the stacking relationship among the description elements;
or alternatively, the first and second heat exchangers may be,
acquiring a stacking relationship among a plurality of elements from a document of the stacking relationship among the editable elements;
the modification module is configured to modify, according to the stacking relationship, a display attribute for an element in a corresponding stack, and includes:
determining the lamination of the corresponding elements according to the lamination relation and the target visual effect;
for the elements in the determined stack, their display properties are modified in accordance with the target visual effect to visually define a plurality of elements in a stacked relationship.
3. A computer readable storage medium storing computer executable instructions which when executed by a processor implement the method of altering a visual effect of a document according to claim 1.
4. A terminal for modifying a visual effect of a document, the terminal comprising:
a memory for storing computer readable instructions;
a processor for executing the computer-readable instructions to implement the method for altering a visual effect of a document according to claim 1.
CN201810910664.XA 2018-08-10 2018-08-10 Method, system and device for changing visual effect of document Active CN110874524B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810910664.XA CN110874524B (en) 2018-08-10 2018-08-10 Method, system and device for changing visual effect of document

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810910664.XA CN110874524B (en) 2018-08-10 2018-08-10 Method, system and device for changing visual effect of document

Publications (2)

Publication Number Publication Date
CN110874524A CN110874524A (en) 2020-03-10
CN110874524B true CN110874524B (en) 2024-01-26

Family

ID=69714189

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810910664.XA Active CN110874524B (en) 2018-08-10 2018-08-10 Method, system and device for changing visual effect of document

Country Status (1)

Country Link
CN (1) CN110874524B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105393246A (en) * 2013-06-28 2016-03-09 微软技术许可有限责任公司 Selecting and editing visual elements with attribute groups
CN105404512A (en) * 2015-11-25 2016-03-16 飞天诚信科技股份有限公司 Application window interface changing method and apparatus
CN107480278A (en) * 2017-08-22 2017-12-15 南京焦点领动云计算技术有限公司 A kind of method of the adjustment webpage pattern to come into force in real time

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8321783B2 (en) * 2008-09-30 2012-11-27 Apple Inc. Visualizing content positioning within a document using layers
US8775918B2 (en) * 2008-10-07 2014-07-08 Visual Software Systems Ltd. System and method for automatic improvement of electronic presentations
US8892995B2 (en) * 2010-02-02 2014-11-18 Xerox Corporation Method and system for specialty imaging effect generation using multiple layers in documents
US9442896B2 (en) * 2014-02-21 2016-09-13 Csr Imaging Us, Lp Universal mobile document viewer with high fidelity, efficient architecture and editing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105393246A (en) * 2013-06-28 2016-03-09 微软技术许可有限责任公司 Selecting and editing visual elements with attribute groups
CN105404512A (en) * 2015-11-25 2016-03-16 飞天诚信科技股份有限公司 Application window interface changing method and apparatus
CN107480278A (en) * 2017-08-22 2017-12-15 南京焦点领动云计算技术有限公司 A kind of method of the adjustment webpage pattern to come into force in real time

Also Published As

Publication number Publication date
CN110874524A (en) 2020-03-10

Similar Documents

Publication Publication Date Title
JP6462919B2 (en) Image automatic editing apparatus and method based on image analysis, and computer-readable recording medium
US9983760B2 (en) Apparatus, method and computer readable recording medium for arranging a plurality of items automatically in a canvas
CN105335445B (en) It is laid out display methods and device
CN101719335B (en) Grid picture electronic map for geographic information system
CN102663119B (en) Method for rendering massive vector data
KR102317940B1 (en) Method for making support based on 3D mesh surface properties for layered manufacturing
US20220055307A1 (en) 3d printing slicing method for solving quantization error problem
CN108090037B (en) Automatic typesetting method and device
CN101187932A (en) Apparatus for simultaneously storing area selected in image and apparatus for creating an image file by automatically recording image information
CN104731855A (en) Method and device for displaying image resources of WeChat friend circle
CN114418861B (en) Camera image splicing processing method and system
CN110874524B (en) Method, system and device for changing visual effect of document
CN114677432A (en) Image processing method, device and storage medium
CN104837007A (en) Digital image quality grading method and device
CN113011432A (en) Two-dimensional code layered display and identification method and device
CN101867829A (en) Color-image representative color decision apparatus and control its method of operating
CN106558019B (en) Picture arrangement method and device
CN115145565A (en) Rule engine-based data visualization large-screen layout method and device
CN111340914A (en) Map generation method and device, storage medium and vehicle
CN116311135A (en) Data dimension reduction method, data dimension reduction system and controller for semantic information
CN105590295A (en) Pathological section display method and device
CN105550301B (en) A kind of cutting of high definition picture and methods of exhibiting
CN106610830A (en) Method and device for dragging and dropping page elements
CN112836470A (en) Document typesetting method and device
CN106934847B (en) Pattern generation method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant