1. A computerized method comprising: receiving a first electronic document and a second electronic document; determining a mode type for the first and second electronic documents, the mode type being one of single-page mode or continuous mode, wherein determining a mode type includes: determining a type of application that created the first and second electronic documents; and determining if there is a repeated pattern for one or more data or attributes for a number of pages of the first and second electronic documents; determining a difference between the first electronic document and the second electronic document according to the determined mode type based on matching of a component of the first electronic document to a component of the second electronic document in a hierarchical order; and storing the difference in a non-transitory machine-readable storage medium.
1. A computerized method comprising: receiving a first electronic document and a second electronic document; determining a mode type for the first and second electronic documents, the mode type being one of single-page mode or continuous mode, wherein determining a mode type includes: determining a type of application that created the first and second electronic documents; and determining if there is a repeated pattern for one or more data or attributes for a number of pages of the first and second electronic documents; determining a difference between the first electronic document and the second electronic document according to the determined mode type based on matching of a component of the first electronic document to a component of the second electronic document in a hierarchical order; and storing the difference in a non-transitory machine-readable storage medium. 6. The computerized method of claim 1 , wherein determining the difference between the first electronic document and the second electronic document comprises determining the difference of a first page of the first electronic document and a second page of the second electronic document.