Users create content in productivity applications with a variety of input tools with various benefits and tradeoffs associated with those tools. In one example, a user may format text to appear in a tabular format in various cells of a table (divided into rows and columns). Some users author tabular content in purpose-made applications (e.g., spreadsheets) to work with tabular content or insert special table objects into other applications to handle tabular content. Other users manually adjust the spacing of content items, via page sizes/margins, line breaks, tabs, spaces, etc., to present content in a tabular format. Still other users create and space objects containing content (e.g., text boxes, shape stencils) to form a tabular presentation. All of these approaches, however, require the user to select specific tools in the productivity application, which may be buried in layers of a contextual menu, or rely on formatting rulers (or an “eyeball” estimate) to maintain a uniform table structure, which degrades the user's authoring experience and lengthens the time it takes to create a table to the user's specification.
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description section. This summary is not intended to identify all features of the claimed subject matter, nor is it intended as limiting the scope of the claimed subject matter.
Systems and methods are provided herein to enable improved usability of productivity applications that enables the intelligent detection and manipulation of tables via freehand input. As a user makes freehand input in the productivity application, it is determined whether the freehand input corresponds to an object, such as a table, and the freehand input is applied in association with the object to modify that object, without requiring the user to access a menu to adjust the object. For example, after using freehand input to draw a table, a table object (including cells organized in rows and columns) is created in the productivity application based on the freehand input. The user may refine that table (or another table input via freehand conversion or via an insertion) with additional freehand input, such as, for example, by drawing a new cell, row, or column; splitting or merging existing cells; or deleting existing cells, rows, or columns.
By employing the present disclosure, an improved user experience is provided, where the user is enabled to input and refine table objects via freehand input—without having to switch authoring tools or access menus—faster, more accurately, and more efficiently than before.
The details of one or more aspects are set forth in the accompanying drawings and description below. Other features and advantages will be apparent from a reading of the following detailed description and a review of the associated drawings. It is to be understood that the following detailed description is explanatory only and is not restrictive; the proper scope of the present disclosure is set by the claims.
The accompanying drawings, which are incorporated in and constitute a part of this disclosure, illustrate various aspects of the present disclosure. In the drawings:
The following detailed description refers to the accompanying drawings. Wherever possible, the same reference numbers are used in the drawings and the following description to refer to the same or similar elements. While aspects of the present disclosure may be described, modifications, adaptations, and other implementations are possible. For example, substitutions, additions, or modifications may be made to the elements illustrated in the drawings, and the methods described herein may be modified by substituting, reordering, or adding stages to the disclosed methods. Accordingly, the following detailed description does not limit the present disclosure, but instead, the proper scope of the present disclosure is defined by the appended claims. Examples may take the form of a hardware implementation, or an entirely software implementation, or an implementation combining software and hardware aspects. The following detailed description is, therefore, not to be taken in a limiting sense.
Systems and methods are provided herein to enable improved usability of productivity applications that enables the intelligent detection and manipulation of tables via freehand input. As a user makes freehand input in the productivity application, it is determined whether the freehand input corresponds to an object, such as a table, and the freehand input is applied in association with the object to modify that object, without requiring the user to access a menu to adjust the object. For example, after using freehand input to draw a table, a table object (including cells organized in rows and columns) is created in the productivity application based on the freehand input. The user may refine that table (or another table input via freehand conversion or via an insertion) with additional freehand input, such as, for example, by drawing a new cell, row, or column; splitting or merging existing cells; or deleting existing cells, rows, or columns. Recognition of freehand input enables gestures, strokes, and objects to be recognized as tables and actions taken in relation to tables. For example, drawing a rectangle intersected by horizontal and vertical lines will create a table object that functions as a table within a productivity application, but may inherit visual cues from the strokes used to draw it. Users are enabled to move, add to, remove from, reorganize, delete, and perform value-based calculations on and in the table via freeform input.
By employing the present disclosure, an improved user experience is provided, where the user is enabled to input and refine table objects via freehand input—without having to switch authoring tools or access menus—faster, more accurately, and more efficiently than before. Additionally, because the user is not required to switch authoring tools, less memory and fewer processing resources are expended to author content in the productivity application, and the functionality of the computing device used to provide the productivity application is thereby expanded and improved.
With reference now to
A user may interact with an application 120 on the computing device 110 for performing a variety of tasks, which include, but are not limited to: writing, calculating, drawing, taking and organizing notes, preparing and organizing presentations, sending and receiving electronic mail, making music, and the like. Applications 120 include thick client applications, which may be stored locally on the computing device 110, and thin client applications (i.e., web applications) that reside on a remote server and are accessible over a network, such as the Internet or an intranet. In various aspects, a thin client application is hosted in a browser-controlled environment or coded in a browser-supported language and is reliant on a web browser to render the application 120 executable on the computing device 110. According to an aspect, the application 120 is a program that is launched and manipulated by an operating system, and manages content 130 within an electronic document 125 and is published on a display screen 115 associated with the computing device 110.
The content 130 in an electronic document 125 will vary according the application 120 used to provide the electronic document 125. The content 130 may comprise one or more objects present or imbedded in the electronic document 125 including, but not limited to: text (including text containers), numeric data, macros, images, movies, sound files, and metadata. According to one example, the content 130 includes a plurality of digital strokes, sometimes referred to herein as “inking” input, wherein a stroke is a data object that is collected from a pointing device, such as a tablet pen, a finger, or a mouse via freehand input. In various aspects, a stroke is created and manipulated programmatically, and is represented visually on an ink-enabled element, such as an ink canvas of an application 120. In some examples, a stroke contains information about both its position and appearance. In other aspects, freehand input includes using a line tool used to form a shape or object from constituent lines or individual stencils to form a more complex shape (e.g., a triangle stencil and a rectangle stencil to form an arrow shape, multiple rectangle stencils to form a grid).
In various aspects, the data comprising the content 130 are stored in an elemental form by the electronic document 125, such as in Extensible Markup Language (XML) or Java Script Object Notation (JSON) elements or another declaratory language interpretable by a schema. The schema may define sections or content items via tags and may apply various properties to content items via direct assignment or hierarchical inheritance. For example, an object comprising text may have its typeface defined in its element definition (e.g., “<text typeface=garamond>example text</text>”) or the typeface may be defined by a stylesheet or an element above the object in the document's hierarchy from which the element depends.
With reference still to
According to aspects, the freehand transformer 150 includes: a gesture recognizer 160; an object converter 170; and a model manipulator 180. The components of the freehand transformer 150 are illustrative of software modules, systems, or devices operative to receive freehand input and manipulate objects within the content 130 of an electronic document 125 based on the freehand input. According to aspects, the freehand input includes a physical act or motion performed on or by an input device 140 (e.g., finger, pen/stylus, mouse) at a position of a user-controlled cursor (such as a mouse cursor or touch-point on a touch-screen interface) that is interpreted by the application 120 as a stroke or other gesture to apply to the content 130 of an electronic document 125. The freehand input includes “inking” input to add strokes for the electronic document 125 as well as gestures that are interpretable based on their shape, speed, pressure, number of inputs (e.g., one finger, two fingers, etc.), and relative position to existing content 130. According to an example, the input device 140 is a pointing device used to specify a position (e.g., x, y coordinates) on a graphical user interface (GUI), and manipulate on-screen objects.
According to one aspect, the gesture recognizer 160 is operable to receive freehand input indicative of an object being selected, for example, via a tap, double-tap, lasso tool, finger drag, selection-inherent gesture, or hover. In one example, the gesture recognizer 160 identifies the position of the user-controlled cursor (e.g., mouse cursor or touch-point) and the relative positions of objects and portions thereof (e.g., a row, a column, a cell, a border) to determine how the freehand input is to be applied within the electronic document 125.
According to an aspect, the object converter 170 is illustrative of a software module, system, or device operable to convert various freehand inputs into strokes that are part of the table object or are to be used as property input for the table object. For example, when a user is interacting with a shape object of a rectangle or box in the electronic document 125 and provides strokes that are interpreted by the gesture recognizer 160 as comprising vertical and/or horizontal strokes on top of the shape object, the object converter 170 converts those strokes and the shape object into a table object at the position of the shape object in the canvas of the electronic document 125. The initial shape object and the strokes are removed from the electronic document 125 and converted into a table object. In another example, the object converter 170 converts gestures interpreted as providing data for the cells of a table object (e.g., hand-written letters or numerals) into alphanumeric values interpretable by the Document Object Model (DOM). In yet another example, when the user draws additional strokes proximate to or coincident with the table object (preexisting or freehand-created), the object converter 170 is operable to adjust the number, size, ordering, positioning, and properties of the rows and/or columns of the table in response to the additional strokes.
The model manipulator 180 is illustrative of a software module, system, or device operative to update the DOM of the electronic document 125 based on the freehand input applied to an object in the content 130. In a first example, when the freehand input indicates that a table object is to be created, the model manipulator 180 is operable to remove the strokes for the bounding shape and the row/column defining strokes and replace them with a table object in the DOM. In a second example, when the freehand input indicates that an additional stroke is added to or manipulates the table object, the model manipulator 180 is operable to adjust the table object in the DOM accordingly (adding, removing, rearranging cells, rows, or columns, etc.). In a third example, when the freehand input is interpreted as including handwritten alphanumeric characters coincident with a cell of the table, the model manipulator 180 is operable to adjust the stored value for that cell in the DOM to include the formula or value represented by the handwritten characters.
Several various example scenarios of the determination and manipulation of an enriched table object (preexisting or freehand-created) via freehand input are provided in relation to
When it is determined that the stroke inputs 230 of the freehand input define a table that meets the threshold criteria of the freehand transformer 150, the objects and strokes defining the table are removed from the DOM and replaced with an incorporated table object 240, including one or more incorporated cells 245, that inherit their display properties from the prior objects and strokes, as is shown in
According to one aspect, an incorporated cell 245 may also inherit a content item that was previously internal to an object used to define the incorporated table 240. For example, a box containing (defining an area around) a character or another object that defines an outer border of the table object may pass that character or object as a value for the incorporated cell 245 that defines the area around that character or object. For example, a box with the number “5” (five) in the upper right corner—handwritten or otherwise—may pass that number to an upper right cell of a table defined by that box to contain as a content item for that cell once the incorporated table object 240 is created.
As illustrated in
The candidate controls 260 enable a user to select (via freehand input or otherwise) to change the displayed candidate value to a second candidate value. As is illustrated in
At OPERATION 1130 it is determined whether the freehand input defines a table. Freehand input that defines a table includes strokes that define a table border and cell borders (defining rows and columns via handwritten strokes), strokes that define cell borders on an existing content object that defines a table border, and strokes that define a table border around an existing content object that defines cell borders. In various aspects, the relative angles, spacing, size, and number of strokes defining a bound grid are analyzed to determine whether the freehand input are to be interpreted as defining a table or are to be interpreted as defining another object (e.g., a character or drawing). For example, the Chinese character of “” (field) may be differentiated from a table object based on the size of the strokes falling below a size threshold to define a table object or a number of strokes (defining cells) falling below a number threshold to define a table. Similarly, thresholds for evenness of spacing of strokes or relative angles of strokes (i.e., whether the strokes are considered substantially parallel) are operable to differentiate other objects from table objects.
When it is determined that the freehand input defines a table, the table object is generated based on the strokes at OPERATION 1140. The table object, in various aspects, retains some or all of the strokes of the freehand input to define the outer and inner border of the table object. In other aspects, straight (or partially straightened) lines replace some or all of the freehand strokes, to give the table object a more computer-generated look-and-feel than the freehand strokes. The table object occupies the same space in the canvas as the strokes did and may optionally include the visual appearance of the strokes (e.g., line colors, thicknesses, dash patterns, ink effects), but at OPERATION 1150, the individual strokes (or other objects) used to define the table are replaced in the DOM of the electronic document 125 with a table object. The table object defines various cells, which are operable to hold various values (including formulas and references to other cells and data sources) and are organized into rows and columns.
The freehand input to affect the enriched table is received at OPERATION 1220 and it is interpreted at DECISION 1230 to determine how the strokes that make up the freehand input are to be interpreted to affect the table. As will be appreciated, the shape and number of strokes of the freehand input, the input device 140 used to provide the strokes, and a location of the strokes relative to the table or portions of the table will affect the determination of how to interpret freehand input, and different aspects may interpret the same freehand input differently. For example, a first freehand transformer 150 receiving freehand input of a vertical line over a cell of the table via multi-touch input determines that the numeral “1” (one) is to be input as a value into that cell, whereas a second freehand transformer 150 receiving the same freehand input would determine that the cell is to be split into two cells.
When it is determined at DECISION 1230 that the freehand input indicates a gesture to modify the table, method 1200 proceeds to OPERATION 1240, where the modification and its effect on the table are identified. Example modifications to a table that may be indicated by freehand input include, but are not limited to: adding a cell, row, or column at a given position; removing a cell, row, or column at a given position; splitting a given cell; merging two or more cells; applying a visual effect to a cell, row, column, or the table (e.g., inner, outer, inner and outer borders); moving a cell, row, column, or the table; inserting content (e.g., via a clipboard gesture or linking to another range or document) from another document or application; and resizing a cell, row, column, or the table.
Once the freehand input's associated modification to the table is identified, method 1200 proceeds to OPERATION 1250, where the table is updated according to the identified modification and the strokes of the freehand input are removed from the canvas of the electronic document 125.
When it is determined at DECISION 1230 that the freehand input indicates that data are to be included as values in one or more cells of the table, method 1200 proceeds to OPERATION 1260, where the strokes of the freehand input are analyzed to determine candidate characters that the strokes represent. In various aspects it is determined that the freehand input is to be interpreted as value input to affect the value of the table's cells (not gesture input) based on the position of the freehand input relative to the cells of the table (e.g., coincident or “over” a given cell) and the shape of the strokes of the freehand input being recognized as one or more characters via a character recognition tool (e.g., OCR, handwriting analysis tools). In various aspects, the candidate characters include letters, numbers, and special characters (e.g., mathematical symbols, punctuation marks), but depending on user options may also include or exclude characters from various alphabets (e.g., Latin, Greek, Cyrillic), syllabaries (e.g.,
Katakana, Hiragana), or other character sets (e.g., traditional Chinese, simplified Chinese).
The freehand transformer 150 is operable to analyze the strokes to determine a “best” candidate character of the identified candidate characters to incorporate as a value for the cell. For example, when a user inputs a vertical stroke, the freehand transformer may recognize multiple candidate characters, such as, for example, the characters “1” (one), “I” (uppercase Latin I), “l” (lowercase Latin L), “|” (vertical slash), “” (Katakana syllable No), etc., based on the included character sets from which to recognize characters, from which one character value is selected as a most likely (the “best”) value to match the user's freehand input. In various aspects, a computer-generated character associated with the “best” candidate character value is displayed to the user along with controls to enable the user select a different candidate character. For example, if it is initially determined by the freehand transformer 150 that the vertical stroke is to be interpreted as the character for “1” (one), the user may manually (via freehand input or otherwise) identify a different candidate character (e.g., “l”—lowercase Latin L) as the best match to the strokes. In various aspects, the freehand transformer 150 is operable to adjust which characters are initially selected as the “best” characters based on other characters in a given cell or the table (e.g., a circular stroke is interpreted as “0” (zero) when another numeral is present but as “O” (uppercase Latin O) when another alphabetic character is present) or prior user behaviors/handwriting styles. Depending on the size of the characters determined to belong to a cell of the table object, individual cells (or rows or columns) may be resized as the inputs are made to the cells. Individual characters may be treated as a word for manipulation as a single object.
The value of the identified best candidate character (or characters comprising a word, multi-digit number, or formula) is incorporated as the value of the cell at OPERATION 1270. In various aspects, the computer generated characters are displayed in the cell along with the freehand stokes, the computer generated characters replace the freehand strokes for display in the cell, or the freehand strokes remain displayed in the cell without computer generated characters being displayed (lending a handwritten appearance to the table, but allowing numeric calculations to be made in the DOM).
While implementations have been described in the general context of program modules that execute in conjunction with an application program that runs on an operating system on a computer, those skilled in the art will recognize that aspects may also be implemented in combination with other program modules. Generally, program modules include routines, programs, components, data structures, and other types of structures that perform particular tasks or implement particular abstract data types.
The aspects and functionalities described herein may operate via a multitude of computing systems including, without limitation, desktop computer systems, wired and wireless computing systems, mobile computing systems (e.g., mobile telephones, netbooks, tablet or slate type computers, notebook computers, and laptop computers), hand-held devices, multiprocessor systems, microprocessor-based or programmable consumer electronics, minicomputers, and mainframe computers.
In addition, according to an aspect, the aspects and functionalities described herein operate over distributed systems (e.g., cloud-based computing systems), where application functionality, memory, data storage and retrieval and various processing functions are operated remotely from each other over a distributed computing network, such as the Internet or an intranet. According to an aspect, user interfaces and information of various types are displayed via on-board computing device displays or via remote display units associated with one or more computing devices. For example, user interfaces and information of various types are displayed and interacted with on a wall surface onto which user interfaces and information of various types are projected. Interaction with the multitude of computing systems with which implementations are practiced include, keystroke entry, touch screen entry, voice or other audio entry, gesture entry where an associated computing device is equipped with detection (e.g., camera) functionality for capturing and interpreting user gestures for controlling the functionality of the computing device, and the like.
As stated above, according to an aspect, a number of program modules and data files are stored in the system memory 1304. While executing on the processing unit 1302, the program modules 1306 (e.g., freehand transformer 150) perform processes including, but not limited to, one or more of the stages of the methods 1100 and 1200 illustrated in
According to an aspect, the computing device 1300 has one or more input device(s) 1312 such as a keyboard, a mouse, a pen, a sound input device, a touch input device, etc. The output device(s) 1314 such as a display, speakers, a printer, etc. are also included according to an aspect. The aforementioned devices are examples and others may be used. According to an aspect, the computing device 1300 includes one or more communication connections 1316 allowing communications with other computing devices 1318. Examples of suitable communication connections 1316 include, but are not limited to, radio frequency (RF) transmitter, receiver, and/or transceiver circuitry; universal serial bus (USB), parallel, and/or serial ports.
The term computer readable media, as used herein, includes computer storage media apparatuses and articles of manufacture. Computer storage media include volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information, such as computer readable instructions, data structures, or program modules. The system memory 1304, the removable storage device 1309, and the non-removable storage device 1310 are all computer storage media examples (i.e., memory storage). According to an aspect, computer storage media include RAM, ROM, electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other article of manufacture which can be used to store information and which can be accessed by the computing device 1300. According to an aspect, any such computer storage media is part of the computing device 1300. Computer storage media do not include a carrier wave or other propagated data signal.
According to an aspect, communication media are embodied by computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and include any information delivery media. According to an aspect, the term “modulated data signal” describes a signal that has one or more characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media include wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, radio frequency (RF), infrared, and other wireless media.
According to an aspect, one or more application programs 1450 are loaded into the memory 1462 and run on or in association with the operating system 1464. Examples of the application programs include phone dialer programs, e-mail programs, personal information management (PIM) programs, word processing programs, spreadsheet programs, Internet browser programs, messaging programs, and so forth. According to an aspect, a freehand transformer 150 is loaded into memory 1462. The system 1402 also includes a non-volatile storage area 1468 within the memory 1462. The non-volatile storage area 1468 is used to store persistent information that should not be lost if the system 1402 is powered down. The application programs 1450 may use and store information in the non-volatile storage area 1468, such as e-mail or other messages used by an e-mail application, and the like. A synchronization application (not shown) also resides on the system 1402 and is programmed to interact with a corresponding synchronization application resident on a host computer to keep the information stored in the non-volatile storage area 1468 synchronized with corresponding information stored at the host computer. As should be appreciated, other applications may be loaded into the memory 1462 and run on the mobile computing device 1400.
According to an aspect, the system 1402 has a power supply 1470, which is implemented as one or more batteries. According to an aspect, the power supply 1470 further includes an external power source, such as an AC adapter or a powered docking cradle that supplements or recharges the batteries.
According to an aspect, the system 1402 includes a radio 1472 that performs the function of transmitting and receiving radio frequency communications. The radio 1472 facilitates wireless connectivity between the system 1402 and the “outside world,” via a communications carrier or service provider. Transmissions to and from the radio 1472 are conducted under control of the operating system 1464. In other words, communications received by the radio 1472 may be disseminated to the application programs 1450 via the operating system 1464, and vice versa.
According to an aspect, the visual indicator 1420 is used to provide visual notifications and/or an audio interface 1474 is used for producing audible notifications via the audio transducer 1425. In the illustrated example, the visual indicator 1420 is a light emitting diode (LED) and the audio transducer 1425 is a speaker. These devices may be directly coupled to the power supply 1470 so that when activated, they remain on for a duration dictated by the notification mechanism even though the processor 1460 and other components might shut down for conserving battery power. The LED may be programmed to remain on indefinitely until the user takes action to indicate the powered-on status of the device. The audio interface 1474 is used to provide audible signals to and receive audible signals from the user. For example, in addition to being coupled to the audio transducer 1425, the audio interface 1474 may also be coupled to a microphone to receive audible input, such as to facilitate a telephone conversation. According to an aspect, the system 1402 further includes a video interface 1476 that enables an operation of an on-board camera 1430 to record still images, video stream, and the like.
According to an aspect, a mobile computing device 1400 implementing the system 1402 has additional features or functionality. For example, the mobile computing device 1400 includes additional data storage devices (removable and/or non-removable) such as, magnetic disks, optical disks, or tape. Such additional storage is illustrated in
According to an aspect, data/information generated or captured by the mobile computing device 1400 and stored via the system 1402 are stored locally on the mobile computing device 1400, as described above. According to another aspect, the data are stored on any number of storage media that are accessible by the device via the radio 1472 or via a wired connection between the mobile computing device 1400 and a separate computing device associated with the mobile computing device 1400, for example, a server computer in a distributed computing network, such as the Internet. As should be appreciated, such data/information are accessible via the mobile computing device 1400 via the radio 1472 or via a distributed computing network. Similarly, according to an aspect, such data/information are readily transferred between computing devices for storage and use according to well-known data/information transfer and storage means, including electronic mail and collaborative data/information sharing systems.
Implementations, for example, are described above with reference to block diagrams and/or operational illustrations of methods, systems, and computer program products according to aspects. The functions/acts noted in the blocks may occur out of the order as shown in any flowchart. For example, two blocks shown in succession may in fact be executed substantially concurrently or the blocks may sometimes be executed in the reverse order, depending upon the functionality/acts involved.
The description and illustration of one or more examples provided in this application are not intended to limit or restrict the scope as claimed in any way. The aspects, examples, and details provided in this application are considered sufficient to convey possession and enable others to make and use the best mode. Implementations should not be construed as being limited to any aspect, example, or detail provided in this application. Regardless of whether shown and described in combination or separately, the various features (both structural and methodological) are intended to be selectively included or omitted to produce an example with a particular set of features. Having been provided with the description and illustration of the present application, one skilled in the art may envision variations, modifications, and alternate examples falling within the spirit of the broader aspects of the general inventive concept embodied in this application that do not depart from the broader scope of the present disclosure.
The present disclosure claims priority to U.S. Provisional Patent Application No. 62/414,646 filed Oct. 28, 2016, the disclosure of which is hereby incorporated by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
62414646 | Oct 2016 | US |