1. A non-transitory computer readable medium storing a computer program which when executed by at least one processor defines a selection of text in a document, the computer program comprising sets of instructions for: receiving an unstructured document comprising a plurality of unassociated glyphs; associating sets of glyphs into a plurality of columns; creating a structured document from the unstructured document comprising a plurality of layouts and a flow of reading through the plurality of layouts, each particular layout comprising at least one of the plurality of columns and a reading order for the columns within the particular layout; displaying the structured document; receiving a start point in a first column in a first layout and an end point in a second column in a second, different layout, the second layout having an order value after the first layout; and defining a selection of text from the start point to the end point by using the structured document, the selection including (i) all glyphs after the start point in the first column in the first layout according to the reading order for the columns in the first layout, (ii) all glyphs of the columns of the intervening layouts between the first and second layouts according to the flow of reading through the layouts, and (iii) all glyphs that precede the end point in the second layout according to the reading order for the columns in the second layout.
13. The non-transitory computer readable medium of claim 1 , wherein the selection of text is for copying and pasting into a second document, wherein the text is pasted into the second document with the flow of reading maintained.