107 static std::vector<std::string>
parseComponents(
const std::string& input);
120 static std::string
trimFontTags(
const std::string& input);
123 static std::string
trimTags(
const std::string& input);
Represents the default font settings for a particular element type.
Definition CommonClasses.h:83
Static class that provides utilties to extract information from enigma strings.
Definition EnigmaString.h:39
static std::string trimTags(const std::string &input)
Trims all enigma tags from an enigma string, leaving just the plain text.
Definition EnigmaString.cpp:144
static bool startsWithFontCommand(const std::string &text)
Returns true if the enigma string starts with a font command.
Definition EnigmaString.cpp:33
AccidentalStyle
Enumeration to specify the type of accidental replacement.
Definition EnigmaString.h:48
@ Smufl
Use SMuFL notation-specific accidentals.
@ Ascii
Use ASCII substitutions for accidentals.
@ Unicode
Use Unicode text accidentals.
static std::vector< std::string > parseComponents(const std::string &input)
Parses an enigma text insert into its constituent components.
Definition EnigmaString.cpp:43
static bool parseFontCommand(const std::string &fontTag, dom::FontInfo &fontInfo)
Incorporates an enigma font command into the supplied dom::FontInfo instance.
Definition EnigmaString.cpp:95
static std::string trimFontTags(const std::string &input)
Trims all font tags from an enigma string.
Definition EnigmaString.cpp:128
static std::string replaceAccidentalTags(const std::string &input, AccidentalStyle style=AccidentalStyle::Ascii)
Replaces ^flat() and ^sharp() inserts with 'b' and '#'.
Definition EnigmaString.cpp:179
object model for musx file (enigmaxml)
Definition BaseClasses.h:32