XWiki.Office.Word.ConversionManager.ConversionManager C# (CSharp) Method

ConversionManager() public method

Creates a new instance of the ConversionManager class.
public ConversionManager ( XOfficeCommonSettings settings, String serverURL, String localFolder, String docFullName, String localFileName, IXWikiClient client ) : System
settings XOffice.XOfficeCommonSettings
serverURL String The url of the server.
localFolder String The local folder where documents are saved/
docFullName String The full name of the wiki page.
localFileName String The local file coresponding to the edited wiki page.
client IXWikiClient IXWikiClient implementation, handling Client server communication.
return System
        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>();
        }