public PageContentDownloader(ref XWord2003AddIn addin, string pageFullName, IXWikiClient client, Dictionary <String, ConversionManager> pageConverters) { this.addin = addin; this.pageFullName = pageFullName; this.client = client; this.pageConverters = pageConverters; }
/// <summary> /// Save user settings for grammar and spelling checking. /// </summary> /// <param name="addin">A reference to the <code>XWikiAddin</code>.</param> public static void Save(ref XWord2003AddIn addin) { wordOptions = addin.Application.Options; checkGrammarAsYouType = wordOptions.CheckGrammarAsYouType; checkGrammarWithSpelling = wordOptions.CheckGrammarWithSpelling; checkSpellingAsYouType = wordOptions.CheckSpellingAsYouType; }
public AttachmentUploader(XWord2003AddIn addin, string space, string page, IXWikiClient client, string[] fileNames) { this.addin = addin; this.client = client; this.space = space; this.page = page; this.fileNames = fileNames; }
public AttachmentDownloader(XWord2003AddIn addin, string pageFullName, string attachmentName, string path, IXWikiClient client) { this.addin = addin; this.pageFullName = pageFullName; this.attachmentName = attachmentName; this.path = path; this.client = client; this.fileInfo = null; }
public AttachmentUploader(XWord2003AddIn addin, string pageFullName, IXWikiClient client, string[] fileNames) { this.addin = addin; this.client = client; this.fileNames = fileNames; if (pageFullName != null) { if (!this.client.LoggedIn) { client.Login(addin.Username, addin.Password); } int index = pageFullName.IndexOf("."); space = pageFullName.Substring(0, index); page = pageFullName.Substring(index + 1); } else { result = false; } }
public HTMLDocumentOpener(XWord2003AddIn addin, string path) { this.addin = addin; this.path = path; this.document = null; }