摘要 |
An undo technique with improved ease-of-use is provided. A document processing apparatus executes editing, printing, and storage for a document file. An undo manager records the operation history of the document processing apparatus in an undo stack. The undo manager compresses the operation history stored in the undo stack according to a predetermined condition at a predetermined timing, e.g., at the time of storing the document or the like. For example, in a case that there are multiple branching operation histories, the undo manager compresses a part of the operation history between the state at which the branching occurred and the state at which the branch ends, with the branching start state and the branching end state maintained without being compressed.
|