Adapts the html source returned by the XWiki server and makes it usable by Word using a local html file.
Inheritance: AbstractConverter
Example #1
0
 /// <summary>
 /// Creates a new instance of the ConversionManager class.
 /// </summary>
 /// <param name="serverURL">The url of the server.</param>
 /// <param name="localFolder">The local folder where documents are saved/</param>
 /// <param name="docFullName">The full name of the wiki page.</param>
 /// <param name="localFileName">The local file coresponding to the edited wiki page.</param>
 /// <param name="client">IXWikiClient implementation, handling Client server communication.</param>
 public ConversionManager(XOfficeCommonSettings settings, String serverURL, String localFolder, String docFullName, String localFileName, IXWikiClient client)
 {
     states               = new BidirectionalConversionStates(serverURL);
     states.LocalFolder   = localFolder;
     states.PageFullName  = docFullName;
     states.LocalFileName = localFileName;
     xwikiClient          = client;
     this.settings        = settings;
     localToWebHtml       = new LocalToWebHTML(this);
     webToLocalHtml       = new WebToLocalHTML(this);
     newAttachments       = new List <string>();
 }
 /// <summary>
 /// Creates a new instance of the ConversionManager class.
 /// </summary>
 /// <param name="serverURL">The url of the server.</param>
 /// <param name="localFolder">The local folder where documents are saved/</param>
 /// <param name="docFullName">The full name of the wiki page.</param>
 /// <param name="localFileName">The local file coresponding to the edited wiki page.</param>
 /// <param name="client">IXWikiClient implementation, handling Client server communication.</param>
 public ConversionManager(XOfficeCommonSettings settings, String serverURL, String localFolder, String docFullName, String localFileName, IXWikiClient client)
 {
     states = new BidirectionalConversionStates(serverURL);
     states.LocalFolder = localFolder;
     states.PageFullName = docFullName;
     states.LocalFileName = localFileName;
     xwikiClient = client;
     this.settings = settings;
     localToWebHtml = new LocalToWebHTML(this);
     webToLocalHtml = new WebToLocalHTML(this);
     newAttachments = new List<string>();
 }