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

RegisterForUpload() public method

Adds an file to the list of files to be attached to the page.
public RegisterForUpload ( String attachmentPath ) : void
attachmentPath String The path to the attachment to be uploaded.
return void
        public void RegisterForUpload(String attachmentPath)
        {
            String path = HttpUtility.UrlDecode(attachmentPath);
            newAttachments.Add(path);
        }