BibTexExamplesExample5_SpecifyFormattingManually Method |
Namespace: imbSCI.BibTex
1var files = folderResources.findFiles("*.bib*", SearchOption.AllDirectories); 2 var targetFolder = folderResults.Add("WithoutTemplate", "Without template", "Exporting Excel files without column data annotation template"); 3 BibTexTools.ExportToExcel(files, notation, log, null, targetFolder); 4 targetFolder = folderResults.Add("WithTemplate", "With template", "Exporting Excel files with column data annotation template"); 5 // creating template from Type 6 propertyAnnotationPreset template = new propertyAnnotationPreset(typeof(BibTexEntryModel)); 7 template.defaultItem.definitions.Add(templateFieldDataTable.columnWidth, 10); 8 template.defaultItem.definitions.Add(templateFieldDataTable.col_color, "#FF6600"); 9 BibTexTools.ExportToExcel(files, notation, log, template, targetFolder);