Abstract:
Systems and methods disclosed herein provide a method of consistently presenting a visible portion of a rendering surface on multiple user devices. The method includes obtaining, at a user device from a remote storage server, content relating to an electronic document stored on the remote storage server, and then determining layout parameters of the content. The layout parameters define a consistent layout on a virtual rendering surface for the content of the electronic document across multiple user devices having different dimensions of display areas. The method further includes obtaining, via a user interface at the user device, a user indication indicative of a visible portion of the electronic document to be displayed via the user interface. The method further includes determining rendering parameters to render the visible portion at the user interface, and rendering the visible portion via the user interface on the user device.
Abstract:
A method for segmenting text for layout on a web browser includes receiving a block of text at a client computer and defining a plurality of regular expressions, where a first regular expression in the plurality of regular expressions is used to search for a word or a word boundary. The client computer segments the block of text into a plurality of text segments, where the segmenting includes searching the block of text starting at a defined location for a first text segment that matches any of the plurality of regular expressions, adding the first text segment to the plurality of text segments, and updating the defined location to be located at the end of the first text segment within the block of text. The client computer then constructs a layout of the block of text using the plurality of text segments.
Abstract:
Systems and methods disclosed herein provide a method that includes obtaining, at a user device from a remote storage server, content relating to an electronic document, and rendering the content of the electronic document onto a first virtual rendering surface. The method further includes maintaining a second virtual rendering surface that stores a current state of the first virtual rendering surface. The method further includes obtaining an operation command relating to the electronic document, and retrieving first state information of the first virtual rendering surface and second state information of the second virtual rendering surface. The method further includes applying the operation command to the rendered content of the electronic document on the first virtual rendering surface, and updating at least one of the first state information or the second state information based on a type of the operation command.
Abstract:
Systems and methods disclosed herein provide a method of consistently presenting a visible portion of a rendering surface on multiple user devices. The method includes obtaining, at a user device from a remote storage server, content relating to an electronic document stored on the remote storage server, and then determining layout parameters of the content. The layout parameters define a consistent layout on a virtual rendering surface for the content of the electronic document across multiple user devices having different dimensions of display areas. The method further includes obtaining, via a user interface at the user device, a user indication indicative of a visible portion of the electronic document to be displayed via the user interface. The method further includes determining rendering parameters to render the visible portion at the user interface, and rendering the visible portion via the user interface on the user device.
Abstract:
Systems and methods are disclosed herein for copying inherited properties between electronic documents. An input to copy a source child element from a source application editing a source document is received. The source child element inherits a value of a property from another element. An input to paste the copied element into a destination document edited by destination application is received. The copied element is pasted into the destination document. The destination application retrieves instructions to determine a destination child value of the property and uses the instructions to determine the destination child value. The destination child value is consistent with the value which would have been determined had the copied element been pasted into the source document.
Abstract:
Systems and methods disclosed herein provide a method of managing a state of a virtual rendering surface for an electronic document. The method includes obtaining, at a user device from a remote storage server, content relating to an electronic document, and rendering the content of the electronic document onto a first virtual rendering surface. The method further includes maintaining a second virtual rendering surface that stores a current state of the first virtual rendering surface. The method further includes obtaining an operation command relating to the electronic document, and retrieving first state information of the first virtual rendering surface and second state information of the second virtual rendering surface. The method further includes applying the operation command to the rendered content of the electronic document on the first virtual rendering surface, and updating at least one of the first state information or the second state information based on a type of the operation command.
Abstract:
A method for segmenting text for layout on a web browser includes receiving a block of text at a client computer and defining a plurality of regular expressions, where a first regular expression in the plurality of regular expressions is used to search for a word or a word boundary. The client computer segments the block of text into a plurality of text segments, where the segmenting includes searching the block of text starting at a defined location for a first text segment that matches any of the plurality of regular expressions, adding the first text segment to the plurality of text segments, and updating the defined location to be located at the end of the first text segment within the block of text. The client computer then constructs a layout of the block of text using the plurality of text segments.