Routes bibliographic sources to style-specific citation and bibliography formatters.
Definition
Namespace:Telerik.WinForms.Documents.Model.BibliographicReferences
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public abstract class BibliographicReferenceStyleBase
Inheritance: objectBibliographicReferenceStyleBase
Derived Classes:
Constructors
Initializes an empty required-field set for each supported source type.
public BibliographicReferenceStyleBase()
Properties
Gets the identifier used to register and select this style in a document.
public abstract string Key { get; }
Gets the display name shown in the citation-style selection list.
public abstract string Name { get; }
RequiredFields
Dictionary<BibliographicSourceType, HashSet<BibliographicReferencePropertyDefinition>>
Gets the field definitions that this style marks as required for each source type.
public Dictionary<BibliographicSourceType, HashSet<BibliographicReferencePropertyDefinition>> RequiredFields { get; }
The dictionary is returned directly; modifying it changes the requirements used by source-management dialogs.
Methods
Creates a bibliography entry for an art source according to the derived style.
protected abstract Paragraph GetArtBibliographyRecord(BibliographicSource source)
The art source to format.
Returns:Formats a citation for an art source according to the derived style.
protected abstract string GetArtCitation(BibliographicSource source)
The art source to format.
Returns:Creates a bibliography entry for an article-in-a-periodical source according to the derived style.
protected abstract Paragraph GetArticleInAPeriodicalBibliographyRecord(BibliographicSource source)
The periodical-article source to format.
Returns:Formats a citation for an article-in-a-periodical source according to the derived style.
protected abstract string GetArticleInAPeriodicalCitation(BibliographicSource source)
The periodical-article source to format.
Returns:Creates a bibliography entry by dispatching to the formatter for the source's type.
public Paragraph GetBibliographyRecord(BibliographicSource source)
The bibliographic source to format.
Returns:A paragraph containing the bibliography entry generated by this style.
Exceptions: ArgumentExceptionThe source type is not handled by this style.
Creates a bibliography entry for a book source according to the derived style.
protected abstract Paragraph GetBookBibliographyRecord(BibliographicSource source)
The book source to format.
Returns:Formats a citation for a book source according to the derived style.
protected abstract string GetBookCitation(BibliographicSource source)
The book source to format.
Returns:Creates a bibliography entry for a book-section source according to the derived style.
protected abstract Paragraph GetBookSectionBibliographyRecord(BibliographicSource source)
The book-section source to format.
Returns:Formats a citation for a book-section source according to the derived style.
protected abstract string GetBookSectionCitation(BibliographicSource source)
The book-section source to format.
Returns:Creates a bibliography entry for a legal-case source according to the derived style.
protected abstract Paragraph GetCaseBibliographyRecord(BibliographicSource source)
The legal-case source to format.
Returns:Formats a citation for a legal-case source according to the derived style.
protected abstract string GetCaseCitation(BibliographicSource source)
The legal-case source to format.
Returns:Formats a citation by dispatching to the formatter for the source's type.
public string GetCitation(BibliographicSource source)
The bibliographic source to format.
Returns:The citation text generated by this style.
Exceptions: ArgumentExceptionThe source type is not handled by this style.
Creates a bibliography entry for a conference-proceedings source according to the derived style.
protected abstract Paragraph GetConferenceProceedingsBibliographyRecord(BibliographicSource source)
The conference-proceedings source to format.
Returns:Formats a citation for a conference-proceedings source according to the derived style.
protected abstract string GetConferenceProceedingsCitation(BibliographicSource source)
The conference-proceedings source to format.
Returns:Creates a bibliography entry for a document-from-website source according to the derived style.
protected abstract Paragraph GetDocumentFromWebSiteBibliographyRecord(BibliographicSource source)
The document source to format.
Returns:Formats a citation for a document-from-website source according to the derived style.
protected abstract string GetDocumentFromWebSiteCitation(BibliographicSource source)
The document source to format.
Returns:Creates a bibliography entry for an electronic source according to the derived style.
protected abstract Paragraph GetElectronicSourceBibliographyRecord(BibliographicSource source)
The electronic source to format.
Returns:Formats a citation for an electronic source according to the derived style.
protected abstract string GetElectronicSourceCitation(BibliographicSource source)
The electronic source to format.
Returns:Creates a bibliography entry for a film source according to the derived style.
protected abstract Paragraph GetFilmBibliographyRecord(BibliographicSource source)
The film source to format.
Returns:Formats a citation for a film source according to the derived style.
protected abstract string GetFilmCitation(BibliographicSource source)
The film source to format.
Returns:Creates a bibliography entry for an interview source according to the derived style.
protected abstract Paragraph GetInterviewBibliographyRecord(BibliographicSource source)
The interview source to format.
Returns:Formats a citation for an interview source according to the derived style.
protected abstract string GetInterviewCitation(BibliographicSource source)
The interview source to format.
Returns:Creates a bibliography entry for a journal-article source according to the derived style.
protected abstract Paragraph GetJournalArticleBibliographyRecord(BibliographicSource source)
The journal-article source to format.
Returns:Formats a citation for a journal-article source according to the derived style.
protected abstract string GetJournalArticleCitation(BibliographicSource source)
The journal-article source to format.
Returns:Creates a bibliography entry for a miscellaneous source according to the derived style.
protected abstract Paragraph GetMiscellaneousBibliographyRecord(BibliographicSource source)
The miscellaneous source to format.
Returns:Formats a citation for a miscellaneous source according to the derived style.
protected abstract string GetMiscellaneousCitation(BibliographicSource source)
The miscellaneous source to format.
Returns:Creates a bibliography entry for a patent source according to the derived style.
protected abstract Paragraph GetPatentBibliographyRecord(BibliographicSource source)
The patent source to format.
Returns:Formats a citation for a patent source according to the derived style.
protected abstract string GetPatentCitation(BibliographicSource source)
The patent source to format.
Returns:Creates a bibliography entry for a performance source according to the derived style.
protected abstract Paragraph GetPerformanceBibliographyRecord(BibliographicSource source)
The performance source to format.
Returns:Formats a citation for a performance source according to the derived style.
protected abstract string GetPerformanceCitation(BibliographicSource source)
The performance source to format.
Returns:Creates a bibliography entry for a report source according to the derived style.
protected abstract Paragraph GetReportBibliographyRecord(BibliographicSource source)
The report source to format.
Returns:Formats a citation for a report source according to the derived style.
protected abstract string GetReportCitation(BibliographicSource source)
The report source to format.
Returns:Creates a bibliography entry for a sound-recording source according to the derived style.
protected abstract Paragraph GetSoundRecordingBibliographyRecord(BibliographicSource source)
The sound-recording source to format.
Returns:Formats a citation for a sound-recording source according to the derived style.
protected abstract string GetSoundRecordingCitation(BibliographicSource source)
The sound-recording source to format.
Returns:Creates a bibliography entry for a website source according to the derived style.
protected abstract Paragraph GetWebSiteBibliographyRecord(BibliographicSource source)
The website source to format.
Returns:Formats a citation for a website source according to the derived style.
protected abstract string GetWebSiteCitation(BibliographicSource source)
The website source to format.
Returns: