25#include <unordered_map>
30#include "BaseClasses.h"
31#include "CommonClasses.h"
61 :
TextsBase(document, partId, shareMode, textNumber)
64 throw std::invalid_argument(
"invalid text type value provided to FileInfoText constructor");
78 throw std::invalid_argument(
"invalid text type value provided to FileInfoText constructor");
106 throw std::logic_error(
"File Info text found with invalid text number " + std::to_string(textNumber));
126 std::vector<std::shared_ptr<const LyricsSyllableInfo>>
syllables;
139 using LyricsTextBase::LyricsTextBase;
154 using LyricsTextBase::LyricsTextBase;
169 using LyricsTextBase::LyricsTextBase;
ShareMode
Describes how this instance is shared between part and score.
Definition BaseClasses.h:91
Base class for all text blocks.
Definition BaseClasses.h:557
Cmper getTextNumber() const
Returns the raw text number.
Definition BaseClasses.h:577
TextsBase(const DocumentWeakPtr &document, Cmper partId, ShareMode shareMode, Cmper textNumber)
Constructs a TextsBase object.
Definition BaseClasses.h:569
Contains block text (Finale Text Tool, both page- and measure-attached)
Definition Texts.h:182
static constexpr std::string_view XmlNodeName
The XML node name for this type.
Definition Texts.h:189
Contains bookmark description text.
Definition Texts.h:229
static constexpr std::string_view XmlNodeName
The XML node name for this type.
Definition Texts.h:236
Contains text blocks associated with text expressions.
Definition Texts.h:212
static constexpr std::string_view XmlNodeName
The XML node name for this type.
Definition Texts.h:219
Contains File Info text (from Finale's Score Manager)
Definition Texts.h:50
static constexpr std::string_view XmlNodeName
The XML node name for this type.
Definition Texts.h:114
TextType
Represents various text types for the file header.
Definition Texts.h:89
@ Subtitle
Subtitle of the piece.
@ Lyricist
Lyricist the piece.
@ Copyright
Copyright information for the piece.
@ Arranger
Arranger of the piece.
@ Description
Description of the piece.
@ Title
Title of the piece.
@ Composer
Composer of the piece.
FileInfoText(const DocumentWeakPtr &document, Cmper textNumber)
Constructs a FileInfoText object.
Definition Texts.h:74
TextType getTextType() const
Returns the TextType of the current instance.
Definition Texts.h:102
FileInfoText(const DocumentWeakPtr &document, Cmper partId, ShareMode shareMode, Cmper textNumber)
Constructs a FileInfoText object.
Definition Texts.h:60
Contains chorus text for lyrics.
Definition Texts.h:152
static constexpr std::string_view XmlNodeName
The XML node name for this type.
Definition Texts.h:159
Contains section text for lyrics.
Definition Texts.h:167
static constexpr std::string_view XmlNodeName
The XML node name for this type.
Definition Texts.h:174
Base class for lyrics text.
Definition Texts.h:122
void createSyllableInfo()
Creates the syllables array. Used by the factory but available at any time.
Definition Texts.cpp:48
std::vector< std::shared_ptr< const LyricsSyllableInfo > > syllables
the syllable info for the lyric text, constructed by the factory
Definition Texts.h:126
Contains verse text for lyrics.
Definition Texts.h:137
static constexpr std::string_view XmlNodeName
The XML node name for this type.
Definition Texts.h:144
Contains text blocks associated with custom line smart shapes.
Definition Texts.h:197
static constexpr std::string_view XmlNodeName
The XML node name for this type.
Definition Texts.h:204
uint16_t Cmper
Enigma "comperator" key type.
Definition Fundamentals.h:55
std::weak_ptr< Document > DocumentWeakPtr
Shared weak Document pointer.
Definition BaseClasses.h:57
object model for musx file (enigmaxml)
Definition BaseClasses.h:36