[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN109901776B - Method and device for adjusting object attribute - Google Patents

Method and device for adjusting object attribute Download PDF

Info

Publication number
CN109901776B
CN109901776B CN201711298153.9A CN201711298153A CN109901776B CN 109901776 B CN109901776 B CN 109901776B CN 201711298153 A CN201711298153 A CN 201711298153A CN 109901776 B CN109901776 B CN 109901776B
Authority
CN
China
Prior art keywords
attributes
attribute
adjusting
adjusted
selection operation
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
CN201711298153.9A
Other languages
Chinese (zh)
Other versions
CN109901776A (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 CN201711298153.9A priority Critical patent/CN109901776B/en
Publication of CN109901776A publication Critical patent/CN109901776A/en
Application granted granted Critical
Publication of CN109901776B publication Critical patent/CN109901776B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The document discloses a method and a device for adjusting object attributes, comprising the following steps: detecting selection operation of an object, selection operation of at least one attribute and preset trigger operation on a document user interface, wherein the trigger operation is used for triggering action of adjusting the attribute of the selected object in a preset adjusting mode; responding to the selection operation of the object, the selection operation of at least one attribute and the trigger operation, and determining an object to be adjusted, at least one attribute and an adjustment mode; and adjusting the at least one attribute of the object according to the adjusting mode, and displaying the adjusted object on the document user interface. The method and the device can simplify user operation at least and improve user experience.

Description

Method and device for adjusting object attribute
Technical Field
The present invention relates to network application technologies, and in particular, to a method and an apparatus for adjusting object attributes.
Background
In the editing process of an electronic document, it is often necessary to adjust the attributes of objects in the document, such as setting the height, width, font size, etc., to achieve the display state desired by the user. In the related art, if a plurality of attributes of objects in an electronic document need to be adjusted simultaneously or attributes of a plurality of objects need to be adjusted simultaneously, a user often needs to operate object by object or attribute by attribute, the operation process is complicated, and the user experience is poor.
Disclosure of Invention
The invention provides a method and a device for adjusting object attributes, which can at least simplify user operation and improve user experience.
The present application provides the following technical solutions.
A method of adjusting properties of an object, comprising:
detecting selection operation of an object, selection operation of at least one attribute and preset trigger operation on a document user interface, wherein the trigger operation is used for triggering action of adjusting the attribute of the selected object in a preset adjusting mode;
responding to the selection operation of the object, the selection operation of at least one attribute and the trigger operation, and determining an object to be adjusted, at least one attribute and an adjustment mode;
and adjusting the at least one attribute of the object according to the adjusting mode, and displaying the adjusted object on the document user interface.
Wherein, the selection operation of the at least one attribute comprises one or two items of the following items:
checking at least one first option on the document user interface, wherein the first option supports checking operation and is in one-to-one association with the attribute;
and selecting at least one first shortcut key when the document user interface is displayed, wherein the first shortcut key is in one-to-one association with the attribute.
Wherein the method further comprises one or both of:
configuring the first option on a user interface of a document, wherein the first option supports check operation and is in one-to-one association with the attribute;
setting the first shortcut key in one-to-one association with the attribute.
Wherein the setting the first shortcut key in one-to-one association with the attribute comprises:
a second option is configured in advance on a user interface of a document, and the second option is used for triggering the setting of the first shortcut key;
responding to the selection operation of the second option, and popping up a shortcut key setting dialog box;
and detecting shortcut key values input in the shortcut key setting dialog box, and generating a record representing the association relation between the first shortcut key and the attribute.
Wherein the method further comprises: writing the record into a registry or a configuration file.
Wherein, the determining the object to be adjusted, the at least one attribute and the adjustment mode in response to the selection operation of the object, the selection operation of the at least one attribute and the trigger operation includes one of the following steps:
responding to the selection operation of the object, the selection operation of at least one attribute and a first trigger operation, identifying the object to be adjusted and the at least one attribute to be adjusted, and determining to adopt a first adjustment mode, wherein the first adjustment mode is to increase the value of the attribute;
and responding to the selection operation of the object, the selection operation of the at least one attribute and a second trigger operation, identifying the object to be adjusted and the at least one attribute to be adjusted, and determining to adopt a second adjustment mode, wherein the second adjustment mode is to reduce the value of the attribute.
Wherein the adjusting the at least one attribute of the object according to the adjusting manner at least includes one of the following:
increasing the value of the at least one attribute of the object when the first adjustment mode is determined to be adopted;
reducing the value of the at least one attribute of the object when it is determined that the second adjustment mode is adopted.
Wherein the triggering operation includes at least one of:
rolling the mouse pulley upwards;
rolling the mouse pulley downwards;
amplifying the touch gesture;
and zooming out the touch gesture.
Wherein the type of the object is one of: selecting a graph, a picture, a table, a chart and a text box.
Wherein, the number of the objects to be adjusted is one or more.
Wherein the attribute is one of: height, width, font size, brightness, contrast, thickness.
An apparatus for adjusting properties of an object, comprising:
the detection module is used for detecting the selection operation of an object, the selection operation of at least one attribute and a preset trigger operation on a document user interface, wherein the trigger operation is used for triggering an action of adjusting the attribute of the selected object in a preset adjustment mode;
the determining module is used for responding to the selection operation of the object, the selection operation of at least one attribute and the trigger operation, and determining the object to be adjusted, at least one attribute and an adjusting mode;
an adjusting module, configured to adjust the at least one attribute of the object according to the adjustment manner;
a display module for displaying the adjusted object on the document user interface.
The detection module is used for detecting the selection operation of at least one attribute on the document user interface, wherein the selection operation of at least one attribute comprises one or two of the following items:
checking at least one first option on the document user interface, wherein the first option supports checking operation and is in one-to-one association with the attribute;
and selecting at least one first shortcut key when the document user interface is displayed, wherein the first shortcut key is in one-to-one association with the attribute.
Wherein, still include one or two following:
the first setting module is used for configuring the first option on a user interface of a document, and the first option supports check operation and is in one-to-one association with the attribute;
and the second setting module is used for setting the first shortcut key in one-to-one association with the attribute.
Wherein the second setting module includes:
the configuration unit is used for configuring a second option in advance on a user interface of a document, and the second option is used for triggering the setting of the first shortcut key;
the pop-up unit is used for responding to the selection operation of the second option and popping up a shortcut key setting dialog box;
and the recording unit is used for detecting the shortcut key value input in the shortcut key setting dialog box and generating a record representing the association relation between the first shortcut key and the attribute.
Wherein the determining module comprises:
the first determining unit is used for responding to the selection operation of the object, the selection operation of at least one attribute and a first trigger operation, identifying the object to be adjusted and the at least one attribute to be adjusted, and determining to adopt a first adjusting mode, wherein the first adjusting mode is to increase the value of the attribute;
and the second determining unit is used for responding to the selection operation of the object, the selection operation of the at least one attribute and the second trigger operation, identifying the object to be adjusted and the at least one attribute to be adjusted, and determining to adopt a second adjustment mode, wherein the second adjustment mode is to reduce the value of the attribute.
Wherein, the adjusting module comprises:
a first adjusting unit, configured to increase a value of the at least one attribute of the object when it is determined that a first adjusting manner is adopted;
and the second adjusting unit is used for reducing the value of the at least one attribute of the object when a second adjusting mode is determined to be adopted.
Wherein the triggering operation includes at least one of:
rolling the mouse pulley upwards;
rolling the mouse pulley downwards;
amplifying the touch gesture;
and zooming out the touch gesture.
Wherein the type of the object is one of: selecting a graph, a picture, a table, a chart and a text box.
Wherein, the number of the objects to be adjusted is one or more.
Wherein the attribute is one of: height, width, font size, brightness, contrast, thickness.
An apparatus for adjusting properties of an object, comprising:
a display;
a memory storing a computer program;
a processor configured to read the computer program to perform the operations of the above method of adjusting the object property.
A computer storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of the above-mentioned method of adjusting properties of an object.
The advantages of the present application include at least:
the embodiment of the invention can support the user to adjust one or more attributes of one or more objects at the same time, is simple, convenient and quick to operate, and not only can improve the editing efficiency of the electronic document, but also can obtain better user experience.
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 embodiments of the invention and together with the example serve to explain the principles of the invention and not to limit the invention.
FIG. 1 is a schematic illustration of an exemplary application environment of the present application;
FIG. 2 is a schematic illustration of another exemplary application environment of the present application;
FIG. 3 is a flowchart illustrating a method for adjusting object attributes according to a first embodiment;
FIG. 4 is a schematic flow chart of an implementation of example 1 according to the first embodiment;
FIG. 5 is a diagram illustrating a first option on the document user interface in example 1 of the first embodiment;
FIG. 6 is a schematic flow chart of an implementation of example 2 according to the first embodiment;
FIG. 7 is a diagram illustrating a first option and a second option on a document user interface in example 2 of the first embodiment;
fig. 8 is an exemplary diagram of a shortcut key setup dialog in example 2 of the first embodiment;
FIG. 9 is a diagram illustrating a structure of an apparatus for adjusting object properties according to a second embodiment;
fig. 10 is a schematic structural diagram of an apparatus for adjusting object attributes according to a third embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
The steps illustrated in the flow charts of the figures may be performed in a computer system such as a set of computer-executable instructions. Also, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.
The electronic device described herein may be any device that supports document processing. The electronic device can be implemented in various forms. For example, the electronic device may be a mobile terminal device such as a mobile phone, a tablet computer, a notebook computer, a palm top computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and a fixed terminal device such as a desktop computer.
In the related art, when a plurality of attributes of an object in an electronic document need to be adjusted, a user needs to perform at least the following operations: selecting an object first, and then dragging control points around the object, or inputting values under multiple attributes under a tab, or clicking buttons of the attributes one by one to increase or decrease the values of the attributes one by one. The related art has at least the following defects: 1. the adjustment can be performed only for one attribute each time, for example, only one of the height, the width or the font size can be adjusted at one time, and the different three can be adjusted at the same time; 2. if a group of objects with different heights, widths and font sizes are selected, the adjustment of the values of the objects by the mouse wheel leads to the attribute values of all the objects being uniformly set to one value, however, the user may only need to adjust the attribute values of the objects to be larger or smaller and does not want the same attribute of the objects to have the same value, and if the user wants the same attribute of a plurality of objects to have different values, the user must perform the setting operation on the object-by-object basis. Therefore, the operation process of the related technology is complicated, the user experience is poor, and the document editing efficiency is low.
Aiming at the defects of the related art, the following technical scheme is provided, so that the user operation during the attribute adjustment of any object in the document can be simplified, and the user experience is improved.
Fig. 1 is a schematic diagram of an exemplary application environment of the present application. As shown in fig. 1, a user installs office software on a computer, the computer provides the user with an editing function of an electronic document by running the office software, the user can perform a document editing operation on a user interface of the electronic document, and the computer generates a document of a corresponding format or performs a corresponding document editing process in response to the document editing operation of the user.
Fig. 2 is a diagram illustrating another exemplary application environment of the present application. In the application environment shown in fig. 2, a user installs an office application on a mobile device, the mobile device runs the office application to provide the user with an editing function of an electronic document, the user can perform a document editing operation on an electronic document user interface presented on the mobile device, and the mobile device can generate a document in a corresponding format or perform a corresponding document editing process in response to the document editing operation of the user.
In addition, the present application is applicable to other environments. It can be understood that the technical solution of the present application can be applied to various application environments of electronic documents. There is no limitation to the specific application environment.
The following describes in detail an implementation of the technical solution of the present application.
Example one
As shown in fig. 3, a method for adjusting object properties may include: in steps 301 to 303, the method of this embodiment supports the user to operate one or more attributes of one or more objects at the same time, and is simple, fast and convenient to operate, so that not only the editing efficiency of the electronic document can be improved, but also better user experience can be obtained.
Step 301, detecting a selection operation of an object, a selection operation of at least one attribute, and a preset trigger operation on a document user interface, wherein the trigger operation is used for triggering an action of adjusting the attribute of the selected object in a preset adjustment mode;
step 302, in response to the selection operation of the object, the selection operation of at least one attribute and the trigger operation, determining an object to be adjusted, at least one attribute and an adjustment mode;
step 303, adjusting said at least one attribute of said object according to said adjustment mode, and displaying said adjusted object on said document user interface.
In the embodiment, the user can flexibly and simultaneously adjust one or more attributes of one or a group of objects, so that the user operation is simplified, the user experience is improved, and the editing efficiency of the electronic document is improved.
In this embodiment, the type of the object may be one or more of the following: and selecting a graph, a picture, a table, a chart and a text box. The object may also be applied to other types in addition to this. There is no limitation to the specific class of objects.
In this embodiment, the number of the objects to be adjusted may be one or more. In other words, steps 301 to 303 may be performed for a plurality of objects at the same time, or may be performed for one object.
In this embodiment, the attribute of the object may include one or more of the following (but is not limited thereto): height, width, font size, scale, thickness, brightness, contrast, cropping, etc. In addition, other types of attributes may be applied, and the specific category of object attributes is not limited herein.
In this embodiment, the user may select at least one attribute in multiple ways, specifically, the user may select multiple attributes simultaneously in multiple ways, or may select only one attribute. In one implementation, the user may check the attribute to be set through an option supporting a check operation, or may check the attribute to be set through a shortcut key set in advance. That is to say, in this embodiment, the operation of selecting the at least one attribute may include one or two of the following: 1) checking at least one first option on the document user interface, wherein the first option supports checking operation and is in one-to-one association with the attribute; 2) and selecting at least one first shortcut key when the document user interface is displayed, wherein the first shortcut key is in one-to-one association with the attribute. In addition, the selecting operation of the attribute may be performed in other manners, and the specific selecting operation manner is not limited herein.
In one implementation manner, the method of this embodiment may further include one or two of the following: 1) the first option is configured in advance on a user interface of a document, supports check operation and is in one-to-one association with the attribute; 2) presetting the first shortcut key in one-to-one association with the attribute. Therefore, the user can select the attribute to be set by operating the first option and/or the shortcut key, the operation is simple, convenient and quick, and the user experience is good.
In practical applications, the manner of setting the first shortcut key may be various. In an implementation manner, a default configuration manner of the system may be adopted, that is, a shortcut key value associated with each attribute may be set in the system configuration, and a user may directly adopt the preset shortcut key value to select an attribute to be set. In another implementation mode, a mode set by a user may be adopted, that is, the user may trigger a dialog box for setting the first shortcut key through a preset option, and set shortcut key values associated with the attributes in a one-to-one manner through the dialog box. Specifically, the presetting of the first shortcut key in one-to-one association with the attribute may include: a second option is configured in advance on a user interface of a document, and the second option is used for triggering the setting of the first shortcut key; responding to the selection operation of the second option, and popping up a shortcut key setting dialog box; and detecting shortcut key values input in the shortcut key setting dialog box, and generating a record representing the association relation between the first shortcut key and the attribute, so that the equipment determines the attribute of the object when the first shortcut key is triggered by calling the record, and accordingly, corresponding adjustment action is executed according to the attribute. Here, the method may further include: the record is written to a registry or configuration file so that it is still valid after a device reboot or process reboot. Besides the above manners, the first shortcut key may be set in other manners, and the specific manner of setting the first shortcut key is not limited herein.
In this embodiment, the determining, in response to the selection operation of the object, the selection operation of the at least one attribute, and the trigger operation, the object to be adjusted, the at least one attribute, and the adjustment mode may include one or more of the following: 1) responding to the selection operation of the object, the selection operation of at least one attribute and a first trigger operation, identifying the object to be adjusted and the at least one attribute to be adjusted, and determining to adopt a first adjustment mode, wherein the first adjustment mode is to increase the value of the attribute; 2) and responding to the selection operation of the object, the selection operation of the at least one attribute and a second trigger operation, identifying the object to be adjusted and the at least one attribute to be adjusted, and determining to adopt a second adjustment mode, wherein the second adjustment mode is to reduce the value of the attribute.
In practice, the value of the attribute may be increased or decreased in a predetermined manner.
In one implementation, the value of the attribute may be increased or decreased by a predetermined ratio (e.g., 50%), that is, the predetermined ratio is increased based on the value of the original attribute or decreased based on the value of the original attribute. For example, if the predetermined ratio is 50%, the attributes to be adjusted currently are the width and the font size, the original width value is 20, and the original font size is 10, the width value is increased or decreased by 10, and the font size is increased or decreased by 5 in response to one trigger operation.
In another implementation, the value of the attribute may be increased or decreased according to a preset value, that is, the set value is increased or decreased based on the original attribute value. For example, if the preset value is 1, the attribute to be adjusted currently is the width and the font size, the original width value is 10, and the font size is four, the width value is increased by 1 (to 11) or decreased by 1 (to 9), the font size is increased by 1 (to four less), or decreased by 1 (to three less) in response to one trigger operation.
Other approaches besides the above may also be used. It is understood that various implementations of attribute value increase or decrease are applicable to the present scheme.
In practice, the triggering operation may take various forms. For example, the trigger operation may be a mouse operation, an operation on a touch screen, a keyboard operation, or the like. In one implementation, the triggering operation may include one or more of the following: rolling the mouse pulley upwards; rolling the mouse pulley downwards; amplifying the touch gesture; and zooming out the touch gesture. For example, the mouse wheel may be rolled up to set a first trigger operation, the mouse wheel may be rolled down to set a second trigger operation, the zoom-in gesture on the touch screen may be set to the first trigger operation, and the zoom-out gesture on the touch screen may be set to the second trigger operation. For another example, the pressing operation of "↓" on the keyboard may be set to the first touch operation, and the pressing operation of "↓" on the keyboard may be set to the second touch operation. Other approaches besides the above may also be used. It can be understood that various operation modes for input devices such as a mouse, a keyboard, a touch screen and the like can be used as implementation forms of the above-mentioned triggering operation in the present scheme.
The following describes the implementation process of the present embodiment by taking three attributes, i.e., height, width, and font size, as examples.
Example 1
As shown in fig. 4, in this example, the process of adjusting the width and height of the two text boxes may include:
step 401, providing a first option corresponding to three attributes of height, width and font size on a document editing interface;
fig. 5 is a schematic diagram of a first option on the document editing interface in this example. Wherein, the three first options of "height", "width" and "font size" can be checked or can be singled. In practical applications, these first options may be configured under any existing tab, and may also exist as new tabs.
Step 402, when the width and the height of the two text boxes need to be reduced simultaneously, the user selects the two text boxes, selects two first options of "height" and "width" and rolls the mouse wheel downwards, and the electronic device responds to the operations of the user to reduce the height value and the width value of the two text boxes.
Here, during the operation of step 402, the setting effects of the one or more objects may be presented simultaneously, so that the user may release the mouse at any time after reaching the desired effect, and terminate the operation.
Example 2
As shown in fig. 6, in this example, the process of adjusting the width and the font size of a chart and a text box simultaneously may include:
step 601, providing a second option "keyboard key setting" on the document editing interface, wherein the "keyboard key setting" can be used for setting first shortcut keys of various attributes;
fig. 7 is a schematic diagram showing a first option and a second option on the document editing interface in this example.
Step 602, the user clicks "keyboard key setting", pops up a shortcut key setting dialog box, and sets a first shortcut key corresponding to the three attributes of height, width, and font size through the shortcut key setting dialog box.
As shown in fig. 8, an exemplary diagram of a dialog box is provided for a shortcut key. As shown in fig. 8, in the present example, the shortcut key setting dialog box shown in fig. 8 may set shortcut keys corresponding to three attributes, i.e., height, width, and font size, respectively. In this example, the setup process may be: the user inputs the shortcut keys of 'CTRL' and 'SHIFT' and 'ALT' and clicks 'confirm', thus completing the setting of the shortcut keys of each attribute.
In practical applications, after the user clicks certain, the setting values of the dialog box shown in fig. 8 will be recorded locally for subsequent use. In practical applications, after the user clicks the confirmation, the record may be automatically saved in a registry or a configuration file, so that the record is still valid after the restart process or the device is restarted.
Step 603, when the width and the font size of a chart and a text box need to be increased, the user selects the chart and the text box, simultaneously selects two attributes of 'width' and 'font size' and rolls the mouse wheel upwards, and the electronic equipment responds to the operations of the user and increases the font size value and the width value of the chart and the text box.
Here, the setting effect of the selected object may be simultaneously presented to the user in real time during the operation of step 603, and the user may release the mouse at any time after reaching the desired effect, and terminate the operation.
In practical application, the first option corresponding to each attribute on the document editing interface and the first shortcut key corresponding to each attribute on the keyboard can be used in a mixed manner or can be used separately. In other words, the selection operation of the two attributes of "width" and "font size" can be completed in this step as follows:
in one implementation, the user may select the first option "width" and the first option "font size" at the same time, and the electronic device adjusts the values of the two attributes in response to this operation by the user.
In another implementation, the user may select the first option "width" and press the key "ALT," and the electronic device may perform an adjustment of the values of both the "width" and "size" attributes in response to this operation.
In yet another implementation, the user may select the first option "size" and press the key "SHIFT", and the electronic device performs an adjustment of the values of both the "width" and "size" attributes in response to this operation.
It should be noted that fig. 4 to fig. 8 are all examples, and in practical application, the embodiment may also be implemented in other ways.
Example two
An apparatus for adjusting object properties, as shown in fig. 9, may include:
the detection module 91 is configured to detect, on the document user interface, a selection operation of an object, a selection operation of at least one attribute, and a preset trigger operation, where the trigger operation is used to trigger an action of adjusting the attribute of the selected object in a predetermined adjustment manner;
a determining module 92, configured to determine, in response to the selection operation of the object, the selection operation of the at least one attribute, and the trigger operation, an object to be adjusted, the at least one attribute, and an adjustment mode;
an adjusting module 93, configured to adjust the at least one attribute of the object according to the adjustment manner;
a display module 94 for displaying the adjusted object on the document user interface.
In one implementation, the detecting module 91 may be configured to detect a selection operation of at least one attribute on a document user interface, where the selection operation of at least one attribute includes one or both of: checking at least one first option on the document user interface, wherein the first option supports checking operation and is in one-to-one association with the attribute; and selecting at least one first shortcut key when the document user interface is displayed, wherein the first shortcut key is in one-to-one association with the attribute.
The apparatus for adjusting object attributes in this embodiment may further include one or two of the following:
a first setting module 95, configured to configure the first option on a user interface of a document, where the first option supports check operations and is one-to-one associated with the attribute;
a second setting module 96, configured to set the first shortcut key in one-to-one association with the attribute.
In one implementation, the second setting module 96 may include: a configuration unit 961, configured to pre-configure a second option on a user interface of a document, where the second option is used to trigger setting of the first shortcut key; a popup unit 962 for popping up a shortcut key setting dialog in response to the selection operation of the second option; a recording unit 963, configured to detect a shortcut key value input in the shortcut key setting dialog, and generate a record indicating an association relationship between the first shortcut key and the attribute, so as to determine an attribute of the object when the first shortcut key is triggered by invoking the record. Here, the recording unit 963 may also be used to write the record into a registry or configuration file so that the record may remain valid after a process restart or device restart.
In the apparatus for adjusting object attributes according to this embodiment, the determining module 92 may include:
the first determining unit 921, configured to identify, in response to the selection operation of the object, the selection operation of the at least one attribute, and the first trigger operation, the object to be adjusted and the at least one attribute to be adjusted, and determine to adopt a first adjustment manner, where the first adjustment manner is to increase a value of the attribute;
the second determining unit 922 may be configured to identify the object to be adjusted, the at least one attribute to be adjusted, and determine to adopt a second adjustment manner in response to the selection operation of the object, the selection operation of the at least one attribute, and the second trigger operation, where the second adjustment manner is to reduce the value of the attribute.
In the apparatus for adjusting object attributes according to this embodiment, the adjusting module 93 may include:
a first adjusting unit 931, configured to increase a value of the at least one attribute of the object when it is determined that the first adjusting manner is adopted;
a second adjusting unit 932, configured to decrease the value of the at least one property of the object when determining to adopt the second adjusting manner.
In this embodiment, the triggering operation may include at least one of: rolling the mouse pulley upwards; rolling the mouse pulley downwards; amplifying the touch gesture; and zooming out the touch gesture.
In this embodiment, the type of the object may be one of the following: selecting a graph, a picture, a table, a chart and a text box. In this embodiment, the number of the objects to be adjusted may be one or more. In this embodiment, the attribute may be at least one of the following: height, width, font size, brightness, contrast, thickness.
In practical applications, the apparatus for adjusting the object attribute according to the embodiment may be disposed in an electronic device or may be implemented as an electronic device. Each module and each unit in the apparatus for adjusting the object attribute may be software, hardware, or a combination of both. Specifically, the detection module 91, the determination module 92, the adjustment module 93, the display module 94, the first setting module 95, and the second setting module 96 may be software, hardware, or a combination thereof, respectively.
Other technical details of the present embodiment may refer to the first embodiment.
EXAMPLE III
An apparatus for adjusting object properties, as shown in fig. 10, may include:
a display 101;
a memory 102 storing a computer program;
the processor 103 may be configured to read the computer program to perform the operations of the method for adjusting the object property according to the first embodiment.
In practical applications, the apparatus for adjusting object attributes according to the embodiment can be implemented by an electronic device. The basic configuration of the apparatus for adjusting the object property may include a display 101, a memory 102, and a processor 103. On the basis of the basic configuration, other components can be added according to the requirements of practical application. For example, the apparatus for adjusting object attributes may further include: a mouse, a keyboard, and the like, and the display 101 may be implemented as a touch display that supports touch operations. On the basis, other components can be added, for example, the apparatus for adjusting the object property can further include: voice input means, communication circuitry, etc.
Other technical details of the present embodiment may refer to the first embodiment.
Example four
A computer storage medium, having a computer program stored thereon, which, when being executed by a processor, carries out the steps of the method of adjusting properties of an object of the embodiment.
In practical applications, the computer storage medium of this embodiment may be configured in the electronic device, so as to implement the steps of the method for adjusting the object attribute according to the first embodiment.
Other technical details of the present embodiment may refer to the first embodiment.
It should be noted that the computer storage media of the present embodiments may include permanent and non-permanent, removable and non-removable storage media, and that the storage of information may be accomplished by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device.
Although the embodiments of the present invention have been described above, the above description is only for the convenience of understanding the present invention, and is not intended to limit the present invention. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (21)

1. A method for adjusting attributes of an object, comprising:
detecting selection operations of a plurality of objects, selection operations of a plurality of attributes and preset trigger operations on a document user interface, wherein the trigger operations are used for triggering actions for adjusting the attributes of the selected objects in a preset adjusting mode;
responding to the selection operation of the objects, the selection operation of the attributes and the trigger operation, and determining the objects to be adjusted, the attributes and the adjustment mode;
and simultaneously adjusting a plurality of attributes of the object according to the adjusting mode, and displaying the adjusted object on the document user interface.
2. The method of claim 1, wherein the selecting of the plurality of attributes comprises one or both of:
checking a plurality of first options on the document user interface, wherein the first options support checking operation and are in one-to-one association with the attributes;
and selecting a plurality of first shortcut keys when the document user interface is displayed, wherein the first shortcut keys are in one-to-one association with the attributes.
3. The method of claim 2, further comprising one or both of:
configuring the first option on a user interface of a document, wherein the first option supports check operation and is in one-to-one association with the attribute;
setting the first shortcut key in one-to-one association with the attribute.
4. The method of claim 3, wherein setting the first shortcut key in one-to-one association with the attribute comprises:
a second option is configured in advance on a user interface of a document, and the second option is used for triggering the setting of the first shortcut key;
responding to the selection operation of the second option, and popping up a shortcut key setting dialog box;
and detecting shortcut key values input in the shortcut key setting dialog box, and generating a record representing the association relation between the first shortcut key and the attribute.
5. The method of claim 4, further comprising:
writing the record into a registry or a configuration file.
6. The method according to claim 1, wherein the determining the plurality of objects, the plurality of attributes and the adjustment manner to be adjusted in response to the selection operation of the plurality of objects, the selection operation of the plurality of attributes and the trigger operation comprises one of:
responding to the selection operation of the objects, the selection operation of the attributes and a first trigger operation, identifying the object to be adjusted and the attribute to be adjusted, and determining to adopt a first adjustment mode, wherein the first adjustment mode is to increase the value of the attribute;
and responding to the selection operation of the plurality of objects, the selection operation of the plurality of attributes and a second trigger operation, identifying the object to be adjusted and the attribute to be adjusted, and determining to adopt a second adjustment mode, wherein the second adjustment mode is to reduce the value of the attribute.
7. The method of claim 6, wherein said adjusting a plurality of attributes of said object simultaneously in said adjusting manner comprises at least one of:
when the first adjusting mode is determined to be adopted, simultaneously increasing the values of the multiple attributes of the object;
and when the second adjustment mode is determined to be adopted, reducing the values of the plurality of attributes of the object simultaneously.
8. The method of claim 1 or 6, wherein the triggering operation comprises at least one of:
rolling the mouse pulley upwards;
rolling the mouse pulley downwards;
amplifying the touch gesture;
and zooming out the touch gesture.
9. The method of claim 1, wherein the type of the object is one of: selecting a graph, a picture, a table, a chart and a text box.
10. The method of claim 1, wherein the attribute is one of: height, width, font size, brightness, contrast, thickness.
11. An apparatus for adjusting properties of an object, comprising:
the detection module is used for detecting selection operations of a plurality of objects, selection operations of a plurality of attributes and preset trigger operations on a document user interface, wherein the trigger operations are used for triggering actions for adjusting the attributes of the selected objects in a preset adjustment mode;
the determining module is used for responding to the selection operation of the objects, the selection operation of the attributes and the trigger operation, and determining the objects to be adjusted, the attributes and the adjusting mode;
the adjusting module is used for simultaneously adjusting a plurality of attributes of the object according to the adjusting mode;
a display module for displaying the adjusted object on the document user interface.
12. The apparatus of claim 11, wherein the detection module is configured to detect a selection of a plurality of attributes on a document user interface, and wherein the selection of the plurality of attributes includes one or both of:
checking a plurality of first options on the document user interface, wherein the first options support checking operation and are in one-to-one association with the attributes;
and selecting a plurality of first shortcut keys when the document user interface is displayed, wherein the first shortcut keys are in one-to-one association with the attributes.
13. The apparatus of claim 12, further comprising one or both of:
the first setting module is used for configuring the first option on a user interface of a document, and the first option supports check operation and is in one-to-one association with the attribute;
and the second setting module is used for setting the first shortcut key in one-to-one association with the attribute.
14. The apparatus of claim 13, wherein the second setup module comprises:
the configuration unit is used for pre-configuring a second option on a user interface of a document, and the second option is used for triggering the setting of the first shortcut key;
the pop-up unit is used for responding to the selection operation of the second option and popping up a shortcut key setting dialog box;
and the recording unit is used for detecting the shortcut key value input in the shortcut key setting dialog box and generating a record representing the association relation between the first shortcut key and the attribute.
15. The apparatus of claim 11,
the determining module includes:
the first determining unit is used for responding to the selection operation of the objects, the selection operation of the attributes and the first trigger operation, identifying the objects to be adjusted and the attributes to be adjusted, and determining to adopt a first adjusting mode, wherein the first adjusting mode is to increase the values of the attributes;
and the second determining unit is used for responding to the selection operation of the plurality of objects, the selection operation of the plurality of attributes and the second trigger operation, identifying the object to be adjusted and the attribute to be adjusted, and determining to adopt a second adjusting mode, wherein the second adjusting mode is to reduce the value of the attribute.
16. The apparatus of claim 15, wherein the adjustment module comprises:
a first adjustment unit configured to increase values of a plurality of attributes of the object at the same time when it is determined that the first adjustment manner is adopted;
and the second adjusting unit is used for reducing the values of the plurality of attributes of the object simultaneously when the second adjusting mode is determined to be adopted.
17. The apparatus of claim 11 or 15, wherein the triggering operation comprises at least one of:
rolling the mouse pulley upwards;
rolling the mouse pulley downwards;
amplifying the touch gesture;
and zooming out the touch gesture.
18. The apparatus of claim 11, wherein the type of the object is one of: and selecting a graph, a picture, a table, a chart and a text box.
19. The apparatus of claim 11, wherein the attribute is one of: height, width, font size, brightness, contrast, thickness.
20. An electronic device for adjusting properties of an object, comprising:
a display;
a memory storing a computer program;
a processor configured to read the computer program to perform the operations of the method of adjusting properties of an object according to any one of claims 1 to 10.
21. A computer storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the method of adjusting properties of an object according to any one of claims 1 to 10.
CN201711298153.9A 2017-12-08 2017-12-08 Method and device for adjusting object attribute Active CN109901776B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711298153.9A CN109901776B (en) 2017-12-08 2017-12-08 Method and device for adjusting object attribute

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711298153.9A CN109901776B (en) 2017-12-08 2017-12-08 Method and device for adjusting object attribute

