Sign In  Sign Up Live-Chat
Collapse/expand the left pane
Are you looking for an evaluation version of a product?
If so you can download any of the below versions for testing. The component will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the component to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.
NOTE:  If you experience errors like ’Internet explorer cannot display the web page’ is shown when you try to download a file, make sure your networking policies (enforced by your company or ISP) allow downloading ZIP and/or MSI files.

Preserve footnotes during DOC->HTML->DOC conversion

File Details
Downloads: 513 File Size: 1MB
Posted By: romank Views: 744
Date Added: Wed, Jan 02 2008
      /// This is a sample code for http://www.aspose.com/Community/Forums/thread/107477.aspx
      ///
      /// The scenario is as follows:
      ///
      /// 1. The customer has a DOC file with footnotes.
      ///
      /// 2. The customer uses Aspose.Words to convert DOC to HTML. Aspose.Words converts
      /// footnotes and endnotes into hyperlinks. There are two hyperlinks per footnote actually.
      /// One link is "forward" from the main text to the text of the footnote.
      /// Another is "backward" from the text of the footnote to the main text.
      ///
      /// 3. The customer uses Aspose.Words to convert HTML back to DOC.
      /// In the current version of Aspose.Words 4.4.3 the hyperlinks do not become footnotes,
      /// they just stay as hyperlink fields in the document. The customer wants
      /// original footnotes to become footnotes during DOC->HTML->DOC conversion.
      ///
      /// This code is a workaround that detects hyperlinks related to footnotes and converts
      /// them into proper footnotes. At some point in the future, this code will not be needed
      /// when Aspose.Words will guarantee footnotes roundtripping.
      ///
      /// This code demonstates some useful techniques, such as enumerating over nodes,
      /// getting field code, removing fields etc.
Comments
No comments exist for this file.