|
|
| MeasureNumberRegion (const DocumentWeakPtr &document, Cmper partId, ShareMode shareMode, Cmper cmper) |
| | Constructor function.
|
| |
| bool | calcIncludesMeasure (MeasCmper measureId) const |
| | Calculates whether the input measure is covered by this measure number region.
|
| |
|
int | getStartNumber () const |
| | Returns the starting display measure number for this region. The value is irrespective of whether the number actually displays on the first measure of the region. (This depends on Measure::noMeasNum.) The starting number appears on the first measure in the region that is included in measure numbering.
|
| |
| std::optional< int > | calcDisplayNumberFor (MeasCmper measureId) const |
| | Returns the visible number for a measure id with respect to the region.
|
| |
| std::optional< int > | calcLastDisplayNumber () const |
| | Returns the last visible number in the region. This function takes into account if the last measure is not included and falls back to the previous measure if so. (And repeats if necessary.)
|
| |
| void | integrityCheck (const std::shared_ptr< Base > &ptrToThis) override |
| | Allows a class to determine if it has been properly contructed by the factory and fix issues that it can, such as creating default instances of contained classes.
|
| |
|
| OthersBase (const OthersBase &)=default |
| | explicit default copy constructor
|
| |
|
| OthersBase (OthersBase &&) noexcept=default |
| | explicit default move constructor
|
| |
| Cmper | getCmper () const |
| | Gets the cmper key value.
|
| |
| std::optional< Inci > | getInci () const |
| | Gets the optional array index (inci).
|
| |
|
Cmper | getRequestedPartId () const |
| | If this instance was retrieved from an object pool, it contains the part ID that was used to retrieve it. If this value is different than getSourcePartId, then this instance is a copy of the pool instance.
|
| |
|
virtual | ~Base () noexcept(false)=default |
| | Virtual destructor for polymorphic behavior.
|
| |
| DocumentPtr | getDocument () const |
| | Gets a reference to the Document.
|
| |
| Cmper | getSourcePartId () const |
| | Gets the source partId for this instance. If an instance is fully shared with the score, the source is SCORE_PARTID. If an instance is partially shared or non shared, the source is the ID of the part that sourced it.
|
| |
|
ShareMode | getShareMode () const |
| | Gets the sharing mode for this instance.
|
| |
|
const SharedNodes & | getUnlinkedNodes () const |
| | Gets the unlinked nodes for this instance. (Only populated for ShareMode::Partial)
|
| |
|
void | addUnlinkedNode (const std::string &nodeName) |
| | Adds a shared node for this instance.
|
| |
| virtual bool | requireAllFields () const |
| | Specifies if the parser should alert (print or throw) when an unknown xml tag is found for this class.
|
| |
|
|
std::shared_ptr< ScorePartData > | scoreData |
| | Score-wide measure number data.
|
| |
|
std::shared_ptr< ScorePartData > | partData |
| | Part-specific measure number data.
|
| |
|
MeasCmper | startMeas {} |
| | Starting measure number for the region.
|
| |
|
MeasCmper | endMeas {} |
| | Ending measure number for the region (non-inclusive).
|
| |
|
char32_t | startChar {} |
| | UTF-32 code for the first character in the sequence. (Frequently '0', 'a', or 'A')
|
| |
|
int | base {} |
| | The base used for measure number calculations. (Frequently 10 for numeric or 26 for alpha)
|
| |
|
int | numberOffset {} |
| | This value is 1 less than the "Starting Number" field in the Finale UI. (xml node is <offset>)
|
| |
|
std::string | prefix |
| | Text prefix for measure numbers (encoded UTF-8).
|
| |
|
std::string | suffix |
| | Text suffix for measure numbers (encoded UTF-8).
|
| |
|
bool | countFromOne {} |
| | Start counting from 1 rather than 0, e.g., "1, 2, 3, 4" numbering style (in conjuction with base 10)
|
| |
|
bool | noZero |
| | Indicates the base has no zero value: true for alpha sequences and false for numeric sequences.
|
| |
|
bool | doubleUp {} |
| | Indicates "a, b, c...aa, bb, cc" number style: the symbols are repeated when they exceed the base.
|
| |
|
bool | time {} |
| | Display real time sequences rather than numbers or letters.
|
| |
|
bool | includeHours {} |
| | Display hours (when showing real time measure numbers)
|
| |
|
bool | smpteFrames {} |
| | SMPTE frames (when showing real time measure numbers). This option supercedes timePrecision.
|
| |
|
bool | useScoreInfoForPart {} |
| | Use score-wide settings for parts.
|
| |
|
int | region {} |
| | The region ID. This 1-based value is set by Finale and never changes, whereas the Cmper may change when Finale sorts the regions.
|
| |
|
TimePrecision | timePrecision {} |
| | Precision for real-time sequences.
|
| |
|
bool | hideScroll {} |
| | Indicates if numbers are hidden in Scroll View and Studio View.
|
| |
|
bool | hidePage {} |
| | Indicates if numbers are hidden in Page View.
|
| |
Represents the Measure Number Region with detailed font and enclosure settings for score and part data.
This class is identified by the XML node name "measNumbRegion".