[go: up one dir, main page]

CN105988655B - A kind of spreadsheet line column region method of adjustment and device - Google Patents

A kind of spreadsheet line column region method of adjustment and device Download PDF

Info

Publication number
CN105988655B
CN105988655B CN201510067163.6A CN201510067163A CN105988655B CN 105988655 B CN105988655 B CN 105988655B CN 201510067163 A CN201510067163 A CN 201510067163A CN 105988655 B CN105988655 B CN 105988655B
Authority
CN
China
Prior art keywords
adjustment
type
row
user
column
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
CN201510067163.6A
Other languages
Chinese (zh)
Other versions
CN105988655A (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 Jinshan Mobile Technology Co Ltd
Original Assignee
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Guangzhou Jinshan 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 Jinshan Mobile Technology Co Ltd filed Critical Beijing Kingsoft Office Software Inc
Priority to CN201510067163.6A priority Critical patent/CN105988655B/en
Publication of CN105988655A publication Critical patent/CN105988655A/en
Application granted granted Critical
Publication of CN105988655B publication Critical patent/CN105988655B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

本发明实施例公开了一种电子表格行列区域调整方法及装置,一种电子表格行列区域调整方法,用于实现对电子表格行列的增加或删除,包括以下步骤:接收用户针对当前电子表格行列区域的调整触发操作;确定调整对象类型、调整动作类型、及调整数量;根据确定结果,对当前电子表格行列区域进行调整;其中,确定调整对象类型包括:确定当前需要对行数量进行调整、或需要对列数量进行调整;确定调整动作类型包括:确定当前需要进行增加操作、或需要进行删除操作;确定调整数量包括:展示调整数量询问界面;根据所述用户在所述调整数量询问界面输入或选择的数值,确定调整数量。应用本发明实施例所提供的技术方案,方便用户使用,能够提升用户体验。

The embodiment of the present invention discloses a method and device for adjusting the row and column areas of an electronic form. A method for adjusting the row and column areas of an electronic form is used to add or delete rows and columns of an electronic form. adjustment trigger operation; determine the adjustment object type, adjustment action type, and adjustment quantity; adjust the row and column area of the current spreadsheet according to the determination result; wherein, determining the adjustment object type includes: determining the current need to adjust the number of rows, or the need to Adjust the number of columns; determining the type of adjustment action includes: determining that an add operation or a delete operation needs to be performed; determining the adjustment amount includes: displaying an adjustment amount query interface; according to the user input or selection in the adjustment amount query interface to determine the adjustment amount. Applying the technical solutions provided by the embodiments of the present invention is convenient for users to use and can improve user experience.

Description

一种电子表格行列区域调整方法及装置A method and device for adjusting row and column areas of an electronic form

技术领域technical field

本发明涉及办公软件技术领域,特别涉及一种电子表格行列区域调整方法及装置。The invention relates to the technical field of office software, in particular to a method and device for adjusting row and column areas of an electronic form.

背景技术Background technique

电子表格软件是常用的办公软件之一,用户可以使用电子表格软件制作各种格式的电子表格,用以进行信息记录、数据统计等。当电子表格的行数或列数不满足用户当前需求时,用户需要对电子表格行列区域进行调整,增加或删除相应数量的行或列,如在电子表格的行间或行末尾增加或删除相应的行,或者在电子表格的列间或列末尾增加或删除相应的列。Spreadsheet software is one of the commonly used office software. Users can use spreadsheet software to create spreadsheets in various formats for information recording and data statistics. When the number of rows or columns of the spreadsheet does not meet the current needs of the user, the user needs to adjust the row and column area of the spreadsheet, adding or deleting the corresponding number of rows or columns, such as adding or deleting the corresponding row, or add or delete columns between or at the end of the spreadsheet.

现有的一种行列区域调整方法,是在电子表格的行、列末尾设置操作按钮,如图1所示的按钮110和按钮120,通过用户向下、向上、向左或向右拖动操作按钮,完成相应的增加或删除行列的操作,增加的行数或列数按照拖动距离和设定的基准值的倍数关系进行确定。An existing row and column area adjustment method is to set operation buttons at the end of the rows and columns of the electronic form, such as button 110 and button 120 shown in Figure 1, and the user drags down, up, left or right to operate button to complete the corresponding operation of adding or deleting rows and columns, and the number of rows or columns to be added is determined according to the multiple relationship between the dragging distance and the set reference value.

这种方法存在一定的缺点,首先,用户在拖动操作按钮的过程中容易丢失对操作按钮的控制;其次,当用户需要增加行、列时,在拖动操作按钮过程中,无法准确判断出当前的拖动距离和设定的基准值的倍数关系,也就无法确定当前的拖动距离是否能够符合自己想要增加的行数或列数的要求。因此,使用这种方法增删电子表格行列,可能需要用户进行多次反复调整才能完成相应的增加、删除行、列操作,不方便用户使用,用户体验较差。This method has certain disadvantages. First, the user easily loses control of the operation button during the process of dragging the operation button; second, when the user needs to add rows and columns, it is impossible to accurately determine the The multiple relationship between the current dragging distance and the set reference value makes it impossible to determine whether the current dragging distance can meet the requirements of the number of rows or columns you want to increase. Therefore, using this method to add and delete rows and columns of the electronic form may require the user to perform repeated adjustments many times to complete the corresponding operations of adding and deleting rows and columns, which is inconvenient for users and has poor user experience.

发明内容Contents of the invention

本发明实施例的目的在于提供一种电子表格行列区域调整方法及装置,以方便用户使用,提升用户体验。技术方案如下:The purpose of the embodiments of the present invention is to provide a method and device for adjusting row and column areas of an electronic form, so as to facilitate the use of users and improve user experience. The technical scheme is as follows:

一种电子表格行列区域调整方法,用于实现对电子表格行列的增加或删除,所述方法包括:A method for adjusting the row and column area of an electronic form, which is used to add or delete the row and column of the electronic form, the method comprising:

接收用户针对当前电子表格行列区域的调整触发操作;Receive the user's adjustment trigger operation for the row and column areas of the current spreadsheet;

确定调整对象类型、调整动作类型、及调整数量;Determine the adjustment object type, adjustment action type, and adjustment quantity;

根据确定结果,对当前电子表格行列区域进行调整;Adjust the row and column area of the current spreadsheet according to the determination result;

其中,in,

所述确定调整对象类型包括:确定当前需要对行数量进行调整、或需要对列数量进行调整;The determining the adjustment object type includes: determining that the number of rows needs to be adjusted currently, or the number of columns needs to be adjusted;

所述确定调整动作类型包括:确定当前需要进行增加操作、或需要进行删除操作;The determination of the adjustment action type includes: determining that an add operation or a delete operation is currently required;

所述确定调整数量包括:展示调整数量询问界面;根据所述用户在所述调整数量询问界面输入或选择的数值,确定调整数量。The determining the adjustment amount includes: displaying an adjustment amount inquiry interface; and determining the adjustment amount according to a value input or selected by the user on the adjustment amount inquiry interface.

在本发明的一种具体实施方式中,In a specific embodiment of the present invention,

所述接收用户针对当前电子表格行列区域的调整触发操作,包括:The receiving user's adjustment trigger operation for the row and column area of the current spreadsheet includes:

接收用户针对当前电子表格行列区域的第一类调整按钮的点击操作,当前电子表格不同的行、列分别对应不同的第一类调整按钮;Receive the user's click operation on the first type of adjustment button in the row and column area of the current electronic form, and the different rows and columns of the current electronic form correspond to different first type of adjustment buttons;

相应的,通过以下步骤确定调整对象类型:Accordingly, the adjustment object type is determined through the following steps:

根据所述用户点击的第一类调整按钮与当前电子表格行列的对应关系,确定调整对象类型。According to the corresponding relationship between the first type of adjustment button clicked by the user and the rows and columns of the current electronic form, the type of the adjustment object is determined.

在本发明的一种具体实施方式中,通过以下步骤确定调整动作类型:In a specific implementation manner of the present invention, the adjustment action type is determined through the following steps:

展示与所述用户点击的第一类调整按钮对应的调整动作类型选项;displaying adjustment action type options corresponding to the first type of adjustment button clicked by the user;

根据所述用户在所述调整动作类型选项中的选择,确定调整动作类型。An adjustment action type is determined according to the user's selection among the adjustment action type options.

在本发明的一种具体实施方式中,In a specific embodiment of the present invention,

所述接收用户针对当前电子表格行列区域的调整触发操作,包括:The receiving user's adjustment trigger operation for the row and column area of the current spreadsheet includes:

接收用户针对当前电子表格行列区域的第二类调整按钮的点击操作,当前电子表格不同的行、列分别对应不同的第二类调整按钮;Receiving the user's click operation on the second type of adjustment button in the row and column area of the current electronic form, where different rows and columns of the current electronic form correspond to different second type of adjustment buttons;

相应的,通过以下步骤确定调整对象类型及确定调整动作类型:Correspondingly, determine the adjustment object type and determine the adjustment action type through the following steps:

根据所述用户点击的第二类调整按钮与当前电子表格行列的对应关系,确定调整对象类型;According to the corresponding relationship between the second type of adjustment button clicked by the user and the rows and columns of the current electronic form, determine the type of adjustment object;

根据所述用户的点击操作,确定所述用户对所述第二类调整按钮的点击次数;determining the number of times the user clicks on the second type of adjustment button according to the user's click operation;

根据预设的点击次数与调整动作类型的关系,确定调整动作类型。The adjustment action type is determined according to the preset relationship between the number of clicks and the adjustment action type.

在本发明的一种具体实施方式中,通过以下步骤确定调整动作类型及确定调整数量:In a specific embodiment of the present invention, the type of adjustment action and the amount of adjustment are determined through the following steps:

展示调整数量选择界面,所述调整数量选择界面中包含至少一个选项,每个选项分别为用户提供一种调整数量和调整动作类型的组合;Displaying an adjustment amount selection interface, the adjustment amount selection interface includes at least one option, and each option provides the user with a combination of an adjustment amount and an adjustment action type;

根据所述用户在所述调整数量选择界面的选择,确定调整动作类型及确定调整数量。According to the user's selection on the adjustment amount selection interface, the type of adjustment action and the adjustment amount are determined.

在本发明的一种具体实施方式中,在确定的调整动作类型为增加操作的情况下,所述根据确定结果,对当前电子表格行列区域进行调整,包括:In a specific implementation manner of the present invention, in the case where the determined adjustment action type is an increase operation, the adjustment of the row and column area of the current spreadsheet according to the determination result includes:

根据确定的调整对象类型及调整数量,增加相应数量的行或增加相应数量的列;According to the determined adjustment object type and adjustment quantity, add a corresponding number of rows or increase a corresponding number of columns;

其中,新增行的格式,根据所述新增行的临近行格式确定,所述新增行的临近行根据预设的第一规则确定,所述新增行的临近行包括:新增行下侧的一行,或新增行上侧的一行;Wherein, the format of the newly added row is determined according to the adjacent row format of the newly added row, and the adjacent row of the newly added row is determined according to a preset first rule, and the adjacent row of the newly added row includes: the newly added row A row on the lower side, or a row on the upper side of the newly added row;

新增列的格式,根据所述新增列的临近列格式确定,所述新增列的临近列根据预设的第二规则确定,所述新增列的临近列包括:新增列左侧的一列,或新增列右侧的一列。The format of the newly added column is determined according to the adjacent column format of the newly added column. The adjacent column of the newly added column is determined according to the second preset rule. The adjacent columns of the newly added column include: the left side of the newly added column , or a column to the right of the new column.

一种电子表格行列区域调整装置,用于实现对电子表格行列的增加或删除,所述装置包括:An electronic form row and column area adjustment device is used to realize the addition or deletion of the electronic form row and column, and the device includes:

接收模块,用于接收用户针对当前电子表格行列区域的调整触发操作;The receiving module is used to receive the user's adjustment trigger operation for the row and column areas of the current spreadsheet;

确定模块,用于确定调整对象类型、调整动作类型、及调整数量;A determining module, configured to determine the adjustment object type, adjustment action type, and adjustment quantity;

调整模块,用于根据所述确定模块的确定结果,对当前电子表格行列区域进行调整;An adjustment module, configured to adjust the row and column areas of the current spreadsheet according to the determination result of the determination module;

其中,in,

所述确定模块具体用于:确定当前需要对行数量进行调整、或需要对列数量进行调整;The determining module is specifically used to: determine that the number of rows needs to be adjusted currently, or the number of columns needs to be adjusted;

所述确定模块具体用于:确定当前需要进行增加操作、或需要进行删除操作;The determination module is specifically used to: determine that an add operation or a delete operation is currently required;

所述确定模块具体用于:展示调整数量询问界面;根据所述用户在所述调整数量询问界面输入或选择的数值,确定调整数量。The determining module is specifically configured to: display an adjustment quantity inquiry interface; and determine the adjustment quantity according to the value input or selected by the user on the adjustment quantity inquiry interface.

在本发明的一种具体实施方式中,In a specific embodiment of the present invention,

所述接收模块具体用于:The receiving module is specifically used for:

接收用户针对当前电子表格行列区域的第一类调整按钮的点击操作,当前电子表格不同的行、列分别对应不同的第一类调整按钮;Receive the user's click operation on the first type of adjustment button in the row and column area of the current electronic form, and the different rows and columns of the current electronic form correspond to different first type of adjustment buttons;

相应的,所述确定模块具体用于:Correspondingly, the determination module is specifically used for:

根据所述用户点击的第一类调整按钮与当前电子表格行列的对应关系,确定调整对象类型。According to the corresponding relationship between the first type of adjustment button clicked by the user and the rows and columns of the current electronic form, the type of the adjustment object is determined.

在本发明的一种具体实施方式中,所述确定模块具体用于:In a specific implementation manner of the present invention, the determination module is specifically used for:

展示与所述用户点击的第一类调整按钮对应的调整动作类型选项;displaying adjustment action type options corresponding to the first type of adjustment button clicked by the user;

根据所述用户在所述调整动作类型选项中的选择,确定调整动作类型。An adjustment action type is determined according to the user's selection among the adjustment action type options.

在本发明的一种具体实施方式中,In a specific embodiment of the present invention,

所述接收模块具体用于:The receiving module is specifically used for:

接收用户针对当前电子表格行列区域的第二类调整按钮的点击操作,当前电子表格不同的行、列分别对应不同的第二类调整按钮;Receiving the user's click operation on the second type of adjustment button in the row and column area of the current electronic form, where different rows and columns of the current electronic form correspond to different second type of adjustment buttons;

相应的,所述确定模块具体用于:Correspondingly, the determination module is specifically used for:

根据所述用户点击的第二类调整按钮与当前电子表格行列的对应关系,确定调整对象类型;According to the corresponding relationship between the second type of adjustment button clicked by the user and the rows and columns of the current electronic form, determine the type of adjustment object;

根据所述用户的点击操作,确定所述用户对所述第二类调整按钮的点击次数;determining the number of times the user clicks on the second type of adjustment button according to the user's click operation;

根据预设的点击次数与调整动作类型的关系,确定调整动作类型。The adjustment action type is determined according to the preset relationship between the number of clicks and the adjustment action type.

在本发明的一种具体实施方式中,所述确定模块具体用于:In a specific implementation manner of the present invention, the determination module is specifically used for:

展示调整数量选择界面,所述调整数量选择界面中包含至少一个选项,每个选项分别为用户提供一种调整数量和调整动作类型的组合;Displaying an adjustment amount selection interface, the adjustment amount selection interface includes at least one option, and each option provides the user with a combination of an adjustment amount and an adjustment action type;

根据所述用户在所述调整数量选择界面的选择,确定调整动作类型及确定调整数量。According to the user's selection on the adjustment amount selection interface, the type of adjustment action and the adjustment amount are determined.

在本发明的一种具体实施方式中,所述调整模块具体用于:In a specific implementation manner of the present invention, the adjustment module is specifically used for:

在确定的调整动作类型为增加操作的情况下,根据确定的调整对象类型及调整数量,增加相应数量的行或增加相应数量的列;When the determined adjustment action type is an increase operation, according to the determined adjustment object type and adjustment quantity, increase a corresponding number of rows or increase a corresponding number of columns;

其中,新增行的格式,根据所述新增行的临近行格式确定,所述新增行的临近行根据预设的第一规则确定,所述新增行的临近行包括:新增行下侧的一行,或新增行上侧的一行;Wherein, the format of the newly added row is determined according to the adjacent row format of the newly added row, and the adjacent row of the newly added row is determined according to a preset first rule, and the adjacent row of the newly added row includes: the newly added row A row on the lower side, or a row on the upper side of the newly added row;

新增列的格式,根据所述新增列的临近列格式确定,所述新增列的临近列根据预设的第二规则确定,所述新增列的临近列包括:新增列左侧的一列,或新增列右侧的一列。The format of the newly added column is determined according to the adjacent column format of the newly added column. The adjacent column of the newly added column is determined according to the second preset rule. The adjacent columns of the newly added column include: the left side of the newly added column , or a column to the right of the new column.

应用本发明实施例所提供的技术方案,当用户需要对电子表格行列区域进行调整时,通过向用户展示调整数量询问界面,由用户在该调整数量询问界面输入或选择相应的数值,以确定调整数量,所确定的调整数量与用户的实际需求相吻合,不需要用户反复调整即可完成相应的增加、删除操作,方便用户使用,能够提升用户体验。Applying the technical solution provided by the embodiment of the present invention, when the user needs to adjust the row and column areas of the electronic form, the user is shown the adjustment quantity inquiry interface, and the user enters or selects a corresponding value on the adjustment quantity inquiry interface to determine the adjustment. Quantity, the determined adjustment quantity matches the actual needs of the user, and the corresponding addition and deletion operations can be completed without repeated adjustment by the user, which is convenient for the user and can improve the user experience.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.

图1所示为背景技术中电子表格的一种示意图;Fig. 1 shows a schematic diagram of an electronic form in the background technology;

图2所示为本发明实施例提供的电子表格行列区域调整方法的实施流程图;Fig. 2 shows the implementation flowchart of the method for adjusting the row and column regions of the electronic form provided by the embodiment of the present invention;

图3a所示为本发明实施例提供的电子表格调整按钮的一种示意图;FIG. 3a is a schematic diagram of an electronic form adjustment button provided by an embodiment of the present invention;

图3b所示为本发明实施例提供的电子表格调整按钮的另一种示意图;FIG. 3b is another schematic diagram of the electronic form adjustment button provided by the embodiment of the present invention;

图4所示为本发明实施例提供的调整数量选择界面示意图;FIG. 4 is a schematic diagram of an adjustment quantity selection interface provided by an embodiment of the present invention;

图5所示为本发明实施例提供的电子表格调整按钮的另一种示意图;FIG. 5 is another schematic diagram of the electronic form adjustment button provided by the embodiment of the present invention;

图6所示为本发明实施例提供的电子表格行列区域调整装置的结构示意图。FIG. 6 is a schematic structural diagram of an apparatus for adjusting row and column areas of an electronic form provided by an embodiment of the present invention.

具体实施方式Detailed ways

为了使本领域技术人员更好地理解本发明实施例中的技术方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described The embodiments are only some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

参见图2所示,为本发明实施例提供的一种电子表格行列区域调整方法的实施流程图,该方法可以包括以下步骤:Referring to FIG. 2 , it is an implementation flowchart of a method for adjusting row and column regions of an electronic form provided by an embodiment of the present invention. The method may include the following steps:

S210:接收用户针对当前电子表格行列区域的调整触发操作;S210: Receive a user's adjustment trigger operation for the row and column areas of the current spreadsheet;

在实际应用中,在当前电子表格的行数或列数不满足用户当前需求的情况下,需要对当前电子表格的行列区域进行调整,如增加一定行数的行、增加一定列数的列、删除一定行数的行、或删除一定列数的列。当用户有这种调整需求时,需要发出相应的调整指令,以触发对当前电子表格行列区域的触发操作。在实际应用中,可以在电子表格中设置相应的调整按钮或调整选项提供给用户,以由用户对调整按钮或调整选项进行操作,触发对电子表格行列区域的调整操作。比如,可以在电子表格行列区域设置调整按钮或者在电子表格软件的菜单中设置调整选项,用户点击调整按钮或者选择相应的调整选项即可视为发出了调整指令。In practical applications, when the number of rows or columns of the current spreadsheet does not meet the current needs of the user, it is necessary to adjust the row and column area of the current spreadsheet, such as adding a certain number of rows, adding a certain number of columns, Delete a certain number of rows, or delete a certain number of columns. When the user has such an adjustment requirement, a corresponding adjustment command needs to be issued to trigger a trigger operation on the row and column areas of the current spreadsheet. In practical applications, corresponding adjustment buttons or adjustment options can be set in the electronic form and provided to the user, so that the user operates the adjustment button or adjustment option to trigger an adjustment operation on the row and column areas of the electronic form. For example, an adjustment button may be set in the row and column area of the spreadsheet or an adjustment option may be set in the menu of the spreadsheet software, and the user may click the adjustment button or select a corresponding adjustment option to be deemed to have issued an adjustment instruction.

在接收到用户针对当前电子表格行列区域的调整触发操作之后,可以继续执行步骤S220。After the user's adjustment trigger operation on the row and column areas of the current electronic form is received, step S220 may continue to be executed.

S220:确定调整对象类型、调整动作类型、及调整数量;S220: Determine the adjustment object type, the adjustment action type, and the adjustment quantity;

其中,所述确定调整对象类型包括:确定当前需要对行数量进行调整、或需要对列数量进行调整;Wherein, the determining the adjustment object type includes: determining that the number of rows needs to be adjusted currently, or the number of columns needs to be adjusted;

所述确定调整动作类型包括:确定当前需要进行增加操作、或需要进行删除操作;The determination of the adjustment action type includes: determining that an add operation or a delete operation is currently required;

所述确定调整数量包括:展示调整数量询问界面;根据所述用户在所述调整数量询问界面输入或选择的数值,确定调整数量。The determining the adjustment amount includes: displaying an adjustment amount inquiry interface; and determining the adjustment amount according to a value input or selected by the user on the adjustment amount inquiry interface.

可以理解的是,在对电子表格行列区域进行调整之前,需要确定调整对象类型、调整动作类型、及调整数量,即确定需要增加多少行、或增加多少列、或删除多少行、或删除多少列。It can be understood that before adjusting the row and column area of the spreadsheet, it is necessary to determine the type of adjustment object, the type of adjustment action, and the number of adjustments, that is, determine how many rows or columns need to be added, or how many rows or columns need to be deleted .

在确定调整数量时,在所展示的调整数量询问界面中可以提供具体数值选项,根据用户选择的数值确定调整数量;还可以提供调整数量输入框,用户根据实际需求输入相应的数值,根据用户输入的数值确定调整数量。对于具体数值选项和调整数量输入框的展现形式可以根据终端操作系统的特点进行设计,如在智能终端中,可通过用户划动各选项以选择符合实际需求的数值,在电脑终端中,可通过设置滚动条由用户滚动各选项以选择符合实际需求的数值。本发明对此不做限制。When determining the adjustment quantity, specific value options can be provided in the displayed adjustment quantity query interface, and the adjustment quantity can be determined according to the value selected by the user; an adjustment quantity input box can also be provided, and the user can enter the corresponding value according to the actual demand, and according to the user input The value of determines the amount of adjustment. The display form of the specific value options and the input box for adjusting the quantity can be designed according to the characteristics of the terminal operating system. For example, in a smart terminal, the user can select the value that meets the actual needs by swiping each option. In a computer terminal, you can use the Set the scroll bar to allow the user to scroll through the options to select a value that meets actual needs. The present invention is not limited thereto.

可以理解的是,调整对象类型、调整动作类型、调整数量,可以分别进行确定,还可以同时进行确定。It can be understood that the adjustment object type, adjustment action type, and adjustment quantity may be determined separately or simultaneously.

在本发明的一种具体实施方式中,步骤S210接收用户针对当前电子表格行列区域的调整触发操作,可以包括以下步骤:In a specific implementation manner of the present invention, step S210 receives the user's adjustment trigger operation for the row and column area of the current electronic form, which may include the following steps:

接收用户针对当前电子表格行列区域的第一类调整按钮的点击操作,当前电子表格不同的行、列分别对应不同的第一类调整按钮;Receive the user's click operation on the first type of adjustment button in the row and column area of the current electronic form, and the different rows and columns of the current electronic form correspond to different first type of adjustment buttons;

相应的,可以通过以下步骤确定调整对象类型:Correspondingly, the adjustment object type can be determined through the following steps:

根据所述用户点击的第一类调整按钮与当前电子表格行列的对应关系,确定调整对象类型。According to the corresponding relationship between the first type of adjustment button clicked by the user and the rows and columns of the current electronic form, the type of the adjustment object is determined.

在实际应用中,第一类调整按钮可以有多个,分别与电子表格不同的行、列相对应。可以预先设置每个第一类调整按钮在电子表格中的位置,如处于电子表格每行的轴线上、每列的轴线上,或者处于电子表格行与行之间、列与列之间,具体可以参见图3a和图3b所示的位置,按钮310和按钮330分别对应第1列,按钮320和按钮340分别对应第3行,其他按钮与此类似。In practical applications, there may be multiple first-type adjustment buttons corresponding to different rows and columns of the spreadsheet. The position of each first-type adjustment button in the spreadsheet can be preset, such as on the axis of each row of the spreadsheet, on the axis of each column, or between rows and columns of the spreadsheet, specifically Referring to the positions shown in Fig. 3a and Fig. 3b, the button 310 and the button 330 correspond to the first column respectively, and the button 320 and the button 340 respectively correspond to the third row, and the other buttons are similar.

可以理解的是,无论预先设置第一类调整按钮处于电子表格的哪种位置,不同的第一类调整按钮均与电子表格不同的行、列相对应。当用户点击某个第一类调整按钮时,即可视为发出了调整指令,根据用户点击的第一类调整按钮与当前电子表格行列的对应关系,可以确定调整对象类型,即确定用户想要对行数量进行调整还是想要对列数量进行调整。比如,用户点击了图3a所示的按钮310,则可确定当前需要对列数量进行调整。It can be understood that no matter which position of the first-type adjustment button is preset in the electronic form, different first-type adjustment buttons correspond to different rows and columns of the electronic form. When the user clicks a first-type adjustment button, it can be regarded as an adjustment instruction. According to the corresponding relationship between the first-type adjustment button clicked by the user and the current spreadsheet row and column, the type of adjustment object can be determined, that is, the user wants to be determined. Do you make adjustments to the number of rows or do you want to make adjustments to the number of columns. For example, if the user clicks the button 310 shown in FIG. 3a, it can be determined that the number of columns needs to be adjusted currently.

在本发明的另一种具体实施方式中,可以通过以下步骤确定调整动作类型:In another specific implementation manner of the present invention, the adjustment action type may be determined through the following steps:

步骤一:展示与所述用户点击的第一类调整按钮对应的调整动作类型选项;Step 1: displaying adjustment action type options corresponding to the first type of adjustment button clicked by the user;

步骤二:根据所述用户在所述调整动作类型选项中的选择,确定调整动作类型。Step 2: Determine the adjustment action type according to the user's selection in the adjustment action type options.

可以理解的是,第一类调整按钮可以同时具备增加、删除操作功能,当用户对某个第一类调整按钮进行点击时,展示该第一类调整按钮对应的调整动作类型选项,具体的,可以在该第一类调整按钮基础上展开为增加操作按钮和删除操作按钮,以便用户进一步选择调整动作类型选项。当用户的实际需求为增加行或列时,可以点击增加操作选项,或者,当用户的实际需求为删除行或列时,可以点击删除操作选项。根据用户对调整动作类型选项的选择,确定调整动作类型。It is understandable that the first type of adjustment button can have the function of adding and deleting operations at the same time. When the user clicks on a certain first type of adjustment button, the adjustment action type option corresponding to the first type of adjustment button is displayed. Specifically, On the basis of the first type of adjustment button, it can be expanded into adding an operation button and deleting an operation button, so that the user can further select an option of an adjustment action type. When the user's actual requirement is to add a row or column, the user can click the Add operation option, or when the user's actual requirement is to delete a row or column, the user can click the Delete operation option. The adjustment action type is determined according to the user's selection of the adjustment action type option.

在本发明的一种具体实施方式中,步骤S210接收用户针对当前电子表格行列区域的调整触发操作,可以包括以下步骤:In a specific implementation manner of the present invention, step S210 receives the user's adjustment trigger operation for the row and column area of the current electronic form, which may include the following steps:

接收用户针对当前电子表格行列区域的第二类调整按钮的点击操作,当前电子表格不同的行、列分别对应不同的第二类调整按钮;Receiving the user's click operation on the second type of adjustment button in the row and column area of the current electronic form, where different rows and columns of the current electronic form correspond to different second type of adjustment buttons;

相应的,可以通过以下步骤确定调整对象类型及确定调整动作类型:Correspondingly, the adjustment object type and the adjustment action type can be determined through the following steps:

第一个步骤:根据所述用户点击的第二类调整按钮与当前电子表格行列的对应关系,确定调整对象类型;The first step: determine the type of adjustment object according to the correspondence between the second type of adjustment button clicked by the user and the ranks and columns of the current spreadsheet;

第二个步骤:根据所述用户的点击操作,确定所述用户对所述第二类调整按钮的点击次数;The second step: according to the user's click operation, determine the number of times the user clicks on the second type of adjustment button;

第三个步骤:根据预设的点击次数与调整动作类型的关系,确定调整动作类型。Step 3: Determine the type of adjustment action according to the preset relationship between the number of clicks and the type of adjustment action.

与第一类调整按钮相似,第二类调整按钮可以有多个,分别与电子表格不同的行、列相对应。可以预先设置每个第二类调整按钮在电子表格中的位置,如处于电子表格每行的轴线上、每列的轴线上,或者处于电子表格行与行之间、列与列之间,具体可以参见图3a和图3b所示的位置,按钮310和按钮330分别对应第1列,按钮320和按钮340分别对应第3行,其他按钮与此类似。Similar to the first type of adjustment button, there can be multiple second type of adjustment buttons, corresponding to different rows and columns of the spreadsheet. The position of each second-type adjustment button in the spreadsheet can be preset, such as on the axis of each row of the spreadsheet, on the axis of each column, or between rows and columns of the spreadsheet, specifically Referring to the positions shown in Fig. 3a and Fig. 3b, the button 310 and the button 330 correspond to the first column respectively, and the button 320 and the button 340 respectively correspond to the third row, and the other buttons are similar.

可以理解的是,无论预先设置第二类调整按钮处于电子表格的哪种位置,不同的第二类调整按钮均与电子表格不同的行、列相对应。当用户点击某个第二类调整按钮时,即可视为发出了调整指令,根据用户点击的第二类调整按钮与当前电子表格行列的对应关系,可以确定调整对象类型,即确定用户想要对行数量进行调整还是想要对列数量进行调整。比如,用户点击了图3a所示的按钮310,则可确定当前需要对列数量进行调整。It can be understood that no matter which position of the second-type adjustment button is preset in the electronic form, different second-type adjustment buttons correspond to different rows and columns of the electronic form. When the user clicks a second-type adjustment button, it can be regarded as an adjustment instruction. According to the corresponding relationship between the second-type adjustment button clicked by the user and the current spreadsheet row and column, the type of adjustment object can be determined, that is, the user wants to be determined. Do you make adjustments to the number of rows or do you want to make adjustments to the number of columns. For example, if the user clicks the button 310 shown in FIG. 3a, it can be determined that the number of columns needs to be adjusted currently.

第二类调整按钮可以同时具备增加、删除操作功能,根据用户的点击操作,确定用户对第二类调整按钮的点击次数,根据预设的点击次数与调整动作类型的关系,确定调整动作类型。需要说明的是,预设的点击次数与调整动作类型的关系,可以是由系统默认设置,还可以由用户根据个人习惯进行设置。本发明对此不做限制。比如,设置为:用户点击第二类调整按钮,当点击一次时,对应增加操作,当点击两次时,对应删除操作。The second type of adjustment button can have the function of adding and deleting operations at the same time. According to the user's click operation, determine the number of times the user clicks on the second type of adjustment button, and determine the type of adjustment action according to the relationship between the preset number of clicks and the type of adjustment action. It should be noted that the preset relationship between the number of clicks and the type of adjustment action may be set by default by the system, or may be set by the user according to personal habits. The present invention is not limited thereto. For example, the setting is: the user clicks the second type of adjustment button, and when the user clicks once, it corresponds to an increase operation, and when it is clicked twice, it corresponds to a delete operation.

需要说明的是,第二个步骤、第三个步骤需顺序执行,但第一个步骤与这两个步骤没有执行顺序的限制。It should be noted that the second step and the third step need to be executed sequentially, but there is no restriction on the execution order of the first step and these two steps.

在本发明的另一种具体实施方式中,可以通过以下步骤确定调整动作类型及确定调整数量:In another specific embodiment of the present invention, the type of adjustment action and the amount of adjustment can be determined through the following steps:

步骤一:展示调整数量选择界面,所述调整数量选择界面中包含至少一个选项,每个选项分别为用户提供一种调整数量和调整动作类型的组合;Step 1: displaying an adjustment amount selection interface, the adjustment amount selection interface includes at least one option, and each option provides the user with a combination of an adjustment amount and an adjustment action type;

步骤二:根据所述用户在所述调整数量选择界面的选择,确定调整动作类型及确定调整数量。Step 2: Determine the adjustment action type and the adjustment amount according to the user's selection on the adjustment amount selection interface.

在步骤S210接收用户针对当前电子表格行列区域的调整触发操作之后,可以展示调整数量选择界面,该界面中包含至少一个选项,每个选项分别为用户提供一种调整数量和调整动作类型的组合。参见图4所示,用户点击图3b所示的按钮330后,展示调整数量选择界面410,用户根据实际需要进行选择后,即可确定调整动作类型及确定调整数量,比如,用户选择选项“+2”,表示用户要进行的调整动作类型为增加操作,调整数量为2,因为按钮330对应第1列,所以可以确定调整对象类型为列数量,即在当前电子表格的列上增加2列。After the user's adjustment trigger operation on the row and column area of the current spreadsheet is received in step S210, an adjustment quantity selection interface may be displayed, which includes at least one option, and each option provides the user with a combination of an adjustment quantity and an adjustment action type. Referring to FIG. 4, after the user clicks the button 330 shown in FIG. 3b, an adjustment amount selection interface 410 is displayed. After the user makes a selection according to actual needs, the type of adjustment action and the adjustment amount can be determined. For example, the user selects the option "+ 2", indicating that the type of adjustment action to be performed by the user is an increase operation, and the adjustment amount is 2, because the button 330 corresponds to the first column, so it can be determined that the type of adjustment object is the number of columns, that is, adding 2 columns to the column of the current spreadsheet.

S230:根据确定结果,对当前电子表格行列区域进行调整。S230: Adjust the row and column areas of the current electronic form according to the determination result.

在步骤S220分别确定或同时确定了调整对象类型、调整动作类型、及调整数量之后,根据所确定的结果,对当前电子表格行列区域进行调整。After the adjustment object type, adjustment action type, and adjustment amount are determined separately or simultaneously in step S220, the row and column areas of the current electronic form are adjusted according to the determined results.

从上述描述可知,不同的第一类调整按钮或者第二类调整按钮均与电子表格不同的行、列相对应,为描述方便,在该步骤的描述中,将第一类调整按钮和第二类调整按钮统称为调整按钮,不同的调整按钮与电子表格不同的行、列相对应。当用户点击某个调整按钮时,即可对应到具体的某行或某列。在实际应用中,可以以用户点击的调整按钮所对应的行或列为基准,增加或删除行、列。新增行、新增列,删除行、删除列的位置可以由系统预先设置,还可以提供设置项由用户根据个人习惯进行设置。如,根据用户点击的图3a所示的按钮320,可以确定当前需要对行数量进行调整,并进一步确定调整动作类型为增加操作,调整数量为3,则可以以按钮320对应的第3行为基准,在第3行上侧增加3行,或者在第3行下侧增加3行;如果进一步确定的调整动作类型为删除操作,调整数量为2,则可以以按钮320对应的第3行为基准,删除第2行和第3行,或者删除第1行和第2行。It can be seen from the above description that different first-type adjustment buttons or second-type adjustment buttons correspond to different rows and columns of the spreadsheet. For the convenience of description, in the description of this step, the first-type adjustment buttons and the second-type adjustment buttons are Class adjustment buttons are collectively referred to as adjustment buttons, and different adjustment buttons correspond to different rows and columns of the spreadsheet. When the user clicks an adjustment button, it can correspond to a specific row or column. In practical applications, the row or column may be added or deleted based on the row or column corresponding to the adjustment button clicked by the user. The positions of adding rows, adding columns, deleting rows and deleting columns can be preset by the system, and setting items can also be provided for users to set according to personal habits. For example, according to the button 320 shown in Figure 3a clicked by the user, it can be determined that the number of rows needs to be adjusted currently, and it is further determined that the adjustment action type is an increase operation, and the adjustment number is 3, then the third row corresponding to the button 320 can be used as a reference , add 3 lines above the 3rd line, or add 3 lines below the 3rd line; if the further determined adjustment action type is a delete operation and the number of adjustments is 2, then the 3rd line corresponding to the button 320 can be used as a benchmark, Either delete lines 2 and 3, or delete lines 1 and 2.

需要说明的是,调整按钮所处位置不同,可以设定不同的调整位置规则。It should be noted that different adjustment position rules may be set for different positions of the adjustment buttons.

在实际应用中,用户在电子表格行、列末尾进行增加或删除操作的频率较高,这种情况下,可以只在行末尾或列末尾的位置设置调整按钮,参见图5所示,当用户有针对当前电子表格行列区域的调整需求时,直接在行末尾增加相应数量的行、或者在列末尾增加相应数量的列、或者在行末尾删除相应数量的行、或者在列末尾删除相应数量的列。In practical applications, users frequently add or delete operations at the end of rows and columns in the spreadsheet. In this case, you can only set the adjustment button at the end of the row or column, as shown in Figure 5. When the user When there is an adjustment requirement for the row and column area of the current spreadsheet, directly add the corresponding number of rows at the end of the row, or add the corresponding number of columns at the end of the column, or delete the corresponding number of rows at the end of the row, or delete the corresponding number of rows at the end of the column. List.

在本发明的一种具体实施方式中,在确定的调整动作类型为增加操作的情况下,步骤S230可以包括以下步骤:In a specific implementation manner of the present invention, when the determined adjustment action type is an increase operation, step S230 may include the following steps:

根据确定的调整对象类型及调整数量,增加相应数量的行或增加相应数量的列;According to the determined adjustment object type and adjustment quantity, add a corresponding number of rows or increase a corresponding number of columns;

其中,新增行的格式,根据所述新增行的临近行格式确定,所述新增行的临近行根据预设的第一规则确定,所述新增行的临近行包括:新增行下侧的一行,或新增行上侧的一行;Wherein, the format of the newly added row is determined according to the adjacent row format of the newly added row, and the adjacent row of the newly added row is determined according to a preset first rule, and the adjacent row of the newly added row includes: the newly added row A row on the lower side, or a row on the upper side of the newly added row;

新增列的格式,根据所述新增列的临近列格式确定,所述新增列的临近列根据预设的第二规则确定,所述新增列的临近列包括:新增列左侧的一列,或新增列右侧的一列。The format of the newly added column is determined according to the adjacent column format of the newly added column. The adjacent column of the newly added column is determined according to the second preset rule. The adjacent columns of the newly added column include: the left side of the newly added column , or a column to the right of the new column.

可以理解的是,用户使用电子表格软件制作的电子表格,会依据实际需求设定各种格式,其可能希望新增行或新增列的格式与电子表格原有行或列的格式保持一致,这样可以避免用户对新增行或新增列进行格式编辑,节省时间。新增行的格式可以根据新增行的临近行格式确定,新增列的格式可以根据新增列的临近列格式确定。It is understandable that the user will set various formats according to the actual needs of the electronic form created by the electronic form software, and may wish to keep the format of the new row or column consistent with the original row or column format of the electronic form. In this way, users can save time by avoiding format editing of new rows or columns. The format of the newly added row may be determined according to the adjacent row format of the newly added row, and the format of the newly added column may be determined according to the adjacent column format of the newly added column.

如,根据步骤S220对调整对象类型、调整动作类型、调整数量的确定结果,新增行在当前电子表格的第2行和第3行之间,则新增行的格式可以与第2行的格式相同,或者与第3行的格式相同。具体的可以根据预设的规则进行确定。For example, according to the determination results of the adjustment object type, adjustment action type, and adjustment quantity in step S220, if the newly added row is between the second row and the third row of the current spreadsheet, then the format of the newly added row can be the same as that of the second row. The same format, or the same format as line 3. Specifically, it may be determined according to preset rules.

应用本发明实施例所提供的技术方案,当用户需要对电子表格行列区域进行调整时,通过向用户展示调整数量询问界面,由用户在该调整数量询问界面输入或选择相应的数值,以确定调整数量,所确定的调整数量与用户的实际需求相吻合,不需要用户反复调整即可完成相应的增加、删除操作,方便用户使用,能够提升用户体验。Applying the technical solution provided by the embodiment of the present invention, when the user needs to adjust the row and column areas of the electronic form, the user is shown the adjustment quantity inquiry interface, and the user enters or selects a corresponding value on the adjustment quantity inquiry interface to determine the adjustment. Quantity, the determined adjustment quantity matches the actual needs of the user, and the corresponding addition and deletion operations can be completed without repeated adjustment by the user, which is convenient for the user and can improve the user experience.

相应于上面的方法实施例,本发明实施例还提供了一种电子表格行列区域调整装置,参见图6所示,该装置用于实现对电子表格行列的增加或删除,可以包括以下模块:Corresponding to the above method embodiment, the embodiment of the present invention also provides a device for adjusting the row and column area of a spreadsheet, as shown in FIG. 6 , the device is used to add or delete rows and columns of a spreadsheet, and may include the following modules:

接收模块510,用于接收用户针对当前电子表格行列区域的调整触发操作;The receiving module 510 is used to receive the user's adjustment trigger operation for the row and column area of the current spreadsheet;

确定模块520,用于确定调整对象类型、调整动作类型、及调整数量;A determining module 520, configured to determine the type of adjustment object, the type of adjustment action, and the amount of adjustment;

调整模块530,用于根据所述确定模块的确定结果,对当前电子表格行列区域进行调整;An adjustment module 530, configured to adjust the current spreadsheet row and column area according to the determination result of the determination module;

其中,in,

所述确定模块520具体用于:确定当前需要对行数量进行调整、或需要对列数量进行调整;The determining module 520 is specifically configured to: determine that the number of rows needs to be adjusted currently, or the number of columns needs to be adjusted;

所述确定模块520具体用于:确定当前需要进行增加操作、或需要进行删除操作;The determination module 520 is specifically configured to: determine that an add operation or a delete operation is currently required;

所述确定模块520具体用于:展示调整数量询问界面;根据所述用户在所述调整数量询问界面输入或选择的数值,确定调整数量。The determining module 520 is specifically configured to: display an adjustment quantity inquiry interface; and determine the adjustment quantity according to the value input or selected by the user on the adjustment quantity inquiry interface.

在本发明的一种具体实施方式中,所述接收模块510具体用于:In a specific implementation manner of the present invention, the receiving module 510 is specifically used for:

接收用户针对当前电子表格行列区域的第一类调整按钮的点击操作,当前电子表格不同的行、列分别对应不同的第一类调整按钮;Receive the user's click operation on the first type of adjustment button in the row and column area of the current electronic form, and the different rows and columns of the current electronic form correspond to different first type of adjustment buttons;

相应的,所述确定模块520具体用于:Correspondingly, the determination module 520 is specifically used for:

根据所述用户点击的第一类调整按钮与当前电子表格行列的对应关系,确定调整对象类型。According to the corresponding relationship between the first type of adjustment button clicked by the user and the rows and columns of the current electronic form, the type of the adjustment object is determined.

在本发明的一种具体实施方式中,所述确定模块520具体用于:In a specific implementation manner of the present invention, the determination module 520 is specifically used to:

展示与所述用户点击的第一类调整按钮对应的调整动作类型选项;displaying adjustment action type options corresponding to the first type of adjustment button clicked by the user;

根据所述用户在所述调整动作类型选项中的选择,确定调整动作类型。An adjustment action type is determined according to the user's selection among the adjustment action type options.

在本发明的一种具体实施方式中,所述接收模块510具体用于:In a specific implementation manner of the present invention, the receiving module 510 is specifically used for:

接收用户针对当前电子表格行列区域的第二类调整按钮的点击操作,当前电子表格不同的行、列分别对应不同的第二类调整按钮;Receiving the user's click operation on the second type of adjustment button in the row and column area of the current electronic form, where different rows and columns of the current electronic form correspond to different second type of adjustment buttons;

相应的,所述确定模块520具体用于:Correspondingly, the determination module 520 is specifically used for:

根据所述用户点击的第二类调整按钮与当前电子表格行列的对应关系,确定调整对象类型;According to the corresponding relationship between the second type of adjustment button clicked by the user and the rows and columns of the current electronic form, determine the type of adjustment object;

根据所述用户的点击操作,确定所述用户对所述第二类调整按钮的点击次数;determining the number of times the user clicks on the second type of adjustment button according to the user's click operation;

根据预设的点击次数与调整动作类型的关系,确定调整动作类型。The adjustment action type is determined according to the preset relationship between the number of clicks and the adjustment action type.

在本发明的一种具体实施方式中,所述确定模块520具体用于:In a specific implementation manner of the present invention, the determination module 520 is specifically used to:

展示调整数量选择界面,所述调整数量选择界面中包含至少一个选项,每个选项分别为用户提供一种调整数量和调整动作类型的组合;Displaying an adjustment amount selection interface, the adjustment amount selection interface includes at least one option, and each option provides the user with a combination of an adjustment amount and an adjustment action type;

根据所述用户在所述调整数量选择界面的选择,确定调整动作类型及确定调整数量。According to the user's selection on the adjustment amount selection interface, the type of adjustment action and the adjustment amount are determined.

在本发明的一种具体实施方式中,所述调整模块530具体用于:In a specific implementation manner of the present invention, the adjustment module 530 is specifically used for:

在确定的调整动作类型为增加操作的情况下,根据确定的调整对象类型及调整数量,增加相应数量的行或增加相应数量的列;When the determined adjustment action type is an increase operation, according to the determined adjustment object type and adjustment quantity, increase a corresponding number of rows or increase a corresponding number of columns;

其中,新增行的格式,根据所述新增行的临近行格式确定,所述新增行的临近行根据预设的第一规则确定,所述新增行的临近行包括:新增行下侧的一行,或新增行上侧的一行;Wherein, the format of the newly added row is determined according to the adjacent row format of the newly added row, and the adjacent row of the newly added row is determined according to a preset first rule, and the adjacent row of the newly added row includes: the newly added row A row on the lower side, or a row on the upper side of the newly added row;

新增列的格式,根据所述新增列的临近列格式确定,所述新增列的临近列根据预设的第二规则确定,所述新增列的临近列包括:新增列左侧的一列,或新增列右侧的一列。The format of the newly added column is determined according to the adjacent column format of the newly added column. The adjacent column of the newly added column is determined according to the second preset rule. The adjacent columns of the newly added column include: the left side of the newly added column , or a column to the right of the new column.

应用本发明实施例所提供的装置,当用户需要对电子表格行列区域进行调整时,通过向用户展示调整数量询问界面,由用户在该调整数量询问界面输入或选择相应的数值,以确定调整数量,所确定的调整数量与用户的实际需求相吻合,不需要用户反复调整即可完成相应的增加、删除操作,方便用户使用,能够提升用户体验。Applying the device provided by the embodiment of the present invention, when the user needs to adjust the row and column areas of the electronic form, the adjustment quantity inquiry interface is displayed to the user, and the user inputs or selects a corresponding value on the adjustment quantity inquiry interface to determine the adjustment quantity , the determined number of adjustments matches the actual needs of the user, and the corresponding addition and deletion operations can be completed without repeated adjustments by the user, which is convenient for the user and can improve user experience.

需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is a relationship between these entities or operations. There is no such actual relationship or order between them. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.

本说明书中的各个实施例均采用相关的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于装置实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification is described in a related manner, the same and similar parts of each embodiment can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, as for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for relevant parts, please refer to part of the description of the method embodiment.

本领域普通技术人员可以理解实现上述方法实施方式中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,所述的程序可以存储于计算机可读取存储介质中,这里所称得的存储介质,如:ROM/RAM、磁碟、光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the implementation of the above method can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, referred to herein as Storage media, such as: ROM/RAM, disk, CD, etc.

以上所述仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内所作的任何修改、等同替换、改进等,均包含在本发明的保护范围内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present invention are included in the protection scope of the present invention.

Claims (10)

1.一种电子表格行列区域调整方法,用于实现对电子表格行列的增加或删除,其特征在于,所述方法包括:1. an electronic form row and column area adjustment method, for realizing the increase or deletion of electronic form row and column, it is characterized in that, described method comprises: 接收用户针对当前电子表格行列区域的调整触发操作;Receive the user's adjustment trigger operation for the row and column areas of the current spreadsheet; 确定调整对象类型、调整动作类型、及调整数量;Determine the adjustment object type, adjustment action type, and adjustment quantity; 根据确定结果,对当前电子表格行列区域进行调整;Adjust the row and column area of the current spreadsheet according to the determination result; 其中,in, 所述确定调整对象类型包括:确定当前需要对行数量进行调整、或需要对列数量进行调整;The determining the adjustment object type includes: determining that the number of rows needs to be adjusted currently, or the number of columns needs to be adjusted; 所述确定调整动作类型包括:确定当前需要进行增加操作、或需要进行删除操作;The determination of the adjustment action type includes: determining that an add operation or a delete operation is currently required; 所述确定调整数量包括:展示调整数量询问界面;根据所述用户在所述调整数量询问界面输入或选择的数值,确定调整数量;The determining the adjustment quantity includes: displaying an adjustment quantity inquiry interface; determining the adjustment quantity according to the value input or selected by the user on the adjustment quantity inquiry interface; 所述接收用户针对当前电子表格行列区域的调整触发操作,包括:The receiving user's adjustment trigger operation for the row and column area of the current spreadsheet includes: 接收用户针对当前电子表格行列区域的第二类调整按钮的点击操作,当前电子表格不同的行、列分别对应不同的第二类调整按钮;Receiving the user's click operation on the second type of adjustment button in the row and column area of the current electronic form, where different rows and columns of the current electronic form correspond to different second type of adjustment buttons; 相应的,通过以下步骤确定调整对象类型及确定调整动作类型:Correspondingly, determine the adjustment object type and determine the adjustment action type through the following steps: 根据所述用户点击的第二类调整按钮与当前电子表格行列的对应关系,确定调整对象类型;According to the corresponding relationship between the second type of adjustment button clicked by the user and the rows and columns of the current electronic form, determine the type of adjustment object; 根据所述用户的点击操作,确定所述用户对所述第二类调整按钮的点击次数;determining the number of times the user clicks on the second type of adjustment button according to the user's click operation; 根据预设的点击次数与调整动作类型的关系,确定调整动作类型。The adjustment action type is determined according to the preset relationship between the number of clicks and the adjustment action type. 2.根据权利要求1所述的方法,其特征在于,2. The method of claim 1, wherein, 所述接收用户针对当前电子表格行列区域的调整触发操作,包括:The receiving user's adjustment trigger operation for the row and column area of the current spreadsheet includes: 接收用户针对当前电子表格行列区域的第一类调整按钮的点击操作,当前电子表格不同的行、列分别对应不同的第一类调整按钮;Receive the user's click operation on the first type of adjustment button in the row and column area of the current electronic form, and the different rows and columns of the current electronic form correspond to different first type of adjustment buttons; 相应的,通过以下步骤确定调整对象类型:Accordingly, the adjustment object type is determined through the following steps: 根据所述用户点击的第一类调整按钮与当前电子表格行列的对应关系,确定调整对象类型。According to the corresponding relationship between the first type of adjustment button clicked by the user and the rows and columns of the current electronic form, the type of the adjustment object is determined. 3.根据权利要求2所述的方法,其特征在于,通过以下步骤确定调整动作类型:3. The method according to claim 2, wherein the adjustment action type is determined through the following steps: 展示与所述用户点击的第一类调整按钮对应的调整动作类型选项;displaying adjustment action type options corresponding to the first type of adjustment button clicked by the user; 根据所述用户在所述调整动作类型选项中的选择,确定调整动作类型。An adjustment action type is determined according to the user's selection among the adjustment action type options. 4.根据权利要求1或2所述的方法,其特征在于,通过以下步骤确定调整动作类型及确定调整数量:4. The method according to claim 1 or 2, characterized in that the type of adjustment action and the amount of adjustment are determined through the following steps: 展示调整数量选择界面,所述调整数量选择界面中包含至少一个选项,每个选项分别为用户提供一种调整数量和调整动作类型的组合;Displaying an adjustment amount selection interface, the adjustment amount selection interface includes at least one option, and each option provides the user with a combination of an adjustment amount and an adjustment action type; 根据所述用户在所述调整数量选择界面的选择,确定调整动作类型及确定调整数量。According to the user's selection on the adjustment amount selection interface, the type of adjustment action and the adjustment amount are determined. 5.根据权利要求1所述的方法,其特征在于,在确定的调整动作类型为增加操作的情况下,所述根据确定结果,对当前电子表格行列区域进行调整,包括:5. The method according to claim 1, wherein, in the case where the determined adjustment action type is an increase operation, said adjusting the row and column area of the current spreadsheet according to the determination result comprises: 根据确定的调整对象类型及调整数量,增加相应数量的行或增加相应数量的列;According to the determined adjustment object type and adjustment quantity, add a corresponding number of rows or increase a corresponding number of columns; 其中,新增行的格式,根据所述新增行的临近行格式确定,所述新增行的临近行根据预设的第一规则确定,所述新增行的临近行包括:新增行下侧的一行,或新增行上侧的一行;Wherein, the format of the newly added row is determined according to the adjacent row format of the newly added row, and the adjacent row of the newly added row is determined according to a preset first rule, and the adjacent row of the newly added row includes: the newly added row A row on the lower side, or a row on the upper side of the newly added row; 新增列的格式,根据所述新增列的临近列格式确定,所述新增列的临近列根据预设的第二规则确定,所述新增列的临近列包括:新增列左侧的一列,或新增列右侧的一列。The format of the newly added column is determined according to the adjacent column format of the newly added column. The adjacent column of the newly added column is determined according to the second preset rule. The adjacent columns of the newly added column include: the left side of the newly added column , or a column to the right of the new column. 6.一种电子表格行列区域调整装置,用于实现对电子表格行列的增加或删除,其特征在于,所述装置包括:6. A device for adjusting the row and column area of an electronic form is used to realize the addition or deletion of the rows and columns of an electronic form, and it is characterized in that the device comprises: 接收模块,用于接收用户针对当前电子表格行列区域的调整触发操作;The receiving module is used to receive the user's adjustment trigger operation for the row and column areas of the current spreadsheet; 确定模块,用于确定调整对象类型、调整动作类型、及调整数量;A determining module, configured to determine the adjustment object type, adjustment action type, and adjustment quantity; 调整模块,用于根据所述确定模块的确定结果,对当前电子表格行列区域进行调整;An adjustment module, configured to adjust the row and column areas of the current spreadsheet according to the determination result of the determination module; 其中,in, 所述确定模块具体用于:确定当前需要对行数量进行调整、或需要对列数量进行调整;The determining module is specifically used to: determine that the number of rows needs to be adjusted currently, or the number of columns needs to be adjusted; 所述确定模块具体用于:确定当前需要进行增加操作、或需要进行删除操作;The determination module is specifically used to: determine that an add operation or a delete operation is currently required; 所述确定模块具体用于:展示调整数量询问界面;根据所述用户在所述调整数量询问界面输入或选择的数值,确定调整数量;The determining module is specifically used for: displaying an adjustment quantity inquiry interface; determining the adjustment quantity according to the value input or selected by the user on the adjustment quantity inquiry interface; 所述接收模块具体用于:The receiving module is specifically used for: 接收用户针对当前电子表格行列区域的第二类调整按钮的点击操作,当前电子表格不同的行、列分别对应不同的第二类调整按钮;Receiving the user's click operation on the second type of adjustment button in the row and column area of the current electronic form, where different rows and columns of the current electronic form correspond to different second type of adjustment buttons; 相应的,所述确定模块具体用于:Correspondingly, the determination module is specifically used for: 根据所述用户点击的第二类调整按钮与当前电子表格行列的对应关系,确定调整对象类型;According to the corresponding relationship between the second type of adjustment button clicked by the user and the rows and columns of the current electronic form, determine the type of adjustment object; 根据所述用户的点击操作,确定所述用户对所述第二类调整按钮的点击次数;determining the number of times the user clicks on the second type of adjustment button according to the user's click operation; 根据预设的点击次数与调整动作类型的关系,确定调整动作类型。The adjustment action type is determined according to the preset relationship between the number of clicks and the adjustment action type. 7.根据权利要求6所述的装置,其特征在于,7. The device of claim 6, wherein: 所述接收模块具体用于:The receiving module is specifically used for: 接收用户针对当前电子表格行列区域的第一类调整按钮的点击操作,当前电子表格不同的行、列分别对应不同的第一类调整按钮;Receive the user's click operation on the first type of adjustment button in the row and column area of the current electronic form, and the different rows and columns of the current electronic form correspond to different first type of adjustment buttons; 相应的,所述确定模块具体用于:Correspondingly, the determination module is specifically used for: 根据所述用户点击的第一类调整按钮与当前电子表格行列的对应关系,确定调整对象类型。According to the corresponding relationship between the first type of adjustment button clicked by the user and the rows and columns of the current electronic form, the type of the adjustment object is determined. 8.根据权利要求7所述的装置,其特征在于,所述确定模块具体用于:8. The device according to claim 7, wherein the determining module is specifically used for: 展示与所述用户点击的第一类调整按钮对应的调整动作类型选项;displaying adjustment action type options corresponding to the first type of adjustment button clicked by the user; 根据所述用户在所述调整动作类型选项中的选择,确定调整动作类型。An adjustment action type is determined according to the user's selection among the adjustment action type options. 9.根据权利要求6或7所述的装置,其特征在于,所述确定模块具体用于:9. The device according to claim 6 or 7, wherein the determination module is specifically used for: 展示调整数量选择界面,所述调整数量选择界面中包含至少一个选项,每个选项分别为用户提供一种调整数量和调整动作类型的组合;Displaying an adjustment amount selection interface, the adjustment amount selection interface includes at least one option, and each option provides the user with a combination of an adjustment amount and an adjustment action type; 根据所述用户在所述调整数量选择界面的选择,确定调整动作类型及确定调整数量。According to the user's selection on the adjustment amount selection interface, the type of adjustment action and the adjustment amount are determined. 10.根据权利要求6所述的装置,其特征在于,所述调整模块具体用于:10. The device according to claim 6, wherein the adjustment module is specifically used for: 在确定的调整动作类型为增加操作的情况下,根据确定的调整对象类型及调整数量,增加相应数量的行或增加相应数量的列;When the determined adjustment action type is an increase operation, according to the determined adjustment object type and adjustment quantity, increase a corresponding number of rows or increase a corresponding number of columns; 其中,新增行的格式,根据所述新增行的临近行格式确定,所述新增行的临近行根据预设的第一规则确定,所述新增行的临近行包括:新增行下侧的一行,或新增行上侧的一行;Wherein, the format of the newly added row is determined according to the adjacent row format of the newly added row, and the adjacent row of the newly added row is determined according to a preset first rule, and the adjacent row of the newly added row includes: the newly added row A row on the lower side, or a row on the upper side of the newly added row; 新增列的格式,根据所述新增列的临近列格式确定,所述新增列的临近列根据预设的第二规则确定,所述新增列的临近列包括:新增列左侧的一列,或新增列右侧的一列。The format of the newly added column is determined according to the adjacent column format of the newly added column. The adjacent column of the newly added column is determined according to the second preset rule. The adjacent columns of the newly added column include: the left side of the newly added column , or a column to the right of the new column.
CN201510067163.6A 2015-02-09 2015-02-09 A kind of spreadsheet line column region method of adjustment and device Active CN105988655B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510067163.6A CN105988655B (en) 2015-02-09 2015-02-09 A kind of spreadsheet line column region method of adjustment and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510067163.6A CN105988655B (en) 2015-02-09 2015-02-09 A kind of spreadsheet line column region method of adjustment and device

Publications (2)

Publication Number Publication Date
CN105988655A CN105988655A (en) 2016-10-05
CN105988655B true CN105988655B (en) 2018-12-21

Family

ID=57040937

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510067163.6A Active CN105988655B (en) 2015-02-09 2015-02-09 A kind of spreadsheet line column region method of adjustment and device

Country Status (1)

Country Link
CN (1) CN105988655B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109508450A (en) * 2018-09-20 2019-03-22 天津字节跳动科技有限公司 The operating method of table, device, storage medium and electronic equipment in online document
CN109858000B (en) * 2019-01-10 2021-09-07 广州视源电子科技股份有限公司 Form processing method, device and system, storage medium and interactive intelligent panel
CN112817974B (en) * 2021-01-25 2021-10-15 杭州新中大科技股份有限公司 Multi-layer list head control method for list control
CN119718311A (en) * 2024-11-21 2025-03-28 浪潮云信息技术股份公司 Method and device for managing rows and columns of web front-end tables, medium and equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102629180A (en) * 2011-01-07 2012-08-08 微软公司 Natural input for spreadsheet actions
CN102637118A (en) * 2012-05-04 2012-08-15 珠海金山办公软件有限公司 Method and device for inserting or deleting cells or rows and lines in spreadsheet
CN103257959A (en) * 2012-02-15 2013-08-21 深圳市金蝶友商电子商务服务有限公司 Method and device for generating spreadsheet report

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7702619B2 (en) * 2005-09-23 2010-04-20 Alan El-Sabbagh Methods and systems for joining database tables using indexing data structures

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102629180A (en) * 2011-01-07 2012-08-08 微软公司 Natural input for spreadsheet actions
CN103257959A (en) * 2012-02-15 2013-08-21 深圳市金蝶友商电子商务服务有限公司 Method and device for generating spreadsheet report
CN102637118A (en) * 2012-05-04 2012-08-15 珠海金山办公软件有限公司 Method and device for inserting or deleting cells or rows and lines in spreadsheet

Also Published As

Publication number Publication date
CN105988655A (en) 2016-10-05

Similar Documents

Publication Publication Date Title
US12189925B2 (en) Method and device for managing tab window indicating application group including heterogeneous applications
CN110300966B (en) Enhanced pivot table creation and interaction
KR101794373B1 (en) Temporary formatting and charting of selected data
JP6267126B2 (en) Slicer element for filtering table data
CN109445657B (en) Document editing method and device
WO2017032005A1 (en) Operation menu display method and terminal
EP3367266A1 (en) Page construction method, terminal, computer-readable storage medium and page construction device
CN106919307B (en) A kind of text clone method and mobile terminal
CN105988655B (en) A kind of spreadsheet line column region method of adjustment and device
US20100241672A1 (en) Database Application Including Spilt Views
US20160173541A1 (en) Presentation of content from within spreadsheet application
CN105786295A (en) Character input method and device
CN104978114A (en) Method and device for displaying chart
CN103513855B (en) Method and device for updating display pages
CN114072787A (en) System and method for fast data entry to facilitate document review
WO2024169761A1 (en) Document creation method and apparatus, and electronic device and storage medium
CN117519882A (en) Page layout adjustment method and device and processing equipment
CN112783400B (en) Document content selection method and device, electronic equipment and storage medium
WO2023093809A1 (en) File editing processing method and apparatus, and electronic device
CN105549805A (en) Soft keyboard display method and device applied in spreadsheet
CN112486373B (en) Editing operation undoing method, device, electronic device and storage medium
CN112602048A (en) Electronic document management method, mobile terminal and computer readable storage medium
US20240393999A1 (en) Method for controlling multi-screen display, and display device
US20250232109A1 (en) Hidden row inserter for user interface input
US20250123821A1 (en) Intelligent webpage screen capture

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Jinshan software building No. 8 Jingshan Hill Road, Lane 519015 Lianshan Jida Zhuhai city in Guangdong Province

Applicant after: Zhuhai Kingsoft Office Software Co., Ltd.

Applicant after: Beijing Kingsoft office software Limited by Share Ltd

Applicant after: GUANGZHOU JINSHAN JINSHAN MOBILE TECHNOLOGY CO., LTD.

Address before: Jinshan software building No. 8 Jingshan Hill Road, Lane 519015 Lianshan Jida Zhuhai city in Guangdong Province

Applicant before: Zhuhai Kingsoft Office Software Co., Ltd.

Applicant before: Beijing Kingsoft WPS Office Co., Ltd.

Applicant before: GUANGZHOU JINSHAN JINSHAN MOBILE TECHNOLOGY CO., LTD.

COR Change of bibliographic data
GR01 Patent grant
GR01 Patent grant