An information processing apparatus configured to display a main display document generated from all parts constituting a print document as a tree structured document in the XPS format, the tree structured document including FixedPage parts, a FixedDocumentSequence part, and FixedDocument parts, the information processing apparatus comprising: generation means configured to generate an empty temporary display document in which a part is not included and an empty main display document in which a part is not included; calculation means configured to calculate a number of pages required to generate a temporary display document, which is a number of pages constituting the front surface of a first sheet of the print document, from print setting information (131, 133, 135, 137) included in the print document, temporary display document generation means configured to generate a temporary display document corresponding to the number of pages calculated by the calculation means, to be displayed prior to the main display document, by adding to the empty temporary display document fewer FixedPage parts than all parts constituting the print document, a FixedDocumentSequence part, and a FixedDocument part wherein the fewer FixedPage parts than all parts constituting the print document correspond to the number of pages calculated by the calculation means; display means configured to display the temporary display document generated by the temporary display document generation means, wherein the displayed temporary display document corresponds to a visible image to be formed on a print sheet as a print image; main display document generation means configured to, when all parts constituting the print document are acquired, generate the main display document by adding to the empty main display document all parts constituting the acquired print document; and change means configured to change a display from the temporary display document to the main display document when the main display document generation means generates the main display document. generation means configured to generate an empty temporary display document in which a part is not included and an empty main display document in which a part is not included; calculation means configured to calculate a number of pages required to generate a temporary display document, which is a number of pages constituting the front surface of a first sheet of the print document, from print setting information (131, 133, 135, 137) included in the print document, temporary display document generation means configured to generate a temporary display document corresponding to the number of pages calculated by the calculation means, to be displayed prior to the main display document, by adding to the empty temporary display document fewer FixedPage parts than all parts constituting the print document, a FixedDocumentSequence part, and a FixedDocument part wherein the fewer FixedPage parts than all parts constituting the print document correspond to the number of pages calculated by the calculation means; display means configured to display the temporary display document generated by the temporary display document generation means, wherein the displayed temporary display document corresponds to a visible image to be formed on a print sheet as a print image; main display document generation means configured to, when all parts constituting the print document are acquired, generate the main display document by adding to the empty main display document all parts constituting the acquired print document; and change means configured to change a display from the temporary display document to the main display document when the main display document generation means generates the main display document.