24#include "musx/util/Logger.h"
25#include "musx/util/Fraction.h"
27#include "BaseClasses.h"
28#include "CommonClasses.h"
33enum class PseudoTieMode;
41class SmartShapeEntryAssign;
45 class SmartShapeMeasureAssign;
54enum class DirectionType
68enum class EntryConnectionType
90 HeadRightLyricBaseline,
91 DotRightLyricBaseline,
92 DurationLyricBaseline,
210 bool calcIsPotentialTie(
const EntryInfoPtr& forStartEntry)
const;
213 bool calcIsPotentialForwardTie(
const EntryInfoPtr& forStartEntry)
const;
218 :
OthersBase(document, partId, shareMode, cmper) {}
230 std::shared_ptr<smartshape::ControlPointAdjustment>
ctlPtAdj;
231 std::shared_ptr<smartshape::EndPointAdjustment>
breakAdj;
430 startTermSeg = std::make_shared<TerminationSeg>(ptrToThis);
433 endTermSeg = std::make_shared<TerminationSeg>(ptrToThis);
436 fullCtlPtAdj = std::make_shared<smartshape::ControlPointAdjustment>(ptrToThis);
460 :
OthersBase(document, partId, shareMode, cmper) {}
481 std::shared_ptr<FontInfo>
font;
591 charParams = std::make_shared<CharParams>(ptrToThis);
594 solidParams = std::make_shared<SolidParams>(ptrToThis);
597 dashedParams = std::make_shared<DashedParams>(ptrToThis);
620 :
OthersBase(document, partId, shareMode, cmper, inci)
628 constexpr static std::string_view
XmlNodeName =
"smartShapeMeasMark";
664 :
DetailsBase(document, partId, shareMode, shapeNum, centerShapeNum)
669 std::shared_ptr<smartshape::ControlPointAdjustment>
ctlPtAdj;
674 startBreakAdj = std::make_shared<smartshape::EndPointAdjustment>(ptrToThis);
677 endBreakAdj = std::make_shared<smartshape::EndPointAdjustment>(ptrToThis);
680 ctlPtAdj = std::make_shared<smartshape::ControlPointAdjustment>(ptrToThis);
705 constexpr static std::string_view
XmlNodeName =
"smartShapeEntryMark";
DocumentPtr getDocument() const
Gets a reference to the Document.
Definition BaseClasses.h:108
virtual void integrityCheck(const std::shared_ptr< Base > &ptrToThis)
Allows a class to determine if it has been properly contructed by the factory and fix issues that it ...
Definition BaseClasses.h:154
ShareMode
Describes how this instance is shared between part and score.
Definition BaseClasses.h:91
Base class for classes that are contained by other classes.
Definition BaseClasses.h:224
ContainedClassBase(const MusxInstance< Base > &parent)
Constructs a ContainedClassBase object.
Definition BaseClasses.h:233
MusxInstance< ParentClass > getParent() const
Get the parent.
Definition BaseClasses.h:239
Wraps a reference to an existing object or owns a temporary value if needed.
Definition MusxInstance.h:179
Base class for all "details" types.
Definition BaseClasses.h:415
Base class for all "details" types that use entnum rather than cmper and cmper.
Definition BaseClasses.h:487
Wraps a frame of shared_ptr<const EntryInfo> and an index for per entry access. This class manages ow...
Definition Entries.h:512
Represents the default font settings for a particular element type.
Definition CommonClasses.h:66
Utility class that represents of a range of musical time.
Definition CommonClasses.h:422
Provides optional per-type extension methods for MusxInstanceList.
Definition MusxInstance.h:103
Wraps an EntryInfo instance and a note index.
Definition Entries.h:1553
Base class for all "others" types.
Definition BaseClasses.h:283
Represents a center shape for a others::SmartShape that spans three or more measures.
Definition SmartShape.h:652
static constexpr std::string_view XmlNodeName
The XML node name for this type.
Definition SmartShape.h:684
std::shared_ptr< smartshape::ControlPointAdjustment > ctlPtAdj
Manual adjustments made to this center shape.
Definition SmartShape.h:669
std::shared_ptr< smartshape::EndPointAdjustment > endBreakAdj
Adjustment at the end break (xml: <endBreakAdj>)
Definition SmartShape.h:668
CenterShape(const DocumentWeakPtr &document, Cmper partId, ShareMode shareMode, Cmper shapeNum, Cmper centerShapeNum)
Constructor.
Definition SmartShape.h:663
std::shared_ptr< smartshape::EndPointAdjustment > startBreakAdj
Adjustment at the start break (xml: <startBreakAdj>)
Definition SmartShape.h:667
void integrityCheck(const std::shared_ptr< Base > &ptrToThis) override
Allows a class to determine if it has been properly contructed by the factory and fix issues that it ...
Definition SmartShape.h:671
static const xml::XmlElementArray< CenterShape > & xmlMappingArray()
Required for musx::factory::FieldPopulator.
Assigns a smart shape to an entry.
Definition SmartShape.h:695
Cmper shapeNum
The Cmper of the others::SmartShape that is being assigned.
Definition SmartShape.h:703
SmartShapeEntryAssign(const DocumentWeakPtr &document, Cmper partId, ShareMode shareMode, EntryNumber entnum, Inci inci)
Constructor function.
Definition SmartShape.h:698
static const xml::XmlElementArray< SmartShapeEntryAssign > & xmlMappingArray()
Required for musx::factory::FieldPopulator.
static constexpr std::string_view XmlNodeName
The XML node name for this type.
Definition SmartShape.h:705
Hold parameters for LineStyle::Char.
Definition SmartShape.h:472
static const xml::XmlElementArray< CharParams > & xmlMappingArray()
Required for musx::factory::FieldPopulator.
char32_t lineChar
The character to use for the line.
Definition SmartShape.h:480
CharParams(const MusxInstance< Base > &parent)
Constructor function.
Definition SmartShape.h:475
std::shared_ptr< FontInfo > font
<fontID>, <fontSize>, <fontEfx>
Definition SmartShape.h:481
int baselineShiftEms
The UI says the units are "EMs", but it may be 1/100 EMs.
Definition SmartShape.h:482
Hold parameters for LineStyle::Dashed.
Definition SmartShape.h:499
Efix dashOff
Length of gap between dashes.
Definition SmartShape.h:505
Efix dashOn
Dash length.
Definition SmartShape.h:504
Efix lineWidth
Dashed line width.
Definition SmartShape.h:503
static const xml::XmlElementArray< DashedParams > & xmlMappingArray()
Required for musx::factory::FieldPopulator.
Hold parameters for LineStyle::Solid.
Definition SmartShape.h:489
Efix lineWidth
Solid line width.
Definition SmartShape.h:493
static const xml::XmlElementArray< SolidParams > & xmlMappingArray()
Required for musx::factory::FieldPopulator.
Represents a Finale smart shape custom line style.
Definition SmartShape.h:454
Evpu leftContX
Left continuation position X.
Definition SmartShape.h:533
Evpu rightEndX
Right end position X.
Definition SmartShape.h:535
bool lineBeforeRightEndText
Line adjustments "Right H: Before Text".
Definition SmartShape.h:522
Evpu leftStartX
Left start position X.
Definition SmartShape.h:531
SmartShapeCustomLine(const DocumentWeakPtr &document, Cmper partId, ShareMode shareMode, Cmper cmper)
Constructor function.
Definition SmartShape.h:459
LineCapType lineCapEndType
Line cap end type.
Definition SmartShape.h:516
util::EnigmaParsingContext getLeftContRawTextCtx(Cmper forPartId) const
Gets the raw text context for parsing the left-continuation text, or nullptr if none.
Definition SmartShape.h:562
Evpu centerFullY
Center full position Y.
Definition SmartShape.h:538
Efix lineCapStartHookLength
Length of start hook (if lineStyle is Hook)
Definition SmartShape.h:548
Cmper centerFullRawTextId
Cmper of texts::SmartShapeText. xml node is <centerFullRawTextID>
Definition SmartShape.h:528
Evpu centerAbbrY
Center abbreviation position Y.
Definition SmartShape.h:540
static const xml::XmlElementArray< SmartShapeCustomLine > & xmlMappingArray()
Required for musx::factory::FieldPopulator.
Efix lineCapEndHookLength
Length of end hook (if lineStyle is Hook)
Definition SmartShape.h:549
util::EnigmaParsingContext getCenterFullRawTextCtx(Cmper forPartId) const
Gets the raw text context for parsing the center-full text, or nullptr if none.
Definition SmartShape.h:576
Cmper leftStartRawTextId
Cmper of texts::SmartShapeText. xml node is <leftStartRawTextID>
Definition SmartShape.h:525
Evpu lineEndX
Line adjustments "End H" value.
Definition SmartShape.h:544
Evpu rightEndY
Right end position Y.
Definition SmartShape.h:536
Evpu lineEndY
Line adjustments "Start H" value.
Definition SmartShape.h:545
util::EnigmaParsingContext getRightEndRawTextCtx(Cmper forPartId) const
Gets the raw text context for parsing the right-end text, or nullptr if none.
Definition SmartShape.h:569
std::shared_ptr< CharParams > charParams
Parameters for char line style. Only allocated if lineStyle is LineStyle::Char.
Definition SmartShape.h:511
std::shared_ptr< DashedParams > dashedParams
Parameters for dashed line style. Only allocated if lineStyle is LineStyle::Dashed.
Definition SmartShape.h:513
LineStyle lineStyle
Line style.
Definition SmartShape.h:510
Evpu centerAbbrX
Center abbreviation position X.
Definition SmartShape.h:539
bool lineAfterLeftContText
Line adjustments "Cont H: After Text".
Definition SmartShape.h:523
Evpu leftContY
Left continuation position Y.
Definition SmartShape.h:534
Cmper lineCapStartArrowId
Cmper of start arrowhead (ArrowheadPreset or cmper of custom ShapeDef). xml node is <lineCapStartArro...
Definition SmartShape.h:517
bool lineAfterLeftStartText
Line adjustments "Start H: After Text".
Definition SmartShape.h:521
Evpu lineContX
Line adjustments "V" value (Finale syncs this with lineStartY.)
Definition SmartShape.h:546
Cmper rightEndRawTextId
Cmper of texts::SmartShapeText. xml node is <rightEndRawTextID>
Definition SmartShape.h:527
Evpu leftStartY
Left start position Y.
Definition SmartShape.h:532
bool makeHorz
"Horizontal"
Definition SmartShape.h:520
void integrityCheck(const std::shared_ptr< Base > &ptrToThis) override
Allows a class to determine if it has been properly contructed by the factory and fix issues that it ...
Definition SmartShape.h:586
Cmper centerAbbrRawTextId
Cmper of texts::SmartShapeText. xml node is <centerAbbrRawTextID>
Definition SmartShape.h:529
Cmper leftContRawTextId
Cmper of texts::SmartShapeText. xml node is <leftContRawTextID>
Definition SmartShape.h:526
util::EnigmaParsingContext getCenterAbbrRawTextCtx(Cmper forPartId) const
Gets the raw text context for parsing the center-abbreviated text, or nullptr if none.
Definition SmartShape.h:583
util::EnigmaParsingContext getLeftStartRawTextCtx(Cmper forPartId) const
Gets the raw text context for parsing the left-start, or nullptr if none.
Definition SmartShape.h:555
LineStyle
The type of line style.
Definition SmartShape.h:464
std::shared_ptr< SolidParams > solidParams
Parameters for solid line style. Only allocated if lineStyle is LineStyle::Solid.
Definition SmartShape.h:512
Cmper lineCapEndArrowId
Cmper of end arrowhead (ArrowheadPreset or cmper of custom ShapeDef). xml node is <lineCapStartArrowI...
Definition SmartShape.h:518
LineCapType
The type of line cap.
Definition SmartShape.h:468
Evpu lineStartX
Line adjustments "Start H" value.
Definition SmartShape.h:542
static constexpr std::string_view XmlNodeName
The XML node name for this type.
Definition SmartShape.h:600
Evpu centerFullX
Center full position X.
Definition SmartShape.h:537
Evpu lineStartY
Line adjustments "V" value (Finale syncs this with lineEndY.)
Definition SmartShape.h:543
LineCapType lineCapStartType
Line cap start type.
Definition SmartShape.h:515
Assigns a smart shape or center shape to a measure.
Definition SmartShape.h:616
static const xml::XmlElementArray< SmartShapeMeasureAssign > & xmlMappingArray()
Required for musx::factory::FieldPopulator.
static constexpr std::string_view XmlNodeName
The XML node name for this type.
Definition SmartShape.h:628
SmartShapeMeasureAssign(const DocumentWeakPtr &document, Cmper partId, ShareMode shareMode, Cmper cmper, Inci inci)
Constructor function.
Definition SmartShape.h:619
Cmper shapeNum
The Cmper of the SmartShape that is being assigned.
Definition SmartShape.h:624
Cmper centerShapeNum
Definition SmartShape.h:625
Represents the termination segment of the smart shape.
Definition SmartShape.h:224
std::shared_ptr< smartshape::ControlPointAdjustment > ctlPtAdj
Manual adjustments for the shape at this endpoint.
Definition SmartShape.h:230
static const xml::XmlElementArray< TerminationSeg > & xmlMappingArray()
Required for musx::factory::FieldPopulator.
std::shared_ptr< smartshape::EndPoint > endPoint
Endpoint information.
Definition SmartShape.h:228
void integrityCheck(const std::shared_ptr< Base > &ptrToThis) override
Allows a class to determine if it has been properly contructed by the factory and fix issues that it ...
Definition SmartShape.h:234
std::shared_ptr< smartshape::EndPointAdjustment > endPointAdj
Endpoint adjustment information.
Definition SmartShape.h:229
std::shared_ptr< smartshape::EndPointAdjustment > breakAdj
Definition SmartShape.h:231
Represents a Finale smart shape.
Definition SmartShape.h:207
bool calcIsSlur() const
Returns true if this smart shape is a type of slur.
Definition SmartShape.cpp:406
SlurAvoidAccidentalsState
The selection whether this shape avoids accidentals. (Only applicable for slurs.)
Definition SmartShape.h:328
@ Invalid
May not be used, but exists as a possibility in the Finale app.
SmartShape(const DocumentWeakPtr &document, Cmper partId, ShareMode shareMode, Cmper cmper)
Constructor function.
Definition SmartShape.h:217
Cmper lineStyleId
If non-zero, the SmartShapeCustomLine for this shape. Several ShapeType values use it....
Definition SmartShape.h:366
bool iterateEntries(std::function< bool(const EntryInfoPtr &)> iterator, DeferredReference< MusxInstanceList< StaffUsed > > staffList={}) const
Iterates all the entries that start within the staves and music range defined by the SmartShape....
Definition SmartShape.cpp:291
bool entryBased
Whether the shape is entry-based.
Definition SmartShape.h:351
bool calcIsDashed() const
Returns true if the smart shape's ShapeType uses a dashed line style.
Definition SmartShape.cpp:459
std::optional< LyricTextType > endLyricType
Definition SmartShape.h:373
NoteNumber startNoteId
If non-zero, the specific note with the entry that this shape starts from. (xml node is <startNoteID>...
Definition SmartShape.h:364
SystemBreakType
How this shape breaks across systems. Represents the choice between "Make Horizontal Over System Brea...
Definition SmartShape.h:343
@ Same
System break honors makeHorz setting over a system break. (Default)
EngraverSlurState
The selection for engraver slurs. (Only applicable for slurs.)
Definition SmartShape.h:317
@ Auto
Take the engraver slur setting from options::SmartShapeOptions::useEngraverSlurs. (Default value....
@ On
Use engraver slur behaviour.
@ Off
Do not use engraver slur behaviour.
bool calcAppliesTo(const EntryInfoPtr &entryInfo) const
Calculates if the smart shape applies to the specified entry.
Definition SmartShape.cpp:249
Cmper startLyricNum
The text block of the lyrics text if this is a word extension or hyphen smart shape.
Definition SmartShape.h:367
std::shared_ptr< TerminationSeg > endTermSeg
End termination segment.
Definition SmartShape.h:361
std::optional< LyricTextType > startLyricType
The type of lyrics block for startLyricNum. (xml node is <startLyricTag>)
Definition SmartShape.h:372
NoteNumber endNoteId
If non-zero, the specific note with the entry that this shape ends on. (xml node is <endNoteID>)
Definition SmartShape.h:365
bool makeVert
This option has no obvious setting in the Finale U.I. A plugin could perhaps set it,...
Definition SmartShape.h:356
bool hidden
Inverse of "Show" option.
Definition SmartShape.h:363
EngraverSlurState engraverSlurState
The engraver slur setting if this is a slur.
Definition SmartShape.h:357
ShapeType
All the smart shape types supported by Finale.
Definition SmartShape.h:267
@ TwoOctaveUp
Quindicesima (15ma) == 21.
@ DashLineDownLeft
Dashed line with downward left hook.
@ DashLineUpLeft
Dashed line with upward left hook. == 32.
@ CustomLine
User-created custom line with shape determined by lineStyleId. (xml value is "smartLine")
@ Crescendo
Crescendo hairpin. (xml value is "cresc")
@ SlurAuto
Slur with direction automatically determined.
@ DashSlurUp
Thin line dashed upward slur (tips point down).
@ Trill
Trill (includes "tr" symbol at the beginning). == 14.
@ DashLineUp
Dashed line with upward hook.
@ DashLineDownBoth
Dashed line with downward hooks on both ends. (xml value is "dashLineDown2")
@ SlurDown
Downward Slur (tips point up). This is the default and may not appear in the xml, but the text is in ...
@ WordExtension
Lyric word extension, used only with lyric assignments. (xml value is "wordExt")
@ TabSlide
Tab slide (a solid line that is often used as a note-attached glissando)
@ SolidLineDown
Solid line with downward right hook.
@ DashSlurDown
Thin line dashed downward slur (tips point up).
@ SolidLineDownBoth
Solid line with downward hooks on both ends. (xml value is "solidLineDown2")
@ Glissando
Glissando (shape is determined by lineStyleId) == 25 (24 has no value)
@ SolidLineDownUp
Solid line with downward left hook and upward right hook.
@ SolidLineUp
Solid line with upward right hook.
@ Decrescendo
Decrescendo hairpin. (xml value is "decresc")
@ BendHat
Bend hat (solid up-down line with a corner in the middle)
@ Hyphen
Lyric hyphen, used only with lyric assignments.
@ DashLineUpDown
Dashed line with upward left hook and downward right hook.
@ DashContourSlurAuto
Contoured line dashed slur with direction automatically determined.
@ DashContourSlurUp
Contoured line dashed upward slur (tips point down).
@ DashContourSlurDown
Contoured line dashed downward slur (tips point up).
@ SolidLineDownLeft
Solid line with downward left hook.
@ DashLineDown
Dashed line with downward hook. == 7.
@ DashLineUpBoth
Dashed line with upward hooks on both ends. (xml value is "dashLineUp2")
@ SolidLineUpBoth
Solid line with upward hooks on both ends. (xml value is "solidLineUp2")
@ OctaveDown
Ottava bassa. (8vb)
@ DashSlurAuto
Thin line dashed slur with direction automatically determined.
@ SolidLineUpDown
Solid line with upward left hook and downward right hook.
@ TrillExtension
Trill extension: only the wavy line. (xml value is "trillExt")
@ SolidLineUpLeft
Solid line with upward left hook.
@ TwoOctaveDown
Quindicesima bassa (15ma bassa)
@ SlurUp
Upward Slur (tips point down).
@ DashLineDownUp
Dashed line with downward left hook and upward right hook.
bool makeHorz
"Make Horizontal"
Definition SmartShape.h:354
SystemBreakType yBreakType
Whether a system break should honor makeHorz or do its opposite.
Definition SmartShape.h:359
Cmper endLyricNum
Definition SmartShape.h:368
CurveContourDirection calcContourDirection() const
Determines if a smart shape slur or curve has a fixed direction (up or down) or floats automatically.
Definition SmartShape.cpp:426
SlurAvoidAccidentalsState slurAvoidAcciState
The avoid accidentals settings if this is a slur.
Definition SmartShape.h:358
MusicRange createMusicRange() const
Creates a music range for the SmartShape in staff EDUs. If the SmartShape spans staves with different...
Definition SmartShape.cpp:281
bool noPresetShape
Legacy flag that may no longer be used.
Definition SmartShape.h:353
bool calcIsPseudoTie(utils::PseudoTieMode mode, const EntryInfoPtr &forStartEntry) const
Returns true if this slur is being used as a pseudo tie for the specified mode. It is used by #NoteIn...
Definition SmartShape.cpp:484
static const xml::XmlElementArray< SmartShape > & xmlMappingArray()
Required for musx::factory::FieldPopulator.
bool noPushEndStart
Legacy flag that should always be false in modern files going back to at least Finale 2000.
Definition SmartShape.h:355
bool rotate
Purpose unknown: always set for slurs.
Definition SmartShape.h:352
static constexpr std::string_view XmlNodeName
XML node name.
Definition SmartShape.h:443
std::shared_ptr< smartshape::ControlPointAdjustment > fullCtlPtAdj
If the shape is only on one staff system, this is where the manual edits are.
Definition SmartShape.h:362
std::shared_ptr< TerminationSeg > startTermSeg
Start termination segment.
Definition SmartShape.h:360
void integrityCheck(const std::shared_ptr< Base > &ptrToThis) override
Allows a class to determine if it has been properly contructed by the factory and fix issues that it ...
Definition SmartShape.h:426
MusicRange createGlobalMusicRange() const
Creates a music range for the SmartShape in global EDUs.
Definition SmartShape.cpp:286
ShapeType shapeType
Type of smart shape.
Definition SmartShape.h:350
NoteInfoPtr calcArpeggiatedTieToNote(const EntryInfoPtr &forStartEntry) const
Returns the tied-to note if this slur is being used as an arpeggiated tie on the specified entry.
Definition SmartShape.cpp:373
Represents the manual adjustments to a smart shape.
Definition SmartShape.h:104
DirectionType contextDir
The direction type for this adjustment.
Definition SmartShape.h:113
Evpu startCtlPtY
Vertical offset of the start control point.
Definition SmartShape.h:109
Evpu endCtlPtY
Vertical offset of the end control point.
Definition SmartShape.h:111
Evpu startCtlPtX
Horizontal offset of the start control point.
Definition SmartShape.h:108
static const xml::XmlElementArray< ControlPointAdjustment > & xmlMappingArray()
Required for musx::factory::FieldPopulator.
Evpu endCtlPtX
Horizontal offset of the end control point.
Definition SmartShape.h:110
bool active
If true, this adjustment should be used when it is applicable.
Definition SmartShape.h:112
Represents the endpoint adjustment of a smart shape or center shape.
Definition SmartShape.h:170
Evpu calcVertOffset() const
Returns the effective vertical offset, taking into account whether the endpoint is active.
Definition SmartShape.h:185
EntryConnectionType contextEntCnct
The entry conntection type for this adjustment.
Definition SmartShape.h:178
bool calcHasVerticalEquivalentConnection(const EndPointAdjustment &other) const
Returns true if the two intances of EndPointAdjustment have connection types that allow their vertica...
Definition SmartShape.cpp:187
bool active
If true, this adjustment should be used when it is applicable (xml node is <on>)
Definition SmartShape.h:176
Evpu calcHorzOffset() const
Returns the effective horizontal offset, taking into account whether the endpoint is active.
Definition SmartShape.h:181
static const xml::XmlElementArray< EndPointAdjustment > & xmlMappingArray()
Required for musx::factory::FieldPopulator.
Evpu horzOffset
Horizontal offset (xml node is <x>)
Definition SmartShape.h:174
Evpu vertOffset
Vertical offset (xml node is <y>)
Definition SmartShape.h:175
DirectionType contextDir
The direction type for this adjustment.
Definition SmartShape.h:177
Represents an endpoint of the smart shape.
Definition SmartShape.h:122
util::Fraction calcGlobalPosition() const
Calculates the global position of the endpoint within its measure, based on whether it is measure- or...
Definition SmartShape.cpp:145
Edu eduPosition
Edu position of endpoint (xml node is <edu>)
Definition SmartShape.h:128
bool calcIsAssigned() const
Return true if this endpoint is properly assigned to its measure and to its entry (for entry-attached...
Definition SmartShape.cpp:123
util::Fraction calcPosition() const
Calculates the staff-level position of the endpoint within its measure, based on whether it is measur...
Definition SmartShape.cpp:134
int compareMetricPosition(const EndPoint &other) const
Compares the metric position of two endpoints.
Definition SmartShape.cpp:164
EntryNumber entryNumber
Entry number. Zero if the endpoint is not entry-attached. (xml node is <entryNum>)
Definition SmartShape.h:129
EntryInfoPtr calcAssociatedEntry(bool findExact=false) const
Calculates the entry associated with the endpoint.
Definition SmartShape.cpp:35
MusxInstance< details::SmartShapeEntryAssign > getEntryAssignment() const
Gets the entry assignment for this endpoint or null if none. Always null for measure-assigned endpoin...
Definition SmartShape.cpp:101
static const xml::XmlElementArray< EndPoint > & xmlMappingArray()
Required for musx::factory::FieldPopulator.
MusxInstance< others::SmartShapeMeasureAssign > getMeasureAssignment() const
Gets the measure assignment for this endpoint or null if none.
Definition SmartShape.cpp:82
MeasCmper measId
Measure ID (xml node is <meas>)
Definition SmartShape.h:127
StaffCmper staffId
Staff ID (xml node is <inst>)
Definition SmartShape.h:126
Wrapper class for interpreting and rendering Enigma-style strings with insert handling.
Definition EnigmaString.h:424
A class to represent fractions with integer m_numerator and m_denominator, automatically reduced to s...
Definition Fraction.h:38
CurveContourDirection
Curve contour direction for ties and slurs.
Definition EnumClasses.h:62
int16_t MeasCmper
Enigma meas Cmper (may be negative when not applicable)
Definition Fundamentals.h:64
int32_t Efix
EFIX value (64 per EVPU, 64*288=18432 per inch)
Definition Fundamentals.h:60
std::shared_ptr< const T > MusxInstance
Defines the type of a musx instance stored in a pool.
Definition MusxInstance.h:39
@ None
Do not override the existing enharmonic state. (Default)
int16_t Inci
Enigma "incident" key type.
Definition Fundamentals.h:56
int32_t Evpu
EVPU value (288 per inch)
Definition Fundamentals.h:57
uint16_t Cmper
Enigma "comperator" key type.
Definition Fundamentals.h:55
int32_t Edu
"Enigma Durational Units" value (1024 per quarter note)
Definition Fundamentals.h:61
ArrowheadPreset
Finale-defined arrowhead presets.
Definition EnumClasses.h:52
std::weak_ptr< Document > DocumentWeakPtr
Shared weak Document pointer.
Definition BaseClasses.h:57
int32_t EntryNumber
Entry identifier.
Definition Fundamentals.h:69
uint16_t NoteNumber
Note identifier.
Definition Fundamentals.h:70
int16_t StaffCmper
Enigma staff (staffId) Cmper (may be negative when not applicable)
Definition Fundamentals.h:65
std::vector< XmlElementDescriptor< T > > XmlElementArray
an array type for XmlElementDescriptor instances.
Definition XmlInterface.h:127
object model for musx file (enigmaxml)
Definition BaseClasses.h:36