# US 2023/0055467 A1 · Document layout management

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0055467 A1
- Document ID: US20230055467A1
- Status: Published application
- Kind: A1
- Application number: 17/793,187
- Filed: 2020-05-18
- Published: 2023-02-23
- Earliest claimed: 2020-01-17
- Assignees: MyScript
- Applicants: MyScript
- Inventors: Gregory COUSIN; Baptiste DEMAREST
- Web page: https://patentgrep.com/patent/US20230055467A1

## CPC

- G06F 3/0481: based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F 40/106: Display of layout of documents; Previewing
- G06F 3/0488: using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F 3/04883: for inputting data by handwriting, e.g. gesture or text
- G06F 40/103: Formatting, i.e. changing of presentation of documents (automatic justification G06F40/189; automatic line break hyphenation G06F40/191)
- G06F 40/14: Tree-structured documents (parsing G06F40/205; validation G06F40/226)
- G06F 40/16: Automatic learning of transformation rules, e.g. from examples
- G06F 40/166: Editing, e.g. inserting or deleting
- G06F 2203/04808: Several contacts: gestures triggering a specific function, e.g. scrolling, zooming, right-click, when the user establishes several contacts with the surface simultaneously; e.g. using several fingers or a combination of fingers and pen
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The invention relates to methods and devices for managing document layout of an electronic document. In a particular embodiment, a method implemented by a computing devices comprises: displaying in an electronic document a block containing at least one item; in response to a first finger gesture of two or more fingers defining at least two selection points, determining a space line specifying an initial position from which a space is to be managed in the electronic document; in response to a second finger gesture of two or more fingers defining a movement of the selected points along a first orientation, monitoring a current position of the space line moving over time; and performing a space management based on the current position of the space line along the first orientation, comprising creating and/or reducing a space in the electronic document.

## Claims

### Claim 1

A method implemented by a computing device for managing a document layout, comprising the following steps:
a1) displaying in an electronic document at least one block containing at least one text or non-text item;
a2) in response to a first finger gesture of two or more fingers defining at least two selection points in the electronic document, determining a space line specifying an initial position from which a space is to be managed in said electronic document;
a3) in response to a second finger gesture of two or more fingers defining a movement of said at least two selected points along a first orientation, monitoring a current position of the space line moving over time; and
a4) performing a space management in the electronic document based on the current position of the space line along the first orientation, said space management comprising at least one of:
creating a space extending from the original position to the current position of the space line; and
reducing an existing space by removing therefrom a portion extending from the original position to the current position of the space line.

### Claim 2 (depends on 1)

The method of claim 1, wherein said space management performed in step a4) comprises:
if the original position of the space line is positioned within one block, a space is created or reduced within said block so that said block is respectively expanded or contracted along the first orientation; and
if the space line is positioned between at least two text or non-text items, a space is created or reduced so that said at least two items respectively part from each other or move closer to each other along said first orientation.

### Claim 3 (depends on 1)

The method of claim 1, wherein the space management comprises:
if the original position of the space line is positioned between two consecutive, first and second, items in the first orientation, the first item is maintained at the same position and the second item is moved along the first orientation to create or reduce a space while maintaining the block layout of the second item with any subsequent item present along the first orientation.

### Claim 4 (depends on 1)

The method of claim 1, wherein said method further comprises displaying a space handle as a visual feedback representing the position of the space line over time in response to the first and second finger gestures.

### Claim 5 (depends on 1)

The method of claim 1, wherein the at least two selection points detected in the determining step a2) are determined as defining said space line only if they are positioned substantially horizontally relative to each other.

### Claim 6 (depends on 1)

The method of claim 1, wherein the computing device comprises:
a screen displaying said electronic document;
a selection manager receiving said first and second finger gestures performed with the screen; and
an input manager controlling, based on the first and second finger gestures, a tree editor to perform said steps a2) to a4).

### Claim 7 (depends on 6)

The method of claim 6, wherein the first orientation is the vertical orientation.

### Claim 8 (depends on 7)

The method of claim 7, wherein the computing device comprises a visual feedback module, wherein if it is detected in step a2 that said at least two selection points are positioned within a block, the method comprises:
selecting, by the input manager, said block as a current block;
determining, by the input manager, a vertical position range within which the space line can be moved within said current block, said vertical position range being limited by the top and bottom border of said current block;
selecting, by the input manager, each item positioned below the initial position within the current block;
displaying, by the visual feedback module, a space handle as a visual feedback representing the position of the space line over time in response to the first and second finger gestures along with a visual feedback of each selected item;
performing, by said input manager, said space management in step a4 such that:
if the space line is moved downwards, creating a space extending from the original position to the current position of the space line while translating downwards each selected item; and
if the space line is moved upwards, reducing an existing space by removing therefrom a portion extending from the original position to the current position of the space line while translating upwards each selected item.

