|
| bool | iterateStylesForSyllable (size_t syllableIndex, util::EnigmaString::TextChunkCallback callback) const |
| | Parse a given syllable into chunks with EnigmaStyles for that chunk. In the most common case, the callback is called exactly once. However, this design allows for detecting uncommon cases of style changes within a syllable.
|
| |
| void | createSyllableInfo (const MusxInstance< TextsBase > &ptrToThis) |
| | Creates the syllables array. Used by the factory but available at any time.
|
| |
| | TextsBase (const DocumentWeakPtr &document, Cmper partId, ShareMode shareMode, Cmper textNumber) |
| | Constructs a TextsBase object.
|
| |
|
| TextsBase (const TextsBase &)=default |
| | explicit default copy constructor
|
| |
|
| TextsBase (TextsBase &&) noexcept=default |
| | explicit default move constructor
|
| |
| | TextsBase (const DocumentWeakPtr &document, Cmper partId, ShareMode shareMode, Cmper textNumber) |
| | Constructs a TextsBase object.
|
| |
|
| TextsBase (const TextsBase &)=default |
| | explicit default copy constructor
|
| |
|
| TextsBase (TextsBase &&) noexcept=default |
| | explicit default move constructor
|
| |
|
Cmper | getTextNumber () const |
| | Returns the raw text number.
|
| |
|
void | setTextNumber (Cmper textNumber) |
| | Sets the raw text number.
|
| |
| util::EnigmaParsingContext | getRawTextCtx (const MusxInstance< TextsBase > &ptrToThis, Cmper forPartId, std::optional< Cmper > forPageId=std::nullopt, util::EnigmaString::TextInsertCallback defaultInsertFunc=util::EnigmaString::defaultInsertsCallback) const |
| | Gets the raw text block.
|
| |
| Cmper | getSourcePartId () const |
| | Gets the source partId for this instance. If an instance is fully shared with the score, the source is SCORE_PARTID. If an instance is partially shared or non shared, the source is the ID of the part that sourced it.
|
| |
|
ShareMode | getShareMode () const |
| | Gets the sharing mode for this instance.
|
| |
| virtual void | integrityCheck (const std::shared_ptr< EnigmaBase > &ptrToThis) |
| | Performs a final consistency check after population.
|
| |
|
virtual bool | requireAllFields () const |
| | Returns true if all fields are required for valid input.
|
| |
|
virtual | ~DocumentElement () noexcept(false)=default |
| | Virtual destructor for polymorphic behavior.
|
| |
| DocumentPtr | getDocument () const |
| | Gets a reference to the Document.
|
| |
|
Cmper | getPartId () const |
| | Gets the part id associated with this instance.
|
| |
|
| enum class | ShareMode { All
, Partial
, None
} |
| | Describes how this instance is shared between part and score. More...
|
| |
|
TextsBase & | operator= (const TextsBase &other) |
| | Copies the text without changing the destination DOM instance's document, source part, sharing mode, or text number.
|
| |
|
TextsBase & | operator= (TextsBase &&other) noexcept |
| | Moves the text without changing the destination DOM instance's document, source part, sharing mode, or text number.
|
| |
| | EnigmaBase (const DocumentWeakPtr &document, Cmper partId, ShareMode shareMode) |
| | Constructs the base class.
|
| |
|
| EnigmaBase (const EnigmaBase &)=default |
| | explicit default copy constructor
|
| |
|
| EnigmaBase (EnigmaBase &&) noexcept=default |
| | explicit default move constructor
|
| |
|
EnigmaBase & | operator= (const EnigmaBase &) |
| | Copy assignment preserves the destination DOM instance's document, source part, and sharing mode.
|
| |
|
EnigmaBase & | operator= (EnigmaBase &&) noexcept |
| | Move assignment preserves the destination DOM instance's document, source part, and sharing mode.
|
| |
| | DocumentElement (const DocumentWeakPtr &document, Cmper partId) |
| | Constructs the document element.
|
| |
|
| DocumentElement (const DocumentElement &)=default |
| | explicit default copy constructor
|
| |
|
| DocumentElement (DocumentElement &&) noexcept=default |
| | explicit default move constructor
|
| |
|
DocumentElement & | operator= (const DocumentElement &) |
| | Copy assignment preserves the destination DOM instance's document and part ID.
|
| |
|
DocumentElement & | operator= (DocumentElement &&) noexcept |
| | Move assignment preserves the destination DOM instance's document and part ID.
|
| |
Base class for lyrics text.