public DefaultPreviewPlugin() { var plugin = new DataPreviewPluginInfo() { Guid = "2F801B47-09F5-498C-966C-B06EFFB378A1", Name = "详细信息", ViewType = new List <DataViewSupportItem>(), OrderIndex = 0, PluginType = PluginType.SpfDataPreview }; plugin.ViewType.Add(new DataViewSupportItem() { PluginId = "*", TypeName = "*" }); PluginInfo = plugin; }
public PropertyPreviewPlugin() { var p = new DataPreviewPluginInfo() { Guid = "{DF62D94B-3F52-49B6-B7DF-5245F24C42B6}", Name = Languagekeys.BasicView, ViewType = new List <DataPreviewSupportItem>(), OrderIndex = 0, PluginType = PluginType.SpfDataPreview, }; p.ViewType.Add(new DataPreviewSupportItem() { PluginId = "*", TypeName = "*" }); PluginInfo = p; }
public TextPreviewPlugin() { var p = new DataPreviewPluginInfo() { Guid = "{608A2446-D033-4FB7-9EB0-32147E754330}", Name = Languagekeys.TextView, ViewType = new List <DataPreviewSupportItem>(), OrderIndex = 1, PluginType = PluginType.SpfDataPreview, }; p.ViewType.Add(new DataPreviewSupportItem() { PluginId = "*.txt|*.ini|*.log" }); PluginInfo = p; }
public FilePropertyPreviewPlugin() { var p = new DataPreviewPluginInfo() { Guid = "{8B3CC8DF-70C0-4076-812C-ACDD27155685}", Name = Languagekeys.BasicView, ViewType = new List <DataPreviewSupportItem>(), OrderIndex = 0, PluginType = PluginType.SpfDataPreview, }; p.ViewType.Add(new DataPreviewSupportItem() { PluginId = "*.*" }); PluginInfo = p; }
public VideoPreviewPlugin() { var p = new DataPreviewPluginInfo() { Guid = "{27C4750D-6A45-4F58-A502-0E1E5C189295}", Name = Languagekeys.VedioView, ViewType = new List <DataPreviewSupportItem>(), OrderIndex = 1, PluginType = PluginType.SpfDataPreview, }; p.ViewType.Add(new DataPreviewSupportItem() { PluginId = "*.avi|*.rmvb|*.rm|*.mp4|*.mkv|*.webM|*.3gp|*.WMV|*.MPG|*.vob|*.mov|*.flv|*.swf" }); PluginInfo = p; }
public ImagePreviewPlugin() { var p = new DataPreviewPluginInfo() { Guid = "{C05DAE79-E969-4CA3-9FB0-BD05C071BC74}", Name = Languagekeys.ImageView, ViewType = new List <DataPreviewSupportItem>(), OrderIndex = 1, PluginType = PluginType.SpfDataPreview, }; p.ViewType.Add(new DataPreviewSupportItem() { PluginId = "*.jpg|*.png|*.ico|*.bmp|*.tif|*.tga|*.gif" }); PluginInfo = p; }
public WordPreviewPlugin() { var p = new DataPreviewPluginInfo() { Guid = "{AE8F55D7-F270-4BC7-8EEB-0AC5CBD7BD7B}", Name = Languagekeys.OfficeView, ViewType = new List <DataPreviewSupportItem>(), OrderIndex = 1, PluginType = PluginType.SpfDataPreview, }; p.ViewType.Add(new DataPreviewSupportItem() { PluginId = "*.doc|*.docx|*.xls|*.xlsx|*.ppt|*.pptx|*.pdf" }); PluginInfo = p; }
public HtmlPreviewPlugin() { var p = new DataPreviewPluginInfo() { Guid = "{3B753E7E-9D37-4FD1-989B-445A092BABBA}", Name = Languagekeys.HtmlView, ViewType = new List <DataPreviewSupportItem>(), OrderIndex = 1, PluginType = PluginType.SpfDataPreview, }; p.ViewType.Add(new DataPreviewSupportItem() { PluginId = "*.html|*.Xml|*.mht|*.json" }); PluginInfo = p; }
public HexPreviewPlugin() { var p = new DataPreviewPluginInfo() { Guid = "{E9BE30AA-BD7A-49EE-8CAB-37A0317F2C6D}", Name = Languagekeys.Hex, ViewType = new List <DataPreviewSupportItem>(), OrderIndex = 1, PluginType = PluginType.SpfDataPreview, }; p.ViewType.Add(new DataPreviewSupportItem() { PluginId = "*.*" }); PluginInfo = p; }
public AudioPreviewPlugin() { var p = new DataPreviewPluginInfo() { Guid = "{3227A747-0EEA-4A29-8318-20E2B462DC15}", Name = Languagekeys.AudioView, ViewType = new List <DataPreviewSupportItem>(), OrderIndex = 1, PluginType = PluginType.SpfDataPreview, }; p.ViewType.Add(new DataPreviewSupportItem() { PluginId = "*.mp3|*.wma|*.ape|*.flac|*.aac|*.ac3|*.mmf|*.amr|*.m4a|*.m4r|*.ogg|*.wav|*.mp2" }); PluginInfo = p; }