Finale PDK Framework
0.54
|
Encapsulates a note entry from an owner class (for example FCNoteEntryCell, FCNoteEntryLayer) class. More...
#include <ff_noteframe.h>
Public Types | |
enum | ENTRY_DURATIONS { BREVE = 8192, WHOLE_NOTE = 4096, NOTE_WHOLE = 4096, HALF_NOTE = 2048, NOTE_HALF = 2048, QUARTER_NOTE = 1024, NOTE_QUARTER = 1024, EIGHTH_NOTE = 512, NOTE_8TH = 512, SIXTEENTH_NOTE = 256, NOTE_16TH = 256, THIRTYSECOND_NOTE = 128, NOTE_32ND = 128, SIXTYFOURTH_NOTE = 64, NOTE_64TH = 64, NOTE_128TH = 32 } |
Defintions of common note durations, for use with any operation where the TimeEdu32 type is used. More... | |
Public Types inherited from __FCBase | |
enum | PDKFRAMEWORK_CLASSID { FCID_UNKNOWN = 0, FCID_ACCIDENTALMOD, FCID_ALLOTMENT, FCID_ARTICULATION, FCID_ARTICULATIONDEF, FCID_BACKWARDREPEAT, FCID_BASELINE, FCID_BEAMMOD, FCID_BEATCHARTELEMENT, FCID_BROKENBEAMMOD, FCID_CATEGORYDEF, FCID_CELLCLEFCHANGE, FCID_CELLFRAMEHOLD, FCID_CELLGRAPHIC, FCID_CELLTEXT, FCID_CENTERSMARTSHAPE, FCID_CHORD, FCID_CHORDPREFS, FCID_CHORDSUFFIXELEMENT, FCID_CHORUSSYLLABLE, FCID_CLEFDEF, FCID_COMPOSITETIMESIGBOTTOMELEMENT, FCID_COMPOSITETIMESIGTOPELEMENT, FCID_CROSSSTAFFMOD, FCID_CUSTOMSMARTLINEDEF, FCID_CUSTOMSTEMMOD, FCID_DISTANCEPREFS, FCID_DOTMOD, FCID_ENCLOSURE, FCID_ENDINGREPEAT, FCID_ENTRYALTERMOD, FCID_EXECUTABLESHAPEDEF, FCID_EXPRESSION, FCID_FONTINFO, FCID_FONTPREFS, FCID_FREEZESYSTEM, FCID_FRETBOARDSTYLEDEF, FCID_FRETBOARDSTYLEDEFS, FCID_FRETBOARDGROUPDEF, FCID_FRETBOARDGROUPDEFS, FCID_FRETINSTRUMENTDEF, FCID_GENERALPREFS, FCID_GRIDSGUIDESPREFS, FCID_GROUP, FCID_GROUPNAMEPOSITIONPREFS, FCID_HUMANPLAYBACKPREFS, FCID_INDEPENDENTCELLDETAIL, FCID_INSTRUMENTDEF, FCID_INSTRUMENTPLAYBACKDATA, FCID_KEYSIGNATURE, FCID_LAYERPREFS, FCID_LYRICSPREFS, FCID_MEASURE, FCID_MEASURENUMBERREGION, FCID_METATOOLASSIGNMENT, FCID_MIDIEXPRESSION, FCID_MISCDOCPREFS, FCID_MULTIMEASUREREST, FCID_MULTIMEASURERESTPREFS, FCID_MULTISTAFFINSTRUMENT, FCID_MULTISTAFFINSTRUMENTS, FCID_MUSICCHARACTERPREFS, FCID_MUSICSPACINGPREFS, FCID_NUMBER, FCID_NOTEHEADMOD, FCID_OTHERINCI, FCID_PERCUSSIONLAYOUTNOTE, FCID_PERCUSSIONSTAFF, FCID_PERFORMANCEMOD, FCID_PAGE, FCID_PAGEFORMATPREFS, FCID_PAGEGRAPHIC, FCID_PAGETEXT, FCID_PART, FCID_PARTEXTRACTPREFS, FCID_PARTSCOPEPREFS, FCID_PERCUSSIONNOTEMOD, FCID_PIANOBRACEPREFS, FCID_PLAYBACKPREFS, FCID_RAWTEXT, FCID_REPEATPREFS, FCID_SECONDARYBEAMBREAKMOD, FCID_SECTIONSYLLABLE, FCID_SEPARATEMEASURENUMBER, FCID_SEPARATEPLACEMENT, FCID_SHAPEDEF, FCID_SHAPEEXPRESSIONDEF, FCID_SLURCONTOURPREFS, FCID_SIZEPREFS, FCID_SMARTSHAPE, FCID_SMARTSHAPEENTRYMARK, FCID_SMARTSHAPEMEASUREMARK, FCID_SMARTSHAPEPREFS, FCID_STAFF, FCID_STAFFLIST, FCID_STAFFNAMEPOSITION, FCID_STAFFNAMEPOSITIONPREFS, FCID_STAFFSTYLEASSIGN, FCID_STAFFSTYLEDEF, FCID_STAFFSYSTEM, FCID_STEMCONNECTIONTABLE, FCID_STEMMOD, FCID_STRING, FCID_SYLLABLEENTRYMOD, FCID_SYSTEMSTAFF, FCID_TABLATURENOTEMOD, FCID_TEMPOELEMENT, FCID_TEXTBLOCK, FCID_TEXTEXPRESSIONDEF, FCID_TEXTREPEAT, FCID_TEXTREPEATDEF, FCID_TIEMOD, FCID_TIEPREFS, FCID_TIECONTOURPREFS, FCID_TIEPLACEMENTPREFS, FCID_TIMESIGNATURE, FCID_TUPLET, FCID_TUPLETPREFS, FCID_VERSESYLLABLE } |
Constants for the GetClassID method. More... | |
enum | MEASUREMENTUNITS { MEASUREMENTUNIT_DEFAULT = UNIT_DEFAULT, MEASUREMENTUNIT_EVPUS = UNIT_EVPUS, MEASUREMENTUNIT_INCHES = UNIT_INCHES, MEASUREMENTUNIT_CENTIMETERS = UNIT_CENTS, MEASUREMENTUNIT_POINTS = UNIT_POINTS, MEASUREMENTUNIT_PICAS = UNIT_PICAS, MEASUREMENTUNIT_SPACES = UNIT_SPACES, MEASUREMENTUNIT_MILLIMETERS = 100 } |
Constants for Finale's standard measurement units. More... | |
Public Member Functions | |
FCNote * | GetItemAt (int index) |
Overload version of GetItemAt(), which returns a note object (if available) for the note entry. More... | |
virtual const char * | ClassName () |
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child class. More... | |
FCNoteEntry (EXENTRY *pEntry, EXTGF2005a *pFrame, FCNoteEntry *pPrevious) | |
The constructor. | |
virtual | ~FCNoteEntry () |
FCNote * | FindNoteID (twobyte noteID) |
void | SetRestDisplacement (twobyte value) |
Sets the displacement for a rest entry. More... | |
twobyte | GetRestDisplacement () |
Returns the rest displacement. More... | |
FCNoteEntry * | Previous () |
Returns the previous note entry in the linked collection (layer or cell). More... | |
FCNoteEntry * | PreviousInFrame () |
Returns the previous note entry in the linked collection (layer or cell), but only within the frame. More... | |
FCArticulations * | CreateArticulations () |
Creates a collection for all the articulations attached to the note entry. More... | |
FCNoteheadMods * | CreateNoteheadMods () |
Creates a collection for all the notehead modifications attached to the note entry. More... | |
FCPerformanceMods * | CreatePerformanceMods () |
Creates a collection for all the MIDI performance modifications attached to the note entry. More... | |
FCTuplets * | CreateTuplets () |
Creates a collection for all the tuplets connected to the note entry. More... | |
ENTNUM | GetEntryNumber () const |
Returns the internal entry number (ID) for the note entry. More... | |
void | SetNoteFlag (bool state) |
Sets if the entry is a note or a rest. More... | |
void | SetPlayback (bool state) |
Sets the playback state of the note entry. More... | |
void | SetCombineRests (bool state) |
Sets the flag for if the rest should combine. More... | |
void | SetFlipTie (bool state) |
Sets the "flip tie" of the note entry. More... | |
void | SetSpacing (bool state) |
Sets the music spacing state of the note entry. More... | |
void | SetVisible (bool state) |
Sets the visibility state of the note entry. More... | |
void | SetGraceNote (bool state) |
Sets the grace note state of the note entry. More... | |
void | SetVoice2 (bool state) |
Sets the voice 2 status for the entry. More... | |
void | SetVoice2Launch (bool state) |
Sets the entry that controls the launch of voice 2. More... | |
void | SetGraceNoteSlash (bool state) |
Sets the slashed state for a grace note entry. More... | |
void | SetCrossStaff (bool state) |
Sets the cross staff state for the entry. More... | |
void | SetBeamBeat (bool state) |
Sets the "beam/beat" state of the entry. More... | |
void | SetFreezeBeam (bool state) |
Sets the freeze state for the "beam/beat". More... | |
void | SetFlatBeam (bool state) |
Sets the "flat beam" state of the entry. More... | |
void | SetLedgerLines (bool state) |
Sets the ledger line state for the note entry. More... | |
void | SetFreezeStem (bool state) |
Sets the "Freeze Stem" state for the note entry. More... | |
void | SetCheckAccidentals (bool state) |
Marks the entry that the accidentals should be verified when the frame is saved. More... | |
void | SetLegality (bool state) |
Sets the legality bit, marking that the entry is valid. More... | |
void | SetManualPosition (Evpu16 pos) |
Sets the manual positioning of the entry. More... | |
void | SetClefIndex (eClef clef) |
Sets the clef index for the entry. More... | |
void | SetStemUp (bool state) |
Sets the "stem up" flag for the entry. More... | |
void | SetDuration (TimeEdu32 duration) |
Sets the symbolic duration of the note. For tuplet entries, the symbolic duration would be different from the actual duration. More... | |
void | SetFloatingRest (bool state) |
Sets the floating rest status of the entry. More... | |
void | SetNoteDetailFlag (bool state) |
Sets the flag state for note detail records. More... | |
void | SetPerformanceDataFlag (bool state) |
Sets the flag state for performance data records. More... | |
void | SetSpecialAltsFlag (bool state) |
Sets the flag state for special alteration records. More... | |
void | SetArticulationFlag (bool state) |
Sets the flag that marks that an articulation is attached to the entry. More... | |
void | SetSmartShapeFlag (bool state) |
Sets the flag that marks that a smart shape is attached to the entry. More... | |
void | SetTupletStartFlag (bool state) |
Sets the flag that marks that a tuplet starts on the entry. More... | |
void | SetLyricFlag (bool state) |
Sets the flag that marks that an entry has syllable attached to it. More... | |
void | SetStemDetailFlag (bool state) |
Sets the flag state for stem detail records. More... | |
void | SetSecondaryBeamFlag (bool state) |
Sets the flag state for secondary beam detail records. More... | |
void | SetActualDuration (TimeEdu32 value) |
Sets the actual duration for the entry. More... | |
void | SetMeasurePos (TimeEdu32 value) |
Sets the elapsed position in the measure for the entry. More... | |
bool | GetBeamBeat () const |
Gets the "beam/beat" flag state of the entry. More... | |
bool | GetCheckAccidentals () const |
Returns the accidental "refresh" flag. More... | |
bool | GetLedgerLines () const |
Gets the ledger line state for the note entry. More... | |
bool | GetFreezeStem () const |
Gets the "Freeze Stem" state for the note entry. More... | |
bool | GetLegality () const |
Gets the legality bit, that marks that the entry is valid. More... | |
bool | GetFreezeBeam () const |
Gets the freeze state for the "beam/beat". More... | |
bool | GetFlatBeam () const |
Gets the "flat beam" state of the entry. More... | |
bool | GetPlayback () const |
Gets the playback state of the note entry. More... | |
bool | GetCombineRests () const |
Returns the flag for if the rest should combine. More... | |
bool | GetFlipTie () const |
Gets the "flip tie" state of the note entry. More... | |
bool | GetSpacing () const |
Gets the music spacing state of the note entry. More... | |
bool | GetVisible () const |
Gets the visibility state of the note entry. More... | |
bool | GetGraceNote () const |
Gets the grace note state of the note entry. More... | |
bool | GetGraceNoteSlash () const |
Gets the grace note slash state of the note entry. More... | |
bool | GetVoice2 () const |
Returns true if it's a voice 2 entry. More... | |
bool | GetVoice2Launch () const |
Returns true if the entry launches voice 2. More... | |
bool | GetStemUp () const |
Returns the state of the "up" bit for the entry. This is NOT the same as the true direction for the stem! More... | |
bool | GetCrossStaff () const |
Returns the cross staff state for the entry. More... | |
TimeEdu32 | GetDuration () const |
Gets the symbolic duration of the entry. For tuplet entries, the symbolic duration would be different from the actual duration. Compare with the GetActualDuration method. More... | |
bool | GetFloatingRest () const |
Gets the floating rest status of the entry. More... | |
TimeEdu32 | GetActualDuration () const |
Gets the actual duration of the entry. For tuplet entries, the symbolic duration would be different from the actual duration. Compare with the GetDuration method. More... | |
TimeEdu32 | CalcNondottedDuration () |
Returns the non-dotted symbolic duration of the entry. More... | |
twobyte | CalcDots () |
Returns the number of dots for a dotted entry. More... | |
twobyte | GetLayerNumber () const |
Returns the 1-based layer number that the entry belongs to. More... | |
Evpu16 | GetManualPosition () const |
Gets the manual positioning of the entry. More... | |
eClef | GetClefIndex () const |
Gets the clef that's used for the entry. More... | |
int | CalcGraceNoteIndex () |
Returns the grace note index for the entry. More... | |
twobyte | CalcHighestStaffPosition () |
Calculates the highest staff position for a note in the entry's chord. More... | |
twobyte | CalcHighestDisplacement () |
Calculates the highest displacement value found in the entry's chord. More... | |
twobyte | CalcDisplacementRange () |
Calculates the range of the highest and lowest note in a chord. More... | |
twobyte | CalcBeamCount () |
Returns the number of beams/flags for the entry, based on the duration. More... | |
bool | CalcMultiLayeredCell () |
Returns true if the entry is in a cell with multiple layers of music. More... | |
int | CalcDisplacementMatchCount (FCNoteEntry *pCompareEntry) |
Calculates the number of matching note displacements between the entries. More... | |
FCNote * | CalcHighestNote (FCNote *pCeiling=NULL) |
Finds the note with the highest pitch in the chord. More... | |
FCNote * | CalcLowestNote (FCNote *pFloor=NULL) |
Finds the note with the lowest pitch in the chord. More... | |
bool | CalcHiddenThroughAltNotation () |
Calculates if entry is hidden through alternate notation. More... | |
FCNote * | CalcHighestPercussionNote () |
For percussion notation, calculates the topmost percussion note. More... | |
FCNote * | CalcLowestPercussionNote () |
For percussion notation, calculates the bottommost percussion note. More... | |
bool | HasSameNotes (FCNoteEntry *pEntry) |
Compares the notes with the notes in another note entry. More... | |
FCNote * | FindDisplacement (twobyte displacement) |
Tries to finds a note in the chord with a specific displacement value. More... | |
FCNote * | FindPitch (FCNote *pPitchNote) |
Tries to finds a note in the chord with the identical pitch as the suppied note. More... | |
TimeEdu32 | GetMeasurePos () const |
Returns the elapsed duration position in the measure for the entry. More... | |
bool | GetNoteDetailFlag () const |
Returns true for existing note detail records. More... | |
bool | GetPerformanceDataFlag () const |
Returns true for existing performance data records. More... | |
bool | GetSpecialAltsFlag () const |
Returns true for existing special alteration records. More... | |
bool | GetTupletStartFlag () const |
Returns true if the entry is marked to start a tuplet. More... | |
bool | GetLyricFlag () const |
Returns the flag that marks that an entry has syllable attached to it. More... | |
bool | GetStemDetailFlag () const |
Gets the flag state for stem detail records. More... | |
bool | GetSecondaryBeamFlag () const |
Returns true for secondary beam detail records. More... | |
bool | GetArticulationFlag () const |
Returns true if the entry is marked to contain articulations. More... | |
bool | GetSmartShapeFlag () const |
Returns true if the entry is marked to contain smart shapes. More... | |
twobyte | GetMeasure () const |
Returns the entry's measure. More... | |
twobyte | GetStaff () const |
Returns the entry's staff. More... | |
FCNoteEntry * | Next () |
Returns the next entry in the loaded entry chain (within the same layer). More... | |
bool | IsNote () |
Returns true if entry is a note. More... | |
bool | IsRest () |
Returns true if entry is a rest. More... | |
bool | IsDotted () |
Returns true if it's a dotted entry. More... | |
bool | IsStartOfTuplet () |
Returns true if the entry is the start of a tuplet. More... | |
bool | IsStartOfTupletParam (TupletInfo *pInfoStorage=NULL) |
Returns true if the entry is the start of a tuplet (parameter version). More... | |
bool | IsPartOfTuplet () |
Returns true if the entry is part of a tuplet. More... | |
bool | IsOverlappedEntry (FCNoteEntry *pTestEntry) |
Returns true if the test entry is at least partly overlapping the current entry. More... | |
bool | IsPartOfTupletParam (TupletInfo *pInfoStorage=NULL) |
Returns true if the entry is part of a tuplet (parameter version). More... | |
bool | IsLastInMeasure () |
Returns true if it's the last entry in the measure frame. More... | |
FCNoteEntry * | CalcLastTupletEntry (FCTuplet *pTuplet) |
Scans forward and returns the end entry of a tuplet that's connected to this entry object. More... | |
bool | CalcFlippable () |
Signals if the entry would flip when the up/down state is changed. More... | |
bool | CalcBeamedGroupEnd () |
Returns true if it's the end entry in a beamed group. More... | |
bool | CalcUnbeamedNote () |
Returns true if the entry is a non-beamed note (=not part of a beamed group.) More... | |
FCNoteEntry * | CalcBeamStartEntry () |
Returns the start entry of the beamed group where the entry belongs. If the "Extend beams over rests" option is set, this method might return a rest. More... | |
bool | CalcLargestNoteheadResize (FCNumber *pLargestFontSize, FCNumber *pLargestResize) |
Calculates the largest point size and the largest notehead % resize for the entry. More... | |
bool | CalcSmallestNoteheadResize (FCNumber *pSmallestFontSize, FCNumber *pSmallestResize) |
Calculates the smallest point size and the smallest notehead % resize for the entry. More... | |
twobyte | CalcWidestNoteheadWidth () |
Returns the widest width of a notehead in the entry, as the non-printing width. More... | |
bool | CalcStemUp () |
Returns the direction of the beam. More... | |
twobyte | CalcResize () |
Calculates the resize percent for the note entry. More... | |
twobyte | CalcStemLength () |
bool | IsTied () |
Returns true if any of the notes in the chord is tied to the next entry. More... | |
bool | IsTiedBackwards () |
Returns true if any of the notes in the chord is flagged to be tied from the previous entry. More... | |
bool | IsTiedToPrevious () |
Return true if the previous entry has a tie to this entry. More... | |
bool | IsAllTied () |
Returns true if all of the notes in the chord is tied to the next entry. More... | |
bool | IsAllTiedBackwards () |
Returns true if all of the notes in the chord has a flagged to be tied from the previous entry. More... | |
void | ClearPitches () |
Clears all pitches from the entry, to prepare to add new notes. More... | |
FCNote * | AddNewNote () |
Adds a new note to the chord. More... | |
int | AddPitches (FCNoteEntry *pSourceEntry, bool unique, bool settie=false) |
Adds (appends to the existing notes) all notes from another entry. More... | |
int | AddPitches (FCNotePitches *pPitches, bool unique) |
Adds (appends to the existing notes) all notes from a pith collection. More... | |
int | AddPitch (FCNote *pNote) |
Adds a note to a chord. More... | |
int | AddArticulations (FCNoteEntry *pSourceEntry, bool bNoDuplicates=true) |
Adds (appends to the existing ones) all articulations from another entry. More... | |
void | TieAll (bool bTie) |
Ties or unties all chord notes for the entry. More... | |
void | SetAccidentals (bool bAccidental) |
Sets/removes accidental display for all chord notes in the entry. More... | |
void | CopyNotes (FCNoteEntry *pFrom) |
Copies all pitches and other note information from another entry. The old notes for the entry will be erased. The tie information and other note flags will also be identical to the source. More... | |
void | CopyNote (FCNote *pFrom) |
Copies all pitches and other note information from one single note. The old notes for the entry will be erased. The tie information and other note flags will also be identical to the source. More... | |
void | CopyEntry (FCNoteEntry *pFromEntry) |
Copies the duration and notes (or rest) from the source entry. More... | |
void | CopyEntryDetails (FCNoteEntry *pFromEntry, bool copytuplets) |
Copies note-related data from another entry. More... | |
void | CopyEntryPercussionDetails (FCNoteEntry *pFromEntry) |
Copies note-related data between percussion entries. More... | |
bool | DeleteNote (FCNote *pNote) |
Deletes a note from a chord. The note collection is rebuilt after the deletion. More... | |
void | CacheArticulations () |
Stores the available articulations in a cache memory. More... | |
bool | IsRestMovable () |
Returns true if it's a movable rest. More... | |
void | MakeRest () |
Turns the entry into a rest (without any displacement). More... | |
void | MakeMovableRest () |
Turns the entry into a movable rest. More... | |
void | MakeNote () |
Turns the entry into a note. More... | |
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. | |
FCNotePitches * | CreateNotePitches () |
Create local copies of the note pitches in a collection. More... | |
Public Member Functions inherited from __FCCollection | |
__FCCollection () | |
The constructor. | |
virtual | ~__FCCollection () |
The virtual destructor, which deallocates the array and also all its elements. More... | |
int | GetCount () const |
Returns the number of elements of the collection. More... | |
void | Add (__FCBase *pNewItem) |
Adds an element to the end of the collection. More... | |
bool | UniqueAdd (__FCBase *pNewItem) |
Adds an element to the end of the collection, but only if it doesn't exist in the collection before. More... | |
void | InsertItemAt (__FCBase *pNewItem, int index) |
Inserts an item into the collection. More... | |
bool | ElementExists (__FCBase *pQueryItem) |
Returns true if the element is found in the collection, otherwise false. More... | |
void | ClearAll () |
Destroys all the objects in the collection and empties the collection. More... | |
void | DetachAll () |
Removes all the objects from the collection, without freeing/destroying the objects. More... | |
__FCBase * | GetItemAt (int index) |
Returns the object at the index position. Index is 0-based. More... | |
__FCBase * | GetLastItem () |
Returns the last item in the collection. | |
__FCBase * | operator[] (int index) |
Identical to the GetItemAt method. | |
int | GetIndexOf (__FCBase *pObject) |
Returns the 0-based order index for the object within the collection. More... | |
__FCBase * | DetachItemAt (int index) |
Removes the object at the index position. Index is 0-based. More... | |
bool | ClearItemAt (int index) |
Deletes the object at the index position and disposes the object. Index is 0-based. More... | |
int | ToEndFrom (int index, FCIteratorHandler *pIterator) |
Processes one element after another and iterates from one specific index to the end of the collection. More... | |
virtual int | ForEach (FCIteratorHandler *pIterator) |
Processes all elements in the collection (starting with item 0), or until the iterator Iterate() returns false. More... | |
virtual int | ForEachIndex (FCIteratorHandler *pIterator) |
Same as ForEach, but the IterateIndex callback of the iterator handler is used instead. | |
virtual __FCBase * | FindFirst (FCIteratorHandler *pIterator) |
Process elements until a match is found. More... | |
__FCBase * | FindUserData (void *data_to_find) |
Returns the first element in the collection that has the indicated userdata. More... | |
bool | Sort (FCIteratorHandler *pIterator) |
Sorts the elements of. More... | |
bool | Swap (int index1, int index2) |
Swaps to items in the collection. More... | |
bool | IsEmpty () |
Returns true if the collection contains no elements. More... | |
int | MoveFrom (__FCCollection *pOtherCollection, bool unique=false) |
Moves elements from another collection into this collection. The other will be empty after the operation. More... | |
bool | IsIdentical (__FCCollection *pCompareCollection) |
Returns true if two collections are considered to be identical. More... | |
virtual void | DebugDump () |
Outputs the class data/information for debugging purposes. More... | |
Public Member Functions inherited from __FCIteratorBase | |
__FCIteratorBase () | |
The constructor. More... | |
Public Member Functions inherited from __FCBase | |
virtual const PDKFRAMEWORK_CLASSID | GetClassID () |
Returns the internal class ID for the PDK Framework class. This is implemented mostly because Lua has problems to resolve the true classes of inherited objects. More... | |
__FCBase () | |
The constructor. | |
virtual | ~__FCBase () |
Virtual destructor, so all inherited classes get the virtual destructor. More... | |
void | DebugMsgDigit (const char *pszPrefixText, int i) |
Creates a simple Message Box for debug purposes. The text appears with the extra digit (in decimal presentation) appearing afterwards. More... | |
void | DebugMsgHex (const char *pszPrefixText, int i) |
Creates a simple Message Box for debug purposes. The text appears with the extra digit (as a hexadecimal number) appearing afterwards. More... | |
void | DebugMsgString (const char *pszPrefixText, const char *thestring) |
Creates a simple Message Box for debug purposes. The text appears with the extra string appearing afterwards. More... | |
void | DebugMsg (const char *pszMsg) |
Creates a simple Message Box for debug purposes with just one text string. More... | |
void | DebugOutMenuInfo (FCUI *pUI, int menuixd_horiz, int menuixd_vert) const |
Outputs the menu command info for debugging purposes. More... | |
int | DebugOutFormat (const char *fmt,...) |
Outputs debug text using C style "printf" syntax. More... | |
virtual void | DebugDataDump () |
Outputs a memory dump of the data block in the object for debugging purposes. More... | |
virtual void | DebugDataByteArrayDump () |
Outputs a memory dump of the data block in the object for debugging purposes, as a C++ byte array. More... | |
void | Set16BitFlag (FLAG_16 *flag, FLAG_16 flagbits, bool state) |
Sets a 16 bit flag in the data block. More... | |
void | Set32BitFlag (FLAG_32 *flag, FLAG_32 flagbits, bool state) |
Sets a 32 bit flag in the data block. More... | |
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. More... | |
void | SetUserData (void *pData) |
Sets the user data attached to the instance of an object. More... | |
void | SetUserData2 (void *pData) |
Sets the additional user data attached to the instance of an object. More... | |
void * | GetUserData () const |
Gets the user data attached to the instance of an object. More... | |
void * | GetUserData2 () const |
Gets the additional user data attached to the instance of an object. More... | |
virtual bool | IsIdentical (__FCBase *pCompareObject) |
Returns true if the data in the passed object is considered to be identical to the current object, otherwise false. More... | |
void | StoreXML_String (tinyxml2::XMLElement *pParentNode, const char *pszElementName, FCString *pStringValue) |
Helper function to store FCString objects in the XML file. More... | |
void | StoreXML_Integer (tinyxml2::XMLElement *pParentNode, const char *pszElementName, int value) |
Helper function to store integer objects in the XML file. More... | |
void | StoreXML_Bool (tinyxml2::XMLElement *pParentNode, const char *pszElementName, bool value) |
Helper function to store boolean objects in the XML file. More... | |
void | StoreXML_StringAttribute (tinyxml2::XMLElement *pNode, const char *pszAttributeName, FCString *pStringValue) |
Helper function to store FCString objects in the XML file, as an attribute to a node. More... | |
void | StoreXML_IntegerAttribute (tinyxml2::XMLElement *pNode, const char *pszAttributeName, int value) |
Helper function to store integer objects in the XML file, as an attribute to a node. More... | |
void | StoreXML_BoolAttribute (tinyxml2::XMLElement *pNode, const char *pszAttributeName, bool value) |
Helper function to store boolean objects in the XML file, as an attribute to a node. More... | |
void | StoreXML_FloatAttribute (tinyxml2::XMLElement *pNode, const char *pszAttributeName, float value) |
Helper function to store floating point objects in the XML file, as an attribute to a node. More... | |
virtual void | StoreToXML (tinyxml2::XMLElement *pParentNode) |
Virtual method that is used to store an object's data. More... | |
bool | ReadXML_String (tinyxml2::XMLElement *pParentNode, const char *pszElementName, FCString *pStringValue) |
Helper method to read FCString objects from the XML file. More... | |
bool | ReadXML_Integer (tinyxml2::XMLElement *pParentNode, const char *pszElementName, int *pValue) |
Helper method to read integer objects from the XML file. More... | |
bool | ReadXML_Bool (tinyxml2::XMLElement *pParentNode, const char *pszElementName, bool *pValue) |
Helper method to read boolean objects from the XML file. More... | |
bool | ReadXML_StringAttribute (tinyxml2::XMLElement *pNode, const char *pszAttributeName, FCString *pStringValue) |
Helper method to read FCString objects from the XML file, as an attribute to a node. More... | |
bool | ReadXML_IntegerAttribute (tinyxml2::XMLElement *pNode, const char *pszAttributeName, int *pValue) |
Helper method to read integer objects from the XML file, as an attribute to a node. More... | |
bool | ReadXML_BoolAttribute (tinyxml2::XMLElement *pNode, const char *pszAttributeName, bool *pValue) |
Helper method to read boolean objects from the XML file, as an attribute to a node. More... | |
bool | ReadXML_FloatAttribute (tinyxml2::XMLElement *pNode, const char *pszAttributeName, float *pValue) |
Helper method to read floating point objects from the XML file, as an attribute to a node. More... | |
virtual bool | ReadFromXML (tinyxml2::XMLElement *pParentNode) |
Virtual method that is used to read object data. More... | |
Static Public Member Functions | |
static void | MarkEntryMetricsForUpdate () |
Static method that mark that the entry-related layout info needs to be rebuilt (for CalcStemUp(), for example). More... | |
static TimeEdu32 | CalcNondottedDurationForDuration (TimeEdu32 duration) |
Static method that truncates duration to give only return the non-dotted duration value. More... | |
static int | CalcDotsForDuration (TimeEdu32 duration) |
Static method that calculates the number of dots a specific duration would get. More... | |
static bool | IsValidDuration (TimeEdu32 duration) |
Static method that evaluates the validity of a duration value. More... | |
static TimeEdu32 | CalcValidDuration (TimeEdu32 duration) |
Static method that calculates a valid note duration value by truncating the value if necessary. More... | |
Static Public Member Functions inherited from __FCBase | |
static void | DebugOutPtr (const char *pszPrefixText, void *ptr) |
Static method that outputs a line for debugging purposes. The prefix text appears with the extra ptr (in hexadeximal representation) appearing afterwards. More... | |
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 decimal presentation) appearing afterwards. More... | |
static void | DebugOutFloat (const char *pszPrefixText, float f) |
Static method that outputs a line for debugging purposes. The text appears with the extra float value appearing afterwards. More... | |
static void | DebugOutTag (const char *pszPrefixText, EXTAG extag) |
Static method that outputs a line for debugging purposes. The text appears with the EXTAG (in text) appearing afterwards. More... | |
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 hexadecimal presentation) appearing afterwards. More... | |
static void | DebugOutBin (const char *pszPrefixText, int i) |
Static method that outputs a line for debugging purposes. The text appears with the extra digit (in binary presentation) appearing afterwards. More... | |
static void | DebugOutString (const char *pszPrefixText, const char *thestring) |
Static method that outputs a line for debugging purposes (C string version). The text appears with the extra string appearing afterwards. More... | |
static void | DebugOutString (const char *pszPrefixText, FCString *pString) |
Static method that outputs a line for debugging purposes (FCString version). The text appears with the extra string appearing afterwards. More... | |
static void | DebugOutBool (const char *pszPrefixText, bool state) |
Static method that outputs a line for debugging purposes. The boolean state appears afterwards as either "TRUE" or "FALSE". More... | |
static void | DebugOutBlock (const void *pBuffer, int startoffset, int size) |
Static method that outputs a memory block for debugging purposes. Eight bytes per line will appear (as hex digits) until the whole memory block is dumped. More... | |
static void | DebugOutByteArrayBlock (const void *pBuffer, int startoffset, int size) |
Static method that outputs a memory block for debugging purposes. Eight bytes per line will appear (as hex digits) as a C++ onebyte array, until the whole memory block is dumped. More... | |
static void | DebugOut (const char *pszLine) |
Static method to output a line of text for debugging purposes. More... | |
Encapsulates a note entry from an owner class (for example FCNoteEntryCell, FCNoteEntryLayer) class.
This class requires PDK_FRAMEWORK_ENTRIES to be defined.
The class is also a collection of notes (of the FCNote class).
When a note entry that uses standard notation is loaded from Finale, the notes are sorted in pitch order from lowest to highest. For percussion and tabulature notation however, there is no relation between displayed position and order in the entry. It's safest to not assume that entries are sorted.
Defintions of common note durations, for use with any operation where the TimeEdu32 type is used.
Lua-supported.
|
virtual |
The destructor
int FCNoteEntry::AddArticulations | ( | FCNoteEntry * | pSourceEntry, |
bool | bNoDuplicates = true |
||
) |
Adds (appends to the existing ones) all articulations from another entry.
It's the caller's responsibility that the both source and destination entries are in the same document.
If the source entry has an articulation cache, that will be used as source. Otherwise, the articulations will load from the Finale database.
If articulations were added, the articulation flag is set for the entry. (The entry has to be saved separately through the TGF frame.)
Lua-supported.
pSourceEntry | The entry to copy from. |
bNoDuplicates | If true (default), articulations duplicates will not be copied. |
FCNote * FCNoteEntry::AddNewNote | ( | ) |
Adds a new note to the chord.
Lua-supported.
int FCNoteEntry::AddPitch | ( | FCNote * | pNote | ) |
Adds a note to a chord.
Method will not do anything on rests.
Lua-supported.
pNote | The note to copy from. |
int FCNoteEntry::AddPitches | ( | FCNoteEntry * | pSourceEntry, |
bool | unique, | ||
bool | settie = false |
||
) |
Adds (appends to the existing notes) all notes from another entry.
This method will not do anything on rests.
March 10, 2013: Changed so the full entry is now automatically set to update the accidentals for the frame.
Lua-supported.
pSourceEntry | The entry to copy from. |
unique | If true, only add note pitches that don't exist. |
settie | If true, copy the tie state. |
int FCNoteEntry::AddPitches | ( | FCNotePitches * | pPitches, |
bool | unique | ||
) |
Adds (appends to the existing notes) all notes from a pith collection.
Method will not do anything on rests.
pPitches | The pitch collection to copy from. |
unique | If true, only add note pitches that don't exist. |
void FCNoteEntry::CacheArticulations | ( | ) |
Stores the available articulations in a cache memory.
This is for the instances where the entry has been removed from the document (and the articulation data gets removed as well).
A cache will not be created if there isn't any articulations attached to the note.
If a articulation cache is available, it's used by the AddArticulations method.
Lua-supported.
|
inline |
Returns the number of beams/flags for the entry, based on the duration.
This method will handle dotted values.
Lua-supported.
bool FCNoteEntry::CalcBeamedGroupEnd | ( | ) |
Returns true if it's the end entry in a beamed group.
If the document preferences is set to extend beams over rests, rests might end beams.
This method requires that PDK_FRAMEWORK_PREFS is defined.
Lua-supported.
FCNoteEntry * FCNoteEntry::CalcBeamStartEntry | ( | ) |
Returns the start entry of the beamed group where the entry belongs. If the "Extend beams over rests" option is set, this method might return a rest.
This method requires that PDK_FRAMEWORK_PREFS is defined.
Lua-supported.
int FCNoteEntry::CalcDisplacementMatchCount | ( | FCNoteEntry * | pCompareEntry | ) |
Calculates the number of matching note displacements between the entries.
This method only checks matching displacements. (Keys, accidentals and everything else might differ between the entries.)
Lua-supported.
[in] | pCompareEntry | The entry containing the notes to compare. |
twobyte FCNoteEntry::CalcDisplacementRange | ( | ) |
Calculates the range of the highest and lowest note in a chord.
Lua-supported.
|
inline |
Returns the number of dots for a dotted entry.
Lua-supported.
|
static |
Static method that calculates the number of dots a specific duration would get.
Lua-supported.
duration | The duration in EDUs. |
bool FCNoteEntry::CalcFlippable | ( | ) |
Signals if the entry would flip when the up/down state is changed.
If the document preferences is set to extend beams over rests, rests might end beams.
This method requires that PDK_FRAMEWORK_PREFS is defined.
Lua-supported.
int FCNoteEntry::CalcGraceNoteIndex | ( | ) |
Returns the grace note index for the entry.
The leftmost grace note in a grace note group has index 0, the second in the same group has index 1, and so on.
Lua-supported.
bool FCNoteEntry::CalcHiddenThroughAltNotation | ( | ) |
Calculates if entry is hidden through alternate notation.
Since alternate notation might show the notes in different layers dependent on the settings, this method verifies if the entry really is hidden.
Lua-supported.
twobyte FCNoteEntry::CalcHighestDisplacement | ( | ) |
Calculates the highest displacement value found in the entry's chord.
Lua-supported.
Finds the note with the highest pitch in the chord.
Lua-supported.
pCeiling | If NULL, the highest pitch in the whole chord will be returned. Otherwise, the highest pitch that's lower than the "ceiling note" is returned. This note doesn't need to belong to the entry. |
FCNote * FCNoteEntry::CalcHighestPercussionNote | ( | ) |
For percussion notation, calculates the topmost percussion note.
Lua-supported.
twobyte FCNoteEntry::CalcHighestStaffPosition | ( | ) |
Calculates the highest staff position for a note in the entry's chord.
Lua-supported.
bool FCNoteEntry::CalcLargestNoteheadResize | ( | FCNumber * | pLargestFontSize, |
FCNumber * | pLargestResize | ||
) |
Calculates the largest point size and the largest notehead % resize for the entry.
This method requires that PDK_FRAMEWORK_PREFS are defined.
Lua-supported.
pLargestFontSize | Pointer to FCNumber object where the largest font size will be stored. |
pLargestResize | Pointer to FCNumber where the largest % resize will be stored. |
FCNoteEntry * FCNoteEntry::CalcLastTupletEntry | ( | FCTuplet * | pTuplet | ) |
Scans forward and returns the end entry of a tuplet that's connected to this entry object.
Lua-supported.
Finds the note with the lowest pitch in the chord.
Lua-supported.
pFloor | If NULL, the lowest pitch in the whole chord will be returned. Otherwise, the lowest pitch that's higher than the "floor note" is returned. This note doesn't need to belong to the entry. |
FCNote * FCNoteEntry::CalcLowestPercussionNote | ( | ) |
For percussion notation, calculates the bottommost percussion note.
Lua-supported.
bool FCNoteEntry::CalcMultiLayeredCell | ( | ) |
Returns true if the entry is in a cell with multiple layers of music.
Current implementation is extremely slow!
Lua-supported.
|
inline |
Returns the non-dotted symbolic duration of the entry.
Example: A double-dotted quarter note will be returned as QUARTER_NOTE.
(Was earlier called 'GetNondottedDuration')
Lua-supported.
|
static |
Static method that truncates duration to give only return the non-dotted duration value.
Lua-supported.
duration | Any input duration in EDUs. |
twobyte FCNoteEntry::CalcResize | ( | ) |
Calculates the resize percent for the note entry.
This method loads the FCEntryAlterMod data for the note entry. It's provided as a more convenient approach to resized entries.
Lua-supported.
bool FCNoteEntry::CalcSmallestNoteheadResize | ( | FCNumber * | pSmallestFontSize, |
FCNumber * | pSmallestResize | ||
) |
Calculates the smallest point size and the smallest notehead % resize for the entry.
This method requires that PDK_FRAMEWORK_PREFS are defined.
Lua-supported.
pSmallestFontSize | Pointer to FCNumber object where the smallest font size will be stored. |
pSmallestResize | Pointer to FCNumber where the smallest % resize will be stored. |
twobyte FCNoteEntry::CalcStemLength | ( | ) |
Calculates the stem length, based on the entry metrics.
Call the MarkEntryMetricsForUpdate method if the entry-related layout info needs to be rebuilt.
Lua-supported.
bool FCNoteEntry::CalcStemUp | ( | ) |
Returns the direction of the beam.
Call the MarkEntryMetricsForUpdate static method if the entry-related layout info needs to be rebuilt.
Lua-supported.
bool FCNoteEntry::CalcUnbeamedNote | ( | ) |
Returns true if the entry is a non-beamed note (=not part of a beamed group.)
This method requires that PDK_FRAMEWORK_PREFS is defined.
Lua-supported.
|
static |
Static method that calculates a valid note duration value by truncating the value if necessary.
If only non-dotted is required, use CalcNondottedDurationForDuration instead.
Lua-supported.
duration | A duration in EDUs to test. |
twobyte FCNoteEntry::CalcWidestNoteheadWidth | ( | ) |
Returns the widest width of a notehead in the entry, as the non-printing width.
The left side of the widest notehead is (kind of) a connection point for articulations on up-stem notes using stem side placement.
Lua-supported.
|
inlinevirtual |
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child class.
Lua-supported.
Reimplemented from __FCCollection.
void FCNoteEntry::ClearPitches | ( | ) |
Clears all pitches from the entry, to prepare to add new notes.
This method will not turn the entry into a rest! Use this method rather than ClearAll().
Lua-supported.
void FCNoteEntry::CopyEntry | ( | FCNoteEntry * | pFromEntry | ) |
Copies the duration and notes (or rest) from the source entry.
Flags for individual notes in the entry are copied, but the note entry flags (such as beam/beat and attachment flags) are not copied.
Lua-supported.
void FCNoteEntry::CopyEntryDetails | ( | FCNoteEntry * | pFromEntry, |
bool | copytuplets | ||
) |
Copies note-related data from another entry.
Entry details that are dependent on stem/beam direction are NOT copied.
These details are copied:
Lua-supported.
void FCNoteEntry::CopyEntryPercussionDetails | ( | FCNoteEntry * | pFromEntry | ) |
Copies note-related data between percussion entries.
Both source and destination entries must belong to a percussion staff. No remapping is made if the source and destination belongs to different percussion maps.
void FCNoteEntry::CopyNote | ( | FCNote * | pFrom | ) |
Copies all pitches and other note information from one single note. The old notes for the entry will be erased. The tie information and other note flags will also be identical to the source.
Lua-supported.
pFrom | Pointer to an note from where the info should be copied. |
void FCNoteEntry::CopyNotes | ( | FCNoteEntry * | pFrom | ) |
Copies all pitches and other note information from another entry. The old notes for the entry will be erased. The tie information and other note flags will also be identical to the source.
Lua-supported.
pFrom | Pointer to an entry from where the pitches should be copied. |
FCArticulations * FCNoteEntry::CreateArticulations | ( | ) |
Creates a collection for all the articulations attached to the note entry.
The caller must delete the collection from the heap after use.
FCNoteheadMods * FCNoteEntry::CreateNoteheadMods | ( | ) |
Creates a collection for all the notehead modifications attached to the note entry.
The caller must delete the collection from the heap after use.
FCNotePitches * FCNoteEntry::CreateNotePitches | ( | ) |
Create local copies of the note pitches in a collection.
FCPerformanceMods * FCNoteEntry::CreatePerformanceMods | ( | ) |
Creates a collection for all the MIDI performance modifications attached to the note entry.
The caller must delete the collection from the heap after use.
FCTuplets * FCNoteEntry::CreateTuplets | ( | ) |
Creates a collection for all the tuplets connected to the note entry.
The caller must delete the collection from the heap after use.
bool FCNoteEntry::DeleteNote | ( | FCNote * | pNote | ) |
Deletes a note from a chord. The note collection is rebuilt after the deletion.
Make sure to note make any assumption about the note states or positions within the entry after the delete.
Lua-supported.
pNote | Pointer to the note object to delete. |
FCNote * FCNoteEntry::FindDisplacement | ( | twobyte | displacement | ) |
Tries to finds a note in the chord with a specific displacement value.
Lua-supported.
[in] | displacement | The displacement value to match. |
FCNote * FCNoteEntry::FindNoteID | ( | twobyte | noteID | ) |
Finds the FCNote object that matches a specific note ID.
[in] | noteID | The note ID to search for. |
Tries to finds a note in the chord with the identical pitch as the suppied note.
Lua-supported.
[in] | pPitchNote | Pointer to the note that should be matched in pitch. |
|
inline |
Gets the actual duration of the entry. For tuplet entries, the symbolic duration would be different from the actual duration. Compare with the GetDuration method.
Lua-supported (also as property).
|
inline |
Returns true if the entry is marked to contain articulations.
Lua-supported (also as property).
|
inline |
Gets the "beam/beat" flag state of the entry.
Lua-supported (also as property).
bool FCNoteEntry::GetCheckAccidentals | ( | ) | const |
Returns the accidental "refresh" flag.
Lua-supported (also as property).
|
inline |
Gets the clef that's used for the entry.
Use the FCClefDef class to load information about the clef.
Lua-supported (also as property).
bool FCNoteEntry::GetCombineRests | ( | ) | const |
Returns the flag for if the rest should combine.
Available only on Finale 2014 and above.
|
inline |
Returns the cross staff state for the entry.
Lua-supported (also as property).
|
inline |
Gets the symbolic duration of the entry. For tuplet entries, the symbolic duration would be different from the actual duration. Compare with the GetActualDuration method.
Lua-supported (also as property).
|
inline |
Returns the internal entry number (ID) for the note entry.
Lua-supported (also as a read-only property).
|
inline |
Gets the "flat beam" state of the entry.
The beam is only visually affected if the entry is first in a beamed group.
Lua-supported (also as property).
|
inline |
Gets the "flip tie" state of the note entry.
Lua-supported (also as property).
|
inline |
Gets the floating rest status of the entry.
Lua-supported (also as property).
|
inline |
Gets the freeze state for the "beam/beat".
Lua-supported (also as property).
|
inline |
Gets the "Freeze Stem" state for the note entry.
Lua-supported (also as property).
|
inline |
Gets the grace note state of the note entry.
Lua-supported (also as property).
|
inline |
Gets the grace note slash state of the note entry.
Lua-supported (also as property).
|
inline |
Overload version of GetItemAt(), which returns a note object (if available) for the note entry.
Lua-supported.
|
inline |
Returns the 1-based layer number that the entry belongs to.
Lua-supported (also as read-only property).
|
inline |
Gets the ledger line state for the note entry.
Lua-supported (also as property).
|
inline |
Gets the legality bit, that marks that the entry is valid.
All entries should have this bit set to be valid to Finale.
Lua-supported (also as property).
|
inline |
Returns the flag that marks that an entry has syllable attached to it.
Lua-supported.
|
inline |
Gets the manual positioning of the entry.
Lua-supported (also as property).
|
inline |
Returns the entry's measure.
Lua-supported (also as a read-only property).
|
inline |
Returns the elapsed duration position in the measure for the entry.
First entry in measure starts at 0. Please note that the position is based on duration, not on measurement.
Lua-supported (also as property).
|
inline |
Returns true for existing note detail records.
Lua-supported (also as property).
|
inline |
Returns true for existing performance data records.
Use the FCPerformanceMod class to access the performance data.
Lua-supported (also as property).
|
inline |
Gets the playback state of the note entry.
Lua-supported (also as property).
twobyte FCNoteEntry::GetRestDisplacement | ( | ) |
Returns the rest displacement.
|
inline |
Returns true for secondary beam detail records.
Lua-supported (also as property).
|
inline |
Returns true if the entry is marked to contain smart shapes.
Lua-supported (also as property).
|
inline |
Gets the music spacing state of the note entry.
Lua-supported (also as property).
|
inline |
Returns true for existing special alteration records.
Lua-supported (also as property).
|
inline |
Returns the entry's staff.
Lua-supported (also as a read-only property).
|
inline |
Gets the flag state for stem detail records.
Lua-supported (also as property).
|
inline |
Returns the state of the "up" bit for the entry. This is NOT the same as the true direction for the stem!
To get the true direction of a stem for an entry, use the CalcStemUp method.
Lua-supported (also as property).
|
inline |
Returns true if the entry is marked to start a tuplet.
Lua-supported (also as property).
|
inline |
Gets the visibility state of the note entry.
Lua-supported (also as property).
|
inline |
Returns true if it's a voice 2 entry.
Lua-supported (also as property).
|
inline |
Returns true if the entry launches voice 2.
Lua-supported (also as property).
bool FCNoteEntry::HasSameNotes | ( | FCNoteEntry * | pEntry | ) |
Compares the notes with the notes in another note entry.
Lua-supported.
bool FCNoteEntry::IsAllTied | ( | ) |
Returns true if all of the notes in the chord is tied to the next entry.
Lua-supported.
bool FCNoteEntry::IsAllTiedBackwards | ( | ) |
Returns true if all of the notes in the chord has a flagged to be tied from the previous entry.
Lua-supported.
bool FCNoteEntry::IsDotted | ( | ) |
Returns true if it's a dotted entry.
Lua-supported.
|
inline |
Returns true if it's the last entry in the measure frame.
Lua-supported.
|
inline |
Returns true if entry is a note.
Lua-supported.
bool FCNoteEntry::IsOverlappedEntry | ( | FCNoteEntry * | pTestEntry | ) |
Returns true if the test entry is at least partly overlapping the current entry.
The method checks the left/right overlap only. Entries can be placed on different staves and still overlap.
Lua-supported.
pTestEntry | Entry to test against. |
bool FCNoteEntry::IsPartOfTuplet | ( | ) |
Returns true if the entry is part of a tuplet.
This method only works correctly if the frame has been accurately saved.
Lua-supported.
bool FCNoteEntry::IsPartOfTupletParam | ( | TupletInfo * | pInfoStorage = NULL | ) |
Returns true if the entry is part of a tuplet (parameter version).
This method only works correctly if the frame has been accurately saved.
pInfoStorage | The optional pointer to where information about the matching tuplet should be copied. |
|
inline |
Returns true if entry is a rest.
Lua-supported.
bool FCNoteEntry::IsRestMovable | ( | ) |
Returns true if it's a movable rest.
Lua-supported.
bool FCNoteEntry::IsStartOfTuplet | ( | ) |
Returns true if the entry is the start of a tuplet.
This method only works correctly if the frame has been accurately saved. It goes deeper than just looking at the entry's tuplet flag.
Lua-supported.
bool FCNoteEntry::IsStartOfTupletParam | ( | TupletInfo * | pInfoStorage = NULL | ) |
Returns true if the entry is the start of a tuplet (parameter version).
This method only works correctly if the frame has been accurately saved. It goes deeper than just looking at the entry's tuplet flag.
pInfoStorage | The optional pointer to where information about the matching tuplet should be copied. |
bool FCNoteEntry::IsTied | ( | ) |
Returns true if any of the notes in the chord is tied to the next entry.
Lua-supported.
bool FCNoteEntry::IsTiedBackwards | ( | ) |
Returns true if any of the notes in the chord is flagged to be tied from the previous entry.
Lua-supported.
bool FCNoteEntry::IsTiedToPrevious | ( | ) |
Return true if the previous entry has a tie to this entry.
This method will not scan past the layer/cell boundaries. If the previous entry is further away than 1 measure, it's not considered to be a tie.
Lua-supported.
|
static |
Static method that evaluates the validity of a duration value.
Lua-supported.
duration | A duration in EDUs to test. |
void FCNoteEntry::MakeMovableRest | ( | ) |
Turns the entry into a movable rest.
Lua-supported.
void FCNoteEntry::MakeNote | ( | ) |
Turns the entry into a note.
Lua-supported.
void FCNoteEntry::MakeRest | ( | ) |
Turns the entry into a rest (without any displacement).
Lua-supported.
|
inlinestatic |
Static method that mark that the entry-related layout info needs to be rebuilt (for CalcStemUp(), for example).
It will also set the flag to rebuild the cell metrics, since that is used for some entry-related calculations. This flag is cleared once the metrics has been rebuilt internally.
Lua-supported.
|
inline |
Returns the next entry in the loaded entry chain (within the same layer).
Please note that what this method will return is dependent on how the owner loaded the TGF data.
Lua-supported.
|
inline |
Returns the previous note entry in the linked collection (layer or cell).
This method looks past frames, if the owner collection supports it.
Lua-supported.
|
inline |
Returns the previous note entry in the linked collection (layer or cell), but only within the frame.
Lua-supported.
void FCNoteEntry::SetAccidentals | ( | bool | bAccidental | ) |
Sets/removes accidental display for all chord notes in the entry.
This method doesn't affect rests.
Lua-supported.
bAccidental | true - puts accidentals on all chord notes for the note entry. false - remove accidentals for all chord notes. |
|
inline |
Sets the actual duration for the entry.
This value is never saved. It's only used for diagnostic purposes.
Lua-supported (also as property).
|
inline |
Sets the flag that marks that an articulation is attached to the entry.
Lua-supported (also as property).
state | True = there are articulations attached to the entry. |
|
inline |
Sets the "beam/beat" state of the entry.
Lua-supported (also as property).
state | Set to true if the entry is not a continuation of a beamed group. |
void FCNoteEntry::SetCheckAccidentals | ( | bool | state | ) |
Marks the entry that the accidentals should be verified when the frame is saved.
When run on Finale 2014 and higher, this method does nothing.
Lua-supported (also as property).
state | True to mark that Finale should check the states of the accidentals for the entry. |
|
inline |
Sets the clef index for the entry.
Lua-supported (also as property).
void FCNoteEntry::SetCombineRests | ( | bool | state | ) |
Sets the flag for if the rest should combine.
Available only on Finale 2014 and above (will do nothing on pre-Fin2014).
|
inline |
Sets the cross staff state for the entry.
Lua-supported (also as property).
state | Set to true if the entry is a cross staff entry. |
|
inline |
Sets the symbolic duration of the note. For tuplet entries, the symbolic duration would be different from the actual duration.
Lua-supported (also as property).
duration | The duration of the entry. |
|
inline |
Sets the "flat beam" state of the entry.
The beam is only affected if the entry is first in a beamed group.
Lua-supported (also as property).
state | Set to true if the entry should have a flat beam. |
|
inline |
Sets the "flip tie" of the note entry.
Lua-supported (also as property).
|
inline |
Sets the floating rest status of the entry.
Lua-supported (also as property).
state | True = Floating rest, false = vertically moved rest. |
|
inline |
Sets the freeze state for the "beam/beat".
Lua-supported (also as property).
state | Set to true to freeze. False to unfreeze. |
|
inline |
Sets the "Freeze Stem" state for the note entry.
Lua-supported (also as property).
|
inline |
Sets the grace note state of the note entry.
Lua-supported (also as property).
state | True for grace note, false for normal note. |
|
inline |
Sets the slashed state for a grace note entry.
Lua-supported (also as property).
state | True for a grace note slash, false for no slash. |
|
inline |
Sets the ledger line state for the note entry.
Lua-supported (also as property).
state | True to turn on ledger lines for the entry. |
|
inline |
Sets the legality bit, marking that the entry is valid.
All entries should have this bit set to be valid to Finale.
Lua-supported (also as property).
state | True to set the entry as valid. |
|
inline |
Sets the flag that marks that an entry has syllable attached to it.
Lua-supported (also as property).
|
inline |
Sets the manual positioning of the entry.
Lua-supported (also as property).
|
inline |
Sets the elapsed position in the measure for the entry.
First entry in measure starts at 0. This is a diagnostic value only, but for some future calculations this value can be good to set when changing durations of previous entries.
USE WITH CARE!
Lua-supported (also as property).
value | The ellapsed position for the note entry, in EDUs. |
|
inline |
Sets the flag state for note detail records.
Lua-supported (also as property).
state | True = there are available note detail data. |
|
inline |
Sets if the entry is a note or a rest.
state | True = entry is a note. False = entry is a rest. |
|
inline |
Sets the flag state for performance data records.
Lua-supported (also as property).
state | True = there are available performance data. |
|
inline |
Sets the playback state of the note entry.
Lua-supported (also as property).
state | True to allow playback, false to mute. |
void FCNoteEntry::SetRestDisplacement | ( | twobyte | value | ) |
Sets the displacement for a rest entry.
If the rest isn't movable, it's changed to a movable rest. This method does nothing for non-rests.
|
inline |
Sets the flag state for secondary beam detail records.
Lua-supported (also as property).
state | True = there is secondary beam detail data. |
|
inline |
Sets the flag that marks that a smart shape is attached to the entry.
Lua-supported (also as property).
|
inline |
Sets the music spacing state of the note entry.
Lua-supported (also as property).
state | True to include in music spacing, false to exclude from spacing. |
|
inline |
Sets the flag state for special alteration records.
Lua-supported (also as property).
state | True = there are available special alteration data. |
|
inline |
Sets the flag state for stem detail records.
Lua-supported (also as property).
state | True = there is stem detail data. |
|
inline |
Sets the "stem up" flag for the entry.
The stem will use this setting if it's a "beam/beat" entry (if it's not a continuation of a beamed group).
Lua-supported (also as property).
state | True to put the stems up. |
|
inline |
Sets the flag that marks that a tuplet starts on the entry.
Lua-supported (also as property).
|
inline |
Sets the visibility state of the note entry.
Lua-supported (also as property).
state | True to show the entry, false to hide it. |
|
inline |
Sets the voice 2 status for the entry.
Lua-supported (also as property).
|
inline |
Sets the entry that controls the launch of voice 2.
Lua-supported (also as property).
void FCNoteEntry::TieAll | ( | bool | bTie | ) |
Ties or unties all chord notes for the entry.
This method doesn't affect rests.
Lua-supported.
bTie | true - tie all chord notes for the note entry. false - untie all chord notes. |