8 #ifndef FF_OTHERCOLLECTION_H
9 #define FF_OTHERCOLLECTION_H
11 #include "ff_region.h"
13 #include "ff_browser.h"
22 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
26 virtual const char*
ClassName() {
return "FCOtherIncis"; }
51 #ifdef PDK_FRAMEWORK_LAYOUT
62 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
74 virtual const char*
ClassName() {
return "FCPages"; }
110 static bool InsertBlank(
int beforepageno,
bool updatelayout);
112 #endif // PDK_FRAMEWORK_LAYOUT
115 #ifdef PDK_FRAMEWORK_LAYOUT
130 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
143 virtual const char*
ClassName() {
return "FCStaffSystems"; }
181 #endif // PDK_FRAMEWORK_LAYOUT
192 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
203 virtual const char*
ClassName() {
return "FCMeasures"; }
228 static bool Delete(
int measureno,
int count)
230 if (count < 1)
return false;
231 return ::FX_DeleteMeasures(measureno, count,
true) != 0;
245 static bool Append(
int count,
bool updatelayout)
247 if (count < 1)
return false;
249 int lastmeasure = measures.
GetCount();
250 return ::FX_InsertMeasures(lastmeasure + 1, count, updatelayout) != 0;
265 static bool Insert(
int measureno,
int count,
bool updatelayout)
267 if (count < 1)
return false;
268 tbool param = updatelayout;
269 return (::FX_InsertMeasures(measureno, count, param) != 0);
281 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
317 static bool Delete(CMPER staffid);
334 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
345 _pAllMeasures = NULL;
348 virtual const char*
ClassName() {
return "FCMeasureNumberRegions"; }
476 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
480 virtual const char*
ClassName() {
return "FCArticulationDefs"; }
514 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
530 virtual const char*
ClassName() {
return "FCSystemStaves"; }
541 for (
int i = 0; i <
GetCount(); i++)
544 if (pSystemStaff->
GetStaff() == staffno)
return pSystemStaff;
637 for (
int listidx =
GetCount() - 1; listidx >= 0; listidx --)
654 for (
int idx = 0; idx <
GetCount(); idx++)
657 if (pOtherSystemStaves->
FindStaff(pSystemStaff->
GetStaff()) != NULL)
return true;
672 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
683 virtual const char*
ClassName() {
return "FCCategoryDefs"; }
700 for (
int idx = 0; idx <
GetCount(); idx++)
717 for (
int idx = 0; idx <
GetCount(); idx++)
720 if (pCategory->
GetID() == catID)
return pCategory;
735 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
745 virtual const char*
ClassName() {
return "FCTextExpressionDefs"; }
762 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
772 virtual const char*
ClassName() {
return "FCShapeExpressionDefs"; }
791 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
807 virtual const char*
ClassName() {
return "FCExpressions"; }
819 #ifdef PDK_FRAMEWORK_LAYOUT
854 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
864 virtual const char*
ClassName() {
return "FCPageTexts"; }
882 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
892 virtual const char*
ClassName() {
return "FCTextBlocks"; }
915 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
919 int _expectedmeasure;
932 _expectedmeasure = 0;
935 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
937 void _SetCmperSave(CMPER cmper) { _cmpersave = cmper; }
940 void _SetExpectedMeasure(
int measure) { _expectedmeasure = measure; }
943 virtual const char*
ClassName() {
return "FCSeparatePlacements"; }
953 #ifndef PDK_FRAMEWORK_LUAFRIENDLY
997 for (
int i =
GetCount() - 1; i >= 0; i--)
1005 #if FXT_VERSION >= FINALEVERSION_2012
1016 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
1020 virtual const char*
ClassName() {
return "FCStaffStyleDefs"; }
1035 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
1039 virtual const char*
ClassName() {
return "FCStaffStyleAssigns"; }
1054 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
1065 virtual const char*
ClassName() {
return "FCMultiMeasureRests"; }
1083 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
1087 virtual const char*
ClassName() {
return "FCFreezeSystems"; }
1093 #if FXT_VERSION >= FINALEVERSION_2012
1102 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
1114 virtual const char*
ClassName() {
return "FCMultiStaffInstruments"; }
1129 if (staffno == 0)
return NULL;
1130 for (
int i = 0; i <
GetCount(); i++)
1144 #endif // #if FXT_VERSION >= FINALEVERSION_2012
1154 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
1170 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
1182 virtual const char*
ClassName() {
return "FCPageGraphics"; }
1200 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
1211 virtual const char*
ClassName() {
return "FCTextRepeatDefs"; }
1229 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
1240 virtual const char*
ClassName() {
return "FCFretInstrumentDefs"; }
1261 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
1288 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
1292 virtual const char*
ClassName() {
return "FCExecutableShapeDefs"; }
1296 #ifdef PDK_FRAMEWORK_SHAPES
1306 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
1335 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
1339 virtual const char*
ClassName() {
return "FCChordSuffixElements"; }
1349 #if FXT_VERSION >= FINALEVERSION_2012
1358 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
1362 virtual const char*
ClassName() {
return "FCFretboardStyleDefs"; }
1374 #if FXT_VERSION >= FINALEVERSION_2012
1382 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
1388 virtual const char*
ClassName() {
return "FCFretboardGroupDefs"; }
1409 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
1422 virtual const char*
ClassName() {
return "FCBeatChartElements"; }
1436 for (
int i = 0; i <
GetCount(); i++)
1440 if (pElement->
GetMeasurePos() == durationpos)
return pElement;
1455 if (index < 1)
return false;
1456 if (index >= (
GetCount()))
return false;
1460 for (
int i = index + 1; i <
GetCount(); i++)
1463 int elementwidth = pElement->
CalcWidth();
1465 currentpos += elementwidth;
1468 if (updateinitrecord)
1487 for (
int idx =
GetCount() - 1; idx >= 1; idx--)
1491 pNextElement = pElement;
1521 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
1534 virtual const char*
ClassName() {
return "FCTempoElements"; }
1559 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
1573 virtual const char*
ClassName() {
return "FCPercussionLayoutNotes"; }
1594 if (!_percLibID)
return NULL;
1596 text.
Load(_percLibID);
1601 #ifdef PDK_FRAMEWORK_LUAFRIENDLY
1616 for (
int i = 0; i <
GetCount(); i++)
1633 for (
int i = 0; i <
GetCount(); i++)
1636 if (pObject->
GetNoteType() == notetype)
return pObject;
1641 #ifdef PDK_FRAMEWORK_TINYXML
1653 if (!pMapNotes)
return NULL;
1654 for (
int i = 0; i <
GetCount(); i++)
1659 for (
int i = 0; i <
GetCount(); i++)
1662 if (pObject->
CalcMidiNote(pMapNotes)== midinote)
return pObject;
1684 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
1698 virtual const char*
ClassName() {
return "FCInstrumentDefs"; }
1722 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
1753 #ifndef PDK_FRAMEWORK_LUAFRIENDLY
1763 case FCStaffList::SLMODE_SCORE:
1766 case FCStaffList::SLMODE_PARTS:
1769 case FCStaffList::SLMODE_FORCESCORE:
1772 case FCStaffList::SLMODE_FORCEPARTS:
1776 case FCStaffList::SLMODE_CATEGORY_SCORE:
1779 case FCStaffList::SLMODE_CATEGORY_PARTS:
1782 case FCStaffList::SLMODE_CATEGORY_FORCESCORE:
1785 case FCStaffList::SLMODE_CATEGORY_FORCEPARTS:
1790 case FCStaffList::SLMODE_ASSIGNMENT_SCORE:
1793 case FCStaffList::SLMODE_ASSIGNMENT_PARTS:
1796 case FCStaffList::SLMODE_ASSIGNMENT_FORCESCORE:
1799 case FCStaffList::SLMODE_ASSIGNMENT_FORCEPARTS:
1821 FCStaffList _scoredisplay, _partsdisplay, _scoreforced, _partsforced;
1841 _scoredisplay.
SetMode(FCStaffList::SLMODE_SCORE);
1842 if (!_scoredisplay.
Load(number))
return false;
1843 _partsdisplay.
SetMode(FCStaffList::SLMODE_PARTS);
1844 if (!_partsdisplay.
Load(number))
return false;
1845 _scoreforced.
SetMode(FCStaffList::SLMODE_FORCESCORE);
1846 if (!_scoreforced.
Load(number))
return false;
1847 _partsforced.
SetMode(FCStaffList::SLMODE_FORCEPARTS);
1848 if (!_partsforced.
Load(number))
return false;
1865 _scoredisplay.
SetMode(FCStaffList::SLMODE_CATEGORY_SCORE);
1866 if (!_scoredisplay.
Load(number))
return false;
1867 _partsdisplay.
SetMode(FCStaffList::SLMODE_CATEGORY_PARTS);
1868 if (!_partsdisplay.
Load(number))
return false;
1885 _scoredisplay.
SetMode(FCStaffList::SLMODE_ASSIGNMENT_SCORE);
1886 if (!_scoredisplay.
Load(number))
return false;
1887 _partsdisplay.
SetMode(FCStaffList::SLMODE_ASSIGNMENT_PARTS);
1888 if (!_partsdisplay.
Load(number))
return false;
1917 if (staffno == 0)
return false;
1929 if (_scoredisplay.
IncludesStaff(SLD_BOTTOMSTAFF))
return true;
1944 if (_partsdisplay.
IncludesStaff(SLD_BOTTOMSTAFF))
return true;
1952 #ifdef PDK_FRAMEWORK_LAYOUT
1997 _partstaffsystems.
Add(pStaffSystems);
1999 return pStaffSystems;
2029 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
2033 virtual const char*
ClassName() {
return "FCCellClefChanges"; }
2067 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
2072 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
2079 _vertical = isvertical;
2086 bool _Load(
int count);
2115 Efix32 smallestfound = gravityzonesize + 1;
2117 for (
int i = 0; i <
GetCount(); i++)
2120 Efix32 testdiff = pGuide->
GetPosition() - testposition;
2121 if (testdiff < 0) testdiff = -testdiff;
2122 if (testdiff > gravityzonesize)
continue;
2123 testdiff = -testdiff;
2124 if (testdiff < -gravityzonesize)
continue;
2126 testdiff = -testdiff;
2127 if (testdiff < smallestfound)
2129 smallestfound = testdiff;
2165 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
2170 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
2181 virtual const char*
ClassName() {
return "FCMetatoolAssignments"; }
2199 #ifndef PDK_FRAMEWORK_LUAFRIENDLY
2216 #ifndef PDK_FRAMEWORK_LUAFRIENDLY
2241 #ifndef PDK_FRAMEWORK_LUAFRIENDLY
2249 if (mode == FCMetatoolAssignment::MTOOLMODE_UNKNOWN)
return 0;
2264 if (keystrokeslot == 0)
return NULL;
2265 for (
int i = 0; i <
GetCount(); i++)
2268 if (pAssignment->
GetKeystroke() == keystrokeslot)
return pAssignment;
2284 for (
int i = 0; i <
GetCount(); i++)
2287 if (pAssignment->
GetDefID() == defID)
return pAssignment;
2303 if (!pDef)
return NULL;
2305 for (
int i = 0; i <
GetCount(); i++)
2325 if (!pDef)
return NULL;
2327 for (
int i = 0; i <
GetCount(); i++)
2347 if (!pDef)
return NULL;
2349 for (
int i = 0; i <
GetCount(); i++)
2368 if (!pDef)
return NULL;
2370 for (
int i = 0; i <
GetCount(); i++)
2389 #ifdef PDK_FRAMEWORK_ENTRIES
static bool Delete(int measureno, int count)
Deletes the measure(s) and updates the layout.
Definition: ff_othercollection.h:228
FCPercussionLayoutNote * GetItemAt(int index)
Overridden version of GetItemAt.
Definition: ff_othercollection.h:1672
virtual CMPER GetItemNo() const
Returns the item number. This typically points to items such as a page number, a measure number...
Definition: ff_other.h:305
__FCBase * GetItemAt(int index)
Returns the object at the index position. Index is 0-based.
Definition: finaleframework.cpp:12797
The class for a note definition in a percussion layout.
Definition: ff_other.h:23136
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_othercollection.h:348
The class for a measure number region.
Definition: ff_other.h:5254
Evpu16 CalcWidth()
Calculates and returns the width of the beat chart element.
Definition: ff_other.h:22208
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_othercollection.h:292
FCMeasureNumberRegion * GetItemAt(int index)
Overridden version of GetItemAt().
Definition: ff_othercollection.h:451
static void UpdateFullLayout()
Updates the layout for the whole document (in the current part).
Definition: finaleframework.cpp:13580
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_othercollection.h:1020
Class for a shape expression definition.
Definition: ff_other.h:14483
FCStaves()
The construcor.
Definition: ff_othercollection.h:290
FCTextBlocks()
The constructor.
Definition: ff_othercollection.h:890
Collection class for FCTextRepeat class objects.
Definition: ff_othercollection.h:1258
void ClearAll()
Destroys all the objects in the collection and empties the collection.
Definition: ff_basecollection.h:130
Collection class for FCMultiMeasureRest class objects.
Definition: ff_othercollection.h:1051
FCInstrumentDef * GetItemAt(int index)
Overridden GetItemAt method.
Definition: ff_othercollection.h:1704
FCSystemStaves()
The constructor.
Definition: ff_othercollection.h:522
FCPercussionLayoutNotes()
The constructor.
Definition: ff_othercollection.h:1568
Definition: ff_parts.h:113
Class that stores one record of a fretboard chord definition.
Definition: ff_other.h:21082
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_othercollection.h:74
Class for page-assigned graphics. Currently, this class can only be used to edit existing page graphi...
Definition: ff_other.h:18859
FCMultiStaffInstrument * GetItemAt(int index)
Overridden GetItemAt() method.
Definition: ff_othercollection.h:1142
Class for attaching an tuplet to an entry.
Definition: ff_entrydetails.h:1647
FCBeatChartElement * GetItemAt(int index)
Overridden GetItemAt() method.
Definition: ff_othercollection.h:1509
Class for freezing a system at a specific measure.
Definition: ff_other.h:13506
FCMeasures()
The constructor.
Definition: ff_othercollection.h:200
FCCellClefChange * GetItemAt(int index)
Overridden GetItemAt() method.
Definition: ff_othercollection.h:2048
void SetFullSpan(Evpu16 span)
Sets the full span for the beat chart.
Definition: ff_other.h:22272
FCTextExpressionDef * GetItemAt(int index)
Overridden version of GetItemAt()
Definition: ff_othercollection.h:751
Collection class for FCShapeDef class objects, which defines the shape definitions in the document...
Definition: ff_othercollection.h:1303
Collection class for FCFretboardGroupDef class objects.
Definition: ff_othercollection.h:1379
Collection class for FCShapeExpressionDef class objects.
Definition: ff_othercollection.h:759
void ExpandToFitRecords(int noofrecords, int recordsize, CMPER cmper)
Expands the number of incise to fit the required amount of records.
Definition: finaleframework.cpp:13514
Class for a multi-measure rest instance.
Definition: ff_other.h:18234
Class for a category definition.
Definition: ff_other.h:12571
FCPages()
The constructor.
Definition: ff_othercollection.h:70
void GetName(FCString *pString)
Gets the name of the category and copies it to an existing string object.
Definition: ff_other.h:12977
FCFretboardGroupDef * GetItemAt(int index)
Overridden version of GetItemAt()
Definition: ff_othercollection.h:1395
virtual bool SaveAll()
Overridden version of SaveAll, that verifies the collection integrity before saving.
Definition: ff_othercollection.h:1499
virtual bool Load(CMPER itemno)
Overridden Load() method, since the staff list is of dynamic size.
Definition: finaleframework.cpp:12331
Collection class for FCStaffStyleAssign class objects.
Definition: ff_othercollection.h:1032
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_othercollection.h:2033
Collection class for FCTempoElements class objects for one measure. The tempo elements should be stor...
Definition: ff_othercollection.h:1518
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_othercollection.h:143
bool LoadStandardList(twobyte number)
Loads all 4 required score lists for a "standard" score lists (used by repeats etc).
Definition: ff_othercollection.h:1838
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_othercollection.h:1805
twobyte GetMeasure() const
Sets the measure that the separate placement should be matched to.
Definition: ff_other.h:16372
Class for a page-connected text block.
Definition: ff_other.h:15674
bool AssignAllMeasures(FCMeasures *pAllMeasures)
Assigns a reference table for all the measures in the current document. This will substantionally spe...
Definition: finaleframework.cpp:13892
bool ClearItemAt(int index)
Deletes the object at the index position and disposes the object. Index is 0-based.
Definition: finaleframework.cpp:12821
int GetMemoryBlockSize()
Returns the total number of bytes that all the loaded incis requires.
Definition: finaleframework.cpp:13480
Class for a text block.
Definition: ff_other.h:15039
The class for an articulation definition. On Finale 2012 and above, this class supports the Unicode c...
Definition: ff_other.h:11535
void RebuildNextHorizontalPositions()
Rebuilds all the "next horizontal measure positions" in the beat chart chain.
Definition: ff_othercollection.h:1484
Text used for the name of a percussion layout. Please refer to the FCPercussionLayoutNotes class...
Definition: ff_text.h:214
void MakeMemoryBlockCollection(twobyte *pBuffer, int size, CMPER cmper)
Creates items out of a memory block.
Definition: finaleframework.cpp:13500
bool LoadCategoryList(twobyte number)
Loads all 4 required score lists for a "Category" score lists (as defined in the Category Designer)...
Definition: ff_othercollection.h:1862
Base class for "other" data with incis of the __FCInciOther class (where it's common to collect all i...
Definition: ff_basecollection.h:606
Collection class for FCTextRepeatDef class objects.
Definition: ff_othercollection.h:1197
void SetHorizontalPosition(Evpu16 position)
Sets the position of the beat chart element.
Definition: ff_other.h:22245
int LoadAllForRegion(FCMusicRegion *pRegion)
Loads all staves in the selection.
Definition: ff_othercollection.h:632
Collection class for FCPage class objects.
Definition: ff_othercollection.h:59
FCMeasureNumberRegion * FindMeasure(int measure)
Returns the first region in the collection that contains the measure number.
Definition: finaleframework.cpp:13660
FCPercussionLayoutNote * FindMidiNote(twobyte midinote, FCPercussionMapNotes *pMapNotes)
Returns the object in the collection that has a certain MIDI note, based on the percussion map...
Definition: ff_othercollection.h:1651
bool IsSharingStaffWith(FCSystemStaves *pOtherSystemStaves)
Returns true if at least one of the staves in the collection appears in the collection to compare aga...
Definition: ff_othercollection.h:652
The class for an instrument definition item (in the instrument list/Score Manager).
Definition: ff_other.h:22745
Definition: ff_other.h:16293
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_othercollection.h:1339
Collection class for FCFretInstrumentDef class objects.
Definition: ff_othercollection.h:1226
Browser class for FCMeasure class objects.
Definition: ff_browser.h:313
__FCBase()
The constructor.
Definition: ff_base.h:247
bool Load(twobyte number)
Loads the text with the indicated text number.
Definition: finaleframework.cpp:3865
PDKFRAMEWORK_CLASSID
Constants for the GetClassID method.
Definition: ff_base.h:60
FCMeasureNumberRegion * FindByID(int theID)
Returns the region that matches a specific ID.
Definition: finaleframework.cpp:13670
eStaff GetStaff() const
Returns the 1-based staff number for this slot.
Definition: ff_other.h:6801
FCTextBlock * GetItemAt(int index)
Overridden GetItemAt() method.
Definition: ff_othercollection.h:898
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_othercollection.h:1534
Collection class for FCFreezeSystem class objects. LoadAll doesn't work for this class.
Definition: ff_othercollection.h:1080
Class for text repeat assignments to a measure. The assignment is connected with a FCTextRepeatDef de...
Definition: ff_other.h:19723
Collection class for FCMeasure class objects.
Definition: ff_othercollection.h:189
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_othercollection.h:1573
void SetCustomTag(EXTAG tag)
Sets a custom Enigma tag for the elements of the collection.
Definition: ff_basecollection.h:524
The class for a fretboard style definition, which reflects the content the "Fretboard Style" dialog b...
Definition: ff_other.h:20547
SEPARATEPLACEMENT_MODES
Modes for which placement type to load.
Definition: ff_other.h:16281
Collection class for FCChordSuffixElement class objects, usually created with FCChord:CreateChordSuff...
Definition: ff_othercollection.h:1332
Definition: ff_other.h:16290
twobyte GetEndStaff()
Returns the staff of the end staff in the collection, if any.
Definition: ff_othercollection.h:579
Class that stores one "inci" of a staff list (for a system or for the global list of staves)...
Definition: ff_other.h:6706
Class for a text expression definition.
Definition: ff_other.h:13603
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_othercollection.h:1065
Class that handles separate placement for repeats.
Definition: ff_other.h:16251
FCGuide * GetItemAt(int index)
Overridden GetItemAt() method.
Definition: ff_othercollection.h:2099
__FCCollection()
The constructor.
Definition: ff_basecollection.h:60
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_othercollection.h:892
int LoadScrollView()
A shortcut method to load the scroll view staves.
Definition: ff_othercollection.h:592
Class for tablature instruments definitions.
Definition: ff_other.h:23746
CMPER GetPercussionLibraryID()
Returns the percussion layout ID.
Definition: ff_othercollection.h:1576
bool IsStaffIncluded(twobyte staffnumber)
Returns true if the staff number is with the region.
Definition: finaleframework.cpp:14607
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_othercollection.h:1698
Simple collection class for FCNumber class objects.
Definition: ff_basecollection.h:329
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_othercollection.h:1388
FCInstrumentDefs()
The constructor.
Definition: ff_othercollection.h:1693
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_othercollection.h:807
FCMeasureNumberRegions()
The constructor.
Definition: ff_othercollection.h:343
virtual const PDKFRAMEWORK_CLASSID GetClassID()
Returns the internal class ID for the PDK Framework class. This is implemented mostly because Lua has...
Definition: ff_othercollection.h:1115
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_othercollection.h:1422
FCTextRepeatDefs()
The constructor.
Definition: ff_othercollection.h:1209
Class that represent one part in a document. The class also provides methods to switch between parts...
Definition: ff_parts.h:67
bool IsStaffElementDisplayed(eStaff staffno, bool score, FCSystemStaves *pSystemStaves)
Checks if the staff is marked to display items. Forced state is not checked.
Definition: ff_othercollection.h:1914
Base class for "other" data without incis (inci always 0.)
Definition: ff_basecollection.h:681
FCSeparatePlacements()
the constructor.
Definition: ff_othercollection.h:929
FCMultiMeasureRests()
The constructor.
Definition: ff_othercollection.h:1063
The class for one single beat chart element.
Definition: ff_other.h:22059
PERC_NOTE_TYPE GetRawNoteType() const
Returns the "raw" percussion note type. This includes the order ID, for notes that share the same typ...
Definition: finaleframework.cpp:12095
Evpu16 GetHorizontalPosition() const
Returns the position in the measure for the element (in EVPUs).
Definition: ff_other.h:22136
Collection class for FCExecutableShapeDef class objects.
Definition: ff_othercollection.h:1285
Efix32 GetPosition() const
Returns the position for a guide, if EFIXes.
Definition: ff_other.h:24372
Class for a shape definition (as in Finale's Shape selection dialog).
Definition: ff_other.h:2109
int LoadStudioView()
A shortcut method to load the Studio View staves.
Definition: ff_othercollection.h:605
The class for a guide in the document.
Definition: ff_other.h:24351
Definition: ff_other.h:16287
FCGuide * AddGuide(Efix32 position)
Adds a new guide to the collection.
Definition: ff_othercollection.h:2148
void AssureSorted()
Makes sure that that elements are sorted in measure position order. If they are not in order...
Definition: finaleframework.cpp:14038
int GetCount() const
Returns the number of elements of the collection.
Definition: ff_basecollection.h:86
Class for expression assignments to a measure/staff.
Definition: ff_other.h:16483
bool IsMeasureIncluded(int measure)
Returns true if the measure is included in any of the measure number regions.
Definition: finaleframework.cpp:13816
FCSystemStaff * FindTempoTapStaff()
Finds the Tempo Tap Staff in the collection and returns the pointer to it.
Definition: ff_othercollection.h:558
Definition: ff_other.h:16284
FCString * CreateString()
Creates a string object with the loaded text. If the string doesn't exist (or if it's empty)...
Definition: finaleframework.cpp:3949
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_othercollection.h:864
FCPageGraphics()
The constructor.
Definition: ff_othercollection.h:1178
FCExpression * GetItemAt(int index)
Overridden GetItemAt() method.
Definition: ff_othercollection.h:805
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_othercollection.h:683
The class for a staff system on a page.
Definition: ff_other.h:3548
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_othercollection.h:745
FCTextRepeat * GetItemAt(int index)
Overridden version of GetItemAt()
Definition: ff_othercollection.h:1277
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_othercollection.h:772
bool GetInitElement() const
Returns true if it's the first (init) element in the chart. The init element defines the full beat ch...
Definition: ff_other.h:22199
void SetWidth(Evpu16 width)
Sets the width of the beat chart element.
Definition: ff_other.h:22232
The class for a text repeat definition.
Definition: ff_other.h:19396
Class for staff style assignments to a staff.
Definition: ff_other.h:18060
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_othercollection.h:1039
FCCategoryDef * FindName(FCString *pString)
Finds the first category object with a specific category name.
Definition: ff_othercollection.h:697
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_othercollection.h:1292
Class for allotment data (in the Document Options).
Definition: ff_other.h:18752
static bool Delete(CMPER staffid)
Static method to delete a specific staff from the document.
Definition: finaleframework.cpp:13649
FCPageGraphic * GetItemAt(int index)
Overridden GetItemAt() method.
Definition: ff_othercollection.h:1188
Utility class to provide a mechanism for loading blob data blocks consisting of more than 1 inci...
Definition: ff_other.h:155
FCChordSuffixElement * GetItemAt(int index)
Overridden version of GetItemAt()
Definition: ff_othercollection.h:1345
Collection class for FCFretboardStyleDef class objects.
Definition: ff_othercollection.h:1355
int GetIndexOf(__FCBase *pObject)
Returns the 0-based order index for the object within the collection.
Definition: finaleframework.cpp:12805
bool RebuildAfter(int index, bool updateinitrecord=false)
Rebuilds the beat chart elements, based on correct "Next Measure Position" info.
Definition: ff_othercollection.h:1452
static CMPER Append()
Creates a new staff to the document. The created staff is automatically inserted in the layout...
Definition: finaleframework.cpp:13638
A specialized collection class that has the purpose to handle the different score lists that a docume...
Definition: ff_othercollection.h:1819
void SetMode(FCStaffList::STAFFLIST_MODES mode)
Sets the list of data that should be used when reading/saving the records.
Definition: ff_othercollection.h:1752
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_othercollection.h:1158
int LoadAllInCellLayout(FCCell *pCell, FCStaffSystems *pStaffSystems)
Loads all expressions that belongs to a specific cell in a layout. This method will also handle top/b...
Definition: finaleframework.cpp:13923
The class that reference a cell (one measure on one staff) in the musical "grid". ...
Definition: ff_cell.h:17
Contains a clef change inside a cell. This is an item member in a FCCellClefChanges collection (creat...
Definition: ff_other.h:24169
FCString * CreateNameString()
Loads and creates a string with the name of the full percussion layout.
Definition: ff_othercollection.h:1592
FCFretInstrumentDefs()
The constructor.
Definition: ff_othercollection.h:1238
FCPercussionLayoutNote * FindNoteType(PERC_NOTE_TYPE notetype)
Returns the object in the collection that matches a certain percussion note type. ...
Definition: ff_othercollection.h:1631
EPARTID GetID() const
Returns the internal part ID.
Definition: ff_parts.h:163
FCTextExpressionDefs()
The constructor.
Definition: ff_othercollection.h:743
Base class for the Finale Framework classes.
Definition: ff_base.h:47
FCArticulationDef * GetItemAt(int index)
Override method for __FCCollection::GetItemAt.
Definition: ff_othercollection.h:496
FCPage * GetItemAt(int index)
Definition: ff_othercollection.h:80
An object that contains one staff list section (out of 4). Before data is loaded/saved, the SetMode() method must be called.
Definition: ff_other.h:23363
virtual const PDKFRAMEWORK_CLASSID GetClassID()
Returns the internal class ID for the PDK Framework class. This is implemented mostly because Lua has...
Definition: ff_othercollection.h:1389
virtual bool SaveAll()
Saves all data in the collection.
Definition: ff_basecollection.h:506
static bool Insert(int measureno, int count, bool updatelayout)
Insert measures in the document.
Definition: ff_othercollection.h:265
FCShapeDefs()
The constructor.
Definition: ff_othercollection.h:1314
FCExpressions()
The constructor.
Definition: ff_othercollection.h:799
virtual const PDKFRAMEWORK_CLASSID GetClassID()
Returns the internal class ID for the PDK Framework class. This is implemented mostly because Lua has...
Definition: ff_othercollection.h:1363
Collection class for FCCategoryDef class objects.
Definition: ff_othercollection.h:669
FCShapeDef * GetItemAt(int index)
Overridden version of GetItemAt()
Definition: ff_othercollection.h:1322
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_othercollection.h:1362
The class for a measure (the full vertical measure stack) in the document. It maps the Measure Attrib...
Definition: ff_other.h:4052
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_othercollection.h:1271
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_othercollection.h:530
Class that contains the guides for a document. This class is handled through the FCGridsGuidesPrefs c...
Definition: ff_othercollection.h:2065
Collection class for FCTextExpressionDef class objects.
Definition: ff_othercollection.h:732
Collection class for FCSystemStaff class objects, which contains the list of staves available within ...
Definition: ff_othercollection.h:511
bool IsEqualString(FCString *pString)
Returns true if the string is identical with the parameter. (FCString string version.)
Definition: finaleframework.cpp:1564
FCStaff * GetItemAt(int index)
Override method for __FCCollection::GetItemAt.
Definition: ff_othercollection.h:298
Class for a multi-staff instrument defined in the Score Manager.
Definition: ff_other.h:18540
twobyte CalcMidiNote(FCPercussionMapNotes *pNotes)
Calculates the MIDI note based on the percussion map. No mapping to the order ID is made...
Definition: finaleframework.cpp:12312
The class for a staff in the score. It is also a base class for staff styles.
Definition: ff_other.h:10912
bool IsValid()
Vertifies that the beat chart collection is syntactically correct.
Definition: finaleframework.cpp:13989
Collection class for FCPageGraphic class objects.
Definition: ff_othercollection.h:1167
Base class for all data-related classes (that handles Finale data).
Definition: ff_base.h:628
FCArticulationDefs()
The constructor.
Definition: ff_othercollection.h:487
FCPageText * GetItemAt(int index)
Overridden GetItemAt() method.
Definition: ff_othercollection.h:870
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_othercollection.h:1087
FCTempoElements()
The constructor.
Definition: ff_othercollection.h:1530
Collection class for FCPercussionLayoutNote class objects (=a percussion layout). ...
Definition: ff_othercollection.h:1555
FCShapeExpressionDefs()
The constructor.
Definition: ff_othercollection.h:770
FCMeasure * GetItemAt(int index)
Definition: ff_othercollection.h:209
FCBeatChartElements()
The constructor.
Definition: ff_othercollection.h:1418
Simple class to put numbers into collections.
Definition: ff_base.h:3840
bool NeedUpdateLayout()
Returns true if the loaded systems indicate that the layout needs to be updated.
Definition: finaleframework.cpp:13585
Collection class for FCTextBlock class objects.
Definition: ff_othercollection.h:879
void SetMode(STAFFLIST_MODES mode)
Sets the list of data that should be used when reading/saving the record.
Definition: ff_other.h:23447
FCSeparatePlacement * GetItemAt(int index)
Overridden version of GetItemAt.
Definition: ff_othercollection.h:981
FCSeparatePlacement * AssureStaffPlacement(eStaff staff)
Returns the FCSeparatePlacement record that references the staff location. If the location doesn't ex...
Definition: finaleframework.cpp:14048
bool ContainsStaff(CMPER staffno)
Returns true if the staff is available in the multi-instrument group.
Definition: ff_other.h:18604
FCShapeExpressionDef * GetItemAt(int index)
Overridden method version of GetItemAt().
Definition: ff_othercollection.h:778
twobyte GetStartStaff()
Returns the staff of the first staff in the collection, if any.
Definition: ff_othercollection.h:567
virtual int LoadAllInCell(FCCell *pCell)
Loads all expressions that belongs to a specific cell.
Definition: finaleframework.cpp:13904
FCPageTexts()
The constructor.
Definition: ff_othercollection.h:862
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_othercollection.h:480
FCMultiStaffInstrument * FindStaff(CMPER staffno)
Returns the FCMultiStaffInstrument element in which staff number was found.
Definition: ff_othercollection.h:1127
STAFFLIST_MODES
Modes for loading/saving the staff list.
Definition: ff_other.h:23387
int LoadStaffSet(int staffsetnumber)
A shortcut method to loads a specific (1-based) staff set (if it exists).
Definition: ff_othercollection.h:621
Collection class for FCMeasureNumberRegion class objects.
Definition: ff_othercollection.h:327
void KeepOnlyMeasure(eMeas meas)
Filters out all measure that don't belong to a specific measure.
Definition: ff_othercollection.h:995
FCCategoryDefs()
The constructor.
Definition: ff_othercollection.h:679
FCCategoryDef * FindID(twobyte catID)
Finds the category object with a specific category ID.
Definition: ff_othercollection.h:715
Class that provides storage for text. This is to achieve platform-transparent text handling...
Definition: ff_base.h:1473
int LoadAllForRegion(FCMusicRegion *pRegion)
Loads all expressions in the region. Partial measures are taken into account.
Definition: finaleframework.cpp:13962
static bool InsertBlank(int beforepageno, bool updatelayout)
Inserts one blank page in the layout. All pages appearing after the insertion point are pushed away...
Definition: finaleframework.cpp:13555
Collection class for FCPageText class objects.
Definition: ff_othercollection.h:851
Collection specialized on handling all incis (the traditional 12-byte type) from a cmper...
Definition: ff_othercollection.h:20
FCCategoryDef * GetItemAt(int index)
Override method for __FCCollection::GetItemAt.
Definition: ff_othercollection.h:689
PERC_NOTE_TYPE GetNoteType() const
Returns the percussion note type.
Definition: finaleframework.cpp:12107
Collection class for FCBeatChartElement class objects (which is a beat chart for a measure)...
Definition: ff_othercollection.h:1406
FCMultiMeasureRest * GetItemAt(int index)
Overloaded version of GetItemAt().
Definition: ff_othercollection.h:1071
bool IsLoaded()
Returns if the data for all score lists is loaded or not.
Definition: ff_othercollection.h:1898
FCStaffSystems()
The constructor.
Definition: ff_othercollection.h:139
FCPercussionLayoutNote * FindRawNoteType(PERC_NOTE_TYPE notetype)
Returns the object in the collection that matches a certain percussion note type. This makes a match ...
Definition: ff_othercollection.h:1614
FCStaffList * GetItemAt(int index)
Overridden GetItemAt() method.
Definition: ff_othercollection.h:1811
bool IncludesStaff(twobyte staffnumber)
Returns true if the staff number is included in the staff list.
Definition: ff_other.h:23622
FCStaffSystems * GetCurrentPartStaffSystems()
Returns the full FCStaffSystem collection for the part that's currently in editing focus...
Definition: ff_othercollection.h:1977
FCMultiStaffInstruments()
The constructor.
Definition: ff_othercollection.h:1110
Class that encapsulates EREGION and provides additional functionality to region handling.
Definition: ff_region.h:24
Class for a staff style definition.
Definition: ff_other.h:17040
The class for a single tempo change in the Tempo Tool. The tempo elements should be stored in measure...
Definition: ff_other.h:22334
The class representing a physical page in Finale.
Definition: ff_other.h:3240
twobyte * CreateMemoryBlock()
Creates a memory block, containing all the incis.
Definition: finaleframework.cpp:13485
Collection class for FCExpression class objects.
Definition: ff_othercollection.h:788
FCSystemStaff * GetItemAt(int index)
Overridden GetItemAt() method.
Definition: ff_othercollection.h:528
static bool Append(int count, bool updatelayout)
Appends measures to the end of the document.
Definition: ff_othercollection.h:245
twobyte GetID() const
Returns the internal category ID. This is a read-only value.
Definition: ff_other.h:12953
FCCellClefChanges()
The constructor.
Definition: ff_othercollection.h:2039
virtual int LoadAll()
Loads all available data into the collection.
Definition: finaleframework.cpp:12977
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_othercollection.h:1240
FCStaffStyleAssign * GetItemAt(int index)
Overridden GetItemAt method.
Definition: ff_othercollection.h:1042
Collection class for FCStaffList class objects. The SetMode() method should be used before any loadin...
Definition: ff_othercollection.h:1719
Collection class for FCSeparatePlacement records, that handles separate placements in repeats...
Definition: ff_othercollection.h:913
void LoadRegion(FCMusicRegion *pRegion)
Loads the measures that belongs a specific region.
Definition: finaleframework.cpp:13618
Collection class for FCMultiStaffInstrument class objects.
Definition: ff_othercollection.h:1099
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_othercollection.h:1316
FCFretboardStyleDef * GetItemAt(int index)
Overridden version of GetItemAt()
Definition: ff_othercollection.h:1369
FCTempoElement * GetItemAt(int index)
Overridden version of GetItemAt()
Definition: ff_othercollection.h:1540
Collection class for FCStaff class objects.
Definition: ff_othercollection.h:278
int CalcStringFromNumber(int measure, FCString *pString)
Formats the printed measure number for a specific measure in the document.
Definition: finaleframework.cpp:13680
FCNumber * FindInt(int intvalue)
Returns the first object that contains the integer value.
Definition: ff_basecollection.h:345
int GetCount()
Method to get the number of elements without loading all data into a collection.
Definition: finaleframework.cpp:14291
Class that stores one record of a chord suffix definition.
Definition: ff_other.h:20248
A lookup class designed for collecting full staff layouts for different parts in the same document in...
Definition: ff_othercollection.h:1964
twobyte CalcMidiRawNote(FCPercussionMapNotes *pNotes)
Calculates the MIDI note based on the percussion map. The order ID must match.
Definition: finaleframework.cpp:12298
void Add(__FCBase *pNewItem)
Adds an element to the end of the collection.
Definition: finaleframework.cpp:12756
virtual int LoadAllForItem(CMPER cmper)
Loads all subrecords (incis) for a specific item (cmper) and adds them as items to the collection...
Definition: finaleframework.cpp:13154
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_othercollection.h:26
void SetMode(FCSeparatePlacement::SEPARATEPLACEMENT_MODES mode)
Sets the list of data that should be used when reading/saving the records.
Definition: ff_othercollection.h:952
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_othercollection.h:943
bool IsStringUnique(FCString *pString)
Returns true if the "printed" measure number string has no ambiguity among the measure number regions...
Definition: finaleframework.cpp:13825
static bool AppendBlank(bool updatelayout)
Adds one blank page to the end of the layout.
Definition: finaleframework.cpp:13537
FCGuide * FindClosest(Efix32 testposition, Efix32 gravityzonesize)
Finds the nearest guide that also matches the gravity zone size.
Definition: ff_othercollection.h:2113
Collection class for FCArticulationDef class objects.
Definition: ff_othercollection.h:473
FCStaffStyleDef * GetItemAt(int index)
Overridden GetItemAt method.
Definition: ff_othercollection.h:1023
FCStaffSystem * GetItemAt(int index)
Overridden method for __FCCollection::GetItemAt.
Definition: ff_othercollection.h:149
int CountRegionsForMeasure(int measure)
Returns the number of regions that the 1-based measure number is part of.
Definition: finaleframework.cpp:13882
FCFretInstrumentDef * GetItemAt(int index)
Overridden version of GetItemAt()
Definition: ff_othercollection.h:1246
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_othercollection.h:1211
Data class for the global clef definitions.
Definition: ff_globals.h:42
Collection class for FCAllotment class objects.
Definition: ff_othercollection.h:1151
Collection class for FCStaffSystem class objects. A collection typically contains all staff systems f...
Definition: ff_othercollection.h:127
Collection class for FCPercussionMapNote class objects, used by the FCInstrumentDef class...
Definition: ff_other.h:22604
twobyte GetInstrumentList() const
Returns the instrument list number for the selection.
Definition: ff_region.h:422
bool LoadAssignmentList(twobyte number)
Loads all 4 required score lists for an "assignment" score lists.
Definition: ff_othercollection.h:1882
FCBeatChartElement * FindMeasurePos(TimeEdu32 durationpos)
Finds the first beat chart element with the given duration position.
Definition: ff_othercollection.h:1434
void SetNextHorizontalPosition(Evpu16 value)
Sets the next position in the measure.
Definition: ff_other.h:22259
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_othercollection.h:1114
FCOtherInci * GetItemAt(int index)
Overridden version of GetItemAt().
Definition: ff_othercollection.h:46
FCTextRepeats()
The constructor.
Definition: ff_othercollection.h:1269
virtual int LoadAllForItem(CMPER cmper)
Overridden version of LoadAllForItem.
Definition: ff_othercollection.h:1579
TimeEdu32 GetMeasurePos() const
Return the duration reference position for the element.
Definition: ff_other.h:22126
FCStaffSystem * FindMeasureNumber(eMeas measurenumber)
Tries to finds the system that contains the measure.
Definition: finaleframework.cpp:13595
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_othercollection.h:1182
Collection class for FCStaffStyleDef class objects.
Definition: ff_othercollection.h:1013
Base class for all collection classes. A collection is a storage that can store multiple objects of s...
Definition: ff_basecollection.h:24
The class for an executable shape definition.
Definition: ff_other.h:20161
int CalcNumberFromString(FCString *pString)
Returns the 1-based number based on the supplied printed string.
Definition: finaleframework.cpp:13744
Collection class for FCInstrumentDef class objects.
Definition: ff_othercollection.h:1681
Collection class for FCCellClefChange class objects, containing all mid-clef changes in a cell...
Definition: ff_othercollection.h:2026
FCTextRepeatDef * GetItemAt(int index)
Overridden version of GetItemAt()
Definition: ff_othercollection.h:1217
FCSystemStaff * FindStaff(twobyte staffno)
Finds a specific staff in the collection and returns the pointer to it.
Definition: ff_othercollection.h:539
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_othercollection.h:203