11 #include "ff_basecollection.h"
14 #ifdef PDK_FRAMEWORK_ENTRIES
29 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
40 void _SetNoteFlag(FLAG_32 flag,
bool state)
47 bool _GetNoteFlag(FLAG_32 flag)
const {
return GetBitFlag(_pNote->flag, flag); }
52 virtual const char*
ClassName() {
return "FCNote"; }
60 _shouldbeerased =
false;
63 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
69 ENTNUM _GetEntryNumber();
72 EXNOTE* _GetEXNOTE() {
return _pNote; }
75 void _UpdateEXNOTE(EXNOTE* pNote) { _pNote = pNote; }
121 #ifdef PDK_FRAMEWORK_DIAGNOSE
122 if ((_pNote->noteID < 0) || (_pNote->noteID > 32))
124 DebugOutDigit(
"Illegal Note ID value in FCNote::GetDisplacement(): ", _pNote->noteID);
157 bool GetSpacing()
const {
return !_GetNoteFlag(NF_NOSPACING); }
175 bool GetTie()
const {
return _GetNoteFlag(NF_TIESTART); }
202 #ifdef PDK_FRAMEWORK_PREFS
225 bool writtenpitch =
false);
306 #endif // #ifdef PDK_FRAMEWORK_PREFS
336 void SetSpacing(
bool state) { _SetNoteFlag(NF_NOSPACING, !state); }
346 void SetPlayback(
bool state) { _SetNoteFlag(NF_NOPLAYBACK, !state); }
388 _pNote->noteID = noteid;
396 void SetTie(
bool value) { _SetNoteFlag(NF_TIESTART, value); }
521 #ifdef PDK_FRAMEWORK_PREFS
557 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
562 void _SetNoteDetailEntryFlag(
bool state);
568 bool _GetNoteDetailEntryFlag();
574 void _SetPerformanceDataEntryFlag(
bool state);
580 bool _GetPerformanceDataEntryFlag();
586 void _SetSpecialAltsEntryFlag(
bool state);
592 bool _GetSpecialAltsEntryFlag();
599 void _SetCrossStaffEntryFlag(
bool state);
605 bool _GetCrossStaffEntryFlag();
611 void _SetArticulationEntryFlag(
bool state);
629 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
635 bool _GetShouldEraseState() {
return _shouldbeerased; }
639 #ifdef PDK_FRAMEWORK_DEBUG
649 #endif // #ifdef PDK_FRAMEWORK_ENTRIES
651 #ifdef PDK_FRAMEWORK_ENTRIES
666 virtual const char*
ClassName() {
return "FCNotePitch"; }
670 memset(&_exnote, 0,
sizeof(_exnote));
676 memcpy(&_exnote , pNote->_GetEXNOTE(),
sizeof(EXNOTE));
693 TimeEdu32 _actualduration;
712 virtual const char*
ClassName() {
return "FCNotePitches"; }
714 #ifdef PDK_FRAMEWORK_PREFS
773 #ifdef PDK_FRAMEWORK_DEBUG
783 #endif // #ifdef PDK_FRAMEWORK_ENTRIES
786 #ifdef PDK_FRAMEWORK_ENTRIES
810 #ifndef DOXYGEN_SHOULD_SKIP_THIS
812 EXTGF2005a* _pFrameRef;
813 twobyte _framemeasure;
819 void _SetXefFlag(FLAG_16 mask,
bool state)
824 void _SetEfFlag(FLAG_32 mask,
bool state)
829 bool _GetXefFlag(FLAG_32 mask)
const
834 bool _GetEfFlag(FLAG_32 mask)
const
839 void _UpdateNoteCollection();
845 twobyte _FindUniqueNoteID();
874 SIXTEENTH_NOTE = 256,
876 THIRTYSECOND_NOTE = 128,
878 SIXTYFOURTH_NOTE = 64,
884 virtual const char*
ClassName() {
return "FCNoteEntry"; }
889 _pArticulationCache = NULL;
891 _framemeasure = pFrame->meas;
892 _framestaff = FX_SlotToInst(pFrame->staffSlot, pFrame->iuList);
894 _pPreviousEntry = pPrevious;
896 _UpdateNoteCollection();
902 #ifndef DOXYGEN_SHOULD_SKIP_THIS
908 void _AttachNextEntry(
FCNoteEntry* pNext) { _pNextEntry = pNext; }
913 void _AttachPreviousEntry(
FCNoteEntry* pNext) { _pPreviousEntry = pNext; }
917 EXENTRY* _GetEXENTRY() {
return _pEntryRef; }
921 EXTGF2005a* _GetTGFRef() {
return _pFrameRef; }
931 void _TGFUpdate(EXTGF2005a* pTGF, EXENTRY* pEntry)
937 for (
int i = 0; i <
GetCount(); i++)
940 pNote->_UpdateEXNOTE(&pEntry->note[i]);
945 FCArticulations* _GetArticulationCache() {
return _pArticulationCache; }
992 if (!_pPreviousEntry)
return NULL;
993 if (_pPreviousEntry->_GetTGFRef() != _GetTGFRef())
return NULL;
994 return _pPreviousEntry;
1006 #ifdef PDK_FRAMEWORK_LUAFRIENDLY
1020 #ifdef PDK_FRAMEWORK_LUAFRIENDLY
1034 #ifdef PDK_FRAMEWORK_LUAFRIENDLY
1048 #ifdef PDK_FRAMEWORK_LUAFRIENDLY
1061 #ifndef DOXYGEN_SHOULD_SKIP_THIS
1067 void _PackEXENTRYNotes();
1073 bool _GetTupletDef(twobyte inci, EDTTuplet2005* pTuplet);
1075 #ifdef PDK_FRAMEWORK_PREFS
1080 bool _CalcRestFlippable();
1086 bool _CalcRestBeamedGroupEnd();
1124 void SetSpacing(
bool state) { _SetXefFlag(XEF_NOSPACING, !state); }
1132 void SetVisible(
bool state) { _SetEfFlag(EF_IGNOREBIT, !state); }
1256 void SetStemUp(
bool state) { _SetEfFlag(EF_UPSTEMBIT, state); }
1553 TimeEdu32 timeedu_try = 8192;
1556 if (timeedu_try & duration)
return timeedu_try;
1650 if (duration == 0)
return 0;
1651 if (duration > EIGHTH_NOTE)
return 0;
1652 twobyte retvalue = 1;
1653 TimeEdu32 tryvalue = EIGHTH_NOTE;
1656 if (tryvalue == duration)
return retvalue;
1886 bool IsNote() {
return _GetEfFlag(EF_NOTEBIT); }
1894 bool IsRest() {
return !_GetEfFlag(EF_NOTEBIT); }
1963 if (!
Next())
return true;
1977 #ifdef PDK_FRAMEWORK_PREFS
2017 #ifdef PDK_FRAMEWORK_PREFS
2032 #ifdef PDK_FRAMEWORK_PREFS
2255 #ifndef PDK_FRAMEWORK_LUAFRIENDLY
2455 #ifdef PDK_FRAMEWORK_DEBUG
2456 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
2457 void DebugOutLocation()
2459 FCString location(
"Location - Staff: ");
2460 location.AppendInteger(
GetStaff());
2461 location.AppendCString(
" Measure: ");
2463 location.AppendCString(
" Duration Pos: ");
2491 #endif // #ifdef PDK_FRAMEWORK_ENTRIES
2495 #ifdef PDK_FRAMEWORK_ENTRIES
2506 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
2512 void _ClearTGF(EXTGF2005a* pTgf)
2514 FX_DeleteEXENTRY( pTgf, 0, pTgf->numEntries );
2518 void _CopyEntries(EXTGF2005a* pSourceTgf, EXTGF2005a* pDestinationTgf);
2532 for (
int i = 0; i <
GetCount(); i++)
2544 #endif // #ifdef PDK_FRAMEWORK_ENTRIES
2547 #ifdef PDK_FRAMEWORK_ENTRIES
2560 #endif // #ifdef PDK_FRAMEWORK_ENTRIES
2562 #ifdef PDK_FRAMEWORK_ENTRIES
2581 bool _findalternatenotation;
2585 bool _findvoice2launch;
2610 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
2617 EXTGF2005a* _frames[20];
2629 void _SetupEntries();
2633 virtual const char*
ClassName() {
return "FCNoteEntryCell"; }
2642 _findvisible =
true;
2646 _findalternatenotation =
true;
2647 _findcutaway =
true;
2650 _findvoice2launch =
true;
2653 _loadmirrors =
true;
2656 for (
int i = 0; i < FX_GetMaxLayers(); i++) _frames[i] = NULL;
2713 for (
int i = 1; i <
GetCount(); i++)
2733 for (
int i = 0; i <
GetCount(); i++)
2752 if (!_frames[layerno - 1])
return -1;
2753 return FX_GetTGFDuration(_frames[layerno - 1]);
2763 for (
int i = 0; i < FX_GetMaxLayers(); i++)
2765 if (_frames[i]) FX_FreeTGF(_frames[i]);
3213 #endif // #ifdef PDK_FRAMEWORK_ENTRIES
3215 #ifdef PDK_FRAMEWORK_ENTRIES
3231 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
3232 twobyte _layerindex;
3234 twobyte _startmeasure;
3235 twobyte _endmeasure;
3238 bool _usevisiblelayeronly;
3241 EXTGF2005a** _tgfarray;
3247 void _SetupEntries();
3255 bool _LoadRedir(twobyte layer_redir,
3256 twobyte staff_redir,
3257 twobyte startmeasure_redir);
3269 EXTGF2005a* _SilentTGFUpdate(EXTGF2005a* pOldTGF);
3278 EXTGF2005a* _GetNextTGFRef(EXTGF2005a* pTGF)
3280 for (
int i = 0; i < _tgfcounter - 1; i++)
3282 if (_tgfarray[i] == pTGF)
return _tgfarray[i + 1];
3291 virtual const char*
ClassName() {
return "FCNoteEntryLayer"; }
3304 FCNoteEntryLayer(twobyte layer, twobyte staff, twobyte startmeas = 1, twobyte endmeas = -1);
3316 for (
int i = 0; i < _tgfcounter; i++) {
3317 if (_tgfarray[i]) FX_FreeTGF(_tgfarray[i]);
3318 _tgfarray[i] = NULL;
3320 delete [] _tgfarray;
3371 for (
int i = 0; i < _tgfcounter; i++) {
3372 if (_tgfarray[i]) _ClearTGF(_tgfarray[i]);
3479 twobyte staff_redir,
3480 twobyte startmeasure_redir);
3482 #ifdef PDK_FRAMEWORK_LUAFRIENDLY
3485 twobyte staff_redir,
3486 twobyte startmeasure_redir);
3571 if (pEntry1->
Next() != pEntry2)
return false;
3636 #ifdef PDK_FRAMEWORK_DEBUG
3646 for (
int i = 0; i < _tgfcounter; i++) {
3674 bool _usevisiblelayersonly;
3687 _startmeasure = startmeas;
3688 _endmeasure = endmeas;
3689 _usevisiblelayersonly =
true;
3697 bool result =
false;
3698 for (
int layer = 0; layer < FX_GetMaxLayers(); layer++)
3702 if (pNoteEntryLayer->
Load()) result =
true;
3703 Add(pNoteEntryLayer);
3711 for (
int layeridx = 0; layeridx <
GetCount(); layeridx++)
3714 if (!pLayer->
Save())
return false;
3723 _usevisiblelayersonly = value;
3735 #endif // #ifdef PDK_FRAMEWORK_ENTRIES
TimeEdu32 CalcFrameDuration(int measurenumber)
Calculates the duration of a frame (in one measure) based on the entries in the frame.
Definition: finaleframework.cpp:18199
twobyte CalcNoteheadWidth()
Returns the width of the notehead.
Definition: finaleframework.cpp:15185
__FCBase * GetItemAt(int index)
Returns the object at the index position. Index is 0-based.
Definition: finaleframework.cpp:12797
bool Load()
Loads the note entries for the layer. Mirror frames are loaded based on the GetLoadMirrors setting...
Definition: finaleframework.cpp:17836
void SetCrossStaff(bool state)
Sets the cross staff state for the entry.
Definition: ff_noteframe.h:1170
FCNoteEntryLayer * CreateCloneEntries(twobyte layerindex_redir, twobyte staff_redir, twobyte startmeasure_redir)
Creates a cloned copy that can be saved as a copy. The cloned copy is recreated from reloaded Finale ...
Definition: finaleframework.cpp:18149
void SetVoice2Launch(bool state)
Sets the entry that controls the launch of voice 2.
Definition: ff_noteframe.h:1154
void MakeNote()
Turns the entry into a note.
Definition: finaleframework.cpp:17342
FCNoteEntry * FindPreviousEntryPos(TimeEdu32 pos)
Finds the first entry that appears earlier than the indicated position. All loaded layers will be sca...
Definition: finaleframework.cpp:17782
virtual void DebugDataDump()
Outputs a memory dump of the data block in the object for debugging purposes.
Definition: finaleframework.cpp:555
void SetTie(bool value)
Sets the tie state for the note.
Definition: ff_noteframe.h:396
FCNoteEntry * GetItemAt(int index)
Overridden GetItemAt() method.
Definition: ff_noteframe.h:3635
bool GetPlayback() const
Gets the playback state of the note entry.
Definition: ff_noteframe.h:1428
bool Load()
Loads the note entries for the cell. Which layers that will be loaded are controlled by the SetLoadLa...
Definition: finaleframework.cpp:17455
void SetRaiseLower(twobyte amount)
Raises or lowers the pitch of the note.
Definition: ff_noteframe.h:374
bool CalcMultiLayeredCell()
Returns true if the entry is in a cell with multiple layers of music.
Definition: finaleframework.cpp:16106
FCNoteEntry * CalcLastTupletEntry(FCTuplet *pTuplet)
Scans forward and returns the end entry of a tuplet that's connected to this entry object...
Definition: finaleframework.cpp:17080
void ClearAll()
Destroys all the objects in the collection and empties the collection.
Definition: ff_basecollection.h:130
twobyte GetDisplacement() const
Returns the vertical note position on the staff.
Definition: ff_noteframe.h:119
twobyte CalcStemLength()
Definition: finaleframework.cpp:16733
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_noteframe.h:2558
twobyte CalcHighestDisplacement()
Calculates the highest displacement value found in the entry's chord.
Definition: finaleframework.cpp:16079
virtual void DebugDump()
Outputs the class data/information for debugging purposes.
Definition: ff_noteframe.h:640
void SetAccidental(bool state)
Sets the accidental state for the note.
Definition: ff_noteframe.h:314
bool IsPartOfTupletParam(TupletInfo *pInfoStorage=NULL)
Returns true if the entry is part of a tuplet (parameter version).
Definition: finaleframework.cpp:17148
bool GetGraceNote() const
Gets the grace note state of the note entry.
Definition: ff_noteframe.h:1467
bool SetString(FCString *pString, FCKeySignature *pKey, bool writtenpitch)
Changes the note based on the string representation. See FCNote::GetString for syntax.
Definition: finaleframework.cpp:15601
TimeEdu32 GetActualDuration()
Returns the actual duration.
Definition: ff_noteframe.h:768
void SetFindCutaway(bool state)
Sets if entries that are hidden by cutaway notation should be searched in the 'Find' methods...
Definition: ff_noteframe.h:3167
FCNoteEntry * CreateShallowClone()
Creates a shallow copy of the note entry, meaning that the reference to the entry, TGF and notes are the same. The object instance is new, though.
Definition: finaleframework.cpp:17386
Collection class to load all layers for a staff, to be used when the entries in the layers need to in...
Definition: ff_noteframe.h:3668
ENTNUM GetEntryNumber() const
Returns the internal entry number (ID) for the note entry.
Definition: ff_noteframe.h:1059
FCTuplets * CreateTuplets()
Creates a collection for all the tuplets connected to the note entry.
Definition: finaleframework.cpp:16034
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_noteframe.h:666
twobyte CalcPitchRaiseLower(bool writtenpitch)
Returns the number of sharps or flats the note actually has in the key signature. ...
Definition: finaleframework.cpp:15293
Class for attaching an tuplet to an entry.
Definition: ff_entrydetails.h:1647
static void DebugOut(const char *pszLine)
Static method to output a line of text for debugging purposes.
Definition: finaleframework.cpp:465
FCNoteEntry * FindEntryStartPosition(TimeEdu32 pos, int layerno)
Finds the entry that starts exacly at the indicated measure position in the indicated layer (or in an...
Definition: finaleframework.cpp:17706
static void MarkMetricsForRebuild()
Static method that sets the refresh flag, so the next Load call will rebuild the metrics data...
Definition: ff_base.h:3290
FCNoteEntryLayers(twobyte staff, twobyte startmeas=1, twobyte endmeas=-1)
The constructor.
Definition: ff_noteframe.h:3684
FCNote * CalcLowestPercussionNote()
For percussion notation, calculates the bottommost percussion note.
Definition: finaleframework.cpp:16310
FCArticulations * CreateArticulations()
Creates a collection for all the articulations attached to the note entry.
Definition: finaleframework.cpp:15985
void SetCrossStaff(bool state)
Sets the cross staff state for the note.
Definition: ff_noteframe.h:417
bool GetBeamBeat() const
Gets the "beam/beat" flag state of the entry.
Definition: ff_noteframe.h:1372
virtual void DebugDump()
Outputs the class data/information for debugging purposes.
Definition: ff_basecollection.h:309
void SetUseVisibleLayersOnly(bool value)
Sets the value to if only visible layers should be loaded or not.
Definition: ff_noteframe.h:3721
bool GetSpacing() const
Gets the music spacing state of the note entry.
Definition: ff_noteframe.h:1451
bool GetTieBackwards() const
Gets the backwards tie state for the note.
Definition: ff_noteframe.h:183
void SetFlatBeam(bool state)
Sets the "flat beam" state of the entry.
Definition: ff_noteframe.h:1196
twobyte CalcDisplacementRange()
Calculates the range of the highest and lowest note in a chord.
Definition: finaleframework.cpp:16091
FCNoteEntry * FindClosestPos(TimeEdu32 pos)
Finds the entry that is closest to the indicated duration position. All loaded layers will be scanned...
Definition: finaleframework.cpp:17739
void SetClefIndex(eClef clef)
Sets the clef index for the entry.
Definition: ff_noteframe.h:1245
bool CalcEntriesInMultiLayers()
Returns true if the note entry cell contain entries from more than one layer.
Definition: ff_noteframe.h:2709
bool DeleteNote(FCNote *pNote)
Deletes a note from a chord. The note collection is rebuilt after the deletion.
Definition: finaleframework.cpp:16564
void SetMeasurePos(TimeEdu32 value)
Sets the elapsed position in the measure for the entry.
Definition: ff_noteframe.h:1364
bool Save()
Saves the note entries for the cell. Mirror frames are never saved.
Definition: finaleframework.cpp:17622
bool GetLedgerLines() const
Gets the ledger line state for the note entry.
Definition: ff_noteframe.h:1387
Abstract class that encapsulate collections of note entries (of the FCNoteEntry class). The note entries doesn't need to belong to the same TGF frame.
Definition: ff_noteframe.h:2503
void SetAccidentals(bool bAccidental)
Sets/removes accidental display for all chord notes in the entry.
Definition: finaleframework.cpp:16440
virtual ~FCNoteEntryLayer()
The destructor.
Definition: ff_noteframe.h:3307
void SetFloatingRest(bool state)
Sets the floating rest status of the entry.
Definition: ff_noteframe.h:1273
bool GetAccidentalFreeze() const
Returns the freezed accidental state.
Definition: ff_noteframe.h:103
twobyte GetLayerNumber() const
Returns the 1-based layer number that the entry belongs to.
Definition: ff_noteframe.h:1577
FCNoteEntryCell(int measure, int staff)
The constructor.
Definition: ff_noteframe.h:2639
twobyte CalcResize()
Calculates the resize percent for the note entry.
Definition: finaleframework.cpp:16724
virtual void DebugDump()
Outputs the class data/information for debugging purposes.
Definition: ff_noteframe.h:774
bool GetCrossStaff() const
Gets the cross staff state for the note.
Definition: ff_noteframe.h:191
void SetFindNotes(bool state)
Sets if note entries (=non-rests) should be searched in the 'Find' methods, or not.
Definition: ff_noteframe.h:3124
FCNoteEntry(EXENTRY *pEntry, EXTGF2005a *pFrame, FCNoteEntry *pPrevious)
The constructor.
Definition: ff_noteframe.h:887
bool IsStartOfTupletParam(TupletInfo *pInfoStorage=NULL)
Returns true if the entry is the start of a tuplet (parameter version).
Definition: finaleframework.cpp:17110
void CopyFrom(FCNote *pNote)
Copies the note pitch info from a FCNote object.
Definition: ff_noteframe.h:674
bool GetNoteDetailFlag() const
Returns true for existing note detail records.
Definition: ff_noteframe.h:1789
void SetBeamBeat(bool state)
Sets the "beam/beat" state of the entry.
Definition: ff_noteframe.h:1178
void Set16BitFlag(FLAG_16 *flag, FLAG_16 flagbits, bool state)
Sets a 16 bit flag in the data block.
Definition: finaleframework.cpp:573
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_noteframe.h:884
Definition: ff_noteframe.h:2607
bool IsInSuccession(FCNoteEntry *pEntry1, FCNoteEntry *pEntry2)
Verifies that 2 entries really appears directly after one another in the layer.
Definition: ff_noteframe.h:3569
bool CalcAccidental() const
Returns the displayed state of an accidental. This is the method that should be used to find out if a...
Definition: finaleframework.cpp:15738
virtual ~FCNoteEntryCell()
The destructor.
Definition: ff_noteframe.h:2663
void SetLedgerLines(bool state)
Sets the ledger line state for the note entry.
Definition: ff_noteframe.h:1204
bool GetSmartShapeFlag() const
Returns true if the entry is marked to contain smart shapes.
Definition: ff_noteframe.h:1850
FCNote * FindNoteID(twobyte noteID)
Definition: finaleframework.cpp:16406
void SetTupletStartFlag(bool state)
Sets the flag that marks that a tuplet starts on the entry.
Definition: ff_noteframe.h:1319
twobyte GetEndMeasure() const
Returns the 1-based end measure number.
Definition: ff_noteframe.h:3401
bool GetFindVoice2Launch() const
Returns if entries that marked as voice 2 start should be searched in the 'Find' methods, or not.
Definition: ff_noteframe.h:3043
FCNoteEntries * CreateRegionEntries(FCMusicRegion *pRegion)
Extracts just the entries that are within the region into a collection.
Definition: finaleframework.cpp:18249
void SetSpacing(bool state)
Sets the music spacing state of the note entry.
Definition: ff_noteframe.h:1124
Collection class for FCNoteheadMod class objects. The collection would typically collect all notehead...
Definition: ff_entrydetailscollection.h:389
FCNote * CalcHighestNote(FCNote *pCeiling=NULL)
Finds the note with the highest pitch in the chord.
Definition: finaleframework.cpp:16144
ENTNUM GetENTNUM()
Returns the entry number.
Definition: ff_noteframe.h:762
void CopyEntry(FCNoteEntry *pFromEntry)
Copies the duration and notes (or rest) from the source entry.
Definition: finaleframework.cpp:16470
bool GetFindCutaway() const
Returns if entries that are hidden by cutaway notation should be searched in the 'Find' methods...
Definition: ff_noteframe.h:3007
twobyte GetMeasure() const
Returns the entry's measure.
Definition: ff_noteframe.h:1858
void SetGraceNote(bool state)
Sets the grace note state of the note entry.
Definition: ff_noteframe.h:1140
static void DebugOutDigit(const char *pszPrefixText, int i)
Static method that outputs a line for debugging purposes. The text appears with the extra digit (in d...
Definition: finaleframework.cpp:274
void SetFindRests(bool state)
Sets if rest entries should be searched in the 'Find' methods, or not.
Definition: ff_noteframe.h:3137
Class that contains information about the note, without being dependent on a note entry frame...
Definition: ff_noteframe.h:682
int GetMeasure()
Returns the measure number, if CloneEntryPositionData has been used.
Definition: ff_noteframe.h:739
int GetStaff()
Returns the staff number, if CloneEntryPositionData has been used.
Definition: ff_noteframe.h:743
void SetAccidentalFreeze(bool state)
Sets the freezed accidental state.
Definition: ff_noteframe.h:321
TimeEdu32 GetDuration() const
Gets the symbolic duration of the entry. For tuplet entries, the symbolic duration would be different...
Definition: ff_noteframe.h:1520
FCNote * GetItemAt(int index)
Overload version of GetItemAt(), which returns a note object (if available) for the note entry...
Definition: ff_noteframe.h:855
void SetAccidentalParentheses(bool state)
Sets the parentheses accidental state.
Definition: ff_noteframe.h:328
bool CalcUnbeamedNote()
Returns true if the entry is a non-beamed note (=not part of a beamed group.)
Definition: finaleframework.cpp:16900
Definition: ff_noteframe.h:2598
FCNote * CalcLowestNote(FCNote *pFloor=NULL)
Finds the note with the lowest pitch in the chord.
Definition: finaleframework.cpp:16188
Definition: ff_noteframe.h:2601
int GetFrameIndex()
Returns the 0-based frame index within the TGF frame.
Definition: ff_noteframe.h:771
int GetLoadLayerMode() const
Returns the "layer mode" that will be used for the object at a Load() call.
Definition: ff_noteframe.h:2928
TimeEdu32 GetDuration()
Returns the duration.
Definition: ff_noteframe.h:765
bool CloneTuplets(FCNoteEntryLayer *pSource)
Copies the tuplets from one layer to another identical layer after a layer has been cloned...
Definition: finaleframework.cpp:18171
TimeEdu32 CalcLayerDuration(int layerno)
Returns the duration of the indicated layer.
Definition: ff_noteframe.h:2750
bool GetArticulationFlag() const
Returns true if the entry is marked to contain articulations.
Definition: ff_noteframe.h:1843
bool IsLastInMeasure()
Returns true if it's the last entry in the measure frame.
Definition: ff_noteframe.h:1961
bool GetFindVisible() const
Sets if visible entries should be searched in the 'Find' methods, or not.
Definition: ff_noteframe.h:2948
void SetStemUp(bool state)
Sets the "stem up" flag for the entry.
Definition: ff_noteframe.h:1256
virtual ~FCNoteEntry()
Definition: finaleframework.cpp:15951
__FCCollection()
The constructor.
Definition: ff_basecollection.h:60
bool GetPlayback() const
Gets the playback status for the note.
Definition: ff_noteframe.h:167
bool HasSameNotes(FCNoteEntry *pEntry)
Compares the notes with the notes in another note entry.
Definition: finaleframework.cpp:16359
ENTRY_DURATIONS
Defintions of common note durations, for use with any operation where the TimeEdu32 type is used...
Definition: ff_noteframe.h:864
FCNote * FindDisplacement(twobyte displacement)
Tries to finds a note in the chord with a specific displacement value.
Definition: finaleframework.cpp:17364
Collection class for FCNoteEntry class objects. This class is intended for the collection of random e...
Definition: ff_noteframe.h:2555
bool GetSpecialAltsFlag() const
Returns true for existing special alteration records.
Definition: ff_noteframe.h:1807
TimeEdu32 GetActualDuration() const
Gets the actual duration of the entry. For tuplet entries, the symbolic duration would be different f...
Definition: ff_noteframe.h:1538
void SetPlayback(bool state)
Sets if the note should play back or be muted.
Definition: ff_noteframe.h:346
bool GetFreezeBeam() const
Gets the freeze state for the "beam/beat".
Definition: ff_noteframe.h:1410
static void MarkEntryMetricsForUpdate()
Static method that mark that the entry-related layout info needs to be rebuilt (for CalcStemUp()...
Definition: ff_noteframe.h:2117
void CacheArticulations()
Stores the available articulations in a cache memory.
Definition: finaleframework.cpp:17286
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_noteframe.h:3291
void SetFreezeBeam(bool state)
Sets the freeze state for the "beam/beat".
Definition: ff_noteframe.h:1186
char CalcPitchChar()
Returns the sounding note name character for the note.
Definition: finaleframework.cpp:15250
void SetVisible(bool state)
Sets the visibility state of the note entry.
Definition: ff_noteframe.h:1132
char CalcWrittenPitchChar()
Returns the written note name character for the note.
Definition: finaleframework.cpp:15260
twobyte GetStartMeasure() const
Returns the 1-based start measure number.
Definition: ff_noteframe.h:3394
FCNoteEntry * InsertEntriesBefore(FCNoteEntry *pPositionEntry, int count)
Inserts empty entries to the TGF frame before the indicated point.
Definition: finaleframework.cpp:18271
FCNoteheadMods * CreateNoteheadMods()
Creates a collection for all the notehead modifications attached to the note entry.
Definition: finaleframework.cpp:16002
bool CalcStemUp()
Returns the direction of the beam.
Definition: finaleframework.cpp:16622
TimeEdu32 CalcNondottedDuration()
Returns the non-dotted symbolic duration of the entry.
Definition: ff_noteframe.h:1550
bool GetFlipTie() const
Gets the "flip tie" state of the note entry.
Definition: ff_noteframe.h:1443
FCNoteEntry * GetRegionItemAt(int index, FCMusicRegion *pRegion)
Returns the entry item at the index position - but only if it's within the region.
Definition: finaleframework.cpp:17659
Definition: ff_noteframe.h:2604
bool GetLoadMirrors() const
Returns the state of mirror frame loading that will be used for the object at a Load() call...
Definition: ff_noteframe.h:2937
LOADLAYERMODES
Special layer constants to be used with SetLoadLayerMode().
Definition: ff_noteframe.h:2595
void Set32BitFlag(FLAG_32 *flag, FLAG_32 flagbits, bool state)
Sets a 32 bit flag in the data block.
Definition: finaleframework.cpp:581
void SetFindVoice2Launch(bool state)
Sets if entries that marked as voice 2 start should be searched in the 'Find' methods, or not.
Definition: ff_noteframe.h:3203
bool GetFindRests() const
Returns if rest entries should be searched in the 'Find' methods, or not.
Definition: ff_noteframe.h:2981
bool IsStartOfTuplet()
Returns true if the entry is the start of a tuplet.
Definition: finaleframework.cpp:17105
twobyte CalcDots()
Returns the number of dots for a dotted entry.
Definition: ff_noteframe.h:1567
int AddPitches(FCNoteEntry *pSourceEntry, bool unique, bool settie=false)
Adds (appends to the existing notes) all notes from another entry.
Definition: finaleframework.cpp:17202
bool CalcHiddenThroughAltNotation()
Calculates if entry is hidden through alternate notation.
Definition: finaleframework.cpp:16280
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_noteframe.h:712
eNoteID GetNoteID() const
Returns the unique note ID.
Definition: ff_noteframe.h:200
bool MoveEntry(FCNoteEntry *pEntry, FCNoteEntryCell *pSourceEntryCell)
Moves the entry from one cell to another. The entry number is preserved (so all note-attached will fo...
Definition: finaleframework.cpp:17565
FCNotePitches * CreateNotePitches()
Create local copies of the note pitches in a collection.
Definition: finaleframework.cpp:17392
void SetCombineRests(bool state)
Sets the flag for if the rest should combine.
Definition: finaleframework.cpp:15967
int CalcCrossStaffNumber()
Returns the staff ID that belongs to the cross staff note.
Definition: finaleframework.cpp:15153
FCNoteEntry * FindCoveredEntry(TimeEdu32 pos, int layerno)
Finds the entry that is at the indicated measure position in the indicated layer. ...
Definition: finaleframework.cpp:17725
static void MarkMetricsForRebuild()
Static method that sets the flag that the metrics should be rebuilt on the next load.
Definition: ff_base.h:3030
bool GetCheckAccidentals() const
Returns the accidental "refresh" flag.
Definition: finaleframework.cpp:17413
void SetLoadMirrors(bool state)
Sets if mirror frames should be loaded. The default is that they are loaded.
Definition: ff_noteframe.h:3444
bool SaveAll()
Saves all the layers for the full measure span.
Definition: ff_noteframe.h:3709
int GetCount() const
Returns the number of elements of the collection.
Definition: ff_basecollection.h:86
FCNoteEntryLayer * GetItemAt(int index)
Overloaded version of GetItemAt().
Definition: ff_noteframe.h:3727
bool GetStemDetailFlag() const
Gets the flag state for stem detail records.
Definition: ff_noteframe.h:1828
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_noteframe.h:2633
twobyte GetStaff() const
Returns the entry's staff.
Definition: ff_noteframe.h:1866
bool DeleteAllNullEntries()
Deletes all entries from the layer (and TGFs) that are 0 in length.
Definition: finaleframework.cpp:18005
bool GetBitFlag(FLAG_32 flag, FLAG_32 flagbits) const
Gets a state from flag bits. Returns true if any bit in the mask is set.
Definition: ff_base.h:449
void SetLegality(bool state)
Sets the legality bit, marking that the note is valid.
Definition: ff_noteframe.h:356
twobyte GetRestDisplacement()
Returns the rest displacement.
Definition: finaleframework.cpp:15979
twobyte GetStaff() const
Returns the staff that the cell belongs to.
Definition: ff_noteframe.h:3059
twobyte CalcMIDIKey()
Returns the MIDI key number for the note.
Definition: finaleframework.cpp:15450
bool CalcFlippable()
Signals if the entry would flip when the up/down state is changed.
Definition: finaleframework.cpp:16799
bool GetStemUp() const
Returns the state of the "up" bit for the entry. This is NOT the same as the true direction for the s...
Definition: ff_noteframe.h:1502
void SetFlipTie(bool state)
Sets the "flip tie" of the note entry.
Definition: ff_noteframe.h:1116
bool IsOverlappedEntry(FCNoteEntry *pTestEntry)
Returns true if the test entry is at least partly overlapping the current entry.
Definition: finaleframework.cpp:17130
twobyte CalcOctave(FCKeySignature *pKey, int transposeinterval=0)
Returns the sounding octave for the note.
Definition: finaleframework.cpp:15753
bool GetTie() const
Gets the tie start state for the note.
Definition: ff_noteframe.h:175
twobyte CalcWrittenOctave(FCKeySignature *pKey, int transposevalue, bool simplifytranspose, bool chromatictranspose)
Returns the written octave for the note, taking a specific transposition into account.
Definition: finaleframework.cpp:15780
Collection class for FCTuplet class objects.
Definition: ff_entrydetailscollection.h:250
bool IsHigherPitchThan(FCNote *pPitchCompareNote)
Returns true if the pitch is higher than the pitch in the parameter's note.
Definition: finaleframework.cpp:15505
bool GetGraceNoteSlash() const
Gets the grace note slash state of the note entry.
Definition: ff_noteframe.h:1476
bool GetLegality() const
Gets the legality bit, that marks that the note is valid.
Definition: ff_noteframe.h:138
Encapsulates one note in a note entry (from the FCNoteEntry class).
Definition: ff_noteframe.h:27
void ClearFrames()
Clears the collection and frees all associated TGF frame data.
Definition: ff_noteframe.h:3314
void SetActualDuration(TimeEdu32 value)
Sets the actual duration for the entry.
Definition: ff_noteframe.h:1350
bool IsTiedBackwards()
Returns true if any of the notes in the chord is flagged to be tied from the previous entry...
Definition: finaleframework.cpp:17036
eClef GetClefIndex() const
Gets the clef that's used for the entry.
Definition: ff_noteframe.h:1594
void SetLegality(bool state)
Sets the legality bit, marking that the entry is valid.
Definition: ff_noteframe.h:1233
bool Save()
Saves the note entries for the layer. Mirrors frames are never saved.
Definition: finaleframework.cpp:18120
void MarkForErase()
Marks the note for erase when the entry is saved.
Definition: ff_noteframe.h:627
void SetLoadMirrors(bool state)
Sets if mirrors should be loaded as well. (The default is that mirrors are loaded.)
Definition: ff_noteframe.h:3085
FCNoteEntry * InsertEntriesAfter(FCNoteEntry *pPositionEntry, int count, bool nextmeasure=false)
Inserts empty entries to the TGF frame at the indicated point.
Definition: finaleframework.cpp:18344
bool GetFindNotes() const
Returns if note entries (=non-rests) should be searched in the 'Find' methods, or not...
Definition: ff_noteframe.h:2970
void SetDisplacement(twobyte disp)
Sets the note's vertical position on the staff. The displacement is relative to the key...
Definition: ff_noteframe.h:365
static TimeEdu32 CalcNondottedDurationForDuration(TimeEdu32 duration)
Static method that truncates duration to give only return the non-dotted duration value...
Definition: finaleframework.cpp:15882
static bool IsValidDuration(TimeEdu32 duration)
Static method that evaluates the validity of a duration value.
Definition: finaleframework.cpp:15910
bool IsLowerPitchThan(FCNote *pPitchCompareNote)
Returns true if the pitch is lower than the pitch in the parameter's note.
Definition: finaleframework.cpp:15516
bool IsTiedToPrevious()
Return true if the previous entry has a tie to this entry.
Definition: finaleframework.cpp:17015
bool GetLyricFlag() const
Returns the flag that marks that an entry has syllable attached to it.
Definition: ff_noteframe.h:1820
bool GetGraceNote()
Returns the grace note state, if CloneEntryPositionData has been used.
Definition: ff_noteframe.h:751
bool CalcRightsidePlacement()
Returns true if the notehead is on the right side of the stem.
Definition: finaleframework.cpp:15163
void AddFromEntry(FCNoteEntry *pEntry)
Adds all the note pitches from a note entry.
Definition: finaleframework.cpp:15843
twobyte GetMeasure() const
Returns the measure that the cell belongs to.
Definition: ff_noteframe.h:3051
bool GetFindVoice1() const
Returns if entries that marked as voice 1 should be searched in the 'Find' methods, or not.
Definition: ff_noteframe.h:3019
void ClearAllEntries()
Removes all the entries from the layer, but keeps all the TGFs. So it's possible to (for example) sav...
Definition: ff_noteframe.h:3369
void SetFindVoice1(bool state)
Sets if entries that marked as voice 1 should be searched in the 'Find' methods, or not...
Definition: ff_noteframe.h:3179
Base class for the Finale Framework classes.
Definition: ff_base.h:47
void SetLyricFlag(bool state)
Sets the flag that marks that an entry has syllable attached to it.
Definition: ff_noteframe.h:1325
bool GetFreezeStem() const
Gets the "Freeze Stem" state for the note entry.
Definition: ff_noteframe.h:1394
void SetRestDisplacement(twobyte value)
Sets the displacement for a rest entry.
Definition: finaleframework.cpp:15960
Class to load a layer on the same staff. This class is for example suitable when working with music l...
Definition: ff_noteframe.h:3230
void CopyEntryPercussionDetails(FCNoteEntry *pFromEntry)
Copies note-related data between percussion entries.
Definition: finaleframework.cpp:16543
bool GetLegality() const
Gets the legality bit, that marks that the entry is valid.
Definition: ff_noteframe.h:1403
bool IsNote()
Returns true if entry is a note.
Definition: ff_noteframe.h:1886
bool CalcSmallestNoteheadResize(FCNumber *pSmallestFontSize, FCNumber *pSmallestResize)
Calculates the smallest point size and the smallest notehead % resize for the entry.
Definition: finaleframework.cpp:16666
FCNoteEntry * AppendEntriesInLayer(int layerno, int noofentries)
Adds empty entries to the the end of a specific layer in the cell. The note entry cell must be loaded...
Definition: finaleframework.cpp:17505
int GetLayerNumber()
Returns the 1-based layer number, if CloneEntryPositionData has been used.
Definition: ff_noteframe.h:747
twobyte CalcBeamCount()
Returns the number of beams/flags for the entry, based on the duration.
Definition: ff_noteframe.h:1647
TimeEdu32 GetMeasurePos() const
Returns the elapsed duration position in the measure for the entry.
Definition: ff_noteframe.h:1781
bool GetPerformanceDataFlag() const
Returns true for existing performance data records.
Definition: ff_noteframe.h:1799
void SetFindVisible(bool state)
Sets if visible entries should be searched in the 'Find' methods, or not.
Definition: ff_noteframe.h:3098
void SetManualPosition(Evpu16 pos)
Sets the manual positioning of the entry.
Definition: ff_noteframe.h:1239
FCNoteEntry * PreviousInFrame()
Returns the previous note entry in the linked collection (layer or cell), but only within the frame...
Definition: ff_noteframe.h:990
static int CalcDotsForDuration(TimeEdu32 duration)
Static method that calculates the number of dots a specific duration would get.
Definition: finaleframework.cpp:15894
bool CalcBeamedGroupEnd()
Returns true if it's the end entry in a beamed group.
Definition: finaleframework.cpp:16867
bool IsDotted()
Returns true if it's a dotted entry.
Definition: finaleframework.cpp:17069
bool GetAccidental() const
Gets the accidental state bit for the note. This method should normally NOT be used (use CalcAccident...
Definition: ff_noteframe.h:96
bool GetVoice2Launch() const
Returns true if the entry launches voice 2.
Definition: ff_noteframe.h:1490
FCNote * AddNewNote()
Adds a new note to the chord.
Definition: finaleframework.cpp:16417
void CopyNotes(FCNoteEntry *pFrom)
Copies all pitches and other note information from another entry. The old notes for the entry will be...
Definition: finaleframework.cpp:16450
bool GetCombineRests() const
Returns the flag for if the rest should combine.
Definition: finaleframework.cpp:15973
FCNoteEntry * GetRegionItemAt(int index, FCMusicRegion *pRegion)
Returns the indexed item that appear in the region.
Definition: finaleframework.cpp:18216
void ClearPitches()
Clears all pitches from the entry, to prepare to add new notes.
Definition: finaleframework.cpp:17196
bool GetFindAlternateNotation() const
Returns if entries that are hidden by a staff definition or staff style should be searched in the 'Fi...
Definition: ff_noteframe.h:2995
void SetLoadLayerMode(int mode)
Sets the "layer mode" for the Load method. This must be called/st before any Load() call...
Definition: ff_noteframe.h:3078
twobyte GetRaiseLower() const
Returns the raised/lowered state of the note.
Definition: ff_noteframe.h:149
void SetUseVisibleLayer(bool value)
Sets the value to only load visible layers.
Definition: ff_noteframe.h:3426
FCNoteEntry * Previous()
Returns the previous note entry in the linked collection (layer or cell).
Definition: ff_noteframe.h:980
void SetNoteDetailFlag(bool state)
Sets the flag state for note detail records.
Definition: ff_noteframe.h:1281
static void DebugOutBool(const char *pszPrefixText, bool state)
Static method that outputs a line for debugging purposes. The boolean state appears afterwards as eit...
Definition: finaleframework.cpp:390
Encapsulates a note as a locally stored data, instead of a reference in a TGF.
Definition: ff_noteframe.h:662
FCNoteEntryLayer(twobyte layer, twobyte staff, twobyte startmeas=1, twobyte endmeas=-1)
The constructor.
Definition: finaleframework.cpp:17815
twobyte GetStaff() const
Returns the 1-based staff number where the layer is loaded/saved.
Definition: ff_noteframe.h:3388
Simple class to put numbers into collections.
Definition: ff_base.h:3840
static TimeEdu32 CalcValidDuration(TimeEdu32 duration)
Static method that calculates a valid note duration value by truncating the value if necessary...
Definition: finaleframework.cpp:15930
Collection class for FCArticulation class objects.
Definition: ff_entrydetailscollection.h:22
bool CalcLargestNoteheadResize(FCNumber *pLargestFontSize, FCNumber *pLargestResize)
Calculates the largest point size and the largest notehead % resize for the entry.
Definition: finaleframework.cpp:16633
void SetPlayback(bool state)
Sets the playback state of the note entry.
Definition: ff_noteframe.h:1102
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_noteframe.h:52
void SetMIDIKey(twobyte midikey)
Sets the MIDI key number for the note.
Definition: finaleframework.cpp:15469
FCPerformanceMods * CreatePerformanceMods()
Creates a collection for all the MIDI performance modifications attached to the note entry...
Definition: finaleframework.cpp:16018
bool GetSecondaryBeamFlag() const
Returns true for secondary beam detail records.
Definition: ff_noteframe.h:1836
void CopyEntryDetails(FCNoteEntry *pFromEntry, bool copytuplets)
Copies note-related data from another entry.
Definition: finaleframework.cpp:16481
void SetFreezeStem(bool state)
Sets the "Freeze Stem" state for the note entry.
Definition: ff_noteframe.h:1211
static void DebugOutHex(const char *pszPrefixText, int i)
Static method that outputs a line for debugging purposes. The text appears with the extra digit (in h...
Definition: finaleframework.cpp:343
void SetLayerIndex(twobyte layerno)
Sets the layer number. USE WITH EXTREME CARE!
Definition: finaleframework.cpp:17942
Evpu16 GetManualPosition() const
Gets the manual positioning of the entry.
Definition: ff_noteframe.h:1584
FCNoteEntry * GetItemAt(int index)
Overridden version of the GetItemAt() method.
Definition: ff_noteframe.h:3211
bool IsTied()
Returns true if any of the notes in the chord is tied to the next entry.
Definition: finaleframework.cpp:17025
int CalcRegionCount(FCMusicRegion *pRegion)
Calculates the number of entries that are within the region.
Definition: finaleframework.cpp:18206
bool DeleteEntry(FCNoteEntry *pEntry)
Deletes an entry from the cell (and TGF).
Definition: finaleframework.cpp:17537
Class for iterator handlers.
Definition: ff_iterator.h:25
Class that provides storage for text. This is to achieve platform-transparent text handling...
Definition: ff_base.h:1473
bool GetVoice2() const
Returns true if it's a voice 2 entry.
Definition: ff_noteframe.h:1483
Encapsulates a note entry from an owner class (for example FCNoteEntryCell, FCNoteEntryLayer) class...
Definition: ff_noteframe.h:808
bool GetLoadMirrors() const
Returns if mirror frames should be loaded. The default is that they are loaded.
Definition: ff_noteframe.h:3408
virtual void DebugDump()
Outputs the class data/information for debugging purposes.
Definition: ff_noteframe.h:3637
void SetFindAlternateNotation(bool state)
Sets if entries that are hidden by a staff definition or staff style should be searched in the 'Find'...
Definition: ff_noteframe.h:3153
int CalcDisplacementMatchCount(FCNoteEntry *pCompareEntry)
Calculates the number of matching note displacements between the entries.
Definition: finaleframework.cpp:16126
FCNoteEntry * CalcBeamStartEntry()
Returns the start entry of the beamed group where the entry belongs. If the "Extend beams over rests"...
Definition: finaleframework.cpp:16883
FCNoteEntry * GetEntry() const
Returns the note entry object for the note.
Definition: ff_noteframe.h:83
bool GetFloatingRest() const
Gets the floating rest status of the entry.
Definition: ff_noteframe.h:1528
void MakeMovableRest()
Turns the entry into a movable rest.
Definition: finaleframework.cpp:17319
void CopyNote(FCNote *pFrom)
Copies all pitches and other note information from one single note. The old notes for the entry will ...
Definition: finaleframework.cpp:16462
bool IsAllTiedBackwards()
Returns true if all of the notes in the chord has a flagged to be tied from the previous entry...
Definition: finaleframework.cpp:17058
void SetGraceNoteSlash(bool state)
Sets the slashed state for a grace note entry.
Definition: ff_noteframe.h:1162
bool GetUseVisibleLayer() const
Gets the value that controls to only load visible layers.
Definition: ff_noteframe.h:3417
Class that encapsulates EREGION and provides additional functionality to region handling.
Definition: ff_region.h:24
int AddArticulations(FCNoteEntry *pSourceEntry, bool bNoDuplicates=true)
Adds (appends to the existing ones) all articulations from another entry.
Definition: finaleframework.cpp:17254
int CalcMeasureSpan()
Returns the total number of measures the layer spans.
Definition: ff_noteframe.h:3597
void SetNoteFlag(bool state)
Sets if the entry is a note or a rest.
Definition: ff_noteframe.h:1094
bool GetFindHidden() const
Returns if hidden entries should be searched in the 'Find' methods, or not.
Definition: ff_noteframe.h:2959
void SetTieBackwards(bool value)
Sets the "tie end" state for the note.
Definition: ff_noteframe.h:406
void SetSmartShapeFlag(bool state)
Sets the flag that marks that a smart shape is attached to the entry.
Definition: ff_noteframe.h:1312
bool IsRest()
Returns true if entry is a rest.
Definition: ff_noteframe.h:1894
FCNote(int index, EXNOTE *pexnote, FCNoteEntry *pParent)
The constructor.
Definition: ff_noteframe.h:55
FCNote * CalcHighestPercussionNote()
For percussion notation, calculates the topmost percussion note.
Definition: finaleframework.cpp:16232
void TieAll(bool bTie)
Ties or unties all chord notes for the entry.
Definition: finaleframework.cpp:16430
bool IsIdenticalPitch(FCNote *pPitchNote)
Returns true if the pitch is identical to the supplied note.
Definition: finaleframework.cpp:15480
bool IsAllTied()
Returns true if all of the notes in the chord is tied to the next entry.
Definition: finaleframework.cpp:17047
void SetPerformanceDataFlag(bool state)
Sets the flag state for performance data records.
Definition: ff_noteframe.h:1289
void SetFindHidden(bool state)
Sets if hidden entries should be searched in the 'Find' methods, or not.
Definition: ff_noteframe.h:3111
Class that encapsulate a cell of note entries.
Definition: ff_noteframe.h:2574
Class for key signatures. Instances of this class is auto-created by FCMeasure:GetKeySignature and FC...
Definition: ff_keysig.h:22
int CalcGraceNoteIndex()
Returns the grace note index for the entry.
Definition: finaleframework.cpp:16052
void Add(__FCBase *pNewItem)
Adds an element to the end of the collection.
Definition: finaleframework.cpp:12756
bool LoadAll()
Load all the layers for the full measure span and assemble them into a collection. Each layer contains of the full music from a layer from that span.
Definition: ff_noteframe.h:3695
void SetArticulationFlag(bool state)
Sets the flag that marks that an articulation is attached to the entry.
Definition: ff_noteframe.h:1305
bool GetTupletStartFlag() const
Returns true if the entry is marked to start a tuplet.
Definition: ff_noteframe.h:1814
bool IsLayerContainingEntries(int layerno)
Returns true if the indicated layer contains currently loaded note entries.
Definition: ff_noteframe.h:2731
int AddPitch(FCNote *pNote)
Adds a note to a chord.
Definition: finaleframework.cpp:17242
void SetCheckAccidentals(bool state)
Marks the entry that the accidentals should be verified when the frame is saved.
Definition: finaleframework.cpp:17407
TimeEdu32 GetMeasurePos()
Returns the duration position within the measure, if CloneEntryPositionData has been used...
Definition: ff_noteframe.h:759
bool GetVisible() const
Gets the visibility state of the note entry.
Definition: ff_noteframe.h:1459
twobyte CalcWidestNoteheadWidth()
Returns the widest width of a notehead in the entry, as the non-printing width.
Definition: finaleframework.cpp:16701
bool GetFindVoice2() const
Returns if entries that marked as voice 2 should be searched in the 'Find' methods, or not.
Definition: ff_noteframe.h:3031
FCNotePitch()
The constructor.
Definition: ff_noteframe.h:669
bool GetSpacing() const
Returns if the note should be used in the spacing algorithm or not.
Definition: ff_noteframe.h:157
FCNoteEntry * GetItemAt(int index)
Overridden version of GetItemAt().
Definition: ff_noteframe.h:2541
void CloneEntryPositionData(FCNoteEntry *pEntry)
Copies the "important" entry data, so it can be used for analytical purpose, without the need of a TG...
Definition: finaleframework.cpp:15862
void SetNoteID(eNoteID noteid)
Sets the unique note ID. Use with extreme care!
Definition: ff_noteframe.h:386
bool CalcOnLedgerLine()
Returns true if the note appears on a ledger line.
Definition: finaleframework.cpp:15141
void ClearFrame()
Clears the collection and frees the associated TGF frame data.
Definition: ff_noteframe.h:2760
void SetSpecialAltsFlag(bool state)
Sets the flag state for special alteration records.
Definition: ff_noteframe.h:1297
void MakeRest()
Turns the entry into a rest (without any displacement).
Definition: finaleframework.cpp:17309
FCNoteEntry * FindEntryNumber(ENTNUM entnum)
Finds the entry item in the collection with the given note entry number.
Definition: ff_noteframe.h:2530
bool IsPartOfTuplet()
Returns true if the entry is part of a tuplet.
Definition: finaleframework.cpp:17125
FCNoteEntry * Next()
Returns the next entry in the loaded entry chain (within the same layer).
Definition: ff_noteframe.h:1878
bool DeleteAllRestFrames()
Deletes all full frames (measures) that only contains of rests in the note entry layer.
Definition: finaleframework.cpp:18036
void GetString(FCString *pString, FCKeySignature *pKey, bool simplifydoublesharp=false, bool writtenpitch=false)
Creates a string representation of the note.
Definition: finaleframework.cpp:15528
bool GetFlatBeam() const
Gets the "flat beam" state of the entry.
Definition: ff_noteframe.h:1420
int ForEachInRegion(FCIteratorHandler *pIterator, FCMusicRegion *pRegion)
Iterates through the layer's entries that fit in a region.
Definition: finaleframework.cpp:18231
void SetStemDetailFlag(bool state)
Sets the flag state for stem detail records.
Definition: ff_noteframe.h:1333
twobyte GetLayerIndex() const
Returns the 0-based layer number where the layer data is loaded/saved.
Definition: ff_noteframe.h:3382
void SetSecondaryBeamFlag(bool state)
Sets the flag state for secondary beam detail records.
Definition: ff_noteframe.h:1341
FCNoteEntry * FindNextEntryPos(TimeEdu32 pos)
Finds the first entry that appears after the indicated position. All loaded layers will be scanned...
Definition: finaleframework.cpp:17760
void SetFindVoice2(bool state)
Sets if entries that marked as voice 2 should be searched in the 'Find' methods, or not...
Definition: ff_noteframe.h:3191
void SetVoice2(bool state)
Sets the voice 2 status for the entry.
Definition: ff_noteframe.h:1147
void SetDuration(TimeEdu32 duration)
Sets the symbolic duration of the note. For tuplet entries, the symbolic duration would be different ...
Definition: ff_noteframe.h:1265
bool IsRestMovable()
Returns true if it's a movable rest.
Definition: finaleframework.cpp:17300
int GetGraceNoteIndex()
Returns the grace note index for grace notes, if CloneEntryPositionData has been used.
Definition: ff_noteframe.h:755
bool GetAccidentalParentheses() const
Returns the parentheses accidental state.
Definition: ff_noteframe.h:110
FCNote * FindPitch(FCNote *pPitchNote)
Tries to finds a note in the chord with the identical pitch as the suppied note.
Definition: finaleframework.cpp:17375
FCNotePitch * GetItemAt(int index)
Overloaded version of GetItemAt().
Definition: ff_noteframe.h:710
Base class for all collection classes. A collection is a storage that can store multiple objects of s...
Definition: ff_basecollection.h:24
void SetSpacing(bool state)
Sets if the note should be used in the spacing algorithm or not.
Definition: ff_noteframe.h:336
twobyte CalcHighestStaffPosition()
Calculates the highest staff position for a note in the entry's chord.
Definition: finaleframework.cpp:16066
bool GetCrossStaff() const
Returns the cross staff state for the entry.
Definition: ff_noteframe.h:1510
twobyte CalcStaffPosition()
Calculates the displacement from the top staffline. It takes the current score position into account ...
Definition: finaleframework.cpp:15205
virtual void DebugDump()
Outputs the class data/information for debugging purposes.
Definition: finaleframework.cpp:547
bool DeleteAllNullEntries()
Deletes all entries from the cell (and TGF) that are 0 in duration.
Definition: finaleframework.cpp:17582