C# Class SILUBS.ScriptureChecks.QuotationMarkCategorizer

Quotation Mark Categorizer (don't ask!)
Mostrar archivo Open project: sillsdev/FieldWorks Class Usage Examples

Public Properties

Property Type Description
CollapseAdjacentQuotes bool

Private Properties

Property Type Description
CanStyleContinueQuotation bool
GetCloserForLevel string
GetContinuationMarkForLevel string
GetOpenerForLevel string
IsFinalPunctuation bool
IsInitialPunctuation bool
IsMarkForLevel bool
IsProseOrStanzaBreak bool
Level int
Level int
OpeningAndClosingAreIdentical bool
QuotationMarkCategorizer System

Private Methods

Method Description
CanStyleContinueQuotation ( string styleName, string prevStyleName ) : bool

Determines whether the specified style name is legitimate for continuing a quotation.

GetCloserForLevel ( int level ) : string

Gets the closing quotation mark for the specified level.

GetContinuationMarkForLevel ( int level ) : string

Gets the paragraph continuation mark for the specified level.

GetOpenerForLevel ( int level ) : string

Gets the opening quotation mark for the specified level.

IsFinalPunctuation ( string closing ) : bool

Determines whether [is final punctuation] [the specified quotation mark].

IsInitialPunctuation ( string opening ) : bool

Determines whether the specified quotation mark is initial punctuation.

IsMarkForLevel ( string qmark, int level ) : bool

Determines whether the specified quotation mark is for the specified level.

IsProseOrStanzaBreak ( string styleName ) : bool

Determines whether or not the specified style name represents a style whose use is prose or stanzabreak.

Level ( string qmark, int expectedLevel ) : int

Gets the level of the specified quotaion mark.

Level ( string qmark, int startingLevel, bool fSearchForward ) : int

Gets the level of the specified quotaion mark.

OpeningAndClosingAreIdentical ( int level ) : bool

Returns whether or not the specified level contains an opening and closing quote mark that are identical.

QuotationMarkCategorizer ( IChecksDataSource source ) : System

Initializes a new instance of the QuotationMarkCategorizer class.

Property Details

CollapseAdjacentQuotes public_oe property

public bool CollapseAdjacentQuotes
return bool