### Claim 9 (depends on 8)

The method of claim 8, wherein said space management in step a4) comprises:
expanding the current block if any of said each selected item reaches the bottom border of the current block by translating downwards the bottom border of the current block from an original position to a new position;
contracting the current block if, after expanding the current block, each selected item is moved back above the original position of the bottom border of the current block.

### Claim 10 (depends on 8)

The method of claim 8, wherein if it is detected in step a2) that said at least two selection points are not positioned within a block, the method comprises:
moving, by the input manager, the space line in the vertical orientation as a function of the second finger gesture, without limit in the downward direction; and
displaying, by the visual feedback module, a space handle as a visual feedback representing the position of the space line over time in response to the first and second finger gestures, wherein the space handle is moved incrementally according to a pattern of discrete vertical positions in response to the movement defined by the second finger gesture.

### Claim 11 (depends on 10)

The method of claim 10, wherein upon detecting an end of the second finger gesture, the method further comprises:
removing the visual feedback of the space handle; and
updating a document model of the electronic document to reflect the item layout achieved as a result of the space management.

### Claim 12

(canceled)

### Claim 13

A method implemented by a computing device for managing block layout, comprising the following steps:
b1) displaying in an electronic document at least two neighbour blocks contiguous to each other, said at least two neighbour blocks containing text or non-text content;
b2) detecting, based on a first user instruction, user selection from said electronic document or from another electronic document of a current block which is to be positioned between said at least two neighbour blocks;
b3) determining, based on a second user instruction, a user-selected insertion region specifying where the current block is to be positioned, said insertion region overlapping with said at least two neighbour blocks;
b4) rearranging the block layout of said electronic document by moving at least one of said at least two neighbour blocks to create in said insertion region a space sufficiently large to accommodate the current block between said at least two neighbour blocks; and
b5) positioning the current block according to the insertion region by pasting or dropping the current block within the created space.

### Claim 14 (depends on 13)

The method of claim 13, wherein in said displaying step b1), the at least two neighbour blocks comprise a first block and a second block positioned contiguously to each other along a first orientation,
wherein said rearranging step b4) comprises moving the second block by translation along the first orientation in a first direction from the first block towards the second block while maintaining the first block at the same position, thereby creating said space.

### Claim 15 (depends on 13)

The method of claim 13, wherein during said rearranging step b4), the second block is moved by translation along with at least one other neighbour block subsequent to the second block in the first direction while maintaining the block layout of the second block and said at least one other neighbour block relative to each other.

### Claim 16 (depends on 13)

The method of claim 13, wherein the first user instructions is a user instruction to copy the current block; and
wherein the second user instruction is a user instruction to paste the current block at a pasting position defined by said insertion region.

### Claim 17 (depends on 16)

The method of claim 16, wherein the second user instruction is a tap or press command defining the insertion region indicative of where the current block is to be pasted.

### Claim 18 (depends on 13)

The method of claim 13, wherein said the first user instruction is a user instruction to drag the current block into the electronic document; and
wherein the second instruction is a user instruction to drop the current block in said insertion region.

### Claim 19 (depends on 18)

The method of claim 18, wherein the current block being dragged is part of a group of blocks contiguous to each other in a group orientation, the method comprising:
upon detecting that said current block is being dragged within the electronic document, moving at least one other block of said group subsequent to said current block in the group orientation, while maintaining the block layout of said at least one other block relative to each other, to remove the space left by the current block in the block layout of said group of blocks.

### Claim 20 (depends on 18)

The method of claim 18, wherein the method further comprises:
monitoring, based on the first user instruction received over a continuous period of time, a drag movement of the current block within the electronic document; and
displaying a first visual feedback representative of the drag movement over time of the current block being dragged in the electronic document and a second visual feedback representative of a drop position within the insertion region where the current block is to be positioned.

### Claim 21 (depends on 20)

The method of claim 20, wherein the first visual feedback comprises a visual representation of the current block displayed with a changed opacity with respect to the current block as displayed prior to the drag movement, and
wherein the second visual feedback comprises a graphic indicator which is displayed such that it moves at interfaces between pairs of neighbour blocks while the current block is being dragged.

### Claim at position 22

22-36. (canceled)
