MUSX Document Model
Loading...
Searching...
No Matches
musx::util::EnigmaStyles Class Reference

Text styles for enigma strings. More...

#include <EnigmaString.h>

Public Types

enum class  CategoryTracking { None , MusicFont , TextFont , NumberFont }
 Specifies is the current enigma style tracks an expressions marking category font. When the marking category font changes, the Finale U.I. searchs all enigma strings for the category and modifies any tracked fonts to match the new settings in the marking category. See musx::dom::others::MarkingCategory. More...
 

Public Member Functions

 EnigmaStyles (const std::weak_ptr< dom::Document > &document)
 constructor
 

Public Attributes

std::shared_ptr< dom::FontInfofont
 the font to use
 
CategoryTracking categoryFont {}
 how this font is tracked against a marking category
 
dom::Evpu baseline {}
 baseline setting (positive means up)
 
dom::Evpu superscript {}
 superscript setting added to baseline (positive means up)
 
int tracking {}
 inter-character tracking in EMs (1/1000 font size)
 

Detailed Description

Text styles for enigma strings.

Member Enumeration Documentation

◆ CategoryTracking

Specifies is the current enigma style tracks an expressions marking category font. When the marking category font changes, the Finale U.I. searchs all enigma strings for the category and modifies any tracked fonts to match the new settings in the marking category. See musx::dom::others::MarkingCategory.

Note
Finale never implemented number fonts in the U.I., and it is possible they do not occur in real-world Finale files. However, the enigma data structures support number fonts.
Enumerator
None 

no category tracking

MusicFont 

tracks the category's music font

TextFont 

tracks the category's text font

NumberFont 

tracks the category's number font (not implemented in Finale U.I.)