CN116882373A - Content display method, device, readable medium and electronic device - Google Patents
Content display method, device, readable medium and electronic device Download PDFInfo
- Publication number
- CN116882373A CN116882373A CN202310887218.2A CN202310887218A CN116882373A CN 116882373 A CN116882373 A CN 116882373A CN 202310887218 A CN202310887218 A CN 202310887218A CN 116882373 A CN116882373 A CN 116882373A
- Authority
- CN
- China
- Prior art keywords
- data table
- editing interface
- independent
- target
- independent data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/23—Updating
- G06F16/2379—Updates performed during online database operations; commit processing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/177—Editing, e.g. inserting or deleting of tables; using ruled lines
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Artificial Intelligence (AREA)
- Databases & Information Systems (AREA)
- Computer Security & Cryptography (AREA)
- Human Computer Interaction (AREA)
- Data Mining & Analysis (AREA)
- Computer Hardware Design (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
技术领域Technical field
本公开涉及计算机技术领域,具体地,涉及一种内容显示方法、装置、可读介质及电子设备。The present disclosure relates to the field of computer technology, and specifically, to a content display method, device, readable medium, and electronic equipment.
背景技术Background technique
随着计算机技术的不断发展,电子文档和电子表格得到了广泛的应用。比如,在日常办公中,人们通常会使用电子文档功能,从而通过电子文档记录工作内容等。为了在电子文档内进行工作汇报等,通常还会在电子文档中创建电子表格,从而更直观进行数据展示。With the continuous development of computer technology, electronic documents and spreadsheets have been widely used. For example, in daily office work, people usually use the electronic document function to record work content through electronic documents. In order to conduct work reports in electronic documents, etc., spreadsheets are usually created in electronic documents to display data more intuitively.
但是,相关技术中的电子文档产品,通常只支持在电子文档内创建在线表格,此种在线表格具有一定的局限性,通常不具有丰富的表格功能,从而无法较好地满足用户需求。However, electronic document products in related technologies usually only support the creation of online forms within electronic documents. Such online forms have certain limitations and usually do not have rich form functions, thus failing to better meet user needs.
发明内容Contents of the invention
提供该发明内容部分以便以简要的形式介绍构思,这些构思将在后面的具体实施方式部分被详细描述。该发明内容部分并不旨在标识要求保护的技术方案的关键特征或必要特征,也不旨在用于限制所要求的保护的技术方案的范围。This Summary is provided to introduce in a simplified form concepts that are further described in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed technical solution, nor is it intended to be used to limit the scope of the claimed technical solution.
第一方面,本公开提供一种内容显示方法,所述方法包括:In a first aspect, the present disclosure provides a content display method, which method includes:
显示文档编辑界面;Display the document editing interface;
响应于在所述文档编辑界面的数据表添加操作,确定所述数据表添加操作对应的第一独立数据表,所述第一独立数据表为已创建的数据表;In response to the data table addition operation on the document editing interface, determine the first independent data table corresponding to the data table addition operation, and the first independent data table is the created data table;
在所述文档编辑界面中显示所述第一独立数据表的第一关联数据表,其中,所述第一关联数据表与所述第一独立数据表之间的数据同步。The first associated data table of the first independent data table is displayed in the document editing interface, wherein data between the first associated data table and the first independent data table is synchronized.
第二方面,本公开提供一种内容显示方法,所述方法包括:In a second aspect, the present disclosure provides a content display method, which method includes:
显示文档编辑界面,所述文档编辑界面中有在所述文档编辑界面中创建的内嵌数据表;Display a document editing interface, which contains an embedded data table created in the document editing interface;
响应于对所述文档编辑界面中转换控件的触发操作,将所述内嵌数据表转换为第二独立数据表的第二关联数据表进行显示,其中,所述第二独立数据表为根据所述内嵌数据表中的数据信息创建的数据表,且所述第二独立数据表与所述第二关联数据表之间的数据同步。In response to the triggering operation of the conversion control in the document editing interface, the embedded data table is converted into a second associated data table of a second independent data table for display, wherein the second independent data table is based on the A data table is created based on the data information in the embedded data table, and the data between the second independent data table and the second associated data table is synchronized.
第三方面,本公开提供一种内容显示装置,所述装置包括:In a third aspect, the present disclosure provides a content display device, which includes:
第一显示模块,用于显示文档编辑界面;The first display module is used to display the document editing interface;
确定模块,用于响应于在所述文档编辑界面的数据表添加操作,确定所述数据表添加操作对应的第一独立数据表,所述第一独立数据表预先存储在目标存储位置;A determination module, configured to determine the first independent data table corresponding to the data table addition operation in response to the data table addition operation on the document editing interface, and the first independent data table is pre-stored in the target storage location;
第二显示模块,用于在所述文档编辑界面中显示所述第一独立数据表,其中,所述文档编辑界面中的所述第一独立数据表与所述目标存储位置的所述第一独立数据表之间能够实现同步的数据更新。The second display module is used to display the first independent data table in the document editing interface, wherein the first independent data table in the document editing interface and the first independent data table in the target storage location Synchronous data updates can be achieved between independent data tables.
第四方面,本公开提供一种内容显示装置,所述装置包括:In a fourth aspect, the present disclosure provides a content display device, the device including:
第四显示模块,用于显示文档编辑界面,所述文档编辑界面中有在所述文档编辑界面中创建的内嵌数据表;The fourth display module is used to display a document editing interface, where the document editing interface contains an embedded data table created in the document editing interface;
转换模块,用于响应于对所述文档编辑界面中转换控件的触发操作,将所述内嵌数据表转换为第二独立数据表的第二关联数据表进行显示,其中,所述第二独立数据表为根据所述内嵌数据表中的数据信息创建的数据表,且所述第二独立数据表与所述第二关联数据表之间的数据同步。A conversion module configured to convert the embedded data table into a second associated data table of a second independent data table for display in response to a triggering operation of a conversion control in the document editing interface, wherein the second independent data table The data table is a data table created based on the data information in the embedded data table, and the data between the second independent data table and the second associated data table is synchronized.
第五方面,本公开提供一种计算机可读介质,其上存储有计算机程序,该程序被处理装置执行时实现第一方面或第二方面所述方法的步骤。In a fifth aspect, the present disclosure provides a computer-readable medium on which a computer program is stored, which implements the steps of the method described in the first or second aspect when executed by a processing device.
第六方面,本公开提供一种电子设备,包括:In a sixth aspect, the present disclosure provides an electronic device, including:
存储装置,其上存储有计算机程序;a storage device having a computer program stored thereon;
处理装置,用于执行所述存储装置中的所述计算机程序,以实现第一方面或第二方面所述方法的步骤。A processing device, configured to execute the computer program in the storage device to implement the steps of the method described in the first aspect or the second aspect.
通过上述技术方案,文档编辑界面提供有针对独立数据表的关联数据表的添加功能,从而可以在文档内添加独立数据表的关联数据表,区别于在文档内创建的内嵌数据表,关联数据表可以支持更丰富的表格功能,更好的满足用户需求。并且,文档编辑界面的关联数据表与独立数据表之间能够实现同步的数据更新,从而可以提升数据同步效率,提升用户体验。Through the above technical solution, the document editing interface provides the function of adding related data tables for independent data tables, so that related data tables of independent data tables can be added in the document, which is different from the embedded data tables created in the document. Related data Tables can support richer table functions to better meet user needs. In addition, synchronous data updates can be achieved between the associated data tables and independent data tables in the document editing interface, thereby improving data synchronization efficiency and user experience.
本公开的其他特征和优点将在随后的具体实施方式部分予以详细说明。Other features and advantages of the present disclosure will be described in detail in the detailed description that follows.
附图说明Description of the drawings
结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,原件和元素不一定按照比例绘制。在附图中:The above and other features, advantages, and aspects of various embodiments of the present disclosure will become more apparent with reference to the following detailed description taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It is to be understood that the drawings are schematic and that elements and elements are not necessarily drawn to scale. In the attached picture:
图1是根据本公开一示例性实施例提供的一种内容显示方法的流程图;Figure 1 is a flow chart of a content display method provided according to an exemplary embodiment of the present disclosure;
图2是根据本公开一示例性实施例提供的一种确定数据表添加操作对应的第一独立数据表的示意图;Figure 2 is a schematic diagram of determining a first independent data table corresponding to a data table addition operation provided according to an exemplary embodiment of the present disclosure;
图3是根据本公开一示例性实施例提供的另一种确定数据表添加操作对应的第一独立数据表的示意图;Figure 3 is a schematic diagram of another method of determining a first independent data table corresponding to a data table addition operation provided according to an exemplary embodiment of the present disclosure;
图4是根据本公开一示例性实施例提供的另一种确定数据表添加操作对应的第一独立数据表的示意图;Figure 4 is a schematic diagram of another method of determining a first independent data table corresponding to a data table addition operation provided according to an exemplary embodiment of the present disclosure;
图5是根据本公开一示例性实施例提供的一种将目标链接对应的独立数据表确定为第一独立数据表的示意图;Figure 5 is a schematic diagram of determining the independent data table corresponding to the target link as the first independent data table according to an exemplary embodiment of the present disclosure;
图6是根据本公开一示例性实施例提供的一种以不同的显示方式显示数据表的示意图;Figure 6 is a schematic diagram of displaying a data table in different display modes according to an exemplary embodiment of the present disclosure;
图7是根据本公开一示例性实施例提供的一种在文档编辑界面中显示第一独立数据表的示意图;Figure 7 is a schematic diagram of displaying a first independent data table in a document editing interface according to an exemplary embodiment of the present disclosure;
图8是根据本公开一示例性实施例提供的另一种内容显示方法的流程图;Figure 8 is a flow chart of another content display method provided according to an exemplary embodiment of the present disclosure;
图9是根据本公开一示例性实施例提供的一种将在线文档转换为第二独立数据表的示意图;Figure 9 is a schematic diagram of converting an online document into a second independent data table according to an exemplary embodiment of the present disclosure;
图10是根据本公开一示例性实施例提供的一种文档权限配置界面的示意图;Figure 10 is a schematic diagram of a document permission configuration interface provided according to an exemplary embodiment of the present disclosure;
图11是根据本公开一示例性实施例提供的一种第二独立数据表的编辑界面的示意图;Figure 11 is a schematic diagram of an editing interface of a second independent data table provided according to an exemplary embodiment of the present disclosure;
图12是根据本公开一示例性实施例提供的一种内容显示装置的框图;Figure 12 is a block diagram of a content display device provided according to an exemplary embodiment of the present disclosure;
图13是根据本公开一示例性实施例提供的另一种内容显示装置的框图;Figure 13 is a block diagram of another content display device provided according to an exemplary embodiment of the present disclosure;
图14是根据本公开一示例性实施例提供的一种电子设备的结构示意图。FIG. 14 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present disclosure.
具体实施方式Detailed ways
下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the disclosure are shown in the drawings, it should be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, which rather are provided for A more thorough and complete understanding of this disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of the present disclosure.
应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。It should be understood that various steps described in the method implementations of the present disclosure may be executed in different orders and/or in parallel. Furthermore, method embodiments may include additional steps and/or omit performance of illustrated steps. The scope of the present disclosure is not limited in this regard.
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。As used herein, the term "include" and its variations are open-ended, ie, "including but not limited to." The term "based on" means "based at least in part on." The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; and the term "some embodiments" means "at least some embodiments". Relevant definitions of other terms will be given in the description below.
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。It should be noted that concepts such as “first” and “second” mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units. Or interdependence.
需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。It should be noted that the modifications of "one" and "plurality" mentioned in this disclosure are illustrative and not restrictive. Those skilled in the art will understand that unless the context clearly indicates otherwise, it should be understood as "one or Multiple”.
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。The names of messages or information exchanged between multiple devices in the embodiments of the present disclosure are for illustrative purposes only and are not used to limit the scope of these messages or information.
可以理解的是,在使用本公开各实施例公开的技术方案之前,均应当依据相关法律法规通过恰当的方式对本公开所涉及个人信息的类型、使用范围、使用场景等告知用户并获得用户的授权。It can be understood that before using the technical solutions disclosed in the embodiments of this disclosure, users should be informed of the type, scope of use, usage scenarios, etc. of the personal information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations and obtain the user's authorization. .
例如,在响应于接收到用户的主动请求时,向用户发送提示信息,以明确地提示用户,其请求执行的操作将需要获取和使用到用户的个人信息。从而,使得用户可以根据提示信息来自主地选择是否向执行本公开技术方案的操作的电子设备、应用程序、服务器或存储介质等软件或硬件提供个人信息。For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly remind the user that the operation requested will require the acquisition and use of the user's personal information. Therefore, users can autonomously choose whether to provide personal information to software or hardware such as electronic devices, applications, servers or storage media that perform the operations of the technical solution of the present disclosure based on the prompt information.
作为一种可选的但非限定性的实现方式,响应于接收到用户的主动请求,向用户发送提示信息的方式例如可以是弹窗的方式,弹窗中可以以文字的方式呈现提示信息。此外,弹窗中还可以承载供用户选择“同意”或者“不同意”向电子设备提供个人信息的选择控件。As an optional but non-limiting implementation method, in response to receiving the user's active request, the method of sending prompt information to the user may be, for example, a pop-up window, and the prompt information may be presented in the form of text in the pop-up window. In addition, the pop-up window can also contain a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
可以理解的是,上述通知和获取用户授权过程仅是示意性的,不对本公开的实现方式构成限定,其它满足相关法律法规的方式也可应用于本公开的实现方式中。It can be understood that the above process of notifying and obtaining user authorization is only illustrative and does not limit the implementation of the present disclosure. Other methods that satisfy relevant laws and regulations can also be applied to the implementation of the present disclosure.
同时,可以理解的是,本技术方案所涉及的数据(包括但不限于数据本身、数据的获取或使用)应当遵循相应法律法规及相关规定的要求。At the same time, it can be understood that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) should comply with the requirements of corresponding laws, regulations and relevant regulations.
正如背景技术所言,相关技术中的电子文档产品,通常只支持在电子文档内创建在线表格,此种在线表格具有一定的局限性,通常不具有丰富的表格功能,从而无法较好地满足用户需求。As mentioned in the background art, electronic document products in related technologies usually only support the creation of online forms within electronic documents. Such online forms have certain limitations and usually do not have rich form functions, thus failing to better satisfy users. need.
另外,相关技术存在一种在文档中插入本地表格的方式。但是,此种方式,当用户在文档内对插入的表格进行修改后,该修改不会同步到本地存储的表格中,需要用户手动对本地存储的表格进行对应修改,才能实现文档中表格和本地表格的同步修改,操作繁琐,效率交底,用户体验较差。In addition, in the related technology, there is a way to insert a local table in the document. However, with this method, when the user modifies the inserted table in the document, the modification will not be synchronized to the locally stored table. The user needs to manually modify the locally stored table accordingly to realize the synchronization between the table in the document and the locally stored table. Synchronous modification of tables is cumbersome, inefficient, and the user experience is poor.
有鉴于此,本公开实施例提供了一种内容显示方法、装置、可读介质及电子设备,以解决上述技术问题。In view of this, embodiments of the present disclosure provide a content display method, device, readable medium, and electronic equipment to solve the above technical problems.
以下结合附图,对本公开实施例进行进一步解释说明。The embodiments of the present disclosure will be further explained below with reference to the accompanying drawings.
图1是根据本公开一示例性实施例示出的一种内容显示方法的流程图,参照图1,该内容显示方法可以包括以下步骤:Figure 1 is a flow chart of a content display method according to an exemplary embodiment of the present disclosure. Referring to Figure 1, the content display method may include the following steps:
S101:显示文档编辑界面。S101: Display the document editing interface.
应当理解的是,文档编辑界面可以是空白文档的编辑界面,也可以是非空白文档的编辑界面,本公开实施例对此不作任何限制。It should be understood that the document editing interface may be an editing interface for a blank document or an editing interface for a non-blank document, and the embodiment of the present disclosure does not impose any limitation on this.
S102:响应于在所述文档编辑界面的数据表添加操作,确定所述数据表添加操作对应的第一独立数据表,所述第一独立数据表为已创建的数据表。S102: In response to the data table adding operation on the document editing interface, determine the first independent data table corresponding to the data table adding operation, and the first independent data table is the created data table.
应当理解的是,独立数据表指的是可以对数据表中的数据进行列筛选操作、视图配置操作和/或权限配置操作的数据表,该数据表通常是在进入文档编辑界面前创建。也即是说,独立数据表具有独立于文档的访问入口,通过该访问入口可以对独立数据表中的数据进行更新。其中,独立数据表的访问入口可以是网址链接或者应用链接,本公开实施例对此不作任何限制。It should be understood that an independent data table refers to a data table that can perform column filtering operations, view configuration operations, and/or permission configuration operations on the data in the data table. This data table is usually created before entering the document editing interface. That is to say, the independent data table has an access entrance independent of the document, through which the data in the independent data table can be updated. Wherein, the access entrance to the independent data table may be a website link or an application link, and this embodiment of the present disclosure does not impose any restrictions on this.
在可能的实施方式中,所述响应于在所述文档编辑界面的数据表添加操作,确定所述数据表添加操作对应的第一独立数据表,可以包括:In a possible implementation, determining the first independent data table corresponding to the data table adding operation in response to the data table adding operation on the document editing interface may include:
响应于对所述文档编辑界面中第一添加控件的触发操作,显示第一候选数据表信息,所述第一候选数据表信息对应有至少一个独立数据表;响应于对所述第一候选数据表信息中第一目标数据表信息的选择操作,将所述第一目标数据表信息对应的数据表确定为所述第一独立数据表。In response to the triggering operation of the first add control in the document editing interface, display the first candidate data table information, and the first candidate data table information corresponds to at least one independent data table; in response to the first candidate data The selection operation of the first target data table information in the table information determines the data table corresponding to the first target data table information as the first independent data table.
应当理解的是,第一添加控件可以用控件名称表示,也可以用控件标识符表示,本公开实施例对此不作任何限制。例如,用控件名称“添加数据表”表示第一添加控件,或者用控件标识符“+”表示第一添加控件。第一添加控件的触发操作可以是对第一添加控件执行点击操作或者长按操作,本公开实施例对此不作任何限制。例如,通过点击第一添加控件,显示第一候选数据表信息。第一目标数据表信息的选择操作可以是对第一目标数据表信息执行拖拽操作或点击操作,本公开实施例对此也不作任何限制。It should be understood that the first added control can be represented by a control name or a control identifier, and the embodiment of the present disclosure does not impose any limitation on this. For example, use the control name "Add Data Table" to represent the first added control, or use the control identifier "+" to represent the first added control. The triggering operation of the first added control may be a click operation or a long press operation on the first added control, and the embodiment of the present disclosure does not impose any limitation on this. For example, by clicking the first add control, the first candidate data table information is displayed. The selection operation of the first target data table information may be a drag operation or a click operation on the first target data table information, and the embodiment of the present disclosure does not impose any limitation on this.
另外应当理解的是,第一候选数据表信息可以根据实际情况进行设置,本公开实施例对此不作任何限制。在可能的实施方式中,第一候选数据表信息可以如图2所示,其中,第一列用于显示候选数据表所在文档的文档名,第二列用于表示候选数据表的表名,第三列用于显示候选数据表对应的表格页或视图页,其中表格页和视图页的切换可以通过点击第三列中的表格控件和视图控件进行切换。通过点击第一列中的目标文档名,可以在第二列中显示目标文档中所包含的数据表的表名,通过点击第二列中的目标表名,可以在第三列中显示目标表对应的表格页或视图页。由此可以预览目标文档中所包含的数据表及数据表对应的表格页视图页,从而实现第一独立数据表的选择。相应地,响应于对第一候选数据表信息中第一目标数据表信息的选择操作,将第一目标数据表信息对应的数据表确定为第一独立数据表,可以是:通过上述预览方式在第一候选数据表信息中确定第一目标数据表信息,通过双击第一目标数据表信息中的第一数据表或选中第一数据表并点击右下角的“确定控件”,将第一数据表确定为第一独立数据表。In addition, it should be understood that the first candidate data table information can be set according to the actual situation, and the embodiment of the present disclosure does not impose any limitation on this. In a possible implementation, the first candidate data table information can be as shown in Figure 2, where the first column is used to display the document name of the document where the candidate data table is located, and the second column is used to represent the table name of the candidate data table, The third column is used to display the table page or view page corresponding to the candidate data table. The table page and the view page can be switched by clicking the table control and view control in the third column. By clicking the target document name in the first column, the table names of the data tables contained in the target document can be displayed in the second column. By clicking the target table name in the second column, the target table can be displayed in the third column. The corresponding table page or view page. Thus, the data table contained in the target document and the table page view page corresponding to the data table can be previewed, thereby realizing the selection of the first independent data table. Correspondingly, in response to the selection operation of the first target data table information in the first candidate data table information, determining the data table corresponding to the first target data table information as the first independent data table may be: through the above preview method, Determine the first target data table information in the first candidate data table information. Double-click the first data table in the first target data table information or select the first data table and click the "Confirm Control" in the lower right corner. Identified as the first independent data table.
在可能的实施方式中,为了减少操作的复杂度,当第一列中有多个文档名和/或第二列中有多个表名时,默认在第三列中显示第一个文档名中第一个表名对应的数据表。In a possible implementation, in order to reduce the complexity of the operation, when there are multiple document names in the first column and/or multiple table names in the second column, the first document name is displayed in the third column by default. The data table corresponding to the first table name.
在可能的实施方式中,所述响应于在所述文档编辑界面的数据表添加操作,确定所述数据表添加操作对应的第一独立数据表,可以包括:In a possible implementation, determining the first independent data table corresponding to the data table adding operation in response to the data table adding operation on the document editing interface may include:
响应于对所述文档编辑界面中第二添加控件的触发操作,显示搜索控件;响应于在所述搜索控件中输入的搜索条件,显示所述搜索条件对应的第二候选数据表信息,所述第二候选数据表信息对应有至少一个独立数据表;响应于对所述第二候选数据表信息中第二目标数据表信息的选择操作,将所述第二目标数据表信息对应的数据表确定为所述第一独立数据表。In response to the triggering operation of the second adding control in the document editing interface, a search control is displayed; in response to the search condition entered in the search control, the second candidate data table information corresponding to the search condition is displayed, the The second candidate data table information corresponds to at least one independent data table; in response to the selection operation of the second target data table information in the second candidate data table information, the data table corresponding to the second target data table information is determined is the first independent data table.
其中,第二添加控件的设置方式可以参见第一添加控件的设置方式,第二候选数据表信息的显示方式可以参见第一候选数据表信息的显示方式,此处不再赘述。For the setting method of the second added control, please refer to the setting method of the first added control. For the display method of the second candidate data table information, please refer to the display method of the first candidate data table information, which will not be described again here.
示意地,通过点击第二添加控件,显示搜索条件输入框和搜索控件,如图3所示,通过在搜索条件输入框中输入搜索条件,并点击搜索控件,显示搜索条件对应的第二候选数据表信息。Schematically, by clicking the second add control, the search condition input box and search control are displayed. As shown in Figure 3, by entering the search condition in the search condition input box and clicking the search control, the second candidate data corresponding to the search condition is displayed. table information.
应当理解的是,第一添加控件和第二添加控件可以是同一个控件,也可以是不同的控件,本公开实施例对此不作任何限制。当第一添加控件和第二添加控件是两个不同的控件时,文档编辑界面中同时显示第一添加控件和第二添加控件,用户根据实际情况选择触发第一添加控件或第二添加控件进行第一独立数据表的确定。当第一添加控件和第二添加控件是同一个控件时,可以在文档编辑界面中显示一个添加控件,用户触发该添加控件,同时显示候选数据表信息和搜索控件,以便用户根据实际情况选择确定第一独立数据表的方式。其中,添加控件、候选数据表信息和搜索控件的显示位置和显示方式可以根据实际情况进行确定,本公开实施例对此不作任何限制。示例地,当用户点击文档编辑界面中的添加控件时,在文档编辑界面中以浮层的形式显示一数据表添加界面,如图4所示,该数据表添加界面的左上角区域显示搜索控件,其余区域显示候选数据表信息。It should be understood that the first added control and the second added control may be the same control or different controls, and the embodiment of the present disclosure does not impose any limitation on this. When the first added control and the second added control are two different controls, the first added control and the second added control are displayed simultaneously in the document editing interface, and the user chooses to trigger the first added control or the second added control according to the actual situation. Determination of the first independent data sheet. When the first adding control and the second adding control are the same control, an adding control can be displayed in the document editing interface, and the user triggers the adding control, and displays the candidate data table information and search control at the same time, so that the user can choose according to the actual situation. First independent data table way. Among them, the display position and display mode of the added control, candidate data table information and search control can be determined according to the actual situation, and the embodiment of the present disclosure does not impose any restrictions on this. For example, when the user clicks the add control in the document editing interface, a data table adding interface is displayed in the form of a floating layer in the document editing interface, as shown in Figure 4. The search control is displayed in the upper left corner of the data table adding interface. , the remaining areas display candidate data table information.
另外应当理解的是,通过搜索条件搜索出来的第二候选数据表信息中,可能存在不能被添加至文档编辑界面的数据表。因此在可能的实施方式中,当用户选择的数据表不能被添加至当前文档编辑界面中时,可以在目标区域弹出一文字提示框,用于提示用户该数据表不能被添加至当前文档编辑界面。In addition, it should be understood that among the second candidate data table information searched through the search conditions, there may be data tables that cannot be added to the document editing interface. Therefore, in a possible implementation, when the data table selected by the user cannot be added to the current document editing interface, a text prompt box may pop up in the target area to remind the user that the data table cannot be added to the current document editing interface.
其中,数据表能否被添加至当前文档编辑界面可以根据预先设置的添加条件进行确定。其中,添加条件可以根据实际情况进行设置,例如,添加条件可以是待添加数据表的用户权限与当前文档编辑界面的用户权限一致,也可以是待添加数据表开启了添加权限等,本公开实施例对此不作任何限制。Among them, whether the data table can be added to the current document editing interface can be determined based on preset adding conditions. Among them, the adding conditions can be set according to the actual situation. For example, the adding conditions can be that the user permissions of the data table to be added are consistent with the user permissions of the current document editing interface, or the adding permissions of the data table to be added are turned on, etc., the disclosure implements There are no restrictions on this.
另外,文字提示框中的文字信息也可根据实际情况进行设置,本公开实施例对此不作任何限制。在可能的实施方式中,可以将文字提示框中的内容设置为“无添加权限”或“不支持添加”等。In addition, the text information in the text prompt box can also be set according to the actual situation, and the embodiment of the present disclosure does not impose any restrictions on this. In a possible implementation, the content in the text prompt box can be set to "No permission to add" or "Add not supported" or the like.
在可能的实施方式中,所述响应于在所述文档编辑界面的数据表添加操作,确定所述数据表添加操作对应的第一独立数据表,可以包括:In a possible implementation, determining the first independent data table corresponding to the data table adding operation in response to the data table adding operation on the document editing interface may include:
响应于在所述文档编辑界面针对目标链接的粘贴操作,将所述目标链接对应的独立数据表确定为所述第一独立数据表。In response to the paste operation of the target link on the document editing interface, the independent data table corresponding to the target link is determined as the first independent data table.
应当理解的是,第一候选数据表信息和第二候选数据表信息中一般存在较多的数据表,当用户向文档编辑界面添加目标数据表时,需要花费较多的精力在第一候选数据表信息和第二候选数据表信息中筛选目标数据表,一方面增加了用户的操作复杂度,另一方面降低了数据表的添加效率。本实施例通过将独立数据表的链接粘贴至文档编辑界面,以实现在文档编辑界面中添加第一独立数据表,在降低用户复杂度的同时,提升添加效率。It should be understood that there are generally more data tables in the first candidate data table information and the second candidate data table information. When the user adds a target data table to the document editing interface, he needs to spend more energy on the first candidate data table. Filtering the target data table from the table information and the second candidate data table information not only increases the user's operational complexity, but also reduces the efficiency of adding data tables. In this embodiment, the link of the independent data table is pasted into the document editing interface to add the first independent data table in the document editing interface, thereby reducing the user complexity and improving the adding efficiency.
在可能的实施方式中,所述将所述目标链接对应的独立数据表确定为所述第一独立数据表,可以包括:In a possible implementation, determining the independent data table corresponding to the target link as the first independent data table may include:
当所述目标链接携带有数据表标识时,确定所述目标链接对应的独立数据表为所述第一独立数据表;或者,当所述目标链接未携带有所述数据表标识时,显示数据表选择控件,响应于对所述数据表选择控件的触发操作,显示所述目标链接对应内容中的第三候选数据表信息,响应于对所述第三候选数据表信息中第三目标数据表信息的选择操作,将所述第三目标数据表信息对应的数据表确定为所述第一独立数据表,其中所述第三候选数据表信息对应有至少一个独立数据表。When the target link carries a data table identifier, determine that the independent data table corresponding to the target link is the first independent data table; or, when the target link does not carry the data table identifier, display the data The table selection control displays the third candidate data table information in the content corresponding to the target link in response to the triggering operation of the data table selection control, and the third target data table in the third candidate data table information is displayed in response to the triggering operation of the data table selection control. The information selection operation determines the data table corresponding to the third target data table information as the first independent data table, wherein the third candidate data table information corresponds to at least one independent data table.
应当理解的是,数据表标识可以根据实际情况进行设置,本公开实施例对此不作任何限制,在可能的实施方式中,可以用预设字段来表示数据表标识,例如用字段“table”来表示数据表标识。It should be understood that the data table identifier can be set according to the actual situation, and the embodiments of the present disclosure do not impose any restrictions on this. In possible implementations, a preset field can be used to represent the data table identifier, for example, the field "table" is used to represent the data table identifier. Represents the data table identifier.
另外应当理解的是,当目标链接未携带有数据表标识时,则需要确定目标链接中是否存在独立数据表,若存在独立数据表,则还需要确定将哪个独立数据表作为第一独立数据表。因此本实施例在将未携带有数据表标识的目标链接粘贴至文档编辑界面时,在文档编辑界面显示数据表选择控件,通过触发该数据表选择控件,以对目标链接中所包含的独立数据表进行选择。In addition, it should be understood that when the target link does not carry a data table identifier, it is necessary to determine whether there is an independent data table in the target link. If an independent data table exists, it is also necessary to determine which independent data table will be used as the first independent data table. . Therefore, in this embodiment, when a target link that does not carry a data table identifier is pasted into the document editing interface, the data table selection control is displayed on the document editing interface, and the independent data contained in the target link is triggered by triggering the data table selection control. table to select.
示例地,如图5所示,当将未携带有数据表标识的目标链接粘贴至文档编辑界面时,在文档编辑界面中显示一数据表选择控件,即,图中的黑色圆点,通过点击该数据表选择控件,在文档编辑界面中显示第三候选数据表信息,通过双击第一列中的目标表名或点击右下角的“确定控件”,将对应的目标数据表确定为第一独立数据表。For example, as shown in Figure 5, when a target link that does not carry a data table identifier is pasted into the document editing interface, a data table selection control is displayed in the document editing interface, that is, the black dot in the figure. By clicking This data table selection control displays the third candidate data table information in the document editing interface. By double-clicking the target table name in the first column or clicking the "OK Control" in the lower right corner, the corresponding target data table is determined as the first independent data sheet.
S103:在所述文档编辑界面中显示所述第一独立数据表的第一关联数据表,其中,所述第一关联数据表与所述第一独立数据表之间的数据同步。S103: Display the first associated data table of the first independent data table in the document editing interface, wherein data between the first associated data table and the first independent data table is synchronized.
应当理解的是,第一关联数据表与第一独立数据表之间的数据同步指的是,当对第一关联数据表进行更新时,会将更新内容同步至第一独立数据表中,以及当对第一独立数据表进行更新时,会将更新的内容同步至第一关联数据表,由此使得第一独立数据表与第一关联数据表始终保存一致。It should be understood that the data synchronization between the first associated data table and the first independent data table means that when the first associated data table is updated, the updated content will be synchronized to the first independent data table, and When the first independent data table is updated, the updated content will be synchronized to the first associated data table, so that the first independent data table and the first associated data table are always kept consistent.
即,根据本公开的一个实施例,所述方法还可以包括:That is, according to an embodiment of the present disclosure, the method may further include:
响应于对所述第一关联数据表的更新操作,对所述第一独立数据表进行同步更新,或响应于对所述第一独立数据表的更新操作,对所述第一关联数据表进行同步更新。In response to an update operation on the first associated data table, the first independent data table is synchronously updated, or in response to an update operation on the first independent data table, the first associated data table is updated Synchronization Update.
其中,更新操作可以是对第一独立数据表和第一关联数据表中的数据信息进行更新,也可以是对第一独立数据表和第一关联数据表的显示方式进行更新,还可以是对第一独立数据表和第一关联数据表的用户权限进行更新,本公开实施例对此不作任何限制。相应地,更新内容可以是第一独立数据表和第一关联数据表的显示方式、第一独立数据表和第一关联数据表中的数据信息以及第一独立数据表和第一关联数据表的用户权限。The update operation may be to update the data information in the first independent data table and the first associated data table, or it may be to update the display mode of the first independent data table and the first associated data table, or it may be to update the display mode of the first independent data table and the first associated data table. The user permissions of the first independent data table and the first associated data table are updated, and this embodiment of the present disclosure does not impose any restrictions on this. Correspondingly, the update content may be the display mode of the first independent data table and the first associated data table, the data information in the first independent data table and the first associated data table, and the content of the first independent data table and the first associated data table. User rights.
应当理解的是,第一关联数据表在文档编辑界面中的显示方式可以根据实际情况进行设置,例如,第一关联数据表可以以数据表的方式在文档编辑界面中进行显示,也可以是以视图的方式在文档编辑界面中进行显示,本公开实施例对此不作任何限制。其中,当以视图的方式在文档编辑界面中显示第一关联数据表时,该视图可以是新建的视图,也可以是候选数据表信息(第一候选数据表信息、第二候选数据表信息或第三候选数据表信息)中的已有视图,本公开实施例对此不作任何限制。当第一关联数据表以候选数据表信息中已有视图的方式进行显示,可以通过点击候选数据表信息第三列中的视图选择控件,以选择相应的视图,如图2所示,视图选择控件设置在视图控件的旁边。It should be understood that the display mode of the first associated data table in the document editing interface can be set according to the actual situation. For example, the first associated data table can be displayed in the document editing interface in the form of a data table, or it can also be displayed in the document editing interface. The view is displayed in the document editing interface, and the embodiment of the present disclosure does not impose any limitation on this. When the first associated data table is displayed in the document editing interface in the form of a view, the view may be a newly created view or candidate data table information (first candidate data table information, second candidate data table information or Existing views in the third candidate data table information), the embodiment of the present disclosure does not impose any restrictions on this. When the first associated data table is displayed as a view that already exists in the candidate data table information, you can select the corresponding view by clicking the view selection control in the third column of the candidate data table information, as shown in Figure 2, View Selection The control is placed next to the view control.
即,根据本公开的一个实施例,所述在所述文档编辑界面中显示所述第一独立数据表的第一关联数据表,可以包括:That is, according to an embodiment of the present disclosure, displaying the first associated data table of the first independent data table in the document editing interface may include:
确定所述第一独立数据表的表格页;响应于对所述表格页的选择操作,在所述文档编辑界面中显示所述第一关联数据表的表格页;或者,确定所述第一独立数据表的视图页;响应于对所述视图页中第一目标视图页的选择操作,在所述文档编辑界面中显示所述第一关联数据表的第一目标视图页。Determine the table page of the first independent data table; in response to the selection operation of the table page, display the table page of the first associated data table in the document editing interface; or determine the first independent data table. A view page of the data table; in response to a selection operation on the first target view page in the view page, display the first target view page of the first associated data table in the document editing interface.
综上,通过上述技术方案,文档编辑界面提供有针对独立数据表的关联数据表的添加功能,从而可以在文档内添加独立数据表的关联数据表,区别于在文档内创建的内嵌数据表,关联数据表可以支持更丰富的表格功能,更好的满足用户需求。并且,关联数据表与独立数据表之间能够实现数据同步,从而可以提升数据同步效率,提升用户体验。In summary, through the above technical solution, the document editing interface provides the function of adding related data tables for independent data tables, so that related data tables of independent data tables can be added within the document, which is different from the embedded data tables created within the document. , associated data tables can support richer table functions and better meet user needs. Moreover, data synchronization can be achieved between associated data tables and independent data tables, thereby improving data synchronization efficiency and user experience.
在可能的实施方式中,为了能够以不同的显示方式显示数据表,所述方法还可以包括:In a possible implementation, in order to be able to display the data table in different display modes, the method may further include:
在所述文档编辑界面中显示所述第一关联数据表之后,所述文档编辑界面显示第一配置控件;响应于对所述第一配置控件的触发操作,显示视图页配置控件;响应于对所述视图页配置控件的视图页配置操作,确定第四目标视图页;After the first associated data table is displayed in the document editing interface, the document editing interface displays a first configuration control; in response to a triggering operation on the first configuration control, a view page configuration control is displayed; in response to The view page configuration operation of the view page configuration control determines the fourth target view page;
所述在所述文档编辑界面中显示所述第一关联数据表,可以包括:Displaying the first associated data table in the document editing interface may include:
在所述文档编辑界面中显示所述第一关联数据表的第四目标视图页。The fourth target view page of the first associated data table is displayed in the document editing interface.
示例地,如图6所示,在第一独立数据表的上方显示有第一配置控件,通过点击第一配置控件,显示视图页配置控件,视图页配置控件中显示有第一视图页、第二视图页以及新建视图页,通过点击第一视图页或第二视图页,在文档编辑界面中以第一视图页或第二视图页的方式显示第一独立数据表。通过点击新建视图页,可以为第一独立数据表配置新的显示方式,并在文档编辑界面中进行显示。For example, as shown in Figure 6, a first configuration control is displayed above the first independent data table. By clicking the first configuration control, the view page configuration control is displayed. The first view page and the first view page are displayed in the view page configuration control. For the second view page and the new view page, by clicking the first view page or the second view page, the first independent data table is displayed in the document editing interface as the first view page or the second view page. By clicking on the new view page, you can configure a new display method for the first independent data table and display it in the document editing interface.
在可能的实施方式中,所述方法还可以包括:In possible implementations, the method may further include:
当所述目标链接携带有视图标识时,确定所述目标链接对应的第二目标视图页;在所述第二目标视图页为预设视图页时,显示视图页选择界面;响应于在所述视图页选择界面的视图页选择操作,确定第三目标视图页;When the target link carries a view identifier, determine the second target view page corresponding to the target link; when the second target view page is a preset view page, display the view page selection interface; in response to the The view page selection operation of the view page selection interface determines the third target view page;
所述在所述文档编辑界面中显示所述第一独立数据表的第一关联数据表,可以包括:Displaying the first associated data table of the first independent data table in the document editing interface may include:
在所述文档编辑界面中显示所述第一关联数据表的所述第三目标视图页。The third target view page of the first associated data table is displayed in the document editing interface.
其中,视图标识可以根据实际情况进行设置,本公开实施例对此不作任何限制,在可能的实施方式中,可以用预设字段来表示视图标识,例如用字段“view”来表示视图标识。预设视图页也可以根据实际情况进行设置,例如可以是仅目标用户可见的视图页或不支持在文档编辑界面中显示的视图页等,本公开实施例对此也不作任何限制。The view identifier can be set according to the actual situation, and the embodiments of the present disclosure do not impose any restrictions on this. In possible implementations, a preset field can be used to represent the view identifier, for example, the field "view" can be used to represent the view identifier. The default view page can also be set according to the actual situation. For example, it can be a view page that is only visible to the target user or a view page that does not support display in the document editing interface. The embodiment of the present disclosure does not impose any restrictions on this.
示例地,如图7所示,在目标链接对应的视图页为预设视图页时,当将目标链接粘贴至文档编辑界面的同时,在文档编辑界面中弹出一视图页选择界面,其中,视图页选择界面的左侧显示有第一视图页、第二视图页和第三视图页,通过点击第一视图页,在视图页选择界面的右侧显示对应的视图页,再次点击第一视图页或右下角的“确定控件”,在文档编辑界面中显示第一关联数据表的视图页。For example, as shown in Figure 7, when the view page corresponding to the target link is the default view page, when the target link is pasted into the document editing interface, a view page selection interface pops up in the document editing interface, where the view page The first view page, the second view page and the third view page are displayed on the left side of the page selection interface. By clicking the first view page, the corresponding view page is displayed on the right side of the view page selection interface. Click the first view page again. Or click the "OK control" in the lower right corner to display the view page of the first associated data table in the document editing interface.
基于同一构思,本公开实施例还提供了一种内容显示方法,如图8所示,该内容显示方法可以包括:Based on the same concept, embodiments of the present disclosure also provide a content display method. As shown in Figure 8, the content display method may include:
S801:显示文档编辑界面,所述文档编辑界面中有在所述文档编辑界面中创建的内嵌数据表。S801: Display a document editing interface, which contains an embedded data table created in the document editing interface.
其中,内嵌数据表指的是由文档编辑界面的表格生成控件/表格生成器生成的表格,其访问入口与文档的访问入口一致。Among them, the embedded data table refers to the table generated by the table generation control/table generator of the document editing interface, and its access entrance is consistent with the access entrance of the document.
S802:响应于对所述文档编辑界面中转换控件的触发操作,将所述内嵌数据表转换为第二独立数据表的第二关联数据表进行显示,其中,所述第二独立数据表为根据所述内嵌数据表中的数据信息创建的数据表,且所述第二独立数据表与所述第二关联数据表之间的数据同步。S802: In response to the triggering operation of the conversion control in the document editing interface, convert the embedded data table into a second associated data table of a second independent data table for display, wherein the second independent data table is A data table is created based on the data information in the embedded data table, and the data between the second independent data table and the second associated data table is synchronized.
应当理解的是,第二关联数据表为第二独立数据表在目标文档中的一种显示方式,因此在具体转换时,除了会将内嵌数据表转换为第二关联数据表进行显示外,还会同步将内嵌数据表转换为第二独立数据表,以便通过独立于文档之外的访问入口查看或更改第二关联数据表中的数据。It should be understood that the second related data table is a display method of the second independent data table in the target document. Therefore, during the specific conversion, in addition to converting the embedded data table into the second related data table for display, The embedded data table is also synchronously converted into a second independent data table, so that the data in the second associated data table can be viewed or changed through an access portal independent of the document.
另外应当理解的是,转换控件可以用控件名称表示,也可以用控件标识符表示。对转换控件的触发操作可以是对转换控件执行点击操作或者长按操作等,本公开实施例对此均不作任何限制。In addition, it should be understood that the conversion control can be represented by a control name or a control identifier. The triggering operation on the conversion control may be a click operation or a long press operation on the conversion control, and the embodiments of the present disclosure do not impose any restrictions on this.
示例地,如图9所示,转换控件显示在内嵌数据表的右上角,通过点击转换控件,将内嵌数据表转换为第二关联数据表进行显示。其中,第二关联数据表的显示方式可以跟内嵌数据表的显示方式相同,也可以不同,本公开实施例对此不作任何限制。为了直观的体现出已经将在线数据表转换为第二关联数据表进行显示,在可能的实施方式中,第二关联数据表的显示方式跟内嵌数据表的显示方式不同。For example, as shown in Figure 9, the conversion control is displayed in the upper right corner of the embedded data table. By clicking the conversion control, the embedded data table is converted into a second associated data table for display. The display mode of the second associated data table may be the same as the display mode of the embedded data table, or may be different. This embodiment of the present disclosure does not impose any limitation on this. In order to intuitively reflect that the online data table has been converted into a second associated data table for display, in a possible implementation, the display mode of the second associated data table is different from the display mode of the embedded data table.
综上,通过上述技术方案,可以将文档中的内嵌数据表转换为第二独立数据表以及将内嵌数据表转换为第二关联数据表进行显示。由于独立数据表可以支持更丰富的表格功能,因此可以更好的满足用户需求。并且,文档编辑界面的关联数据表与独立数据表之间能够实现数据同步,从而可以提升数据同步效率,提升用户体验。In summary, through the above technical solution, the embedded data table in the document can be converted into a second independent data table and the embedded data table can be converted into a second associated data table for display. Because independent data tables can support richer table functions, they can better meet user needs. In addition, data synchronization can be achieved between the associated data table and the independent data table in the document editing interface, thereby improving data synchronization efficiency and user experience.
在可能的实施方式中,所述文档编辑界面用于编辑目标文档,所述方法还可以包括:In a possible implementation, the document editing interface is used to edit the target document, and the method may further include:
确定所述目标文档的用户操作权限;在将所述内嵌数据表转换为所述第二关联数据表后,将所述目标文档的用户操作权限确定为所述第二独立数据表的用户操作权限。Determine the user operation permission of the target document; after converting the embedded data table into the second associated data table, determine the user operation permission of the target document as the user operation of the second independent data table permissions.
应当理解的是,通过将目标文档的用户操作权限确定为第二独立数据表的用户操作权限,一方面可以避免不具有访问目标文档的用户访问第二独立数据表,造成数据信息的泄露。另一方面可以避免在将在线数据表转换为第二独立数据表后,需要重新为第二独立数据表设置与目标文档相同的用户权限,增加转换的操作复杂度。It should be understood that by determining the user operation permission of the target document as the user operation permission of the second independent data table, on the one hand, it can prevent users who do not have access to the target document from accessing the second independent data table, causing the leakage of data information. On the other hand, it can avoid the need to re-set the same user permissions for the second independent data table as the target document after converting the online data table into a second independent data table, which increases the operational complexity of the conversion.
另外应当理解的是,目标文档的用户操作权限可以是对目标文档的访问权限,也可以是对目标文档的编辑权限。其中,目标文档的访问权限可以包括目标文档的全部访问权限和/或目标文档的部分访问权限,目标文档的编辑权限可以包括文字编辑权限和/或权限编辑权限等,本公开实施例对此不作任何限制。In addition, it should be understood that the user operation permission of the target document may be the access permission to the target document or the editing permission to the target document. The access permissions of the target document may include all access permissions of the target document and/or partial access permissions of the target document, and the editing permissions of the target document may include text editing permissions and/or permission editing permissions, etc. This embodiment of the present disclosure does not make any changes to this. Any restrictions.
在可能的实施方式中,目标文档的用户操作权限通过文档编辑界面的权限配置控件进行配置。示意地,通过点击文档编辑界面的权限配置控件,在文档编辑界面弹出一文档权限配置界面,如图10所示,其中,文档权限配置界面可以包括访问权限配置界面和操作权限配置界面,通过在文档访问权限配置界面和操作权限配置界面的待配置栏输入相应的人员信息,以得到目标文档的用户操作权限。同时为了便于查看目标文档的用户操作权限,文档访问权限配置界面和操作权限配置界面中还设置有已配置栏,通过查看已配置栏的人员信息,以确定目标文档的用户操作权限。In a possible implementation, the user operation permission of the target document is configured through the permission configuration control of the document editing interface. Schematically, by clicking the permission configuration control on the document editing interface, a document permission configuration interface pops up on the document editing interface, as shown in Figure 10, where the document permission configuration interface can include an access permission configuration interface and an operation permission configuration interface. Enter the corresponding personnel information in the to-be-configured columns of the document access permission configuration interface and operation permission configuration interface to obtain the user operation permissions for the target document. At the same time, in order to facilitate checking the user operation permissions of the target document, the document access permission configuration interface and the operation permission configuration interface are also provided with configured columns. By viewing the personnel information of the configured columns, the user operation permissions of the target document can be determined.
应当理解的是,在一些特殊场景下,例如数据分析场景下,目标文档中存在一些隐私信息且不方便展示给其余用户。因此在可能的实施方式中,可以将目标文档中的内嵌数据表转换为第二独立数据表后,再单独对第二独立数据表设置用户操作权限,且此时单独设置的用户操作权限不对目标文档生效。示例地,在将目标文档中的内嵌数据表转换为第二独立数据表后,若单独对第二独立数据表增加了一个用户操作权限(例如,用户xx可以访问第二独立数据表),则该用户操作权限不会同步至第目标文档,即,用户xx只具有访问第二独立数据表的权限,不具有访问目标文档的权限。同理,在将目标文档中的内嵌数据表转换为第二独立数据表后,也可以单独为目标文档设置用户操作权限,此时单独设置的用户操作权限不对第二独立数据表生效。It should be understood that in some special scenarios, such as data analysis scenarios, there is some private information in the target document and it is inconvenient to display it to other users. Therefore, in a possible implementation, the embedded data table in the target document can be converted into a second independent data table, and then the user operation permissions set separately for the second independent data table are incorrect. The target document takes effect. For example, after converting the embedded data table in the target document into a second independent data table, if a user operation permission is added to the second independent data table (for example, user xx can access the second independent data table), Then the user's operation permission will not be synchronized to the target document, that is, user xx only has the permission to access the second independent data table and does not have the permission to access the target document. Similarly, after converting the embedded data table in the target document into a second independent data table, you can also set user operation permissions separately for the target document. At this time, the separately set user operation permissions will not take effect on the second independent data table.
其中,值得说明的是,当目标文档的用户操作权限与第二独立数据表的用户操作权限不同时,具有目标文档用户操作权限且不具有第二独立数据表用户操作权限的用户访问目标文档时,目标文档中的第二关联数据表对该用户不可见。Among them, it is worth explaining that when the user operation permissions of the target document are different from the user operation permissions of the second independent data table, when a user who has the user operation permissions of the target document but does not have the user operation permissions of the second independent data table accesses the target document , the second related data table in the target document is not visible to the user.
除上述场景外,为了减少用户操作权限的配置次数,在可能的实施方式中,在将目标文档中的内嵌数据表转换为第二独立数据表后,单独为目标文档/第二独立数据表设置的用户操作权限也可以对第二独立数据表/目标文档生效。In addition to the above scenarios, in order to reduce the number of configurations of user operation permissions, in a possible implementation, after converting the embedded data table in the target document into a second independent data table, separate the target document/second independent data table The set user operation permissions can also take effect on the second independent data table/target document.
同时为了让用户可以根据实际情况选择用户操作权限的同步生效方式或非同步生效方式,在可能的实施方式中,可以在文档编辑界面显示一模式控件,打开该模式控件,实现用户操作权限的同步生效,关闭该模式控件,实现用户操作权限的非同步生效。At the same time, in order to allow users to choose the synchronous or asynchronous validation mode of user operation permissions according to the actual situation, in a possible implementation, a mode control can be displayed on the document editing interface, and the mode control can be opened to achieve synchronization of user operation permissions. To take effect, close the mode control to realize asynchronous effect of user operation permissions.
在可能的实施方式中,所述方法还可以包括:In possible implementations, the method may further include:
响应于对所述转换控件的触发操作,在将所述内嵌数据表转换为所述第二关联数据表的同时,显示针对所述第二独立数据表的权限编辑界面;响应于在所述权限编辑界面中的权限编辑操作,根据所述权限编辑操作对应的权限信息确定所述第二独立数据表的用户操作权限。In response to the triggering operation of the conversion control, while converting the embedded data table into the second associated data table, a permission editing interface for the second independent data table is displayed; in response to the The permission editing operation in the permission editing interface determines the user operation permission of the second independent data table according to the permission information corresponding to the permission editing operation.
应当理解的是,第二独立数据表的用户操作权限可以是对第二独立数据表的访问权限,也可以是对第二独立数据表的编辑权限。其中,访问权限可以包括全部访问权限和部分访问权限,编辑权限可以包括数据编辑权限或权限编辑权限等,本公开实施例对此不作任何限制。It should be understood that the user operation authority of the second independent data table may be the access authority to the second independent data table or the editing authority of the second independent data table. The access rights may include full access rights and partial access rights, and the editing rights may include data editing rights or rights editing rights, etc. This embodiment of the present disclosure does not impose any restrictions on this.
另外应当理解的是,第二独立数据表的权限编辑界面可以参照文档权限配置界面,在权限编辑界面中的权限配置方式可以参照在文档权限配置界面中的权限配置方式,此处不再赘述。In addition, it should be understood that the permission editing interface of the second independent data table can refer to the document permission configuration interface, and the permission configuration method in the permission editing interface can refer to the permission configuration method in the document permission configuration interface, which will not be described again here.
在可能的实施方式中,所述方法还可以包括:In possible implementations, the method may further include:
响应于对所述转换控件的触发操作,在将所述内嵌数据表转换为所述第二关联数据表的同时,显示提示信息编辑界面;响应于在所述提示信息编辑界面的提示信息编辑操作,根据所述提示信息编辑操作,确定是否在检测到对所述第二独立数据表的数据操作时发送对应的提示信息。In response to the triggering operation of the conversion control, while converting the embedded data table into the second associated data table, a prompt information editing interface is displayed; in response to the prompt information editing in the prompt information editing interface Operation, according to the prompt information editing operation, determine whether to send corresponding prompt information when a data operation on the second independent data table is detected.
其中,提示信息编辑操作可以是对提示内容的配置操作,也可以是对待检测动作的配置操作,还可以是对接收提示内容的用户信息配置操作,本公开实施例对此不作任何限制。在可能的实施方式中,待检测动作可以是更改第二独立数据表中数据的动作,也可以是更改第二独立数据表权限的动作,还可以是无权限的用户申请访问第二独立数据表的动作。在可能的实施方式中,提示内容可以是“用户xxx更改了第二独立数据表”也可以是“用户xxx将第二独立数据表中的“**”更改为“***””,还可以是“用户xxx申请访问第二独立数据表”。在可能的实施方式中,接收提示内容的用户信息可以是将内嵌数据表转换为第二关联数据表的用户信息,也可以是拥有第二独立数据表用户操作权限的的用户信息,还可以是下一个需要更改第二独立数据表中数据的用户信息。The prompt information editing operation may be a configuration operation of the prompt content, a configuration operation of the action to be detected, or a configuration operation of the user information for receiving the prompt content. The embodiments of the present disclosure do not impose any restrictions on this. In a possible implementation, the action to be detected may be an action to change the data in the second independent data table, or it may be an action to change the permissions of the second independent data table, or it may be an unauthorized user applying to access the second independent data table. Actions. In a possible implementation, the prompt content may be "User xxx changed the second independent data table" or "User xxx changed "**" in the second independent data table to "***"", or "User xxx changed the "**" in the second independent data table to "***"". It can be "User xxx applies to access the second independent data table". In a possible implementation, the user information that receives the prompt content may be the user information that converts the embedded data table into the second associated data table, or the user information that has the user operation authority of the second independent data table, or the user information that receives the prompt content. Is the next user information that needs to change the data in the second independent data table.
应当理解的是,第二独立数据表的权限编辑界面和提示信息编辑界面可以是不同的编辑界面,也可以是同一个编辑界面,本公开实施例对此不作任何限制。当第二独立数据表的权限编辑界面和提示信息编辑界面为同一个编辑界面时,通过点击转换控件,跳转至用于编辑第二独立数据表的用户操作权限和提示信息的编辑界面。在可能的实施方式中,编辑界面可以如图11所示,其中,编辑界面包括权限编辑控件和提示信息编辑控件,通过点击权限编辑控件跳转至相应的权限编辑界面,或通过点击提示信息编辑控件跳转至相应的提示信息编辑界面。It should be understood that the permission editing interface and the prompt information editing interface of the second independent data table can be different editing interfaces, or they can be the same editing interface, and the embodiment of the present disclosure does not impose any restrictions on this. When the permission editing interface and the prompt information editing interface of the second independent data table are the same editing interface, click the conversion control to jump to the editing interface for editing the user operation permissions and prompt information of the second independent data table. In a possible implementation, the editing interface may be as shown in Figure 11, where the editing interface includes a permission editing control and a prompt information editing control. You can jump to the corresponding permission editing interface by clicking on the permission editing control, or click on the prompt information editing control. The control jumps to the corresponding prompt information editing interface.
另外应当理解的是,对第二独立数据表的用户操作权限配置和提示信息的配置同样适用于第一独立数据表,此处不再赘述。In addition, it should be understood that the configuration of user operation permissions and prompt information for the second independent data table are also applicable to the first independent data table, and will not be described again here.
在可能的实施方式中,如图9所示,所述方法还可以包括:In a possible implementation, as shown in Figure 9, the method may further include:
在将所述内嵌数据表转换为所述第二独立数据表后,隐藏所述转换控件。After converting the embedded data table into the second independent data table, the conversion control is hidden.
通过隐藏转换控件,可以避免将目标文档中的内嵌数据表转换为多个第二独立数据表,进而避免因对目标文档的用户操作权限做了更改,使得再次转换出来的第二独立数据表具有不该具有的用户操作权限。By hiding the conversion control, you can avoid converting the embedded data table in the target document into multiple second independent data tables, thereby avoiding the conversion of the second independent data table due to changes in the user operation permissions of the target document. Has user operation permissions that it should not have.
示例地,正常情况下,仅有用户B和用户C具有第二独立数据表的用户操作权限。当额外增加了用户D对目标文档的用户操作权限时,若再次将目标文档中的内嵌数据表转换为第二独立数据表,由于新转换的第二独立数据表会继承目标文档的用户操作权限,则会导致用户D也具有第二独立数据表的用户操作权限。For example, under normal circumstances, only user B and user C have user operation permissions for the second independent data table. When user D has additional user operation permissions on the target document, if the embedded data table in the target document is converted into a second independent data table again, the newly converted second independent data table will inherit the user operations of the target document. permissions, user D will also have user operation permissions for the second independent data table.
在可能的实施方式中,所述文档编辑界面用于编辑目标文档,所述方法还包括:In a possible implementation, the document editing interface is used to edit the target document, and the method further includes:
确定所述目标文档的存储位置;当所述目标文档存储在根目录中时,在将所述内嵌数据表转换为所述第二独立数据表后,将所述第二独立数据表存储至所述根目录下的子目录中;当所述目标文档的存储位置在服务器中时,确定存储所述目标文档的存储空间,在将所述内嵌数据表转换为所述第二独立数据表后,将所述第二独立数据表存储至所述存储空间的根节点中。Determine the storage location of the target document; when the target document is stored in the root directory, after converting the embedded data table into the second independent data table, store the second independent data table in In a subdirectory under the root directory; when the storage location of the target document is in the server, determine the storage space to store the target document, and then convert the embedded data table into the second independent data table Finally, the second independent data table is stored in the root node of the storage space.
本实施例中,通过将第二独立数据表存储在目标文档的子目录中,以便根据目标文档的存储位置快速的找到相应的第二独立数据表。In this embodiment, the second independent data table is stored in a subdirectory of the target document, so that the corresponding second independent data table can be quickly found according to the storage location of the target document.
示意地,当目标文档存储在wiki(超文本系统)的根目录中时,则将第二独立数据表存储在根目录下的子目录中。当目标文档存储在云服务器中的云空间中时,则将第二独立数据表存在在云空间的根节点中。Illustratively, when the target document is stored in the root directory of the wiki (hypertext system), the second independent data table is stored in a subdirectory under the root directory. When the target document is stored in the cloud space in the cloud server, the second independent data table exists in the root node of the cloud space.
基于同一构思,本公开实施例还提供了一种内容显示装置,如图12所示,所述内容显示装置可以包括:Based on the same concept, an embodiment of the present disclosure also provides a content display device. As shown in Figure 12, the content display device may include:
第一显示模块1201,用于显示文档编辑界面;The first display module 1201 is used to display the document editing interface;
第一确定模块1202,用于响应于在所述文档编辑界面的数据表添加操作,确定所述数据表添加操作对应的第一独立数据表,所述第一独立数据表为已创建的数据表;The first determination module 1202 is configured to determine the first independent data table corresponding to the data table addition operation in response to the data table addition operation on the document editing interface, and the first independent data table is the created data table. ;
第二显示模块1203,用于在所述文档编辑界面中显示所述第一独立数据表的第一关联数据表,其中,所述第一关联数据表所述第一独立数据表之间的数据同步。The second display module 1203 is used to display the first associated data table of the first independent data table in the document editing interface, wherein the data between the first associated data table and the first independent data table Synchronize.
在可能的实施方式中,所述内容显示装置还可以包括:In a possible implementation, the content display device may further include:
更新模块,用于响应于对所述第一关联数据表的更新操作,对所述第一独立数据表进行同步更新,或响应于对所述第一独立数据表的更新操作,对所述第一关联数据表进行同步更新。An update module configured to synchronously update the first independent data table in response to an update operation on the first associated data table, or to update the third independent data table in response to an update operation on the first independent data table. A related data table is updated synchronously.
在可能的实施方式中,所述第一确定模块1202可以包括:In a possible implementation, the first determining module 1202 may include:
第一显示单元,用于响应于对所述文档编辑界面中第一添加控件的触发操作,显示第一候选数据表信息,所述第一候选数据表信息对应有至少一个独立数据表;A first display unit configured to display first candidate data table information in response to a triggering operation on the first add control in the document editing interface, where the first candidate data table information corresponds to at least one independent data table;
第一确定单元,用于响应于对所述第一候选数据表信息中第一目标数据表信息的选择操作,将所述第一目标数据表信息对应的数据表确定为所述第一独立数据表。A first determination unit configured to determine the data table corresponding to the first target data table information as the first independent data in response to a selection operation on the first target data table information in the first candidate data table information. surface.
在可能的实施方式中,所述第一确定模块1202可以包括:In a possible implementation, the first determining module 1202 may include:
第二显示单元,用于响应于对所述文档编辑界面中第二添加控件的触发操作,显示搜索控件;a second display unit configured to display a search control in response to a triggering operation on a second added control in the document editing interface;
第三显示单元,用于响应于在所述搜索控件中输入的搜索条件,显示所述搜索条件对应的第二候选数据表信息,所述第二候选数据表信息对应有至少一个独立数据表;A third display unit configured to display second candidate data table information corresponding to the search condition in response to the search condition entered in the search control, where the second candidate data table information corresponds to at least one independent data table;
第二确定单元,用于响应于对所述第二候选数据表信息中第二目标数据表信息的选择操作,将所述第二目标数据表信息对应的数据表确定为所述第一独立数据表。A second determination unit configured to determine the data table corresponding to the second target data table information as the first independent data in response to a selection operation on the second target data table information in the second candidate data table information. surface.
在可能的实施方式中,所述第一确定模块1202可以包括:In a possible implementation, the first determining module 1202 may include:
第三确定单元,用于响应于在所述文档编辑界面针对目标链接的粘贴操作,将所述目标链接对应的独立数据表确定为所述第一独立数据表。The third determination unit is configured to determine the independent data table corresponding to the target link as the first independent data table in response to the paste operation of the target link on the document editing interface.
在可能的实施方式中,所述第三确定单元可以包括:In a possible implementation, the third determining unit may include:
第一确定子单元,用于当所述目标链接携带有数据表标识时,确定所述目标链接对应的独立数据表为所述第一独立数据表;A first determination subunit, configured to determine that the independent data table corresponding to the target link is the first independent data table when the target link carries a data table identifier;
第二确定子单元,用于当所述目标链接未携带有所述数据表标识时,显示数据表选择控件,响应于对所述数据表选择控件的触发操作,显示所述目标链接对应内容中的第三候选数据表信息,响应于对所述第三候选数据表信息中第三目标数据表信息的选择操作,将所述第三目标数据表信息对应的数据表确定为所述第一独立数据表,其中所述第三候选数据表信息对应有至少一个独立数据表。The second determination subunit is configured to display a data table selection control when the target link does not carry the data table identification, and display the content corresponding to the target link in response to a triggering operation on the data table selection control. The third candidate data table information, in response to the selection operation of the third target data table information in the third candidate data table information, determines the data table corresponding to the third target data table information as the first independent A data table, wherein the third candidate data table information corresponds to at least one independent data table.
在可能的实施方式中,所述第二显示模块可以包括:In a possible implementation, the second display module may include:
第四确定单元,用于确定所述第一独立数据表的表格页;The fourth determination unit is used to determine the table page of the first independent data table;
第四显示单元,用于响应于对所述表格页的选择操作,在所述文档编辑界面中显示所述第一关联数据表的表格页;A fourth display unit configured to display the table page of the first associated data table in the document editing interface in response to a selection operation on the table page;
第五确定单元,用于确定所述第一独立数据表的视图页;The fifth determination unit is used to determine the view page of the first independent data table;
第五显示单元,用于响应于对所述视图页中第一目标视图页的选择操作,在所述文档编辑界面中显示所述第一关联数据表的第一目标视图页。A fifth display unit configured to display the first target view page of the first associated data table in the document editing interface in response to a selection operation on the first target view page in the view page.
在可能的实施方式中,所述内容显示装置还可以包括:In a possible implementation, the content display device may further include:
第二确定模块,用于当所述目标链接携带有视图标识时,确定所述目标链接对应的第二目标视图页;A second determination module, configured to determine the second target view page corresponding to the target link when the target link carries a view identifier;
第三显示模块,用于在所述第二目标视图页为预设视图页时,显示视图页选择界面;A third display module configured to display a view page selection interface when the second target view page is a preset view page;
第三确定模块,用于响应于在所述视图页选择界面的视图页选择操作,确定第三目标视图页;A third determination module, configured to determine a third target view page in response to a view page selection operation on the view page selection interface;
相应地,所述第二显示模块用于在所述文档编辑界面中显示所述第一关联数据表的所述第三目标视图页。Correspondingly, the second display module is configured to display the third target view page of the first associated data table in the document editing interface.
基于同一构思,本公开实施例还提供了一种内容显示装置,如图13所示,该装置可以包括:Based on the same concept, embodiments of the present disclosure also provide a content display device. As shown in Figure 13, the device may include:
第四显示模块1301,用于显示文档编辑界面,所述文档编辑界面中有在所述文档编辑界面中创建的内嵌数据表;The fourth display module 1301 is used to display a document editing interface, which contains an embedded data table created in the document editing interface;
转换模块1302,用于响应于对所述文档编辑界面中转换控件的触发操作,将所述内嵌数据表转换为第二独立数据表的第二关联数据表进行显示,其中,所述第二独立数据表为根据所述内嵌数据表中的数据信息创建的数据表,且所述第二独立数据表与所述第二关联数据表之间的数据同步。The conversion module 1302 is configured to convert the embedded data table into a second associated data table of a second independent data table for display in response to a triggering operation of the conversion control in the document editing interface, wherein the second The independent data table is a data table created based on the data information in the embedded data table, and the data between the second independent data table and the second associated data table is synchronized.
在可能的实施方式中,所述文档编辑界面用于编辑目标文档,所述内容显示装置还可以包括:In a possible implementation, the document editing interface is used to edit a target document, and the content display device may further include:
第四确定模块,用于确定所述目标文档的用户操作权限;The fourth determination module is used to determine the user operation permission of the target document;
第五确定模块,用于在将所述内嵌数据表转换为所述第二关联数据表后,将所述目标文档的用户操作权限确定为所述第二独立数据表的用户操作权限。The fifth determination module is configured to determine the user operation authority of the target document as the user operation authority of the second independent data table after converting the embedded data table into the second associated data table.
在可能的实施方式中,所述内容显示装置还可以包括:In a possible implementation, the content display device may further include:
第五显示模块,用于响应于对所述转换控件的触发操作,在将所述内嵌数据表转换为所述第二关联数据表的同时,显示针对所述第二独立数据表的权限编辑界面;A fifth display module, configured to respond to the triggering operation of the conversion control, while converting the embedded data table into the second associated data table, and display permission editing for the second independent data table. interface;
第六确定模块,用于响应于在所述权限编辑界面中的权限编辑操作,根据所述权限编辑操作对应的权限信息确定所述第二独立数据表的用户操作权限。A sixth determination module, configured to respond to the permission editing operation in the permission editing interface and determine the user operation permission of the second independent data table according to the permission information corresponding to the permission editing operation.
在可能的实施方式中,所述内容显示装置还可以包括:In a possible implementation, the content display device may further include:
第六显示模块,用于响应于对所述转换控件的触发操作,在将所述内嵌数据表转换为所述第二关联数据表的同时,显示提示信息编辑界面;A sixth display module, configured to display a prompt information editing interface while converting the embedded data table into the second associated data table in response to the triggering operation of the conversion control;
第七确定模块,用于响应于在所述提示信息编辑界面的提示信息编辑操作,根据所述提示信息编辑操作,确定是否在检测到对所述第二独立数据表的数据操作时发送对应的提示信息。A seventh determination module, configured to respond to a prompt information editing operation on the prompt information editing interface and determine, according to the prompt information editing operation, whether to send the corresponding data when a data operation on the second independent data table is detected. Prompt information.
在可能的实施方式中,所述内容显示装置还可以包括:In a possible implementation, the content display device may further include:
隐藏模块,用于在将所述内嵌数据表转换为所述第二关联数据表后,隐藏所述转换控件。A hiding module, configured to hide the conversion control after converting the embedded data table into the second associated data table.
在可能的实施方式中,所述文档编辑界面用于编辑目标文档,所述内容显示装置还可以包括:In a possible implementation, the document editing interface is used to edit a target document, and the content display device may further include:
第八确定模块,用于确定所述目标文档的存储位置;The eighth determination module is used to determine the storage location of the target document;
第一存储模块,用于当所述目标文档存储在根目录中时,在将所述内嵌数据表转换为所述第二关联数据表后,将所述第二独立数据表存储至所述根目录下的子目录中;A first storage module configured to store the second independent data table in the second independent data table after converting the embedded data table into the second associated data table when the target document is stored in the root directory. In a subdirectory under the root directory;
第二存储模块,用于当所述目标文档的存储位置在服务器中时,确定存储所述目标文档的存储空间,在将所述内嵌数据表转换为所述第二关联数据表后,将所述第二独立数据表存储至所述存储空间的根节点中。The second storage module is configured to determine the storage space to store the target document when the storage location of the target document is in the server, and after converting the embedded data table into the second associated data table, The second independent data table is stored in the root node of the storage space.
基于同一构思,本公开实施例还提供了一种计算机可读介质,其上存储有计算机程序,该程序被处理装置执行时实现第一方面或第二方面中的内容显示方法的步骤。Based on the same concept, embodiments of the present disclosure also provide a computer-readable medium on which a computer program is stored. When the program is executed by a processing device, the steps of the content display method in the first aspect or the second aspect are implemented.
基于同一构思,本公开实施例还提供一种电子设备,包括:Based on the same concept, embodiments of the present disclosure also provide an electronic device, including:
存储装置,其上存储有计算机程序;a storage device having a computer program stored thereon;
处理装置,用于执行所述存储装置中的所述计算机程序,以实现第一方面或第二方面中的内容显示方法的步骤。A processing device, configured to execute the computer program in the storage device to implement the steps of the content display method in the first aspect or the second aspect.
下面参考图14,其示出了适于用来实现本公开实施例的电子设备1400的结构示意图。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图14示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。Referring now to FIG. 14 , a schematic structural diagram of an electronic device 1400 suitable for implementing embodiments of the present disclosure is shown. Terminal devices in embodiments of the present disclosure may include, but are not limited to, mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Tablets), PMPs (Portable Multimedia Players), vehicle-mounted terminals (such as Mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs, desktop computers, etc. The electronic device shown in FIG. 14 is only an example and should not impose any limitations on the functions and scope of use of the embodiments of the present disclosure.
如图14所示,电子设备1400可以包括处理装置(例如中央处理器、图形处理器等)1401,其可以根据存储在只读存储器(ROM)1402中的程序或者从存储装置1408加载到随机访问存储器(RAM)1403中的程序而执行各种适当的动作和处理。在RAM 1403中,还存储有电子设备1400操作所需的各种程序和数据。处理装置1401、ROM 1402以及RAM 1403通过总线1404彼此相连。输入/输出(I/O)接口1405也连接至总线1404。As shown in FIG. 14, the electronic device 1400 may include a processing device (eg, central processing unit, graphics processor, etc.) 1401, which may be loaded into a random access device according to a program stored in a read-only memory (ROM) 1402 or from a storage device 1408. The program in the memory (RAM) 1403 executes various appropriate actions and processes. In the RAM 1403, various programs and data required for the operation of the electronic device 1400 are also stored. The processing device 1401, the ROM 1402 and the RAM 1403 are connected to each other via a bus 1404. An input/output (I/O) interface 1405 is also connected to bus 1404.
通常,以下装置可以连接至I/O接口1405:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置1406;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置1407;包括例如磁带、硬盘等的存储装置1408;以及通信装置1409。通信装置1409可以允许电子设备1400与其他设备进行无线或有线通信以交换数据。虽然图14示出了具有各种装置的电子设备1400,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。Generally, the following devices may be connected to the I/O interface 1405: input devices 1406 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speakers, vibration An output device 1407 such as a computer; a storage device 1408 including a magnetic tape, a hard disk, etc.; and a communication device 1409. The communication device 1409 may allow the electronic device 1400 to communicate wirelessly or wiredly with other devices to exchange data. Although FIG. 14 illustrates electronic device 1400 with various means, it should be understood that implementation or availability of all illustrated means is not required. More or fewer means may alternatively be implemented or provided.
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置1409从网络上被下载和安装,或者从存储装置1408被安装,或者从ROM 1402被安装。在该计算机程序被处理装置1401执行时,执行本公开实施例的方法中限定的上述功能。In particular, according to embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product including a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the method illustrated in the flowchart. In such embodiments, the computer program may be downloaded and installed from the network via communication device 1409, or from storage device 1408, or from ROM 1402. When the computer program is executed by the processing device 1401, the above functions defined in the method of the embodiment of the present disclosure are performed.
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two. The computer-readable storage medium may be, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any combination thereof. More specific examples of computer readable storage media may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard drive, random access memory (RAM), read only memory (ROM), removable Programmed read-only memory (EPROM or flash memory), fiber optics, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In this disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device . Program code embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to: wire, optical cable, RF (radio frequency), etc., or any suitable combination of the above.
在一些实施方式中,可以利用诸如HTTP(HyperText Transfer Protocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。In some embodiments, communication can be performed using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol), and can communicate with digital data in any form or medium (e.g., communication network) interconnection. Examples of communication networks include local area networks ("LAN"), wide area networks ("WAN"), the Internet (e.g., the Internet), and end-to-end networks (e.g., ad hoc end-to-end networks), as well as any currently known or developed in the future network of.
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。The above-mentioned computer-readable medium may be included in the above-mentioned electronic device; it may also exist independently without being assembled into the electronic device.
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:显示文档编辑界面;响应于在所述文档编辑界面的数据表添加操作,确定所述数据表添加操作对应的第一独立数据表,所述第一独立数据表预先存储在目标存储位置;在所述文档编辑界面中显示所述第一独立数据表,其中,所述文档编辑界面中的所述第一独立数据表与所述目标存储位置的所述第一独立数据表之间能够实现同步的数据更新。The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: displays a document editing interface; responds to a data table addition operation on the document editing interface , determine the first independent data table corresponding to the data table addition operation, and the first independent data table is pre-stored in the target storage location; display the first independent data table in the document editing interface, wherein, the Synchronous data updates can be achieved between the first independent data table in the document editing interface and the first independent data table in the target storage location.
或者,上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:显示文档编辑界面,所述文档编辑界面中有在所述文档编辑界面中创建的内嵌数据表;响应于对所述文档编辑界面中转换控件的触发操作,将所述内嵌数据表转换为第二独立数据表的第二关联数据表进行显示,其中,所述第二独立数据表为根据所述内嵌数据表中的数据信息创建的数据表,且所述第二独立数据表与所述第二关联数据表之间的数据同步。Alternatively, the computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: displays a document editing interface, and the document editing interface includes the document An embedded data table created in the editing interface; in response to the triggering operation of the conversion control in the document editing interface, converting the embedded data table into a second associated data table of a second independent data table for display, wherein, The second independent data table is a data table created based on the data information in the embedded data table, and the data between the second independent data table and the second associated data table is synchronized.
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言——诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)——连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, and Includes conventional procedural programming languages - such as "C" or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In situations involving remote computers, the remote computer can be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as an Internet service provider). connected via the Internet).
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operations of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, segment, or portion of code that contains one or more logic functions that implement the specified executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown one after another may actually execute substantially in parallel, or they may sometimes execute in the reverse order, depending on the functionality involved. It will also be noted that each block of the block diagram and/or flowchart illustration, and combinations of blocks in the block diagram and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or operations. , or can be implemented using a combination of specialized hardware and computer instructions.
描述于本公开实施例中所涉及到的模块可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,模块的名称在某种情况下并不构成对该模块本身的限定。The modules involved in the embodiments of the present disclosure can be implemented in software or hardware. Among them, the name of the module does not constitute a limitation on the module itself under certain circumstances.
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), Systems on Chips (SOCs), Complex Programmable Logical device (CPLD) and so on.
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of this disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media would include one or more wire-based electrical connections, laptop disks, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is only a description of the preferred embodiments of the present disclosure and the technical principles applied. Those skilled in the art should understand that the disclosure scope involved in the present disclosure is not limited to technical solutions composed of specific combinations of the above technical features, but should also cover solutions composed of the above technical features or without departing from the above disclosed concept. Other technical solutions formed by any combination of equivalent features. For example, a technical solution is formed by replacing the above features with technical features with similar functions disclosed in this disclosure (but not limited to).
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。Furthermore, although operations are depicted in a specific order, this should not be understood as requiring that these operations be performed in the specific order shown or performed in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, although several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims. Regarding the devices in the above embodiments, the specific manner in which each module performs operations has been described in detail in the embodiments related to the method, and will not be described in detail here.
Claims (18)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310887218.2A CN116882373A (en) | 2023-07-18 | 2023-07-18 | Content display method, device, readable medium and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310887218.2A CN116882373A (en) | 2023-07-18 | 2023-07-18 | Content display method, device, readable medium and electronic device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116882373A true CN116882373A (en) | 2023-10-13 |
Family
ID=88260070
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310887218.2A Pending CN116882373A (en) | 2023-07-18 | 2023-07-18 | Content display method, device, readable medium and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116882373A (en) |
-
2023
- 2023-07-18 CN CN202310887218.2A patent/CN116882373A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI598750B (en) | Method of collaboration using multiple editors or versions of a feature, and computer readable storage medium for recording related instructions thereon | |
WO2022002066A1 (en) | Method and apparatus for browsing table in document, and electronic device and storage medium | |
CN111427647B (en) | Page display method and device of application program, storage medium and electronic equipment | |
WO2022184012A1 (en) | Document creation method and apparatus, and device and storage medium | |
WO2020143555A1 (en) | Method and device used for displaying information | |
CN114363686A (en) | Method, apparatus, device, medium, and program product for distributing multimedia content | |
WO2022148485A1 (en) | Information display method and apparatus, and electronic device | |
CN116886989A (en) | Media content generation methods, devices, electronic devices and storage media | |
CN115619341A (en) | Method, device, electronic device and storage medium for viewing work item information | |
US20230379279A1 (en) | Interaction method and apparatus, and electronic device | |
CN115562527A (en) | Method, device, electronic device and storage medium for distributing review information | |
CN112256370B (en) | Information display method, device and electronic equipment | |
CN117354271A (en) | Interactive information sending method and device, electronic equipment and storage medium | |
CN116362215A (en) | Information processing method, device, terminal and storage medium | |
WO2025001726A1 (en) | Cover setting method and apparatus, electronic device, and storage medium | |
WO2025055917A1 (en) | Topic interface display method and apparatus, and electronic device and storage medium | |
WO2025011550A1 (en) | Login method and apparatus, and electronic device | |
US20230409813A1 (en) | Document processing method, apparatus and device, and medium | |
WO2024083149A1 (en) | Media content processing method and apparatus, and electronic device | |
CN116955860A (en) | Information processing methods, devices, electronic equipment and storage media | |
CN117591206A (en) | Interaction method, device, equipment and storage medium | |
CN116340553A (en) | Collection method, device, electronic device and storage medium of media content | |
CN116882373A (en) | Content display method, device, readable medium and electronic device | |
CN115658655A (en) | Information processing method, device, electronic equipment and storage medium | |
CN115114463A (en) | Display method, device, electronic device and storage medium of media content |
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 |