WO2012170306A2 - Dynamically controlling collisions of form controls in an electronic document - Google Patents

Dynamically controlling collisions of form controls in an electronic document Download PDF

Info

Publication number
WO2012170306A2
WO2012170306A2 PCT/US2012/040601 US2012040601W WO2012170306A2 WO 2012170306 A2 WO2012170306 A2 WO 2012170306A2 US 2012040601 W US2012040601 W US 2012040601W WO 2012170306 A2 WO2012170306 A2 WO 2012170306A2
Authority
WO
WIPO (PCT)
Prior art keywords
form control
design surface
control
computer
selected form
Prior art date
Application number
PCT/US2012/040601
Other languages
French (fr)
Other versions
WO2012170306A3 (en
Inventor
Benjamin HODES
Stephen I. Lesser
Jordan MANDEL-IAIA
Amod S. SAMNERKAR
Original Assignee
Microsoft Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Microsoft Corporation filed Critical Microsoft Corporation
Priority to CN201280027684.3A priority Critical patent/CN103597436A/en
Priority to EP12796709.9A priority patent/EP2718795A4/en
Publication of WO2012170306A2 publication Critical patent/WO2012170306A2/en
Publication of WO2012170306A3 publication Critical patent/WO2012170306A3/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/174Form filling; Merging

Definitions

  • Various computer software applications allow end users to create forms and tables with controls which may be utilized for receiving data in an organized fashion.
  • an electronic commerce website may utilize web-based application forms for obtaining customer name and address information prior to creating an order.
  • the aforementioned computer software applications enable users to create forms, they fail to provide adequate usability guidelines with respect to the layout of controls on a page surface. For example, initial control layouts are often not aligned properly and/or are scattered over a page surface in a haphazard manner.
  • the creation table layouts utilizing the aforementioned computer software applications also provide a poor user experience as they require users to define layouts through the splitting and merging of table cells. It is with respect to these considerations and others that the various embodiments of the present invention have been made.
  • Embodiments are provided for dynamically controlling collisions of form controls in an electronic document.
  • a user interface may be displayed which includes a design surface for manipulating the form controls in the electronic document.
  • the computer may receive a selection of one or more form controls in the electronic document.
  • the selected form controls may be moved over the design surface.
  • non-selected form controls on the design surface are moved away from their original locations upon colliding with the selected form controls.
  • the non-selected form controls may be aligned to a hidden grid within the design surface after being moved.
  • FIGURE 1 is a flow diagram illustrating a routine for dynamically controlling collisions of form controls in an electronic document, in accordance with an embodiment
  • FIGURE 2 is a block diagram of a hidden grid utilized in aligning form controls in an electronic document, in accordance with an embodiment
  • FIGURE 3 is a block diagram of a hidden grid showing a process of determining grid locations for moving form controls in an electronic document, in accordance with an embodiment
  • FIGURE 4A is a computer screen display of a user interface design surface showing form controls prior to being moved, in accordance with an embodiment
  • FIGURE 4B is a computer screen display of a user interface design surface showing the collision of selected form controls with non-selected form controls, in accordance with an embodiment
  • FIGURE 4C is a computer screen display of a user interface design surface showing the alignment of selected form controls following a collision with non-selected form controls, in accordance with an embodiment
  • FIGURE 5 A is a computer screen display of a user interface design surface showing the collision of a selected form control with non-selected form controls, in accordance with an embodiment
  • FIGURE 5B is a computer screen display of a user interface design surface showing the alignment of a selected form control following a collision with non-selected form controls, in accordance with an embodiment
  • FIGURE 6A is a computer screen display of a user interface design surface showing the collision of a selected form control with non-selected form controls, in accordance with an alternative embodiment
  • FIGURE 6B is a computer screen display of a user interface design surface showing the alignment of a selected form control following a collision with non-selected form controls, in accordance with an alternative embodiment
  • FIGURE 7 is a block diagram illustrating a computing environment which may be utilized for dynamically controlling collisions of form controls in an electronic document, in accordance with an embodiment.
  • Embodiments are provided for dynamically controlling collisions of form controls in an electronic document.
  • a user interface may be displayed which includes a design surface for manipulating the form controls in the electronic document.
  • the computer may receive a selection of one or more form controls in the electronic document.
  • the selected form controls may be moved over the design surface.
  • non-selected form controls on the design surface are moved away from their original locations upon colliding with the selected form controls.
  • the non-selected form controls may be aligned to a hidden grid within the design surface after being moved.
  • FIGURE 1 is a flow diagram illustrating a routine illustrating a routine 100 dynamically controlling collisions of form controls in an electronic document, in accordance with an embodiment.
  • routines illustrating a routine 100 dynamically controlling collisions of form controls in an electronic document, in accordance with an embodiment.
  • the logical operations of various embodiments of the present invention are implemented (1) as a sequence of computer implemented acts or program modules running on a computing system and/or (2) as interconnected machine logical circuits or circuit modules within the computing system.
  • the implementation is a matter of choice dependent on the performance requirements of the computing system implementing the invention. Accordingly, the logical operations illustrated in FIGURE 1 and making up the various embodiments described herein are referred to variously as operations, structural devices, acts or modules.
  • the routine 100 begins at operation 105, where a form application executing on a computer displays a user interface including a design surface for manipulating form controls in an electronic document.
  • the form application may comprise a software application for creating forms and/or tables which may be published in Web pages via a shared services platform.
  • An illustrative form application may include the OFFICE-ACCESS SERVICES platform from Microsoft Corporation of Redmond, Washington. It should be appreciated, however, that form applications from other manufacturers may also be utilized in accordance with the various embodiments described herein.
  • Illustrative design surfaces which may be utilized in the various embodiments described herein are shown in FIGURES 4-6, which will be described in detail below.
  • the routine 100 continues to operation 110, where the form application executing on the computer receives a selection of one or more form controls in the electronic document.
  • the form controls may include, without limitation, labels, text boxes, image controls, web page controls, and combo boxes. For example, a user may select adjoining "Name" label and/or "Name” text box form controls for moving over the user interface design surface. It should be understood that in accordance with an embodiment, multiple form controls may be selected and moved simultaneously over the user interface design surface.
  • the routine 100 continues to operation 115, where the form application executing on the computer receives moves the selected form controls over the user interface design surface in the electronic document.
  • the selected form controls may be moved in response to user input.
  • the user may initiate a drag operation in the form application resulting in the selected form controls being dragged over the design surface.
  • the design surface may further comprise a hidden grid, which is not visible to the user, and which includes a number of grid cells for aligning the selected form controls on the design surface once the drag operation has been completed.
  • the hidden grid may also be utilized to align other form controls on the design surface based on the locations of various grid cells. Illustrative diagrams showing the hidden grid and various grid cells which may be incorporated therein are shown in FIGURES 2-3, which will be described in detail below.
  • the routine 100 continues to operation 120, where the form application executing on the computer moves any non-selected form controls, which collide with the selected form controls being dragged across the design surface, away from the selected form controls (i.e., away from their original locations) while maintaining an alignment with the hidden grid.
  • the form application may be configured to "bump" one or more non-selected form controls, which are occupying a location which a user wishes to place the selected form controls, to another location on the design surface. It should be understood that the new location for the "bumped" non-selected form controls may be determined based on a direction of encroachment on the non-selected form controls by the selected form controls.
  • the direction of encroachment may be horizontal or vertical.
  • the selected form controls may encroach upon the non-selected form controls horizontally such that the non-selected form controls are located on an upper half of the selected form controls.
  • the form application may be configured to move or bump the non-selected form controls upwards on the design surface. Illustrative design surfaces illustrating the aforementioned example are shown in FIGURES 5A-5B which will be described in detail below. It should be understood however, that the form application may be configured to take into account the availability of space on the design surface in determining whether or not to bump the non-selected form controls upwards on the design surface.
  • the form application may be configured to move the non-selected form controls downwards on the design surface.
  • the form application may be configured to move or bump the non-selected form controls downwards on the design surface. Illustrative design surfaces illustrating the aforementioned example are shown in FIGURES 6A-6B which will be described in detail below.
  • the form application may be configured to move or bump the non-selected form control downwards on the design surface.
  • the selected form controls may encroach upon the non-selected form controls vertically.
  • the form application may be configured to move or bump the non-selected form controls in a direction corresponding to the direction of the vertical encroachment. For example, if selected form controls are being moved in a downward direction on the design surface when they collide with non- selected from controls, then the form application may be configured to move or bump the non-selected from controls in an upward direction on the design surface. Illustrative design surfaces illustrating the aforementioned example are shown in FIGURES 4A-4C which will be described in detail below.
  • routine 100 continues to operation 125, where the form application executing on the computer may be configured return any non-selected form controls to their original locations on the design surface after further movement of the selected form controls.
  • "bumped" non-selected form controls may be automatically returned to their original locations when one or more selected form controls are moved so that they no longer occupy the space previously containing the non-selected form controls. From operation 125, the routine 100 then ends.
  • FIGURE 2 is a block diagram of a hidden grid 200 (hereinafter referred to as the "grid 200") utilized in aligning form controls in an electronic document, in accordance with an embodiment.
  • the grid 200 may include "gutters" 210, 220, 230, 240, 250, 260, 270, 280 and 290 which separate columns 215, 225, 235, 245, 255, 265, 275 and 285.
  • form controls may be placed in the spaces defined by the columns 215, 225, 235, 245, 255, 265, 275 and 285 and separated by the spaces defined by the gutters 210, 220, 230, 240, 250, 260, 270, 280.
  • the grid 200 may comprise a structure that defines where form controls may be placed on a design surface.
  • the grid 200 may further be defined with the following position and placement rules: 1.
  • the grid 200 starts at the top left of a form; 2. There is a left gutter before the first full column; 3. There is a right gutter after the last full column; 4. There are no gutters at the top of the grid; 5.
  • Form controls may not be placed on top of each other; 6.
  • Form controls may start at the right edge of a gutter; 6, Form controls may end at the left edge of a gutter; 7
  • Form controls may cross several gutters/columns.
  • the grid may comprise a fixed number of columns with each column having a column width (in pixels) which is twice that of a column height (in pixels).
  • Each gutter in the grid may also have a gutter width (in pixels) which is greater than a gutter height.
  • FIGURE 3 is a block diagram of a hidden grid 300 showing a process of determining grid locations for moving form controls in an electronic document, in accordance with an embodiment.
  • the hidden grid 300 includes a number of grid cells upon which are placed a selected form control 302 and non-selected form controls 305- 375. As the selected from control 302 is moved over the hidden grid 300 (i.e., a design surface), the numbered grid cells 1-37 may be utilized to define an order of grid cells which are searched for available space to move the non-selected from controls 305-375 during a "bump.”
  • FIGURE 4A is a computer screen display of a user interface design surface 405 showing form controls prior to being moved, in accordance with an embodiment.
  • the user interface design surface 405 may include image controls 410 and 420, a Name label control 430, a Name text box control 440, an Address label control 450 and an Address text box control 460.
  • FIGURE 4B is a computer screen display of the user interface design surface 405 showing the collision of selected form controls with non-selected form controls, in accordance with an embodiment.
  • a user may simultaneously select the Name label control 430 and the Name text box control 440 (i.e., the selected form controls) and drag them in a vertical downward direction towards the Address label control 450 and the Address text box control 460 (i.e., the non-selected form controls) on the user interface design surface 405 until the selected form controls collide (i.e., "bump") with the non-selected form controls.
  • FIGURE 4C is a computer screen display of the user interface design surface 405 showing the alignment of selected form controls following a collision with non-selected form controls, in accordance with an embodiment.
  • the form application may be configured to move the Address label control 450 and the Address text box control 460 (i.e., the non-selected form controls) in an upward direction so that the Name label control 430 and the Name text box control 440 (i.e., the selected controls) may occupy the space previously occupied by the non-selected controls.
  • the alignment of the form controls with respect to each other and with respect to the image controls 410 and 420 is maintained even after the form controls have been moved around on the user interface design surface 405.
  • FIGURE 5A is a computer screen display of a user interface design surface 505 showing the collision of a selected form control with non-selected form controls, in accordance with an embodiment.
  • the user interface design surface 505 may include image controls 510 and 520, a Name label control 530, a Name text box control 540, an Address label control 550 and an Address text box control 560.
  • the Name text box control 540 i.e., the selected form control
  • the Name label control 540 is shown as horizontally encroaching on the Name label control 530 such that the Name label control 530 (i.e., the non-selected form control) is located on an upper half of the selected form control.
  • a user may select the Name text box control 540 and drag it horizontally to the left over the user interface design surface 505 until it collides with or bumps the Name label control 530 in the manner discussed above.
  • FIGURE 5B is a computer screen display of the user interface design surface 505 showing the alignment of a selected form control following a collision with non-selected form controls, in accordance with the alternative embodiment.
  • the form application may be configured to move the Name label control 530 upwards on the user interface design surface 505 and the Name text box control 540 may then be moved into the space previously occupied by the Name label control 530.
  • FIGURE 6A is a computer screen display of a user interface design surface 605 showing the collision of a selected form control with non-selected form controls, in accordance with an alternative embodiment.
  • the user interface design surface 605 may include image controls 610 and 620, a Name label control 630, a Name text box control 640, an Address label control 650 and an Address text box control 660.
  • the Name text box control 640 i.e., the selected form control
  • the Name text box control 640 is shown as horizontally encroaching on the Name label control 630 such that the Name label control 630 (i.e., the non-selected form control) is located on a lower half of the selected form control.
  • a user may select the Name text box control 640 and drag it horizontally to the left over the user interface design surface 605 until it collides with or bumps the Name label control 630 in the manner discussed above.
  • FIGURE 6B is a computer screen display of the user interface design surface 605 showing the alignment of a selected form control following a collision with non-selected form controls, in accordance with the alternative embodiment.
  • the form application may be configured to move the Name label control 630 downwards on the user interface design surface 605 and the Name text box control 640 may then be moved into the space previously occupied by the Name label control 630.
  • FIGURE 7 the following discussion is intended to provide a brief, general description of a suitable computing environment in which various illustrative embodiments may be implemented. While various embodiments will be described in the general context of program modules that execute in conjunction with program modules that run on an operating system on a computer, those skilled in the art will recognize that the various embodiments may also be implemented in combination with other types of computer systems and program modules.
  • program modules include routines, programs, components, data structures, and other types of structures that perform particular tasks or implement particular abstract data types.
  • routines programs, components, data structures, and other types of structures that perform particular tasks or implement particular abstract data types.
  • program modules may be located in both local and remote memory storage devices.
  • FIGURE 7 shows a computer 2 which may include a general purpose desktop, server or other type of computer capable of executing one or more application programs.
  • the computer 2 includes at least one central processing unit 8 ("CPU"), a system memory 12, including a random access memory 18 ("RAM”), a read-only memory (“ROM”) 20 and a system bus 10 that couples the memory to the CPU 8.
  • CPU central processing unit 8
  • RAM random access memory
  • ROM read-only memory
  • the computer 2 further includes a mass storage device 14 for storing an operating system 32, a form application 72, and electronic documents 76 which may comprise forms created by the form application 72.
  • the form application 72 may be comprise the form application discussed above in FIGURE 1 and may be configured to dynamically control collisions of form controls in an electronic document.
  • the operating system 32 may be suitable for controlling the operation of a networked computer, such as the WINDOWS operating systems from MICROSOFT CORPORATION of Redmond, Washington.
  • the mass storage device 14 is connected to the CPU 8 through a mass storage controller (not shown) connected to the bus 10.
  • the mass storage device 14 and its associated computer-readable media provide non- volatile storage for the computer 2.
  • Computer-readable media may include computer storage media.
  • Computer storage media may 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, program modules, or other data.
  • Computer storage media may include, but is not limited to, RAM, ROM, electrically erasable 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 medium which can be used to store information and which can be accessed by the computer 2. Any such computer storage media may be part of the computer 2.
  • Communication media may be 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 includes any information delivery media.
  • modulated data signal may describe a signal that has one or more characteristics set or changed in such a manner as to encode information in the signal.
  • communication media may 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.
  • RF radio frequency
  • the computer 2 may operate in a networked environment using logical connections to remote computers through the network 4 which may comprise, for example, a local network or a wide area network (e.g., the Internet).
  • the computer 2 may connect to the network 4 through a network interface unit 16 connected to the bus 10. It should be appreciated that the network interface unit 16 may also be utilized to connect to other types of networks and remote computing systems.
  • the computer 2 may also include an input/output controller 22 for receiving and processing input from a number of input types, including a keyboard, mouse, pen, stylus, finger, and/or other means. Similarly, an input/output controller 22 may provide output to a display device, a printer, or other type of output device. Additionally, a touch screen can serve as an input and an output mechanism.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Document Processing Apparatus (AREA)

Abstract

Collisions resulting from the movement of form controls in an electronic document may be dynamically controlled. A user interface may be displayed on a computer which includes a design surface for manipulating the form controls in the electronic document. A selection of one or more form controls in the electronic document may be received by the computer. The selected form controls may be moved over the design surface from an original location. Non-selected form controls on the design surface may be moved to a new location on the design surface upon colliding with the selected form controls being moved. The non-selected form controls may further be aligned to a hidden grid within the design surface after being moved.

Description

DYNAMICALLY CONTROLLING COLLISIONS OF FORM CONTROLS IN AN
ELECTRONIC DOCUMENT
BACKGROUND
[0001] Various computer software applications allow end users to create forms and tables with controls which may be utilized for receiving data in an organized fashion. For example, an electronic commerce website may utilize web-based application forms for obtaining customer name and address information prior to creating an order. While the aforementioned computer software applications enable users to create forms, they fail to provide adequate usability guidelines with respect to the layout of controls on a page surface. For example, initial control layouts are often not aligned properly and/or are scattered over a page surface in a haphazard manner. Moreover, the creation table layouts utilizing the aforementioned computer software applications also provide a poor user experience as they require users to define layouts through the splitting and merging of table cells. It is with respect to these considerations and others that the various embodiments of the present invention have been made.
SUMMARY
[0002] This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended as an aid in determining the scope of the claimed subject matter.
[0003] Embodiments are provided for dynamically controlling collisions of form controls in an electronic document. On a computer, a user interface may be displayed which includes a design surface for manipulating the form controls in the electronic document. The computer may receive a selection of one or more form controls in the electronic document. The selected form controls may be moved over the design surface. As the selected form controls are moved over the design surface, non-selected form controls on the design surface are moved away from their original locations upon colliding with the selected form controls. The non-selected form controls may be aligned to a hidden grid within the design surface after being moved.
[0004] These and 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 both the foregoing general description and the following detailed description are illustrative only and are not restrictive of the invention as claimed. BRIEF DESCRIPTION OF THE DRAWINGS
[0005] FIGURE 1 is a flow diagram illustrating a routine for dynamically controlling collisions of form controls in an electronic document, in accordance with an embodiment;
[0006] FIGURE 2 is a block diagram of a hidden grid utilized in aligning form controls in an electronic document, in accordance with an embodiment;
[0007] FIGURE 3 is a block diagram of a hidden grid showing a process of determining grid locations for moving form controls in an electronic document, in accordance with an embodiment;
[0008] FIGURE 4A is a computer screen display of a user interface design surface showing form controls prior to being moved, in accordance with an embodiment;
[0009] FIGURE 4B is a computer screen display of a user interface design surface showing the collision of selected form controls with non-selected form controls, in accordance with an embodiment;
[0010] FIGURE 4C is a computer screen display of a user interface design surface showing the alignment of selected form controls following a collision with non-selected form controls, in accordance with an embodiment;
[0011] FIGURE 5 A is a computer screen display of a user interface design surface showing the collision of a selected form control with non-selected form controls, in accordance with an embodiment;
[0012] FIGURE 5B is a computer screen display of a user interface design surface showing the alignment of a selected form control following a collision with non-selected form controls, in accordance with an embodiment;
[0013] FIGURE 6A is a computer screen display of a user interface design surface showing the collision of a selected form control with non-selected form controls, in accordance with an alternative embodiment;
[0014] FIGURE 6B is a computer screen display of a user interface design surface showing the alignment of a selected form control following a collision with non-selected form controls, in accordance with an alternative embodiment; and
[0015] FIGURE 7 is a block diagram illustrating a computing environment which may be utilized for dynamically controlling collisions of form controls in an electronic document, in accordance with an embodiment.
DETAILED DESCRIPTION
[0016] Embodiments are provided for dynamically controlling collisions of form controls in an electronic document. On a computer, a user interface may be displayed which includes a design surface for manipulating the form controls in the electronic document. The computer may receive a selection of one or more form controls in the electronic document. The selected form controls may be moved over the design surface. As the selected form controls are moved over the design surface, non-selected form controls on the design surface are moved away from their original locations upon colliding with the selected form controls. The non-selected form controls may be aligned to a hidden grid within the design surface after being moved.
[0017] FIGURE 1 is a flow diagram illustrating a routine illustrating a routine 100 dynamically controlling collisions of form controls in an electronic document, in accordance with an embodiment. When reading the discussion of the routine presented herein, it should be appreciated that the logical operations of various embodiments of the present invention are implemented (1) as a sequence of computer implemented acts or program modules running on a computing system and/or (2) as interconnected machine logical circuits or circuit modules within the computing system. The implementation is a matter of choice dependent on the performance requirements of the computing system implementing the invention. Accordingly, the logical operations illustrated in FIGURE 1 and making up the various embodiments described herein are referred to variously as operations, structural devices, acts or modules. It will be recognized by one skilled in the art that these operations, structural devices, acts and modules may be implemented in software, in firmware, in special purpose digital logical, and any combination thereof without deviating from the spirit and scope of the present invention as recited within the claims set forth herein.
[0018] The routine 100 begins at operation 105, where a form application executing on a computer displays a user interface including a design surface for manipulating form controls in an electronic document. In accordance with an embodiment, the form application may comprise a software application for creating forms and/or tables which may be published in Web pages via a shared services platform. An illustrative form application may include the OFFICE-ACCESS SERVICES platform from Microsoft Corporation of Redmond, Washington. It should be appreciated, however, that form applications from other manufacturers may also be utilized in accordance with the various embodiments described herein. Illustrative design surfaces which may be utilized in the various embodiments described herein are shown in FIGURES 4-6, which will be described in detail below. [0019] From operation 105, the routine 100 continues to operation 110, where the form application executing on the computer receives a selection of one or more form controls in the electronic document. In accordance with various embodiments, the form controls may include, without limitation, labels, text boxes, image controls, web page controls, and combo boxes. For example, a user may select adjoining "Name" label and/or "Name" text box form controls for moving over the user interface design surface. It should be understood that in accordance with an embodiment, multiple form controls may be selected and moved simultaneously over the user interface design surface.
[0020] From operation 110, the routine 100 continues to operation 115, where the form application executing on the computer receives moves the selected form controls over the user interface design surface in the electronic document. It should be understood that the selected form controls may be moved in response to user input. In particular, the user may initiate a drag operation in the form application resulting in the selected form controls being dragged over the design surface. In accordance with various embodiments, the design surface may further comprise a hidden grid, which is not visible to the user, and which includes a number of grid cells for aligning the selected form controls on the design surface once the drag operation has been completed. As will be discussed in greater detail herein, the hidden grid may also be utilized to align other form controls on the design surface based on the locations of various grid cells. Illustrative diagrams showing the hidden grid and various grid cells which may be incorporated therein are shown in FIGURES 2-3, which will be described in detail below.
[0021] From operation 115, the routine 100 continues to operation 120, where the form application executing on the computer moves any non-selected form controls, which collide with the selected form controls being dragged across the design surface, away from the selected form controls (i.e., away from their original locations) while maintaining an alignment with the hidden grid. In particular, the form application may be configured to "bump" one or more non-selected form controls, which are occupying a location which a user wishes to place the selected form controls, to another location on the design surface. It should be understood that the new location for the "bumped" non-selected form controls may be determined based on a direction of encroachment on the non-selected form controls by the selected form controls. The direction of encroachment may be horizontal or vertical. For example, in accordance with an embodiment, the selected form controls may encroach upon the non-selected form controls horizontally such that the non-selected form controls are located on an upper half of the selected form controls. In this case, the form application may be configured to move or bump the non-selected form controls upwards on the design surface. Illustrative design surfaces illustrating the aforementioned example are shown in FIGURES 5A-5B which will be described in detail below. It should be understood however, that the form application may be configured to take into account the availability of space on the design surface in determining whether or not to bump the non-selected form controls upwards on the design surface. For example, with respect to the aforementioned embodiment, if the horizontal encroachment of the selected form controls occurs at the top of the design surface such that there is no available space to bump the non-selected form controls upwards, then the form application may be configured to move the non-selected form controls downwards on the design surface. In accordance with another embodiment, if the horizontal encroachment of the selected form controls is such that the non-selected form controls are located on a lower half of the selected form controls, then the form application may be configured to move or bump the non-selected form controls downwards on the design surface. Illustrative design surfaces illustrating the aforementioned example are shown in FIGURES 6A-6B which will be described in detail below. In accordance with another embodiment, if a selected form control being moved horizontally collides with a non-selected form control which is the same size as the selected from control, then the form application may be configured to move or bump the non-selected form control downwards on the design surface. In accordance with yet another embodiment, the selected form controls may encroach upon the non-selected form controls vertically. In this case, the form application may be configured to move or bump the non-selected form controls in a direction corresponding to the direction of the vertical encroachment. For example, if selected form controls are being moved in a downward direction on the design surface when they collide with non- selected from controls, then the form application may be configured to move or bump the non-selected from controls in an upward direction on the design surface. Illustrative design surfaces illustrating the aforementioned example are shown in FIGURES 4A-4C which will be described in detail below.
[0022] From operation 120, the routine 100 continues to operation 125, where the form application executing on the computer may be configured return any non-selected form controls to their original locations on the design surface after further movement of the selected form controls. In particular, "bumped" non-selected form controls may be automatically returned to their original locations when one or more selected form controls are moved so that they no longer occupy the space previously containing the non-selected form controls. From operation 125, the routine 100 then ends.
[0023] FIGURE 2 is a block diagram of a hidden grid 200 (hereinafter referred to as the "grid 200") utilized in aligning form controls in an electronic document, in accordance with an embodiment. The grid 200 may include "gutters" 210, 220, 230, 240, 250, 260, 270, 280 and 290 which separate columns 215, 225, 235, 245, 255, 265, 275 and 285. With respect to the grid 200, form controls may be placed in the spaces defined by the columns 215, 225, 235, 245, 255, 265, 275 and 285 and separated by the spaces defined by the gutters 210, 220, 230, 240, 250, 260, 270, 280. It should be understood that the combination of gutters and columns prevent form controls from overlapping each other and facilitate alignment of form controls on a design surface. In particular, the grid 200 may comprise a structure that defines where form controls may be placed on a design surface. The grid 200 may further be defined with the following position and placement rules: 1. The grid 200 starts at the top left of a form; 2. There is a left gutter before the first full column; 3. There is a right gutter after the last full column; 4. There are no gutters at the top of the grid; 5. Form controls may not be placed on top of each other; 6. Form controls may start at the right edge of a gutter; 6, Form controls may end at the left edge of a gutter; 7 Form controls may cross several gutters/columns. In accordance with an embodiment, the grid may comprise a fixed number of columns with each column having a column width (in pixels) which is twice that of a column height (in pixels). Each gutter in the grid may also have a gutter width (in pixels) which is greater than a gutter height. As a none limiting example, an illustrative grid 200 utilized in accordance with the various embodiments described herein may have the following characteristics: Number of Columns = 22; Form Height = Infinite; Column Width = 30 pixels; Column Height = 15 pixels; Gutter Width = 15 pixels; Gutter Height = 10 pixels.
[0024] FIGURE 3 is a block diagram of a hidden grid 300 showing a process of determining grid locations for moving form controls in an electronic document, in accordance with an embodiment. The hidden grid 300 includes a number of grid cells upon which are placed a selected form control 302 and non-selected form controls 305- 375. As the selected from control 302 is moved over the hidden grid 300 (i.e., a design surface), the numbered grid cells 1-37 may be utilized to define an order of grid cells which are searched for available space to move the non-selected from controls 305-375 during a "bump." [0025] FIGURE 4A is a computer screen display of a user interface design surface 405 showing form controls prior to being moved, in accordance with an embodiment. The user interface design surface 405 may include image controls 410 and 420, a Name label control 430, a Name text box control 440, an Address label control 450 and an Address text box control 460.
[0026] FIGURE 4B is a computer screen display of the user interface design surface 405 showing the collision of selected form controls with non-selected form controls, in accordance with an embodiment. For example, a user may simultaneously select the Name label control 430 and the Name text box control 440 (i.e., the selected form controls) and drag them in a vertical downward direction towards the Address label control 450 and the Address text box control 460 (i.e., the non-selected form controls) on the user interface design surface 405 until the selected form controls collide (i.e., "bump") with the non-selected form controls.
[0027] FIGURE 4C is a computer screen display of the user interface design surface 405 showing the alignment of selected form controls following a collision with non-selected form controls, in accordance with an embodiment. As discussed above with respect to operation 120 in FIGURE 1, the form application may be configured to move the Address label control 450 and the Address text box control 460 (i.e., the non-selected form controls) in an upward direction so that the Name label control 430 and the Name text box control 440 (i.e., the selected controls) may occupy the space previously occupied by the non-selected controls. Furthermore, it should be appreciated that the alignment of the form controls with respect to each other and with respect to the image controls 410 and 420 is maintained even after the form controls have been moved around on the user interface design surface 405.
[0028] FIGURE 5A is a computer screen display of a user interface design surface 505 showing the collision of a selected form control with non-selected form controls, in accordance with an embodiment. The user interface design surface 505 may include image controls 510 and 520, a Name label control 530, a Name text box control 540, an Address label control 550 and an Address text box control 560. The Name text box control 540 (i.e., the selected form control) is shown as horizontally encroaching on the Name label control 530 such that the Name label control 530 (i.e., the non-selected form control) is located on an upper half of the selected form control. For example, a user may select the Name text box control 540 and drag it horizontally to the left over the user interface design surface 505 until it collides with or bumps the Name label control 530 in the manner discussed above.
[0029] FIGURE 5B is a computer screen display of the user interface design surface 505 showing the alignment of a selected form control following a collision with non-selected form controls, in accordance with the alternative embodiment. As discussed above with respect to operation 120 in FIGURE 1, the form application may be configured to move the Name label control 530 upwards on the user interface design surface 505 and the Name text box control 540 may then be moved into the space previously occupied by the Name label control 530.
[0030] FIGURE 6A is a computer screen display of a user interface design surface 605 showing the collision of a selected form control with non-selected form controls, in accordance with an alternative embodiment. The user interface design surface 605 may include image controls 610 and 620, a Name label control 630, a Name text box control 640, an Address label control 650 and an Address text box control 660. The Name text box control 640 (i.e., the selected form control) is shown as horizontally encroaching on the Name label control 630 such that the Name label control 630 (i.e., the non-selected form control) is located on a lower half of the selected form control. For example, a user may select the Name text box control 640 and drag it horizontally to the left over the user interface design surface 605 until it collides with or bumps the Name label control 630 in the manner discussed above.
[0031] FIGURE 6B is a computer screen display of the user interface design surface 605 showing the alignment of a selected form control following a collision with non-selected form controls, in accordance with the alternative embodiment. As discussed above with respect to operation 120 in FIGURE 1, the form application may be configured to move the Name label control 630 downwards on the user interface design surface 605 and the Name text box control 640 may then be moved into the space previously occupied by the Name label control 630.
Exemplary Operating Environment
[0032] Referring now to FIGURE 7, the following discussion is intended to provide a brief, general description of a suitable computing environment in which various illustrative embodiments may be implemented. While various embodiments will be described in the general context of program modules that execute in conjunction with program modules that run on an operating system on a computer, those skilled in the art will recognize that the various embodiments may also be implemented in combination with other types of computer systems and program modules.
[0033] Generally, program modules include routines, programs, components, data structures, and other types of structures that perform particular tasks or implement particular abstract data types. Moreover, those skilled in the art will appreciate that the various embodiments may be practiced with a number of computer system configurations, including hand-held devices, multiprocessor systems, microprocessor-based or
programmable consumer electronics, minicomputers, mainframe computers, and the like. The various embodiments may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote memory storage devices.
[0034] FIGURE 7 shows a computer 2 which may include a general purpose desktop, server or other type of computer capable of executing one or more application programs. The computer 2 includes at least one central processing unit 8 ("CPU"), a system memory 12, including a random access memory 18 ("RAM"), a read-only memory ("ROM") 20 and a system bus 10 that couples the memory to the CPU 8. A basic input/output system containing the basic routines that help to transfer information between elements within the computer, such as during startup, is stored in the ROM 20.
[0035] The computer 2 further includes a mass storage device 14 for storing an operating system 32, a form application 72, and electronic documents 76 which may comprise forms created by the form application 72. The form application 72 may be comprise the form application discussed above in FIGURE 1 and may be configured to dynamically control collisions of form controls in an electronic document. In accordance with various embodiments, the operating system 32 may be suitable for controlling the operation of a networked computer, such as the WINDOWS operating systems from MICROSOFT CORPORATION of Redmond, Washington. The mass storage device 14 is connected to the CPU 8 through a mass storage controller (not shown) connected to the bus 10. The mass storage device 14 and its associated computer-readable media provide non- volatile storage for the computer 2. The term computer-readable media as used herein may include computer storage media. Computer storage media may 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, program modules, or other data. Computer storage media may include, but is not limited to, RAM, ROM, electrically erasable 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 medium which can be used to store information and which can be accessed by the computer 2. Any such computer storage media may be part of the computer 2.
[0036] The term computer-readable media as used herein may also include
communication media. Communication media may be 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 includes any information delivery media. The term "modulated data signal" may describe 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 may 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.
[0037] According to various embodiments, the computer 2 may operate in a networked environment using logical connections to remote computers through the network 4 which may comprise, for example, a local network or a wide area network (e.g., the Internet). The computer 2 may connect to the network 4 through a network interface unit 16 connected to the bus 10. It should be appreciated that the network interface unit 16 may also be utilized to connect to other types of networks and remote computing systems. The computer 2 may also include an input/output controller 22 for receiving and processing input from a number of input types, including a keyboard, mouse, pen, stylus, finger, and/or other means. Similarly, an input/output controller 22 may provide output to a display device, a printer, or other type of output device. Additionally, a touch screen can serve as an input and an output mechanism.
[0038] Although the invention has been described in connection with various illustrative embodiments, those of ordinary skill in the art will understand that many modifications can be made thereto within the scope of the claims that follow. Accordingly, it is not intended that the scope of the invention in any way be limited by the above description, but instead be determined entirely by reference to the claims that follow.

Claims

CLAIMS What Is Claimed Is:
1. A computer-implemented method of dynamically controlling collisions of form controls in an electronic document, comprising:
displaying, by a computer, a user interface comprising a design surface for manipulating the form controls in the electronic document;
receiving, by the computer, a selection of at least one form control from among the form controls in the electronic document;
moving, by the computer, the selected at least one form control over the design surface; and
moving, by the computer, at least one non-selected form control away from the selected at least one form control when the selected at least one form control collides with the at least one non-selected form controls as the selected at least one form control is being moved over the design surface, the at least one non-selected form control being aligned to a hidden grid within the design surface after being moved.
2. The method of claim 1, further comprising returning the at least one non-selected form control to an original location on the design surface upon the selected at least one form control being moved from the original location.
3. The method of claim 1, wherein receiving, by the computer, a selection of at least one form control from among the form controls in the electronic document comprises receiving a selection of at least one of a label a text box, an image control, a web page control and a combo box.
4. The method of claim 1, wherein receiving, by the computer, a selection of at least one form control from among the form controls in the electronic document comprises simultaneously receiving a selection of a plurality of the form controls.
5. The method of claim 1, wherein moving, by the computer, the selected at least one of form control over the design surface comprises dragging the selected at least one form control over the hidden grid.
6. The method of claim 1, wherein moving, by the computer, at least one non- selected form control away from the selected at least one form control when the selected at least one form control collides with the at least one non-selected form control as the selected at least one form control is being moved over the design surface comprises determining that the selected at least one form control encroaches horizontally upon the at least one non-selected form control.
7. The method of claim 6, further comprising:
moving the at least one non-selected form control upwards on the design surface when the at least one non-selected form control is on an upper half of the at least one selected form control encroaching horizontally upon the at least one non-selected form control;
moving the at least one non-selected form control downwards on the design surface when the at least one non-selected form control is on a lower half of the at least one selected form control encroaching horizontally upon the at least one non-selected form control; and
moving the at least one non-selected form control downwards on the design surface when the at least one non-selected form control is a same size as the at least one selected control encroaching horizontally upon the at least one non-selected form control.
8. The method of claim 7, further comprising:
determining a lack of space on the design surface for upward movement when the at least one non-selected form control is on the upper half of the at least one selected form control encroaching horizontally upon the at least one non-selected form control; and
moving the at least one non-selected form control downwards on the design surface.
9. The method of claim 1, wherein moving, by the computer, at least one non- selected form control away from the selected at least one form control when the selected at least one form control collides with the at least one non-selected form control as the selected at least one form control is being moved over the design surface comprises determining that the selected at least one form control encroaches vertically upon the at least one non-selected form control.
10. The method of claim 9, further comprising moving the at least one non-selected form control in a direction opposite to a direction of the vertical encroachment of the selected at least one form control on the design surface.
PCT/US2012/040601 2011-06-06 2012-06-01 Dynamically controlling collisions of form controls in an electronic document WO2012170306A2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201280027684.3A CN103597436A (en) 2011-06-06 2012-06-01 Dynamically controlling collisions of form controls in an electronic document
EP12796709.9A EP2718795A4 (en) 2011-06-06 2012-06-01 Dynamically controlling collisions of form controls in an electronic document

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US13/154,188 US20120311423A1 (en) 2011-06-06 2011-06-06 Dynamically Controlling Collisions of Form Controls in an Electronic Document
US13/154,188 2011-06-06

Publications (2)

Publication Number Publication Date
WO2012170306A2 true WO2012170306A2 (en) 2012-12-13
WO2012170306A3 WO2012170306A3 (en) 2013-03-14

Family

ID=47262656

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2012/040601 WO2012170306A2 (en) 2011-06-06 2012-06-01 Dynamically controlling collisions of form controls in an electronic document

Country Status (4)

Country Link
US (1) US20120311423A1 (en)
EP (1) EP2718795A4 (en)
CN (1) CN103597436A (en)
WO (1) WO2012170306A2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104391703B (en) * 2014-11-21 2017-11-07 用友网络科技股份有限公司 It is rapidly completed the apparatus and method of page layout
CN111209066A (en) * 2019-12-31 2020-05-29 支付宝(杭州)信息技术有限公司 Card layout method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1376384A2 (en) 2002-06-28 2004-01-02 Microsoft Corporation Resolving document object collisions
US20060112330A1 (en) 2004-11-25 2006-05-25 Canon Kabushiki Kaisha Layout method, program, and device
WO2008084397A1 (en) 2007-01-12 2008-07-17 Truecontext Corporation Method and system for customizing a mobile application using a web-based interface
US7734995B1 (en) 2005-12-01 2010-06-08 Adobe Systems Incorporated Systems and methods for assembling form fragments and templates into a form package

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7149967B2 (en) * 2003-03-27 2006-12-12 Microsoft Corporation Method and system for creating a table version of a document
US7788579B2 (en) * 2006-03-06 2010-08-31 Ricoh Co., Ltd. Automated document layout design
US9619143B2 (en) * 2008-01-06 2017-04-11 Apple Inc. Device, method, and graphical user interface for viewing application launch icons
KR20110014040A (en) * 2009-08-04 2011-02-10 엘지전자 주식회사 Mobile terminal and icon collision controlling method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1376384A2 (en) 2002-06-28 2004-01-02 Microsoft Corporation Resolving document object collisions
US20060112330A1 (en) 2004-11-25 2006-05-25 Canon Kabushiki Kaisha Layout method, program, and device
US7734995B1 (en) 2005-12-01 2010-06-08 Adobe Systems Incorporated Systems and methods for assembling form fragments and templates into a form package
WO2008084397A1 (en) 2007-01-12 2008-07-17 Truecontext Corporation Method and system for customizing a mobile application using a web-based interface

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2718795A4

Also Published As

Publication number Publication date
EP2718795A2 (en) 2014-04-16
WO2012170306A3 (en) 2013-03-14
EP2718795A4 (en) 2014-12-03
CN103597436A (en) 2014-02-19
US20120311423A1 (en) 2012-12-06

Similar Documents

Publication Publication Date Title
US8516389B2 (en) Re-using a display element associated with a first cell for a second cell
US8887085B1 (en) Dynamic content navigation
CN107015751B (en) Optimal display and scaling of objects and text in a document
US20090327965A1 (en) Selection of items in a virtualized view
US9760543B2 (en) Graphical tile-based layout
US20110219321A1 (en) Web-based control using integrated control interface having dynamic hit zones
CN108153565B (en) Method and device for providing page information
US20120210206A1 (en) Resizing an editable area in a web page
CN105164632A (en) Window switching interface
CN104781808B (en) The system and method shown for adjusting website
CN102411614A (en) Display Of Image Search Results
US9411794B2 (en) Facilitating selection of objects on display screens
US20130326321A1 (en) Optimizations for hybrid word processing and graphical content authoring
CN103744932A (en) Page processing method and device
CN111625167A (en) Page switching method and device and computer equipment
US11119636B2 (en) Display for input selection on a compact information processing device
US7908567B1 (en) Method and system for navigating in a document
US20130111333A1 (en) Scaling objects while maintaining object structure
US20120311423A1 (en) Dynamically Controlling Collisions of Form Controls in an Electronic Document
US11438402B2 (en) Systems and methods for providing a web application to a computing device
CN113722630A (en) Method and equipment for presenting resource data in web page based on client rendering
CN104462101A (en) Information processing method and electronic equipment
CN108446070A (en) A kind of method and device for browsing information
JP7318341B2 (en) Display controller and program
CN116304409A (en) Page layout method and device, electronic equipment and medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12796709

Country of ref document: EP

Kind code of ref document: A2

NENP Non-entry into the national phase

Ref country code: DE