Пример #1
0
        public void AddMetaData(MetaData data)
        {
            docxFile.PackageProperties.Creator = data.Author;
            docxFile.PackageProperties.Title = data.Title;
            docxFile.PackageProperties.Subject = data.Subject;

            if(data.Tags != null){

                StringBuilder tags = new StringBuilder(data.Tags[0]);

                for (int i = 1; i < data.Tags.Length; i++)
                {
                    tags.Append(", " + data.Tags[i]);
                }

                docxFile.PackageProperties.Keywords = tags.ToString();
            }
        }
Пример #2
0
 public void AddMetaData(MetaData data)
 {
     throw new NotImplementedException();
 }