Method and system for automatically saving a document to multiple file formats
First Claim
1. A method for automatically saving a document in multiple file formats, comprising:
- receiving, from a user, a first request to save the document in a primary file format;
saving, on a persistent storage device and in response to the first request, a first file for the document using the primary file format;
creating, in response to the first request, a first data structure comprising a first file path for the first file;
creating, in response to the first request, a second file for the document;
saving, on the persistent storage device and in response to the first request, the second file for the document using a secondary file format;
creating, in response to the first request, a second data structure comprising a second file path for the second file and a first mapping associating the first file with the second file;
modifying, using an application executing on a hardware processor, the first file for the document;
receiving a second request to re-save the first file as modified;
re-saving, using the application and in response the second request, the first file as modified using the primary file format;
when the first file is saved using the primary file format;
determining the second file path using the second data structure;
deleting, using the application and in response the second request, the second file from the second file path on the persistent storage device;
deleting, using the application and in response the second request, the second data structure;
creating, using the application and in response the second request, a third file for the document using the secondary file format;
saving, using the application and in response the second request, the document as the third file on the persistent storage device using the secondary file format; and
creating, using the application and in response the second request, a third data structure comprising a third file path for the third file and a second mapping associating the third file with the first file.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and system for automatically saving a document in multiple file formats. A first file for the document is modified and saved on a persistent storage device using a primary file format. A second file for the document is saved on the persistent storage device using a secondary file format. The method further involves re-saving the first file as modified using the primary file format. When the first file is saved using the primary file format, the method further involves deleting the second file from the persistent storage device. A first mapping associating the second file with the first file is deleted. A third file for the document is created using the secondary file format and saved to the persistent storage device using the secondary file format. A second mapping associating the third file with the first file is created.
-
Citations
27 Claims
-
1. A method for automatically saving a document in multiple file formats, comprising:
-
receiving, from a user, a first request to save the document in a primary file format; saving, on a persistent storage device and in response to the first request, a first file for the document using the primary file format; creating, in response to the first request, a first data structure comprising a first file path for the first file; creating, in response to the first request, a second file for the document; saving, on the persistent storage device and in response to the first request, the second file for the document using a secondary file format; creating, in response to the first request, a second data structure comprising a second file path for the second file and a first mapping associating the first file with the second file; modifying, using an application executing on a hardware processor, the first file for the document; receiving a second request to re-save the first file as modified; re-saving, using the application and in response the second request, the first file as modified using the primary file format; when the first file is saved using the primary file format; determining the second file path using the second data structure; deleting, using the application and in response the second request, the second file from the second file path on the persistent storage device; deleting, using the application and in response the second request, the second data structure; creating, using the application and in response the second request, a third file for the document using the secondary file format; saving, using the application and in response the second request, the document as the third file on the persistent storage device using the secondary file format; and creating, using the application and in response the second request, a third data structure comprising a third file path for the third file and a second mapping associating the third file with the first file. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system, comprising:
-
at least one hardware processor; a persistent storage device; a display device interacting with the hardware processor; and a memory coupled to the at least one hardware processor and the display device, wherein the memory comprises executable instructions to; receive, from a user, a first request to save a document in a primary file format; save, on the persistent storage device and in response to the first request, a first file for the document using the primary file format; create, in response to the first request, a first data structure comprising a first file path for the first file; create, in response to the first request, a second file for the document; save, on the persistent storage device and in response to the first request, the second file for the document using a secondary file format; create, in response to the first request, a second data structure comprising a second file path for the second file and a first mapping associating the first file with the second file; modify, using an application executing on the at least one hardware processor, the first file for a document; receive a second request to re-save the first file as modified; resave, using the application, the first file as modified using the primary file format; when the first file is saved using the primary file format; determine the second file path using the second data structure; delete, using the application and in response the second request, the second file from the second file path on the persistent storage device; delete, using the application and in response the second request, the second data structure; create, using the application and in response the second request, a third file for the document using the secondary file format; save, using the application and in response the second request, the document as the third file on the persistent storage device using the secondary file format; and create, using the application and in response the second request, a third data structure comprising a third file path for the third file and a second mapping associating the third file with the first file. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A non-transitory computer readable storage medium comprising instructions for automatically saving a document in multiple file formats, the instructions comprising functionality for:
-
receiving, from a user, a first request to save the document in a primary file format; saving, on a persistent storage device and in response to the first request, a first file for the document using the primary file format; creating, in response to the first request, a first data structure comprising a first file path for the first file; creating, in response to the first request, a second file for the document; saving, on the persistent storage device and in response to the first request, the second file for the document using a secondary file format; creating, in response to the first request, a second data structure comprising a second file path for the second file and a first mapping associating the first file with the second file; modifying the first file for the document; receiving a second request to re-save the first file as modified; re-saving, in response the second request, the first file as modified using the primary file format; when the first file is saved using the primary file format; determining the second file path using the second data structure; deleting, in response the second request, the second file using the second file path; deleting, in response the second request, the second data structure; creating, in response the second request, a third file for the document; saving, in response the second request, the document as the third file using the secondary file format; and creating, in response the second request, a third data structure comprising a third file path for the third file and a second mapping associating the third file with the first file. - View Dependent Claims (20, 21, 22, 23, 24, 25, 26, 27)
-
Specification