using System.Windows.Controls; using System.Windows.Documents; namespace JetBrains.Omea.OpenAPI { /// /// Format for the plugin description rich content. /// public enum PluginDescriptionFormat // TODO: make something more generic, like "rich-content-format"; probably will be a redirection to a more generic enum, but do not change values { /// /// Plain text without any formatting metadata. /// PlainText = 0, /// /// Mirosoft RichTextFormat. /// /// /// {\rtf1\ansi……… /// Rtf = 1, /// /// Inline content in XAML format. /// Suppose that your content will be wrapped into a or a element and parsed with a XAML reader. /// Basically, this can be a string with formatting elements inside. /// /// Hello, <Bold>World</Bold>! XamlInline = 2, /// /// A Pack Uri to a valid Flow Document that represents the content. /// If the document located in the plugin assembly resources, the Uri might be relative. /// XamlFlowDocumentPackUri = 3 } }