×

Resolving document object collisions

  • US 7,188,309 B2
  • Filed: 06/28/2002
  • Issued: 03/06/2007
  • Est. Priority Date: 06/28/2002
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method for resolving collisions between document objects on an electronic document page, the method comprising:

  • identifying the occurrence of a collision of a first document object and a second document object;

    identifying, in response to the identified collision occurrence, a collision region comprising an overlapping area between the first document object and the second document object, the collision region having a first distance comprising a maximum length of the collision region in a side-to-side direction relative to the electronic document page and the collision region having a second distance comprising a maximum length of the collision region in a top-to-bottom direction relative to the electronic document page;

    determining the shortest distance to move the second document object to resolve the collision wherein determining the shortest distance comprises;

    determining the value of the first distance between the first document object and the second document object in the side-to-side direction relative to the electronic document page,determining the value of the second distance between the first document object and the second document object in the top-to-bottom direction relative to the electronic document page,setting a direction of the shortest distance to side-to-side if the first distance is less than the second distance, andsetting the direction of the shortest distance to top-to-bottom if the first distance is greater than or equal to the second distance;

    moving the second document object in the direction of the shortest distance;

    recording the original location of the document object to be moved; and

    returning the document object to its original location if the document layout is further modified to allow the document object to return to its original location without resulting in a collision.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×