Clear the version history assciated with word document

Hi there,
What is the correct way to remove any verion history associated with docx files. It seems to be the case that going to previous versions is not supported in word 2007 but the version information might be stored in the word document.

The only API we found related to versions is Document.getVersionsCount() but we want to clean all the version history associated with the document. Please suggest how can we achieve this using Aspose. Thanks.

Hi Praneeth,

Thanks for your inquiry. Unfortunately, Aspose.Words does not support the requested feature at the moment. However, I have logged this feature request as WORDSNET-9857 in our issue tracking system. You will be notified via this forum thread once this feature is available.

Moreover, If you save the document (Doc) using Aspose.Words, the document will be saved without versions. Aspose.Word does not preserve document (Doc) versions during open/save. We had already logged this feature as WORDSNET-2249 in our issue tracking system.

We apologize for your inconvenience.

Hi Tahir,
You said - ‘Aspose.Word does not preserve document (Doc) versions during open/save’. Does it also implies that document (docx file, saved by Aspose) would not be having any version information associated to it?

Could it be possible that using VET (version extraction tool) we could get version information history from the docx file saved by Aspose?

Hi Praneeth,

Thanks for your inquiry.

PraneethS:

You said - ‘Aspose.Word does not preserve document (Doc) versions during open/save’. Does it also implies that document (docx file, saved by Aspose) would not be having any version information associated to it?

Please note that Aspose.Words mimics the same behavior as MS Word does. Microsoft Word supports versions only for DOC files. Note that MS Word 2010 just saves document that are edited with interval into specified directory. However, MS Word 2003 Version feature is very different thing. It provides options to save multiple documents into one DOC document.

PraneethS:

Could it be possible that using VET (version extraction tool) we could get version information history from the docx file saved by Aspose?

Aspose.Words provides no other support for document versions. If you save your document using Aspose.Words, the document will be saved without versions. Regarding versions in MS Word 2010 (Docx file format), we already logged this feature request as WORDSNET-7815 in our issue tracking system. Will will update you via this forum thread once this feature is available.

We apologize for your inconvenience.

Hi Tahir,
Could you please specify the description of WORDSNET-2249 (Won’t Fix); WORDSNET-9857 (Unresolved); WORDSNET-7815 (Unresolved)?

Hi Praneeth,

Thanks for your patience.

Regarding WORDSNET-9857 and WORDSNET-2249, it is to update you that our development team has completed the analysis of these logged features and has come to a conclusion that they won’t be able to provide these features. These features has been closed with ‘‘Won’t Fix’’ resolution.

Regarding WORDSNET-7815, we are in communication with our development team and will update you as soon as we have any further information.

Aspose.Words does not preserve document versions during open and save. Saving the document with Aspose.Words clears the version history associated with Word document.

Hi Praneeth,

Thanks for your patience.

Regarding WORDSNET-7815, this is duplicate of WORDSNET-2249 and this logged feature has been closed with ‘‘Won’t Fix’’ resolution.

Aspose.Words does not preserve document versions during open and save. Saving the document with Aspose.Words clears the version history associated with Word document.

Hi Tahir,
Could you please provide the the description of each of the issue here? I mean the definition of each issue WORDSNET-2249 (Won’t Fix); WORDSNET-9857 (Unresolved); WORDSNET-7815 (Won’t Fix) as stored in your issue tracking system.

It would be more helpful if you could provide us the details why two of the issues are not fixable.

Thanks.

Hi Praneeth,

Thanks for your inquiry.

WORDSNET-2249 : Preserve document versions during open save

WORDSNET-7815 : Support “Versions” of Word Document

WORDSNET-9857 : Add feature to delete version history associated with Word document

WORDSNET-7815 and WORDSNET-2249 are duplicated. As Aspose.Words does not preserve versions of document so there is no need of WORDSNET-9857. Microsoft Word supports versions only for DOC files. MS Word 2003 store undocumented version data as raw bytes. This is the reason to close this feature as ‘Won’t Fix’.

Hope this answers your query. Please let us know if you have any more queries.

Thanks Tahir for all the information.