Skip to content

IUSFMAttributeToken

FoolRunning edited this page Aug 31, 2022 · 12 revisions

Description

A token representing one or more attributes (IUSFMAttribute) associated with a marker and/or its text. These attributes will always be the same as the ones returned by IUSFMMarkerToken.Attributes for the preceding marker token.

Properties

Attributes

IEnumerable<IUSFMAttribute> Attributes

The attributes associated with this token


IsFigure

bool IsFigure

True if the token is part of a figure.


IsFootnoteOrCrossReference

bool IsFootnoteOrCrossReference

True if the token is part of a footnote or cross reference


IsMetadata

bool IsMetadata

Determines if the token is metadata (as opposed to publishable material)


IsPublishableVernacular

bool IsPublishableVernacular

Determines if the token is in publishable (not metadata) vernacular material


IsScripture

bool IsScripture

Determines if the token is in Scripture (includes chapter/verse numbers)


IsSpecial

bool IsSpecial

True if the token is part of a special indivisible group of tokens (link, category, or chapter/verse alternate/publishable)


VerseOffset

int VerseOffset

Character offset of the start of token in verse. This is defined as the offset from the backslash in the most recent \c, or \v defining the current "verse" (\c represents verse zero). For book introduction material, this is the start of the backslash in the \id.

NOTE: Chapter one does not reset the verse offset as it is considered introduction material.


VerseRef

IVerseRef VerseRef

Current verse reference


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

Clone this wiki locally