Publications (2)

Publication Number Publication Date
CN109901776A CN109901776A (en) 2019-06-18
CN109901776B true CN109901776B (en) 2022-05-06

Family

ID=66940773

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711298153.9A Active CN109901776B (en) 2017-12-08 2017-12-08 Method and device for adjusting object attribute

Country Status (1)

Country Link
CN (1) CN109901776B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112784543A (en) * 2020-06-08 2021-05-11 北京金山办公软件股份有限公司 Picture adjusting method, device, equipment and storage medium
CN112445401B (en) * 2020-10-26 2022-09-02 北京达佳互联信息技术有限公司 Document sliding processing method and device and server
CN116048354A (en) * 2023-03-10 2023-05-02 福昕鲲鹏(北京)信息科技有限公司 Picture format adjustment method, system and computer readable storage medium
CN118424253B (en) * 2024-03-26 2024-12-13 航天宏图信息技术股份有限公司 Navigation electronic map attribute updating method, device, equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102819547A (en) * 2012-01-13 2012-12-12 金蝶软件(中国)有限公司 Method and device for configuring field attribute
CN103970412A (en) * 2013-01-30 2014-08-06 三星电子株式会社 Method And Apparatus For Adjusting Attribute Of Specific Object In Web Page In Electronic Device
CN105913495A (en) * 2016-03-31 2016-08-31 联想(北京)有限公司 Information processing method and electronic equipment
CN107015751A (en) * 2011-11-02 2017-08-04 微软技术许可有限责任公司 The best image and scaling of object and text in document

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7620915B2 (en) * 2004-02-13 2009-11-17 Ludwig Lester F Electronic document editing employing multiple cursors
US8427503B2 (en) * 2009-05-18 2013-04-23 Nokia Corporation Method, apparatus and computer program product for creating graphical objects with desired physical features for usage in animation
US9619435B2 (en) * 2011-08-31 2017-04-11 Adobe Systems Incorporated Methods and apparatus for modifying typographic attributes
CN102693094A (en) * 2012-06-12 2012-09-26 上海量明科技发展有限公司 Method, client side and system for adjusting characters in instant messaging
KR102092234B1 (en) * 2012-08-03 2020-03-23 엘지전자 주식회사 Mobile terminal and control method thereof
CN106155453B (en) * 2015-03-24 2020-03-27 阿里巴巴集团控股有限公司 Target object attribute adjusting method and device
CN105607809B (en) * 2015-12-24 2019-04-26 联想(北京)有限公司 Information processing method and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107015751A (en) * 2011-11-02 2017-08-04 微软技术许可有限责任公司 The best image and scaling of object and text in document
CN102819547A (en) * 2012-01-13 2012-12-12 金蝶软件(中国)有限公司 Method and device for configuring field attribute
CN103970412A (en) * 2013-01-30 2014-08-06 三星电子株式会社 Method And Apparatus For Adjusting Attribute Of Specific Object In Web Page In Electronic Device
CN105913495A (en) * 2016-03-31 2016-08-31 联想(北京)有限公司 Information processing method and electronic equipment

Also Published As

Publication number Publication date
CN109901776A (en) 2019-06-18

Similar Documents

Publication Publication Date Title
US9519397B2 (en) Data display method and apparatus
EP2856298B1 (en) Causing display of search results
US10180767B2 (en) Portable device and method facilitating execution of multiple applications simultaneously
US9195389B2 (en) Menu executing method and apparatus in portable terminal
CN109901776B (en) Method and device for adjusting object attribute
US8769403B2 (en) Selection-based resizing for advanced scrolling of display items
EP2360569A2 (en) Method and apparatus for providing informations of multiple applications
JP2017517055A (en) Command user interface for displaying and scaling selectable controls and commands
KR20130094054A (en) Apparatus and method for managing object in portable electronic device
EP2874054B1 (en) Application text adjusting method, device, and terminal
KR102310654B1 (en) Resizing technique for display content
US20140082554A1 (en) Method and electronic device for displaying categories
US20200201976A1 (en) Quick account login method, mobile terminal, and apparatus with storage function
TW201903594A (en) Icon display method, device, apparatus and storage medium capable of allowing a user to be intuitively aware of the processing progress corresponding to an application through the display status of an application icon thereby improving the use experience
CN111198640B (en) Interactive interface display method and device
CN105260103A (en) Picture scaling method and electronic device
CN111143731B (en) Display method and device for webpage interface zooming and terminal equipment
US20130311934A1 (en) Method for displaying multi menu pages in one window of multi-touch-sensitive display unit of computing device and computing device applying the method
US20140351745A1 (en) Content navigation having a selection function and visual indicator thereof
CN111837099A (en) Interactive and adaptive focus magnification system
JP2018147237A (en) Electronic apparatus, control method, and control program
CN107357490B (en) Display method of tabs and mobile terminal
US20150029114A1 (en) Electronic device and human-computer interaction method for same
CN105843504B (en) A kind of window regulation method and electronic equipment
WO2022068370A1 (en) Terminal-use minus-2 screen interface display method, apparatus, terminal, and medium

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