// List of warning messages to give. public List <string> WarningMessages() { List <string> warnings = new List <string>(); if (creationSettings.fileFormat.kind == MapFileFormatKind.OCAD && creationSettings.fileFormat.version <= 10) { // In OCAD 6-10, but not OOM, exporting images has them appear below other purple pen objects. if (QueryEvent.HasAnyImages(eventDB)) { warnings.Add(MiscText.ImagesMayAppearBadlyLayeredInOcad10Below); } } if (creationSettings.fileFormat.kind == MapFileFormatKind.OCAD && creationSettings.fileFormat.version <= 8) { // In OCAD 6-8, but not OOM, templates in the underlying map might not appear. if (controller.MapDisplay.GetMapTemplates().Any(templateInfo => templateInfo.visible)) { warnings.Add(MiscText.BaseMapHasVisibleTemplatesThatMayNotAppear); } } return(warnings); }