Skip to content

IParatextScrTextAnnotationPlugin

FoolRunning edited this page Jul 26, 2022 · 9 revisions

Description

Interface for plugins that want to create annotations to show in the Scripture text child window.

Properties

Name

string Name

Gets the name of the plugin.


PluginAnnotationMenuEntries

IEnumerable<PluginAnnotationMenuEntry> PluginAnnotationMenuEntries

List of menu entries that will show or hide a set of annotations

NOTE: PluginAnnotationMenuEntry


Publisher

string Publisher

Gets the name of the plugin's publisher.


Version

Version Version

The version of the plugin


VersionString

string VersionString

The version of the plugin suitable for showing to the user


Methods

GetDescription

string GetDescription(string locale)

Gets the description of the plugin

Parameter Description
locale ISO 639-3 language code with optional RFC 5646 subtags to identify the language in which term plugin description is requested. If a plugin is not localized or does not have a description in the requested locale, it can fall back to English (en).

GetMerger

IDataFileMerger GetMerger(IPluginHost host, string dataIdentifier)

Gets an object that can be used to merge the data identified.

NOTE: For a standard XML-based merger that uses XMLDataMergeInfo, use IPluginHost.GetXmlMerger.

Parameter Description
host The plugin host
dataIdentifier string identifying the data (e.g. a filename)

This page is auto-generated. User edits will be lost when regenerated.

Clone this wiki locally