Finale PDK Framework
0.54
|
The class for a measure number region. More...
#include <ff_other.h>
Public Types | |
enum | NUMBERINGSTYLE { NUMBERING_DIGITS = 0, NUMBERING_LOWERCASEDOUBLE, NUMBERING_UPPERCASEDOUBLE, NUMBERING_LOWERCASE, NUMBERING_UPPERCASE, NUMBERING_TIME_SECONDS, NUMBERING_TIME_10, NUMBERING_TIME_100, NUMBERING_TIME_1000, NUMBERING_FRAMES, NUMBERING_CUSTOM = 101 } |
Numbering styles for measure numbers. More... | |
enum | NUMBERVIEWS { NUMBERVIEW_ALL = 0, NUMBERVIEW_PAGEONLY, NUMBERVIEW_SCROLLONLY } |
The number views where the region should show. More... | |
enum | MNALIGNMENTS { MNALIGN_LEFT = 0, MNALIGN_CENTER, MNALIGN_RIGHT } |
The measure number alignment values. More... | |
enum | MNJUSTIFICATIONS { MNJUSTIFY_LEFT = TEXT_JUSTIFY_LEFT, MNJUSTIFY_CENTER = TEXT_JUSTIFY_CENTER, MNJUSTIFY_RIGHT = TEXT_JUSTIFY_RIGHT } |
The measure number justification values. 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 | |
virtual const char * | ClassName () |
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child class. More... | |
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... | |
FCMeasureNumberRegion () | |
The constructor. More... | |
void | SetStartMeasure (twobyte measure) |
Sets the start measure for the measure number region. More... | |
void | SetEndMeasure (twobyte measure) |
Sets the end measure for the measure number region. More... | |
void | SetStartNumber (twobyte offset) |
Sets the start measure for the measure number region. More... | |
void | SetPrefix (FCString *pString) |
Sets the prefix string. More... | |
void | SetSuffix (FCString *pString) |
Sets the suffix string. More... | |
void | SetUseScoreInfoForParts (bool value) |
Sets if parts should use the score information section of the measure number region appearance. More... | |
void | SetID (twobyte newid) |
Sets the unique measure number region ID. USE WITH CARE!!! | |
void | SetStartFontInfo (FCFontInfo *pFontInfo, bool parts) |
Sets the start font for the measure number region. More... | |
void | SetMultipleFontInfo (FCFontInfo *pFontInfo, bool parts) |
Sets the multiple font for the measure number region. More... | |
void | SetMultiMeasureFontInfo (FCFontInfo *pFontInfo, bool parts) |
Sets the font to be used for multi-measure rests. More... | |
void | SetUseEnclosureStart (bool use, bool parts) |
Sets if enclosures should be used for start numbers. More... | |
void | SetExcludeOtherStaves (bool exclude, bool parts) |
Sets if the numbers should be excluded on other staves. More... | |
void | SetUseEnclosureMultiple (bool use, bool parts) |
Sets if enclosures should be used for multiple numbers. More... | |
void | SetShowOnTopStaff (bool showontop, bool parts) |
Sets if the measure number should be shown on top staff or not. More... | |
void | SetShowOnSystemStart (bool showonstart, bool parts) |
Sets if the measure number should be shown on system starts or not. More... | |
void | SetShowOnBottomStaff (bool showonbottom, bool parts) |
Sets if the measure number should be displayed on the bottom staff or not. More... | |
void | SetShowMultiples (bool showmultiples, bool parts) |
Sets if the "multiple" numbering should be used or not. More... | |
void | SetHideFirstNumber (bool hide, bool parts) |
Sets if the first occurence should be hidden or not. More... | |
void | SetShowMultiMeasureRange (bool show, bool parts) |
Sets if the measure range should be displayed for multimeasure rests or not. More... | |
void | SetShowOnMultiMeasureRests (bool show, bool parts) |
Sets if the measure numbers should show on multimeasure rests. More... | |
void | SetMultipleValue (twobyte value, bool parts) |
Sets the "Show on every" value for multiple measure numbers. More... | |
void | SetMultipleStartMeasure (twobyte measure, bool parts) |
Sets the "Show on every" start value for multiple measure numbers. More... | |
void | SetMultiMeasureBracketLeft (eUniChar32 character, bool parts) |
Sets the left-side range bracket character for multimeasure rest ranges. More... | |
void | SetMultiMeasureBracketRight (eUniChar32 character, bool parts) |
Sets the right-side range bracket character for multimeasure rest ranges. More... | |
void | SetBreakMultiMeasureRests (bool breakstate, bool parts) |
Sets if "multiple" measure numbers should break multimeasure rests or not. More... | |
void | SetStartAlignment (MNALIGNMENTS alignment, bool parts) |
Sets the alignment for start measure numbers. More... | |
void | SetStartJustification (MNJUSTIFICATIONS justification, bool parts) |
Sets the justification for the start measure numbers. More... | |
void | SetMultipleAlignment (MNALIGNMENTS alignment, bool parts) |
Sets the alignment for "multiple" measure numbers. More... | |
void | SetMultipleJustification (MNJUSTIFICATIONS justification, bool parts) |
Sets the justification for the "multiple" measure numbers. More... | |
void | SetMultiMeasureAlignment (MNALIGNMENTS alignment, bool parts) |
Sets the alignment for multimeasure measure numbers. More... | |
void | SetMultiMeasureJustification (MNJUSTIFICATIONS justification, bool parts) |
Sets the justification for the start measure numbers. More... | |
void | SetStartHorizontalPosition (twobyte distance, bool parts) |
Sets the default horizontal position of start numbers. More... | |
void | SetStartVerticalPosition (twobyte distance, bool parts) |
Sets the default vertical position of start numbers. More... | |
void | SetMultipleHorizontalPosition (twobyte distance, bool parts) |
Sets the horizontal position of multiple numbers. More... | |
void | SetMultipleVerticalPosition (twobyte distance, bool parts) |
Sets the vertical position of multiple numbers. More... | |
void | SetMultiMeasureHorizontalPosition (twobyte distance, bool parts) |
Sets the horizontal position of multimeasure rest numbers. More... | |
void | SetMultiMeasureVerticalPosition (twobyte distance, bool parts) |
Sets the vertical position of multimeasure rest numbers. More... | |
void | SetView (NUMBERVIEWS view) |
Sets the view where the region should show. More... | |
void | SetNumberingStyle (NUMBERINGSTYLE style) |
Sets the numbering style. More... | |
void | SetBase (twobyte base) |
Sets the base for the measure numbering style. More... | |
void | SetStartCharacter (eUniChar32 character) |
Sets the starting character of the measure numbering style. More... | |
void | SetTime (bool state) |
Sets if a time mode is used. More... | |
void | SetTimeFrames (bool state) |
Returns true if "frames" for time measure numbers. More... | |
void | SetUseHours (bool state) |
Returns if time measure numbers should include hours. More... | |
void | SetTimePrecision (twobyte precision) |
Sets the time precision, for the time modes that aren't based on frames. More... | |
void | SetCountFromOne (bool value) |
Sets if the measuring should start from one instead of zero. More... | |
void | SetNoZero (bool value) |
Sets if no zero should be used. More... | |
void | SetDoubleUp (bool value) |
Sets if the double-up (=duplicating the first character) style should be used or not. More... | |
twobyte | GetStartMeasure () const |
Returns the start measure of the measure number region. More... | |
twobyte | GetEndMeasure () const |
Returns the end measure of the measure number region. More... | |
twobyte | GetStartNumber () const |
Returns the measure region's starting number (for display). More... | |
bool | GetTime () const |
Returns true if a time mode is used. More... | |
bool | GetTimeFrames () const |
Returns true if "frames" for time measure numbers. More... | |
bool | GetUseHours () const |
Returns if time measure numbers should include hours. More... | |
twobyte | GetTimePrecision () const |
Returns the time precision, for the time modes that aren't based on frames. More... | |
bool | GetNoZero () const |
Returns if no zero should be used. More... | |
bool | GetDoubleUp () const |
Returns true if the numbering model is a "double up" (a, b, c, .... aa, bb, cc, etc) More... | |
bool | GetCountFromOne () const |
Returns true if the numbering model starts with 1 (numbers) or 0 (letters). More... | |
eUniChar32 | GetStartCharacter () const |
Gets the base character. More... | |
twobyte | GetBase () const |
Returns the number base. More... | |
bool | GetUseScoreInfoForParts () const |
Returns true if parts should use the score information section of the measure number region appearance. More... | |
twobyte | GetID () |
Returns the unique measure number region ID. More... | |
bool | GetDisplayedNumber (eMeas number, FCString *pString) |
Formats the displayed number for a measure (without prefix/suffix) More... | |
bool | GetDisplayedNumberWithID (eMeas number, FCString *pString) |
Formats the displayed number for a measure, with the region ID. More... | |
void | GetPrefix (FCString *pString) |
Copies the prefix string to a FCString object. More... | |
void | GetSuffix (FCString *pString) |
Gets the suffix string. More... | |
FCEnclosure * | GetEnclosureStart (bool parts) |
Gets the pointer to the start enclosure object. This object is a part of the measure number region and should not be saved separately. More... | |
FCEnclosure * | GetEnclosureMultiple (bool parts) |
Gets the pointer to the multiple enclosure object. This object is a part of the measure number region and should not be saved separately. More... | |
bool | GetUseEnclosureStart (bool parts) |
Returns true if start measure numbers should use the enclosure data. More... | |
bool | GetExcludeOtherStaves (bool parts) |
Returns true if measure numbers should be excluded on other staves. More... | |
bool | GetUseEnclosureMultiple (bool parts) |
Returns true if "multiple" measure numbers should use the enclosure data. More... | |
bool | GetShowOnTopStaff (bool parts) |
Returns true if top staff should show a measure number. More... | |
bool | GetShowOnSystemStart (bool parts) |
Returns true if the system start should show a measure number. More... | |
bool | GetShowOnBottomStaff (bool parts) |
Returns true if bottom staff should show a measure number. More... | |
bool | GetShowMultiples (bool parts) |
Returns true if repeated numbered sequences are used. More... | |
bool | GetHideFirstNumber (bool parts) |
Returns true if the first number in the measure number region should be hidden. More... | |
bool | GetShowMultiMeasureRange (bool parts) |
Returns true if the measure range should be displayed for multimeasure rests. More... | |
bool | GetShowOnMultiMeasureRests (bool parts) |
Returns true if the measure numbers should show on multimeasure rests. More... | |
twobyte | GetMultipleValue (bool parts) |
Returns the "Show on every" value for multiple measure numbers. More... | |
twobyte | GetMultipleStartMeasure (bool parts) |
Returns the "Show on every" value for multiple measure numbers. More... | |
eUniChar32 | GetMultiMeasureBracketLeft (bool parts) |
Returns the left-side range bracket character for multimeasure rest ranges. More... | |
eUniChar32 | GetMultiMeasureBracketRight (bool parts) |
Returns the right-side range bracket character for multimeasure rest ranges. More... | |
bool | GetBreakMultiMeasureRests (bool parts) |
Returns true if multiple measure numbers should break multi-measure rests. More... | |
MNALIGNMENTS | GetStartAlignment (bool parts) |
Returns the alignment for start measure numbers. More... | |
MNJUSTIFICATIONS | GetStartJustification (bool parts) |
Returns the justifications for start measure numbers. More... | |
MNALIGNMENTS | GetMultipleAlignment (bool parts) |
Returns the alignment for "multiple" measure numbers. More... | |
MNJUSTIFICATIONS | GetMultipleJustification (bool parts) |
Returns the justifications for "multiple" measure numbers. More... | |
MNALIGNMENTS | GetMultiMeasureAlignment (bool parts) |
Returns the alignment for multimeasure rest measure numbers. More... | |
MNJUSTIFICATIONS | GetMultiMeasureJustification (bool parts) |
Returns the justifications for multimeasure rest measure numbers. More... | |
twobyte | GetStartHorizontalPosition (bool parts) |
Returns the default horizontal position for start numbers. More... | |
twobyte | GetStartVerticalPosition (bool parts) |
Returns the default vertical position for start numbers. More... | |
twobyte | GetMultipleHorizontalPosition (bool parts) |
Returns the default horizontal position for the multiple numbers. More... | |
twobyte | GetMultipleVerticalPosition (bool parts) |
Returns the default vertical position for the multiple numbers. More... | |
twobyte | GetMultiMeasureHorizontalPosition (bool parts) |
Returns the horizontal position of for multimeasure rests. More... | |
twobyte | GetMultiMeasureVerticalPosition (bool parts) |
Returns the vertical position of for multimeasure rests. More... | |
NUMBERVIEWS | GetView () const |
Returns the view where the number region should show. More... | |
NUMBERINGSTYLE | GetNumberingStyle () const |
Returns the numbering style. More... | |
void | GetStartFontInfo (FCFontInfo *pFontInfo, bool parts) |
Gets the start font for the measure number region. More... | |
FCFontInfo * | CreateStartFontInfo (bool parts) |
Creates a FCFontInfo object with the font information about the start measure numbers. More... | |
void | GetMultipleFontInfo (FCFontInfo *pFontInfo, bool parts) |
Gets the multiple font for the measure number region. More... | |
FCFontInfo * | CreateMultipleFontInfo (bool parts) |
Creates a FCFontInfo object with the font information about the "multiple" measure numbers. More... | |
void | GetMultiMeasureFontInfo (FCFontInfo *pFontInfo, bool parts) |
Gets the font to be used for multi-measure rests. More... | |
FCFontInfo * | CreateMultiMeasureFontInfo (bool parts) |
Creates a FCFontInfo object with the font information about the multimeasure rest measure numbers. More... | |
FCString * | CreateDisplayedString (twobyte measure) |
Creates a string with the measure number as it would be displayed for the measure. More... | |
void | CloneFormattingFrom (FCMeasureNumberRegion *pRegionFrom, bool score, bool parts) |
Copies the formatting part (visual appearance + positioning) of the measure number region. More... | |
bool | IsMeasureIncluded (twobyte measureno) |
Returns true if the measure is within the measure number region. More... | |
bool | AssignAllMeasures (FCMeasures *pAllMeasures) |
Assigns a reference table for all measures in the document. More... | |
void | _SetTempAllMeasures (FCMeasures *pAllMeasuresToUse) |
For internal use only. More... | |
void | _RestoreTempAllMeasures () |
For internal use only. More... | |
virtual void | DebugDump () |
Outputs the class data/information for debugging purposes. More... | |
Public Member Functions inherited from __FCNoInciOther | |
__FCNoInciOther () | |
The constructor. | |
virtual bool | Load (CMPER itemno) |
Loads the indicated item. More... | |
virtual bool | Reload () |
Overridden Reload() method to support complex data types. | |
virtual bool | SaveAs (CMPER itemno) |
Saves the data under another item number. The object will now be connected to the new item number. More... | |
virtual bool | DeepSaveAs (CMPER itemno) |
Saves the data under another item number, but also makes a deep copy of the object. More... | |
virtual bool | DeepDeleteData () |
Deletes the data and all related data available in other data structures. More... | |
virtual bool | SaveNew () |
Creates the data as completely new item number. The object will now be connected to the new item number. More... | |
virtual CMPER | GetItemNo () const |
Returns the item number. This typically points to items such as a page number, a measure number, a 1-based expression definition number, etc. More... | |
void | SetItemNo (CMPER cmper) |
Sets the item number. Use with extreme care! This is mostly intended for situations when creating new records isn't supported by Finale (preventing SaveAs to work). More... | |
virtual bool | LoadFirst () |
Loads the first element of 1-based data. More... | |
Public Member Functions inherited from __FCOther | |
void | SetCmperAndInci (CMPER cmper, twobyte inci) |
Sets both the CMPER and the incident number in the dataID record. Mainly for internal use. | |
__FCOther () | |
The constructor. | |
bool | IsIdenticalRecord (__FCOther *pCompare) |
Compares an object to see if both objects point to the same data record. More... | |
Public Member Functions inherited from __FCBaseData | |
EDOCID | GetConnectedDocID () const |
Returns the document ID that was connected to the last load/save of the data. More... | |
bool | VerifyConnectedDocID () |
Checks that the stored document ID for the data object matches the current document's ID. More... | |
virtual EXTAG | Tag ()=0 |
The Enigma tag for the derived class. More... | |
virtual EVERSION | EnigmaVersion () |
The Enigma version for save/load/create/delete operations. More... | |
virtual int | DataSizeLoad ()=0 |
Returns the data size for the data structure that should be loaded. More... | |
virtual int | DataSizeSave () |
Returns the data size for the data structure that should be saved or created. More... | |
void | _CloneFrom (__FCBaseData *pSource) |
For internal use only. Copies object data (except data block) from another object. More... | |
virtual void | CloneMemoryFrom (__FCBaseData *pSource) |
const EDataID * | _GetDataID () |
Intended ONLY for the _CloneFrom implementation. More... | |
int | _GetLoadedSize () const |
Intended ONLY for the _CloneFrom implementation. More... | |
const void * | GetDataBlock () |
Intended ONLY for the _CloneFrom implementation. More... | |
EXTAG | GetCustomTag () |
Returns the custom Enigma tag, if any. More... | |
void | SetCustomTag (EXTAG tag) |
Sets the custom Enigma tag, for classes that support multiple Enigma tags. More... | |
__FCBaseData () | |
The constructor. | |
virtual | ~__FCBaseData () |
Virtual destructor. | |
virtual bool | Save () |
Saves the currently loaded to its current location. More... | |
virtual bool | DeleteData () |
Deletes the associated data from Finale's database. Be careful when deleting multiple objects. More... | |
virtual bool | LoadLast () |
Loads the very last element in the database, if any. More... | |
virtual bool | LoadNext () |
Loads the next element from the database, if any. More... | |
virtual bool | LoadPrevious () |
Loads the previous element in the database, if any. More... | |
__FCBaseData * | CreateClone () |
Creates an identical copy of an object. 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 | DebugDataOffsetDump (int offset, int size) |
For debug mode only. Dumps a data memory block at a specific offset and with a specific size. | |
FCNumbers * | CreateRawDataDump () |
Creates a byte collection with the raw loaded data block for the object (if the object type supports single data blocks). This method is only intended for debug purposes. More... | |
Public Member Functions inherited from __FCBase | |
__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... | |
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... | |
Additional Inherited Members | |
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... | |
Protected Member Functions inherited from __FCBaseData | |
virtual void * | Allocate ()=0 |
virtual void | Deallocate () |
virtual bool | IsDynamicSize () |
bool | LoadDataBlock () |
Loads the data. If the object is of dynamic size, the old memory block is freed and a new is allocated. | |
void | ClearData () |
virtual twobyte | CalcLastInci () |
For internal use only! More... | |
virtual __FCBaseData * | CreateObject ()=0 |
Creates a new instance of the object. More... | |
bool | DataIsLoaded () const |
Returns true is any data has been loaded into the object. More... | |
void | _TagDocumentID () |
For internal use only. More... | |
Protected Attributes inherited from __FCBaseData | |
EDOCID | _connecteddocID |
The "connected" document ID., which is the document the where the document was loaded (or last saved). This is for a mechanism to prevent resaving of certain data in other documents. | |
void * | _datablock |
Pointer to the object's data block, the meaning is implementation-specific for each derived subclass. | |
bool | _heapdatablock |
Variable that tells if _datablock is dynamically created on the heap (and should be deleted at object destruction). | |
int | _loadedsize |
Loaded size of the data block for a loaded object, in bytes. Since the datablock is implementation-specific, the _loadedsize should be updated by child classes that create new data. More... | |
EDataID | _dataid |
The EdataID for the last loaded/saved object. | |
The class for a measure number region.
Numbering styles for measure numbers.
All these can be returned by GetNumberingStyle().
All and NUMBERING_CUSTOM can be used by SetNumberingStyle().
Lua-supported.
The number views where the region should show.
Lua-supported.
FCMeasureNumberRegion::FCMeasureNumberRegion | ( | ) |
The constructor.
Lua-supported.
|
inline |
For internal use only.
See _SetTempAllMeasures() docs.
|
inline |
For internal use only.
_SetTempAllMeasures()+_RestoreTempAllMeasures() are used by FCMeasureNumberRegions as a mechanism to temporarily set a collection of all measures for a FCMeasureNumberRegions object.
Since FCMeasureNumberRegions can't claim ownership over the FCMeasure collection in another object, this approach is used instead.
_SetTempAllMeasures() and _RestoreTempAllMeasures() must ALWAYS appear in pairs around the method call.
bool FCMeasureNumberRegion::AssignAllMeasures | ( | FCMeasures * | pAllMeasures | ) |
Assigns a reference table for all measures in the document.
Use this method to provide accurate calculation of the displayed measure number strings in the document. The reference table is used to check the "Include in measure number regions" setting.
Lua-supported.
pAllMeasures | A pointer to a collection containing all measures in the document. |
|
inlinevirtual |
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child class.
Lua-supported.
Reimplemented from __FCNoInciOther.
void FCMeasureNumberRegion::CloneFormattingFrom | ( | FCMeasureNumberRegion * | pRegionFrom, |
bool | score, | ||
bool | parts | ||
) |
Copies the formatting part (visual appearance + positioning) of the measure number region.
pRegionFrom | Source measure number region to retrieve data from. |
score | Copy to score formatting data. |
parts | Copy to parts formatting data. If the source uses score info for parts, the source's score data will be copied. |
FCString * FCMeasureNumberRegion::CreateDisplayedString | ( | twobyte | measure | ) |
Creates a string with the measure number as it would be displayed for the measure.
If the document contains measures that shouldn't be included for measure numbering, use AssignAllMeasures() prior to calling this method.
Lua-supported.
measure | The 1-based measure number. |
|
inline |
Creates a FCFontInfo object with the font information about the multimeasure rest measure numbers.
The caller is responsible to delete the created object from the heap after use.
Lua-supported.
parts | If true, gets the parts font (for Finale 2010 and above). If false, gets the score font. |
|
inline |
Creates a FCFontInfo object with the font information about the "multiple" measure numbers.
The caller is responsible to delete the created object from the heap after use.
Lua-supported.
parts | If true, gets the parts font (for Finale 2010 and above). If false, gets the score font. |
|
inline |
Creates a FCFontInfo object with the font information about the start measure numbers.
The caller is responsible to delete the created object from the heap after use.
Lua-supported.
parts | If true, gets the parts font (for Finale 2010 and above). If false, gets the score font. |
|
inlinevirtual |
Outputs the class data/information for debugging purposes.
Accessible if PDK_FRAMEWORK_DEBUG is defined.
When child class inherit this method to output the contents of its own members, it should call the parent before providing its own output.
Reimplemented from __FCNoInciOther.
twobyte FCMeasureNumberRegion::GetBase | ( | ) | const |
Returns the number base.
Used for custom measure number styles. For most numbering cases, this method isn't required, since it can be handled automatically by the GetNumberingStyle method.
Lua-supported.
bool FCMeasureNumberRegion::GetBreakMultiMeasureRests | ( | bool | parts | ) |
Returns true if multiple measure numbers should break multi-measure rests.
Lua-supported.
|
inlinevirtual |
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.
This method must be overwritten by all child classes.
Lua-supported.
Implements __FCBaseData.
bool FCMeasureNumberRegion::GetCountFromOne | ( | ) | const |
Returns true if the numbering model starts with 1 (numbers) or 0 (letters).
Used for custom measure number styles. For most numbering cases, this method isn't required, since it can be handled automatically by the GetNumberingStyle method.
Lua-supported.
bool FCMeasureNumberRegion::GetDisplayedNumber | ( | eMeas | number, |
FCString * | pString | ||
) |
Formats the displayed number for a measure (without prefix/suffix)
If the document contains measures that shouldn't be included for measure numbering, use AssignAllMeasures() prior to calling this method.
number | The 1-based measure number |
pString | Pointer to the FCString object that should contain the information. This cannot be NULL. |
bool FCMeasureNumberRegion::GetDisplayedNumberWithID | ( | eMeas | number, |
FCString * | pString | ||
) |
Formats the displayed number for a measure, with the region ID.
Instead of a string with a syntax like "10", this method would create a string with a syntax like "1:10".
If the document contains measures that shouldn't be included for measure numbering, use AssignAllMeasures() prior to calling this method.
number | The 1-based measure number |
pString | Pointer to the FCString object that should contain the information. |
bool FCMeasureNumberRegion::GetDoubleUp | ( | ) | const |
Returns true if the numbering model is a "double up" (a, b, c, .... aa, bb, cc, etc)
The double-up affects what happens after the counter wraps around. For letters, a double-up sequence would be: a,b,c,....z,aa,bb,cc,dd,...zz,aaa,bbb,ccc...
Used for custom measure number styles. For most numbering cases, this method isn't required, since it can be handled automatically by the GetNumberingStyle method.
Lua-supported.
|
inline |
Gets the pointer to the multiple enclosure object. This object is a part of the measure number region and should not be saved separately.
In, C++ this pointer should not be freed.
Lua-supported.
parts | If true, gets the multiple enclosure for parts. If false, gets the score enclosure. |
|
inline |
Gets the pointer to the start enclosure object. This object is a part of the measure number region and should not be saved separately.
In C++, this pointer should not be freed.
Lua-supported.
parts | If true, gets the parts enclosure. If false, gets the score enclosure. |
twobyte FCMeasureNumberRegion::GetEndMeasure | ( | ) | const |
Returns the end measure of the measure number region.
Lua-supported (also as property).
bool FCMeasureNumberRegion::GetExcludeOtherStaves | ( | bool | parts | ) |
Returns true if measure numbers should be excluded on other staves.
This method always returns false on pre-2010 versions.
Lua-supported.
bool FCMeasureNumberRegion::GetHideFirstNumber | ( | bool | parts | ) |
Returns true if the first number in the measure number region should be hidden.
Lua-supported.
twobyte FCMeasureNumberRegion::GetID | ( | ) |
Returns the unique measure number region ID.
FCMeasureNumberRegion::MNALIGNMENTS FCMeasureNumberRegion::GetMultiMeasureAlignment | ( | bool | parts | ) |
Returns the alignment for multimeasure rest measure numbers.
eUniChar32 FCMeasureNumberRegion::GetMultiMeasureBracketLeft | ( | bool | parts | ) |
Returns the left-side range bracket character for multimeasure rest ranges.
Lua-supported.
eUniChar32 FCMeasureNumberRegion::GetMultiMeasureBracketRight | ( | bool | parts | ) |
Returns the right-side range bracket character for multimeasure rest ranges.
Lua-supported.
void FCMeasureNumberRegion::GetMultiMeasureFontInfo | ( | FCFontInfo * | pFontInfo, |
bool | parts | ||
) |
Gets the font to be used for multi-measure rests.
This method does nothing if run of pre-Finale2010 systems.
Lua-supported.
pFontInfo | Pointer to the font information object. |
parts | If true, gets the parts multi-measure font. If false, gets the score multi-measure font. |
twobyte FCMeasureNumberRegion::GetMultiMeasureHorizontalPosition | ( | bool | parts | ) |
Returns the horizontal position of for multimeasure rests.
Lua-supported.
FCMeasureNumberRegion::MNJUSTIFICATIONS FCMeasureNumberRegion::GetMultiMeasureJustification | ( | bool | parts | ) |
Returns the justifications for multimeasure rest measure numbers.
twobyte FCMeasureNumberRegion::GetMultiMeasureVerticalPosition | ( | bool | parts | ) |
Returns the vertical position of for multimeasure rests.
Lua-supported.
FCMeasureNumberRegion::MNALIGNMENTS FCMeasureNumberRegion::GetMultipleAlignment | ( | bool | parts | ) |
Returns the alignment for "multiple" measure numbers.
void FCMeasureNumberRegion::GetMultipleFontInfo | ( | FCFontInfo * | pFontInfo, |
bool | parts | ||
) |
Gets the multiple font for the measure number region.
This method does nothing if run of pre-Finale2010 systems.
Lua-supported.
pFontInfo | Pointer to the font information object. |
parts | If true, gets the parts "multiple" font. If false, gets the score "multiple" font. |
twobyte FCMeasureNumberRegion::GetMultipleHorizontalPosition | ( | bool | parts | ) |
Returns the default horizontal position for the multiple numbers.
Lua-supported.
FCMeasureNumberRegion::MNJUSTIFICATIONS FCMeasureNumberRegion::GetMultipleJustification | ( | bool | parts | ) |
Returns the justifications for "multiple" measure numbers.
twobyte FCMeasureNumberRegion::GetMultipleStartMeasure | ( | bool | parts | ) |
Returns the "Show on every" value for multiple measure numbers.
Lua-supported.
twobyte FCMeasureNumberRegion::GetMultipleValue | ( | bool | parts | ) |
Returns the "Show on every" value for multiple measure numbers.
Lua-supported.
twobyte FCMeasureNumberRegion::GetMultipleVerticalPosition | ( | bool | parts | ) |
Returns the default vertical position for the multiple numbers.
Lua-supported.
bool FCMeasureNumberRegion::GetNoZero | ( | ) | const |
Returns if no zero should be used.
Used for custom measure number styles. For most numbering cases, this method isn't required, since it can be handled automatically by the GetNumberingStyle method.
Lua-supported.
FCMeasureNumberRegion::NUMBERINGSTYLE FCMeasureNumberRegion::GetNumberingStyle | ( | ) | const |
Returns the numbering style.
Lua-supported (also as property).
void FCMeasureNumberRegion::GetPrefix | ( | FCString * | pString | ) |
bool FCMeasureNumberRegion::GetShowMultiMeasureRange | ( | bool | parts | ) |
Returns true if the measure range should be displayed for multimeasure rests.
Lua-supported.
bool FCMeasureNumberRegion::GetShowMultiples | ( | bool | parts | ) |
Returns true if repeated numbered sequences are used.
Lua-supported.
bool FCMeasureNumberRegion::GetShowOnBottomStaff | ( | bool | parts | ) |
Returns true if bottom staff should show a measure number.
Lua-supported.
bool FCMeasureNumberRegion::GetShowOnMultiMeasureRests | ( | bool | parts | ) |
Returns true if the measure numbers should show on multimeasure rests.
Lua-supported.
bool FCMeasureNumberRegion::GetShowOnSystemStart | ( | bool | parts | ) |
Returns true if the system start should show a measure number.
Lua-supported.
bool FCMeasureNumberRegion::GetShowOnTopStaff | ( | bool | parts | ) |
Returns true if top staff should show a measure number.
Lua-supported.
FCMeasureNumberRegion::MNALIGNMENTS FCMeasureNumberRegion::GetStartAlignment | ( | bool | parts | ) |
Returns the alignment for start measure numbers.
eUniChar32 FCMeasureNumberRegion::GetStartCharacter | ( | ) | const |
Gets the base character.
On Finale 2012 and above, this is a Unicode character.
Used for custom measure number styles. For most numbering cases, this method isn't required, since it can be handled automatically by the GetNumberingStyle method.
Lua-supported.
'0' for decimal digits, 'a' or 'A' for letters.
void FCMeasureNumberRegion::GetStartFontInfo | ( | FCFontInfo * | pFontInfo, |
bool | parts | ||
) |
Gets the start font for the measure number region.
When run on Finale versions earlier than 2010, it will be used to just set the main font.
Lua-supported.
pFontInfo | Pointer to the font information object. |
parts | If true, gets the parts font (for Finale 2010 and above). If false, gets the score font. |
twobyte FCMeasureNumberRegion::GetStartHorizontalPosition | ( | bool | parts | ) |
Returns the default horizontal position for start numbers.
Lua-supported.
FCMeasureNumberRegion::MNJUSTIFICATIONS FCMeasureNumberRegion::GetStartJustification | ( | bool | parts | ) |
Returns the justifications for start measure numbers.
twobyte FCMeasureNumberRegion::GetStartMeasure | ( | ) | const |
Returns the start measure of the measure number region.
Lua-supported (also as property).
twobyte FCMeasureNumberRegion::GetStartNumber | ( | ) | const |
Returns the measure region's starting number (for display).
Lua-supported (also as property).
twobyte FCMeasureNumberRegion::GetStartVerticalPosition | ( | bool | parts | ) |
Returns the default vertical position for start numbers.
Lua-supported.
void FCMeasureNumberRegion::GetSuffix | ( | FCString * | pString | ) |
Gets the suffix string.
Lua-supported.
pString | The FCString object that should contain the suffix. This cannot not be NULL. |
bool FCMeasureNumberRegion::GetTime | ( | ) | const |
Returns true if a time mode is used.
A time mode will either displaying the time or the frame, dependent on the GetTimeFrames() return value.
bool FCMeasureNumberRegion::GetTimeFrames | ( | ) | const |
Returns true if "frames" for time measure numbers.
The return value makes sense only if the GetTime() returns true.
twobyte FCMeasureNumberRegion::GetTimePrecision | ( | ) | const |
Returns the time precision, for the time modes that aren't based on frames.
bool FCMeasureNumberRegion::GetUseEnclosureMultiple | ( | bool | parts | ) |
Returns true if "multiple" measure numbers should use the enclosure data.
Lua-supported.
bool FCMeasureNumberRegion::GetUseEnclosureStart | ( | bool | parts | ) |
Returns true if start measure numbers should use the enclosure data.
This method always returns false on pre-2010 versions.
Lua-supported.
bool FCMeasureNumberRegion::GetUseHours | ( | ) | const |
Returns if time measure numbers should include hours.
The return value makes sense only if the GetTime() returns true.
Lua-supported.
bool FCMeasureNumberRegion::GetUseScoreInfoForParts | ( | ) | const |
Returns true if parts should use the score information section of the measure number region appearance.
If run on versions earlier than Finale 2010, this method will always return true.
Lua-supported (also as property).
True - parts should use the settings for the score.
FCMeasureNumberRegion::NUMBERVIEWS FCMeasureNumberRegion::GetView | ( | ) | const |
Returns the view where the number region should show.
|
inline |
Returns true if the measure is within the measure number region.
Lua-supported.
measureno | The measure number (1-based) |
void FCMeasureNumberRegion::SetBase | ( | twobyte | base | ) |
Sets the base for the measure numbering style.
Used for custom measure number styles. For most numbering cases, this method isn't required, since it can be handled automatically by the GetNumberingStyle method.
Lua-supported.
base | For numbers, this value is 10. For letters, this value is 26. |
void FCMeasureNumberRegion::SetBreakMultiMeasureRests | ( | bool | breakstate, |
bool | parts | ||
) |
Sets if "multiple" measure numbers should break multimeasure rests or not.
This method does nothing on Finale versions earlier than 2010.
Lua-supported.
breakstate | True - break multimeasure rests. False - don't break. |
parts | If true, set the parts info. If false, set the score info. |
void FCMeasureNumberRegion::SetCountFromOne | ( | bool | value | ) |
Sets if the measuring should start from one instead of zero.
This is typically set for numbers.
Used for custom measure number styles. For most numbering cases, this method isn't required, since it can be handled automatically by the GetNumberingStyle method.
Lua-supported.
value | For letters, 0 is used for base. For numbers, 1 is used as base. |
void FCMeasureNumberRegion::SetDoubleUp | ( | bool | value | ) |
Sets if the double-up (=duplicating the first character) style should be used or not.
The double-up affects what happens after the counter wraps around. For letters, a double-up sequence would be: a,b,c,....z,aa,bb,cc,dd,...zz,aaa,bbb,ccc...
Used for custom measure number styles. For most numbering cases, this method isn't required, since it can be handled automatically by the GetNumberingStyle method.
Lua-supported.
value | For letters, true would produce: a,b,c,....z,aa,bb,cc,dd,...zz,aaa,bbb,ccc... |
void FCMeasureNumberRegion::SetEndMeasure | ( | twobyte | measure | ) |
Sets the end measure for the measure number region.
Lua-supported (also as property).
measure | The 1-based end measure number (inclusive). |
void FCMeasureNumberRegion::SetExcludeOtherStaves | ( | bool | exclude, |
bool | parts | ||
) |
Sets if the numbers should be excluded on other staves.
Lua-supported.
exclude | If true, exclude numering on other staves. |
parts | If true, sets the parts' flag. If false, sets the score's flag. |
void FCMeasureNumberRegion::SetHideFirstNumber | ( | bool | hide, |
bool | parts | ||
) |
Sets if the first occurence should be hidden or not.
Lua-supported.
hide | If set, hide first number in region. |
parts | If true, set the parts info. If false, set the score info. |
void FCMeasureNumberRegion::SetMultiMeasureAlignment | ( | MNALIGNMENTS | alignment, |
bool | parts | ||
) |
Sets the alignment for multimeasure measure numbers.
alignment | Any of the MNALIGN_ constants. |
parts | If true, set the parts info. If false, set the score info. |
void FCMeasureNumberRegion::SetMultiMeasureBracketLeft | ( | eUniChar32 | character, |
bool | parts | ||
) |
Sets the left-side range bracket character for multimeasure rest ranges.
This method does nothing on Finale versions earlier than 2010.
Lua-supported.
character | The left-side bracket character. |
parts | If true, set the parts info. If false, set the score info. |
void FCMeasureNumberRegion::SetMultiMeasureBracketRight | ( | eUniChar32 | character, |
bool | parts | ||
) |
Sets the right-side range bracket character for multimeasure rest ranges.
This method does nothing on Finale versions earlier than 2010.
Lua-supported.
character | The right-side bracket character. |
parts | If true, set the parts info. If false, set the score info. |
void FCMeasureNumberRegion::SetMultiMeasureFontInfo | ( | FCFontInfo * | pFontInfo, |
bool | parts | ||
) |
Sets the font to be used for multi-measure rests.
This method does nothing if run of pre-Finale2010 systems.
Lua-supported.
pFontInfo | Pointer to the font information object. |
parts | If true, sets the parts' multi-measure font. If false, sets the score's multi-measure font. |
void FCMeasureNumberRegion::SetMultiMeasureHorizontalPosition | ( | twobyte | distance, |
bool | parts | ||
) |
Sets the horizontal position of multimeasure rest numbers.
Lua-supported.
distance | The default horizontal position, in EVPUs. |
parts | If true, set the parts info. If false, set the score info. |
void FCMeasureNumberRegion::SetMultiMeasureJustification | ( | MNJUSTIFICATIONS | justification, |
bool | parts | ||
) |
Sets the justification for the start measure numbers.
justification | Any of the MNJUSTI_ constants. |
parts | If true, set the parts info. If false, set the score info. |
void FCMeasureNumberRegion::SetMultiMeasureVerticalPosition | ( | twobyte | distance, |
bool | parts | ||
) |
Sets the vertical position of multimeasure rest numbers.
Lua-supported.
distance | The default vertical position, in EVPUs. |
parts | If true, set the parts info. If false, set the score info. |
void FCMeasureNumberRegion::SetMultipleAlignment | ( | MNALIGNMENTS | alignment, |
bool | parts | ||
) |
Sets the alignment for "multiple" measure numbers.
alignment | Any of the MNALIGN_ constants. |
parts | If true, set the parts info. If false, set the score info. |
void FCMeasureNumberRegion::SetMultipleFontInfo | ( | FCFontInfo * | pFontInfo, |
bool | parts | ||
) |
Sets the multiple font for the measure number region.
This method does nothing if run of pre-Finale2010 systems.
Lua-supported.
pFontInfo | Pointer to the font information object. |
parts | If true, sets the parts' "multiple" font. If false, sets the score "multiple" font. |
void FCMeasureNumberRegion::SetMultipleHorizontalPosition | ( | twobyte | distance, |
bool | parts | ||
) |
Sets the horizontal position of multiple numbers.
Lua-supported.
distance | The default horizontal position, in EVPUs. |
parts | If true, set the parts info. If false, set the score info. |
void FCMeasureNumberRegion::SetMultipleJustification | ( | MNJUSTIFICATIONS | justification, |
bool | parts | ||
) |
Sets the justification for the "multiple" measure numbers.
justification | Any of the MNJUSTI_ constants. |
parts | If true, set the parts info. If false, set the score info. |
void FCMeasureNumberRegion::SetMultipleStartMeasure | ( | twobyte | measure, |
bool | parts | ||
) |
Sets the "Show on every" start value for multiple measure numbers.
Lua-supported.
[in] | measure | The 1-based start value for "Show on every" measure numbering. |
[in] | parts | If true, set the parts info. If false, set the score info. |
void FCMeasureNumberRegion::SetMultipleValue | ( | twobyte | value, |
bool | parts | ||
) |
Sets the "Show on every" value for multiple measure numbers.
Lua-supported.
value | The "show on every" value. Example: 5 would display measure numbers every 5th bar. |
parts | If true, set the parts info. If false, set the score info. |
void FCMeasureNumberRegion::SetMultipleVerticalPosition | ( | twobyte | distance, |
bool | parts | ||
) |
Sets the vertical position of multiple numbers.
Lua-supported.
distance | The default vertical position, in EVPUs. |
parts | If true, set the parts info. If false, set the score info. |
void FCMeasureNumberRegion::SetNoZero | ( | bool | value | ) |
Sets if no zero should be used.
Used for custom measure number styles. For most numbering cases, this method isn't required, since it can be handled automatically by the GetNumberingStyle method.
Lua-supported.
value | For letter numbering, this should typically be the reverse of the double-up value. |
void FCMeasureNumberRegion::SetNumberingStyle | ( | NUMBERINGSTYLE | style | ) |
Sets the numbering style.
Lua-supported (also as property).
style | Any of the NUMBERING_ constants. |
void FCMeasureNumberRegion::SetPrefix | ( | FCString * | pString | ) |
Sets the prefix string.
Lua-supported.
void FCMeasureNumberRegion::SetShowMultiMeasureRange | ( | bool | show, |
bool | parts | ||
) |
Sets if the measure range should be displayed for multimeasure rests or not.
This will do nothing on Finale versions earlier than Finale 2010.
Lua-supported.
show | If set, show the multi-measure rest ranges in the region. |
parts | If true, set the parts info. If false, set the score info. |
void FCMeasureNumberRegion::SetShowMultiples | ( | bool | showmultiples, |
bool | parts | ||
) |
Sets if the "multiple" numbering should be used or not.
Lua-supported.
showmultiples | If true, use "multiple" numbering. |
parts | If true, set the parts info. If false, set the score info. |
void FCMeasureNumberRegion::SetShowOnBottomStaff | ( | bool | showonbottom, |
bool | parts | ||
) |
Sets if the measure number should be displayed on the bottom staff or not.
Lua-supported.
showonbottom | If true, show number on bottom staff. |
parts | If true, set the parts info. If false, set the score info. |
void FCMeasureNumberRegion::SetShowOnMultiMeasureRests | ( | bool | show, |
bool | parts | ||
) |
Sets if the measure numbers should show on multimeasure rests.
This method will do nothing on Finale versions earlier than Finale 2010.
Lua-supported.
show | If set, show measure numbers at multi-measure rests. |
parts | If true, set the parts info. If false, set the score info. |
void FCMeasureNumberRegion::SetShowOnSystemStart | ( | bool | showonstart, |
bool | parts | ||
) |
Sets if the measure number should be shown on system starts or not.
Lua-supported.
showonstart | If true, show measure number on system starts. |
parts | If true, set the parts info. If false, set the score info. |
void FCMeasureNumberRegion::SetShowOnTopStaff | ( | bool | showontop, |
bool | parts | ||
) |
Sets if the measure number should be shown on top staff or not.
Lua-supported.
showontop | If true, show on top staff. |
parts | If true, set the parts info. If false, set the score info. |
void FCMeasureNumberRegion::SetStartAlignment | ( | MNALIGNMENTS | alignment, |
bool | parts | ||
) |
Sets the alignment for start measure numbers.
alignment | Any of the MNALIGN_ constants. |
parts | If true, set the parts info. If false, set the score info. |
void FCMeasureNumberRegion::SetStartCharacter | ( | eUniChar32 | character | ) |
Sets the starting character of the measure numbering style.
On Finale 2012 and above, this is a Unicode character.
Used for custom measure number styles. For most numbering cases, this method isn't required, since it can be handled automatically by the GetNumberingStyle method.
Lua-supported.
character | '0' for digits. 'a' or 'A' for letters. |
void FCMeasureNumberRegion::SetStartFontInfo | ( | FCFontInfo * | pFontInfo, |
bool | parts | ||
) |
Sets the start font for the measure number region.
When run on Finale versions earlier than 2010, it will be used to just set the main font.
Lua-supported.
pFontInfo | Pointer to the font information object. |
parts | If true, sets the parts' font (for Finale 2010 and above). If false, sets the score font. |
void FCMeasureNumberRegion::SetStartHorizontalPosition | ( | twobyte | distance, |
bool | parts | ||
) |
Sets the default horizontal position of start numbers.
Lua-supported.
distance | The default horizontal position, in EVPUs. |
parts | If true, set the parts info. If false, set the score info. |
void FCMeasureNumberRegion::SetStartJustification | ( | MNJUSTIFICATIONS | justification, |
bool | parts | ||
) |
Sets the justification for the start measure numbers.
justification | Any of the MNJUSTI_ constants. |
parts | If true, set the parts info. If false, set the score info. |
void FCMeasureNumberRegion::SetStartMeasure | ( | twobyte | measure | ) |
Sets the start measure for the measure number region.
Lua-supported (also as property).
measure | The 1-based start measure number. |
void FCMeasureNumberRegion::SetStartNumber | ( | twobyte | offset | ) |
Sets the start measure for the measure number region.
Lua-supported (also as property).
offset | 1-based offset value. Even if it's a non-numeric format, it's 1-based (A = 1, B = 2, etc). |
void FCMeasureNumberRegion::SetStartVerticalPosition | ( | twobyte | distance, |
bool | parts | ||
) |
Sets the default vertical position of start numbers.
Lua-supported.
distance | The default vertical position, in EVPUs. |
parts | If true, set the parts info. If false, set the score info. |
void FCMeasureNumberRegion::SetSuffix | ( | FCString * | pString | ) |
Sets the suffix string.
Lua-supported.
void FCMeasureNumberRegion::SetTime | ( | bool | state | ) |
Sets if a time mode is used.
A time mode will either displaying the time or the frame, dependent on the GetTimeFrames() return value.
void FCMeasureNumberRegion::SetTimeFrames | ( | bool | state | ) |
Returns true if "frames" for time measure numbers.
The return value makes sense only if the GetTime() returns true.
void FCMeasureNumberRegion::SetTimePrecision | ( | twobyte | precision | ) |
Sets the time precision, for the time modes that aren't based on frames.
precision | The number of decimals for the precision. 0 means whole seconds. |
void FCMeasureNumberRegion::SetUseEnclosureMultiple | ( | bool | use, |
bool | parts | ||
) |
Sets if enclosures should be used for multiple numbers.
Lua-supported.
use | If true, use enclosure data. |
parts | If true, sets the parts' flag. If false, sets the score's flag. |
void FCMeasureNumberRegion::SetUseEnclosureStart | ( | bool | use, |
bool | parts | ||
) |
Sets if enclosures should be used for start numbers.
This method does nothing if run of pre-Finale2010 systems.
Lua-supported.
use | If true, use enclosure data. |
parts | If true, sets the parts' flag. If false, sets the score's flag. |
void FCMeasureNumberRegion::SetUseHours | ( | bool | state | ) |
Returns if time measure numbers should include hours.
The return value makes sense only if the GetTime() returns true.
Lua-supported.
void FCMeasureNumberRegion::SetUseScoreInfoForParts | ( | bool | value | ) |
Sets if parts should use the score information section of the measure number region appearance.
Lua-supported (also as property).
void FCMeasureNumberRegion::SetView | ( | NUMBERVIEWS | view | ) |
Sets the view where the region should show.
This method does nothin on Finale versions lower than Finale 2010.
view | Any of the NUMBERVIEW_ constants. |