18 const char*
ClassName()
const override {
return "__FCDetail"; }
20#ifndef DOXYGEN_SHOULD_IGNORE_THIS
21 CMPER _GetCmper2() {
return _dataid.detail.cmper2; }
31 bool LoadFirst()
override {
return false; }
34 const char*
ClassName()
const override {
return "__FCNoInciDetail"; }
40 bool Load(CMPER cmper1, CMPER cmper2);
46 virtual bool SaveNew(CMPER cmper1);
48#ifdef PDK_FRAMEWORK_DEBUG
80#ifndef DOXYGEN_SHOULD_SKIP_THIS
81 EDTGroupSpec _groupspec;
86 bool LoadFirst()
override
94 EXTAG
Tag()
const override
101 return sizeof (EDTGroupSpec);
106 return (
void*) &_groupspec;
115 memcpy(&_groupspec, ((
FCGroup*) pSource)->_GetGroupSpec(),
sizeof (_groupspec));
125 void _SetAbbreviatedNameID(CMPER value)
127 _groupspec.abrvNameID = value;
130 void _SetFullNameID(CMPER value)
132 _groupspec.fullNameID = value;
177#ifndef DOXYGEN_SHOULD_SKIP_THIS
178 EDTGroupSpec* _GetGroupSpec()
218 const char*
ClassName()
const override {
return "FCGroup"; }
228 memset(&_groupspec, 0,
sizeof (_groupspec));
269#ifdef PDK_FRAMEWORK_LUAFRIENDLY_CPP
271 luabridge::RefCountedPtr<FCString> CreateAbbreviatedNameString_GC()
285#ifdef PDK_FRAMEWORK_LUAFRIENDLY_CPP
287 luabridge::RefCountedPtr<FCString> CreateFullNameString_GC()
291#ifdef PDK_FRAMEWORK_ENIGMASTRINGS
301#ifdef PDK_FRAMEWORK_LUAFRIENDLY_CPP
303 luabridge::RefCountedPtr<FCString> CreateTrimmedFullNameString_GC()
308#ifdef PDK_FRAMEWORK_ENIGMASTRINGS
324#ifdef PDK_FRAMEWORK_LUAFRIENDLY_CPP
326 luabridge::RefCountedPtr<FCString> CreateDisplayFullNameString_GC()
342#ifdef PDK_FRAMEWORK_LUAFRIENDLY_CPP
344 luabridge::RefCountedPtr<FCMusicRegion> CreateMusicRegion_GC()
361 return GetBitFlag(_groupspec.auxflag, GROUP_AUX_EXPAND_FULL);
370 return GetBitFlag(_groupspec.auxflag, GROUP_AUX_EXPAND_ABRV);
378#ifndef PDK_FRAMEWORK_LUAFRIENDLY
385#if FXT_VERSION >= FINALEVERSION_2014
403 return _groupspec.bracket.bracpos;
412 return _groupspec.bracket.bractop;
421 return _groupspec.bracket.bracbot;
430 return GetBitFlag(_groupspec.bracket.flag, BRACKET_BRACKET_ON_SINGLE);
521 return GetBitFlag(_groupspec.flag, GROUP_OWN_BARLINE);
540#ifndef PDK_FRAMEWORK_LUAFRIENDLY
547 if (
GetBitFlag(_groupspec.auxflag, GROUP_AUX_OPT_REMOVEWHENALLEMPTY))
549 if (
GetBitFlag(_groupspec.auxflag, GROUP_AUX_OPT_REMOVENEVER))
560 return !
GetBitFlag(_groupspec.flag, GROUP_HIDE_NAME);
569#ifndef PDK_FRAMEWORK_LUAFRIENDLY
576 switch (_groupspec.flag & GROUP_BARLINE_STYLE)
578 case GROUP_GROUP_BARLINES:
581 case GROUP_MENSURSTRICHE:
596 return (_groupspec.flag & GROUP_JUSTIFY_FULL);
607 return ((_groupspec.flag & GROUP_JUSTIFY_ABRV) >> 3);
618 return (_groupspec.auxflag & GROUP_AUX_HALIGN_FULL);
628 return (_groupspec.auxflag & GROUP_AUX_HALIGN_ABRV) >> 2;
644#if FXT_VERSION >= FINALEVERSION_2011
693 void SetEndStaff(twobyte staffno) { _groupspec.endInst = staffno; }
780 Set16BitFlag(&_groupspec.flag, GROUP_OWN_BARLINE, value);
789 _groupspec.custombarshape = shapeID;
799#ifndef PDK_FRAMEWORK_LUAFRIENDLY
810 Set16BitFlag(&_groupspec.auxflag, GROUP_AUX_OPT_REMOVEWHENALLEMPTY,
true);
811 Set16BitFlag(&_groupspec.auxflag, GROUP_AUX_OPT_REMOVENEVER,
false);
814 Set16BitFlag(&_groupspec.auxflag, GROUP_AUX_OPT_REMOVEWHENALLEMPTY,
false);
815 Set16BitFlag(&_groupspec.auxflag, GROUP_AUX_OPT_REMOVENEVER,
true);
818 Set16BitFlag(&_groupspec.auxflag, GROUP_AUX_OPT_REMOVEWHENALLEMPTY,
false);
819 Set16BitFlag(&_groupspec.auxflag, GROUP_AUX_OPT_REMOVENEVER,
false);
830 Set16BitFlag(&_groupspec.flag, GROUP_HIDE_NAME, !state);
840#ifndef PDK_FRAMEWORK_LUAFRIENDLY
850 _groupspec.flag &= ~GROUP_BARLINE_STYLE;
851 _groupspec.flag |= GROUP_GROUP_BARLINES;
854 _groupspec.flag &= ~GROUP_BARLINE_STYLE;
855 _groupspec.flag |= GROUP_MENSURSTRICHE;
858 _groupspec.flag &= ~GROUP_BARLINE_STYLE;
859 _groupspec.flag |= GROUP_NORMAL_BARLINES;
873 _groupspec.flag &= ~GROUP_JUSTIFY_FULL;
874 _groupspec.flag |= value;
885 _groupspec.flag &= ~GROUP_JUSTIFY_ABRV;
886 _groupspec.flag |= (value << 3);
898 _groupspec.auxflag &= ~GROUP_AUX_HALIGN_FULL;
899 _groupspec.auxflag |= value;
910 _groupspec.auxflag &= ~GROUP_AUX_HALIGN_ABRV;
911 _groupspec.auxflag |= (value << 2);
920 Set16BitFlag(&_groupspec.auxflag, GROUP_AUX_EXPAND_FULL, state);
929 Set16BitFlag(&_groupspec.auxflag, GROUP_AUX_EXPAND_ABRV, state);
938#ifndef PDK_FRAMEWORK_LUAFRIENDLY
946#if FXT_VERSION >= FINALEVERSION_2014
947 _groupspec.bracket.bracID = bracketid;
950 _groupspec.bracket.bracID = bracketid;
952 _groupspec.bracket.id = bracketid;
963 _groupspec.bracket.bracpos = value;
972 _groupspec.bracket.bractop = value;
982 _groupspec.bracket.bracbot = value;
992 Set16BitFlag(&_groupspec.bracket.flag, BRACKET_BRACKET_ON_SINGLE, state);
995#ifdef PDK_FRAMEWORK_DEBUG
999#ifdef PDK_FRAMEWORK_ENIGMASTRINGS
1006#if FXT_VERSION >= FINALEVERSION_2011
1016#ifndef DOXYGEN_SHOULD_SKIP_THIS
1017#include "pragma_align_begin.h"
1018struct __EDTCellClefInfo
1031#include "pragma_align_end.h"
1033const EXTAG __dt_CellClefInfo = MAKEEXTAG(edDetail,
'G',
'F');
1037#if FXT_VERSION < FINALEVERSION_27_3
1038#ifndef DOXYGEN_SHOULD_SKIP_THIS
1039#include "pragma_align_begin.h"
1047#include "pragma_align_end.h"
1049const EXTAG dt_BaselineChords = MAKEEXTAG(edDetail,
'C',
'L');
1050const EXTAG dt_BaselineExprAboveStaff = MAKEEXTAG(edDetail,
'X',
'A');
1051const EXTAG dt_BaselineExprBelowStaff = MAKEEXTAG(edDetail,
'X',
'B');
1052const EXTAG dt_BaselineFretboards = MAKEEXTAG(edDetail,
'G',
'L');
1053const EXTAG dt_BaselineLyricsChorus = MAKEEXTAG(edDetail,
'B',
'c');
1054const EXTAG dt_BaselineLyricsSection = MAKEEXTAG(edDetail,
'B',
's');
1055const EXTAG dt_BaselineLyricsVerse = MAKEEXTAG(edDetail,
'B',
'v');
1056const EXTAG dt_BaselineSysChords = MAKEEXTAG(edDetail,
'C',
'l');
1057const EXTAG dt_BaselineSysExprAboveStaff = MAKEEXTAG(edDetail,
'X',
'a');
1058const EXTAG dt_BaselineSysExprBelowStaff = MAKEEXTAG(edDetail,
'X',
'b');
1059const EXTAG dt_BaselineSysFretboards = MAKEEXTAG(edDetail,
'G',
'l');
1060const EXTAG dt_BaselineSysLyricsChorus = MAKEEXTAG(edDetail,
'b',
'c');
1061const EXTAG dt_BaselineSysLyricsSection = MAKEEXTAG(edDetail,
'B',
'S');
1062const EXTAG dt_BaselineSysLyricsVerse = MAKEEXTAG(edDetail,
'b',
'v');
1132#ifndef DOXYGEN_SHOULD_SKIP_THIS
1134 EDTBaseline _baseline;
1140 EVERSION
EnigmaVersion()
const override {
return FINALEVERSION_2010; }
1142 EXTAG
Tag()
const override;
1144 int DataSizeLoad()
const override {
return sizeof (_baseline); }
1146 void*
Allocate()
override {
return (
void*) &_baseline; }
1155 memcpy(&_baseline, pSourceObject->_GetBaseline(), sizeof (_baseline));
1167 bool _RawRelink()
override;
1171#ifndef DOXYGEN_SHOULD_SKIP_THIS
1172 EDTBaseline* _GetBaseline() {
return &_baseline; }
1174 bool LoadFirst()
override {
return false; }
1177 const char*
ClassName()
const override {
return "FCBaseline"; }
1187 memset(&_baseline, 0,
sizeof (_baseline));
1191 _globalscope =
false;
1211 {
return IsLyricMode() ? _baseline.lyricNumber : 0; }
1220#ifndef PDK_FRAMEWORK_LUAFRIENDLY
1277 if (number < 1)
return;
1278 _baseline.lyricNumber = number;
1281#ifndef DOXYGEN_SHOULD_IGNORE_THIS
1287 _globalscope = globalscope;
1302#ifndef PDK_FRAMEWORK_LUAFRIENDLY
1332#ifndef PDK_FRAMEWORK_LUAFRIENDLY
1360 bool Load(eSsys systemno, eStaff staffno, twobyte inci);
1368 bool SaveNew(eSsys systemno, eStaff staffno);
1375 bool SaveAs(eSsys systemno, eStaff staffno, twobyte inci);
1400#ifndef PDK_FRAMEWORK_LUAFRIENDLY
1409 return Load(0, 0, 0);
1424#ifndef PDK_FRAMEWORK_LUAFRIENDLY
1433 if (lyricno < 1)
return false;
1436 twobyte tryinci = 0;
1437 while (
Load(0, 0, tryinci))
1477#ifndef PDK_FRAMEWORK_LUAFRIENDLY
1509#ifndef PDK_FRAMEWORK_LUAFRIENDLY
1521#ifndef DOXYGEN_SHOULD_IGNORE_THIS
1522#include "pragma_align_begin.h"
1523struct __FCEDTActiveLyric
1531#include "pragma_align_end.h"
1534constexpr EXTAG __dt_ActiveLyric = MAKEEXTAG(edDetail,
'A',
'L');
1535constexpr ufourbyte __al_VerseLyric = 0x454;
1536constexpr ufourbyte __al_ChorusLyric = 0x452;
1537constexpr ufourbyte __al_SectionLyric = 0x453;
1547 __FCEDTActiveLyric _activelyric;
1549 EXTAG Tag()
const override {
return __dt_ActiveLyric; }
1551 int DataSizeLoad()
const override {
return sizeof (_activelyric); }
1553 void* Allocate()
override {
return (
void*) &_activelyric; }
1562 assert(pSourceObject);
1563 _activelyric = pSourceObject->_activelyric;
1566 _activelyric.tag = __al_VerseLyric;
1575 bool SaveNew(CMPER)
override {
return false; }
1578 const char*
ClassName()
const override {
return "FCActiveLyric"; }
1605#ifndef PDK_FRAMEWORK_LUAFRIENDLY
1612 switch(_activelyric.tag)
1640#ifndef PDK_FRAMEWORK_LUAFRIENDLY
1650#ifdef PDK_FRAMEWORK_LUAFRIENDLY
1651 throw std::runtime_error(
"block type must be for a lyrics text block");
1655 _activelyric.tag = __al_VerseLyric;
1658 _activelyric.tag = __al_ChorusLyric;
1661 _activelyric.tag = __al_SectionLyric;
1679#if FXT_VERSION >= FINALEVERSION_2012
1681#ifndef DOXYGEN_SHOULD_IGNORE_THIS
1683const EXTAG __ot_FRETGROUPITEM = MAKEEXTAG(edDetail,
'f',
'b');
1685#include "pragma_align_begin.h"
1686struct __FCEDTFretItemsHeader
1691 twobyte fretboardNum;
1694#define FRETITEMS_LOCK_FRETBOARD 0x0001
1695#define FRETITEMS_SHOW_FRETBOARD_NUM 0x0004
1696 twobyte numFretItems;
1699#include "pragma_align_end.h"
1701#include "pragma_align_begin.h"
1702struct __FCEDTFretItem
1708#define FRETITEM_FRETNUM_MASK 0x00FF
1709#define FRETITEM_STRING_MASK 0xF800
1711#define FRETSYMBOL_FINGER_MASK 0xE000
1712#define FRETSYMBOL_SHAPE_MASK 0x00FF
1727#include "pragma_align_end.h"
1737 __FCEDTFretItem _item;
1744 memset(&_item, 0,
sizeof(_item));
1747#ifndef DOXYGEN_SHOULD_IGNORE_THIS
1759 int _GetStringNumber()
const {
return (_GetEDTItem().fretstring & FRETITEM_STRING_MASK) >> 11; }
1760 int _GetBarreLeftStringNumber()
const {
return LOBYTE(_GetEDTItem().symbols); }
1761 int _GetBarreRightStringNumber()
const {
return HIBYTE(_GetEDTItem().symbols); }
1765 const char*
ClassName()
const override {
return "__FCFretItemBase"; }
1767#ifndef DOXYGEN_SHOULD_IGNORE_THIS
1769 const __FCEDTFretItem& _GetEDTItem()
const {
return _item; }
1771 __FCEDTFretItem& _GetEDTItem() {
return _item; }
1784 void SetFretNumber(
int value) { _GetEDTItem().fretstring = MAKEWORD(value, HIBYTE(_GetEDTItem().fretstring)); }
1796 if (_GetStringNumber())
return false;
1797 if (!_GetBarreLeftStringNumber() || ! _GetBarreRightStringNumber())
1811 const char*
ClassName()
const override {
return "FCFretItem"; }
1867#ifndef DOXYGEN_SHOULD_IGNORE_THIS
1886 _GetEDTItem().fretstring = LOBYTE(_GetEDTItem().fretstring) | ((value << 11) & FRETITEM_STRING_MASK);
1895 int GetFingering()
const {
return (_GetEDTItem().symbols & FRETSYMBOL_FINGER_MASK) >> 13; }
1905 _GetEDTItem().symbols = LOBYTE(_GetEDTItem().symbols) | ((value << 13) & FRETSYMBOL_FINGER_MASK);
1914 int GetSymbol()
const {
return LOBYTE(_GetEDTItem().symbols); }
1924 _GetEDTItem().symbols = MAKEWORD(value, HIBYTE(_GetEDTItem().symbols));
1936 void SetupItem(
int symbol,
int fretnum,
int stringnum,
int fingering)
1938 _GetEDTItem().fretstring = ((stringnum << 11) & FRETITEM_STRING_MASK) | LOBYTE(fretnum);
1939 _GetEDTItem().symbols = ((fingering << 13) & FRETSYMBOL_FINGER_MASK) | LOBYTE(symbol);
1950 const char*
ClassName()
const override {
return "FCFretBarreItem"; }
1959#ifndef DOXYGEN_SHOULD_IGNORE_THIS
1978 _GetEDTItem().symbols = MAKEWORD(value, HIBYTE(_GetEDTItem().symbols));
1993 _GetEDTItem().symbols = MAKEWORD(LOBYTE(_GetEDTItem().symbols), value);
2003 void SetupBarre(
int fretnum,
int leftstringnum,
int rightstringnum)
2005 _GetEDTItem().fretstring = LOBYTE(fretnum);
2006 _GetEDTItem().symbols = MAKEWORD(leftstringnum, rightstringnum);
2012#if FXT_VERSION >= FINALEVERSION_2012
2026 __FCEDTFretItemsHeader _header;
2027 std::unique_ptr<FCFretItems> _fretitems;
2028 std::unique_ptr<FCFretBarreItems> _barreitems;
2029 CMPER _fretboardGroupID;
2032 static twobyte _CalcCmper2(twobyte fretboardGroupInci, twobyte rootIndex)
2033 {
return 16*fretboardGroupInci + rootIndex; }
2036 const char*
ClassName()
const override {
return "FCFretboardGroupItem"; }
2053 bool Load(CMPER fretboardGroupID, twobyte fretboardGroupInci, twobyte rootIndex)
2055 _fretboardGroupID = fretboardGroupID;
2056 _cmper2 = _CalcCmper2(fretboardGroupInci, rootIndex);
2086 bool SaveAs(CMPER fretboardGroupID, twobyte fretboardGroupInci, twobyte rootIndex)
2088 _fretboardGroupID = fretboardGroupID;
2089 _cmper2 = _CalcCmper2(fretboardGroupInci, rootIndex);
Base class for all data-related classes (that handles Finale data).
Definition ff_base.h:676
virtual __FCBaseData * CreateObject()=0
Creates a new instance of the object.
virtual bool LoadFirst()=0
Loads the very first element in the database, if any.
__FCBaseData()
The constructor.
Definition finaleframework.cpp:788
EDataID _dataid
The EdataID for the last loaded/saved object.
Definition ff_base.h:712
void * _datablock
Pointer to the object's data block, the meaning is implementation-specific for each derived subclass.
Definition ff_base.h:695
virtual EVERSION EnigmaVersion() const
The Enigma version for save/load/create/delete operations.
Definition ff_base.h:812
virtual int DataSizeLoad() const =0
Returns the data size for the data structure that should be loaded.
virtual EXTAG Tag() const =0
The Enigma tag for the derived class.
virtual bool LoadNext()
Loads the next element from the database, if any.
Definition finaleframework.cpp:980
virtual void CloneMemoryFrom(__FCBaseData *pSource)
Definition finaleframework.cpp:838
virtual bool Save()
Saves the currently loaded to its current location.
Definition finaleframework.cpp:951
virtual void * Allocate()=0
int _loadedsize
Loaded size of the data block for a loaded object, in bytes. Since the datablock is implementation-sp...
Definition ff_base.h:708
Base class for the Finale Framework classes.
Definition ff_base.h:71
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 th...
Definition finaleframework.cpp:436
void Set16BitFlag(FLAG_16 *flag, FLAG_16 flagbits, bool state)
Sets a 16 bit flag.
Definition finaleframework.cpp:635
PDKFRAMEWORK_CLASSID
Constants for the GetClassID method.
Definition ff_base.h:84
static void DebugOutInt(const char *pszPrefixText, int i)
Static method that outputs a line for debugging purposes. The text appears with the extra digit (in d...
Definition finaleframework.cpp:335
bool GetBitFlag(FLAG_32 flag, FLAG_32 flagbits) const
Gets a state from flag bits. Returns true if any bit in the mask is set.
Definition ff_base.h:485
virtual void DebugDump()
Outputs the class data/information for debugging purposes.
Definition finaleframework.cpp:609
Base class for all classes that access Finale's detail records.
Definition ff_details.h:15
const char * ClassName() const override
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition ff_details.h:18
Base class for classes that describe a single fret item on a fret and string.
Definition ff_details.h:1736
bool IsBarre() const
returns true if this item is a barre rather than a fret symbol.
Definition ff_details.h:1794
__FCFretItemBase()
Constructor.
Definition ff_details.h:1742
void SetFretNumber(int value)
Sets the 0-based fret number for this item. (0 means open string.)
Definition ff_details.h:1784
int GetFretNumber() const
Returns the 0-based fret number for this item. (0 means open string.)
Definition ff_details.h:1778
const char * ClassName() const override
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition ff_details.h:1765
Abstract data class that contains a detail record without using the inci.
Definition ff_details.h:30
bool Load(CMPER cmper1, CMPER cmper2)
Loads a record with cmper1 and cmper2.
Definition finaleframework.cpp:36449
virtual bool SaveNew(CMPER cmper1)
Saves a new record at cmper1.
Definition finaleframework.cpp:36457
void DebugDump() override
Outputs the class data/information for debugging purposes.
Definition ff_details.h:49
const char * ClassName() const override
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition ff_details.h:34
Class that provides access to the active lyrics block and syllable.
Definition ff_details.h:1545
bool Save() override
Overridden method for saving the existing record.
Definition ff_details.h:1592
int GetSyllable() const
Returns the active syllable in the Lyrics Window.
Definition ff_details.h:1633
FCRawText::RAWTEXTTYPES GetBlockType() const
Returns the type of the active lyric text block.
Definition ff_details.h:1610
const PDKFRAMEWORK_CLASSID GetClassID() const override
Returns the internal class ID for the PDK Framework class. This is implemented mostly because Lua has...
Definition ff_details.h:1579
bool Load()
Loads the active lyric record.
Definition ff_details.h:1585
void SetBlockType(FCRawText::RAWTEXTTYPES value)
Sets the type of the active lyric text block.
Definition ff_details.h:1639
CMPER GetTextBlockID() const
Returns the item number for the active lyric text block.
Definition ff_details.h:1627
void SetTextBlockID(CMPER value)
Sets the item number for the active lyric text block.
Definition ff_details.h:1670
void SetSyllable(int value)
Sets the active syllable in the Lyrics Window.
Definition ff_details.h:1676
const char * ClassName() const override
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition ff_details.h:1578
Encapsulates baselines offset values for lyrics, expressions, fretboards and chords.
Definition ff_details.h:1096
const char * ClassName() const override
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition ff_details.h:1177
eStaff GetStaff() const
Returns the staff number ID for the baseline.
Definition ff_details.h:1255
bool GetGlobalScope() const
Returns true if the object is referencing data that affects the whole piece.
Definition ff_details.h:1249
bool LoadDefaultForLyricNumber(BASELINEMODES mode, eLyric lyricno)
Loads the default baseline value for a specific lyric number in the whole piece.
Definition ff_details.h:1423
const PDKFRAMEWORK_CLASSID GetClassID() const override
Returns the internal class ID for the PDK Framework class. This is implemented mostly because Lua has...
Definition ff_details.h:1178
BASELINEMODES
The mode constants of the object, used for both loading and saving objects.
Definition ff_details.h:1105
@ BASELINEMODE_EXPRESSIONABOVE
Definition ff_details.h:1110
@ BASELINEMODE_LYRICSVERSE
Definition ff_details.h:1122
@ BASELINEMODE_FRETBOARD
Definition ff_details.h:1119
@ BASELINEMODE_UNDEFINED
Definition ff_details.h:1107
@ BASELINEMODE_EXPRESSIONBELOW
Definition ff_details.h:1113
@ BASELINEMODE_LYRICSSECTION
Definition ff_details.h:1128
@ BASELINEMODE_LYRICSCHORUS
Definition ff_details.h:1125
@ BASELINEMODE_CHORD
Definition ff_details.h:1116
bool LoadForStaff(eSsys systemno, eStaff staffno)
Load a record for a staff.
Definition finaleframework.cpp:37453
static Evpu32 CalcTotalOffset(BASELINEMODES mode, eSsys system, eStaff staff)
Static method for non-lyric modes that calculates the resulting offset for a system/staff.
Definition finaleframework.cpp:37322
bool LoadDefaultForMode(BASELINEMODES mode)
Loads the (non-lyrics) default baseline value for the whole piece.
Definition ff_details.h:1399
eSsys GetSystem() const
Returns the system number for the baseline.
Definition ff_details.h:1235
void SetVerticalOffset(Evpu32 value)
Sets the vertical offset of the baseline. This is the value that affects the baseline position.
Definition ff_details.h:1267
bool IsLyricMode() const
Returns true if the current mode is a lyric mode.
Definition ff_details.h:1346
bool SaveAs(eSsys systemno, eStaff staffno, twobyte inci)
Saves baseline data at a specific position. Normally, this isn't called directly.
Definition finaleframework.cpp:37442
static Evpu32 CalcTotalOffsetForLyricNumber(BASELINEMODES mode, eSsys system, eStaff staff, eLyric lyricno)
Static method that calculates the resulting baseline offset for a specific lyric number in a system/s...
Definition finaleframework.cpp:37358
bool SaveNew(eSsys systemno, eStaff staffno)
Saves a new baseline data structure. Normally, this isn't called directly.
Definition finaleframework.cpp:37431
void SetLyricNumber(twobyte number)
Sets the connected lyric number that the baseline should be connected to.
Definition ff_details.h:1275
FCBaseline()
The constructor.
Definition ff_details.h:1185
void SetMode(BASELINEMODES mode)
Sets the mode for the object. If an automatic loader (such as LoadDefaultForMode or any of the loader...
Definition ff_details.h:1301
bool Save() override
Overridden method for saving the existing record.
Definition ff_details.h:1452
BASELINEMODES GetMode() const
Returns the mode for the object.
Definition ff_details.h:1225
Evpu32 GetVerticalOffset() const
Returns the vertical offset of the baseline. This is the value that affects the baseline position.
Definition ff_details.h:1201
static bool IsModeLyricMode(BASELINEMODES mode)
Returns true if the specified mode is a lyric mode.
Definition finaleframework.cpp:37491
bool Load(eSsys systemno, eStaff staffno, twobyte inci)
Loads a baseline data structure. Normally, this isn't called directly.
Definition finaleframework.cpp:37422
twobyte GetLyricNumber() const
Returns the connected lyric number for the baseline.
Definition ff_details.h:1210
Class that describes a single fret item on a fret and string.
Definition ff_details.h:1948
void SetupBarre(int fretnum, int leftstringnum, int rightstringnum)
Set up the barre. Use this to initialize the barre rather than individual Set methods.
Definition ff_details.h:2003
FCFretBarreItem()
Constructor.
Definition ff_details.h:1956
const char * ClassName() const override
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition ff_details.h:1950
int GetRightStringNumber() const
Returns the right string number for a barre. The strings are numbered right-to-left starting with 1.
Definition ff_details.h:1985
int GetLeftStringNumber() const
Returns the left string number for a barre. The strings are numbered right-to-left starting with 1.
Definition ff_details.h:1970
void SetLeftStringNumber(int value)
Sets the left string number for a barre. The strings are numbered right-to-left starting with 1.
Definition ff_details.h:1976
void SetRightStringNumber(int value)
Returns the right string number for a barre. The strings are numbered right-to-left starting with 1.
Definition ff_details.h:1991
Collection class of FCFretItem class objects that are barres.
Definition ff_detailscollection.h:436
Class that describes a single fret item on a fret and string.
Definition ff_details.h:1809
void SetSymbol(int value)
Returns the symbol value for this item.
Definition ff_details.h:1922
const char * ClassName() const override
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition ff_details.h:1811
int GetSymbol() const
Returns the symbol value for this item.
Definition ff_details.h:1914
int GetStringNumber() const
Returns the string number for this item. The strings are numbered right-to-left starting with 1.
Definition ff_details.h:1878
FRETITEMSYMBOLS
Codes for fretboard item symbols.
Definition ff_details.h:1818
@ FRETITEM_CIRCLE
Definition ff_details.h:1826
@ FRETITEM_DIAMOND
Definition ff_details.h:1832
@ FRETITEM_DOT
Definition ff_details.h:1823
@ FRETITEM_X
Definition ff_details.h:1829
@ FRETITEM_NONE
Definition ff_details.h:1820
void SetStringNumber(int value)
Sets the string number for this item. The strings are numbered right-to-left starting with 1.
Definition ff_details.h:1884
void SetFingering(int value)
Sets the fingering value for this item.
Definition ff_details.h:1903
FCFretItem()
Constructor.
Definition ff_details.h:1864
FRETITEMFINGERINGS
Codes for fretboard item fingering symbols.
Definition ff_details.h:1840
@ FRETFINGERING_SECOND
Definition ff_details.h:1848
@ FRETFINGERING_FOURTH
Definition ff_details.h:1854
@ FRETFINGERING_THUMB
Definition ff_details.h:1857
@ FRETFINGERING_FIRST
Definition ff_details.h:1845
@ FRETFINGERING_NONE
Definition ff_details.h:1842
@ FRETFINGERING_THIRD
Definition ff_details.h:1851
void SetupItem(int symbol, int fretnum, int stringnum, int fingering)
Set up the item. Use this to set up the item rather than individual set methods.
Definition ff_details.h:1936
int GetFingering() const
Returns the fingering value for this item.
Definition ff_details.h:1895
Collection class of FCFretItem class objects that are not barres.
Definition ff_detailscollection.h:403
Class that represents a single fretboard group item. The fretboard group item has a header and a list...
Definition ff_details.h:2023
FCFretboardGroupItem()
The constructor.
Definition finaleframework.cpp:37515
FCFretBarreItems * GetFretBarreItems() const
returns the FCFretBarreItems for this fretboard group item. This value is a pointer into the current ...
Definition ff_details.h:2113
const char * ClassName() const override
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition ff_details.h:2036
void SetLocked(bool state)
Sets the locked state from the Fretboard Editor dialog for this fretboard group item.
Definition ff_details.h:2149
void SetFretboardNumber(twobyte value)
Sets the "Fretboard Number" value from the Fretboard Editor dialog for this fretboard group item.
Definition ff_details.h:2137
void SetShowFretboardNumber(bool state)
Sets the "Show Fretboard Number" state from the Fretboard Editor dialog for this fretboard group item...
Definition ff_details.h:2161
bool SaveAs(CMPER fretboardGroupID, twobyte fretboardGroupInci, twobyte rootIndex)
Saves a loaded or newly constructed fretboard group item for the given key pair to a new FCFretboardG...
Definition ff_details.h:2086
bool GetShowFretboardNumber() const
Returns the "Show Fretboard Number" state from the Fretboard Editor dialog for this fretboard group i...
Definition ff_details.h:2155
FCFretItems * GetFretItems() const
returns the FCFretItems for this fretboard group item. This value is a pointer into the current insta...
Definition ff_details.h:2105
bool Reload()
Reloads the fretboard group item using the key pair from the previous call to Load.
Definition finaleframework.cpp:37522
twobyte GetFretboardNumber() const
Returns the "Fretboard Number" value from the Fretboard Editor dialog for this fretboard group item.
Definition ff_details.h:2131
twobyte GetNumberOfFrets() const
Returns the "Number of Frets" value from the Fretboard Editor dialog for this fretboard group item.
Definition ff_details.h:2119
bool Delete()
Deletes all data associated with the loaded fretboard group from the document.
Definition finaleframework.cpp:37551
bool Save()
Save the loaded fretboard group item for the given key pair.
Definition finaleframework.cpp:37560
bool GetLocked() const
Returns the locked state from the Fretboard Editor dialog for this fretboard group item.
Definition ff_details.h:2143
bool Load(CMPER fretboardGroupID, twobyte fretboardGroupInci, twobyte rootIndex)
Loads the fretboard group item for the given key pair.
Definition ff_details.h:2053
void SetNumberOfFrets(twobyte value)
Sets the "Number of Frets" value from the Fretboard Editor dialog for this fretboard group item.
Definition ff_details.h:2125
Encapsulates a staff group.
Definition ff_details.h:79
void SetEndMeasure(twobyte value)
Sets the end measure for the group (for Finale 2011 and later).
Definition ff_details.h:671
void SetUseAbbreviatedNamePositioning(bool state)
Sets if the individual positioning information should be used for abbreviated names in the group.
Definition ff_details.h:727
void SetEndStaff(twobyte staffno)
Sets the end staff number for the group.
Definition ff_details.h:693
void SetBracketSingleStaff(bool state)
Sets the "Bracket on single staves" state for the bracket.
Definition ff_details.h:990
GROUPSTAFFHIDES GetEmptyStaffHide() const
Returns the optimization setting for the group.
Definition ff_details.h:545
twobyte GetEndMeasure() const
Returns the end measure for the group (for Finale 2011 and later).
Definition ff_details.h:652
void SetBracketVerticalTopPos(Evpu16 value)
Sets the vertical top position/offset for the bracket.
Definition ff_details.h:970
void SetBarlineUse(bool value)
Sets the "Use Alternating Barline" state for the group.
Definition ff_details.h:778
CMPER GetAbbreviatedNameID() const
Returns the raw text ID for the abbreviated group name.
Definition ff_details.h:353
FLAG_16 GetFullNameAlign() const
Returns the alignment for the group's full name text.
Definition ff_details.h:616
FCString * CreateTrimmedFullNameString()
Creates a string object of the trimmed full group name.
Definition finaleframework.cpp:37119
FCMusicRegion * CreateMusicRegion() const
Creates a region corresponding to the FCGroup instance in Scroll View.
Definition finaleframework.cpp:37162
FCString * CreateAbbreviatedNameString()
Creates a string object of the abbreviated group name (including the Enigma text tags).
Definition finaleframework.cpp:37104
bool GetShowGroupName() const
Returns the "Show Group Name" state.
Definition ff_details.h:558
CMPER GetFullNameID() const
Returns the raw text ID for the full group name.
Definition ff_details.h:443
bool GetUseAbbreviatedNamePositioning() const
Returns if the individual positioning information should be used for abbreviated names in the group.
Definition ff_details.h:457
bool SaveNewAbbreviatedNameBlock(FCString *pString)
Saves a new raw text block (both a raw text and the connected text block) and assigns it to the full ...
Definition finaleframework.cpp:37182
FLAG_16 GetAbbreviatedNameJustify() const
Returns the justification for the group's abbreviated name text.
Definition ff_details.h:605
void DebugDump() override
Outputs the class data/information for debugging purposes.
Definition ff_details.h:996
Evpu16 GetBracketHorizontalPos() const
Returns the horizontal position/offset for the bracket.
Definition ff_details.h:401
bool GetUseFullNamePositioning() const
Returns if the individual positioning information should be used for full names in the group.
Definition ff_details.h:450
void SetBarlineShapeID(twobyte shapeID)
Sets the custom barline shape ID.
Definition ff_details.h:788
FLAG_16 GetFullNameJustify() const
Returns the justification for the group's full name text.
Definition ff_details.h:594
FCString * CreateFullNameString()
Creates a string object of the full group name (including the Enigma text tags).
Definition finaleframework.cpp:37111
void SetStartMeasure(twobyte value)
Sets the start measure for the group (for Finale 2011 and later).
Definition ff_details.h:680
FCString * CreateDisplayFullNameString()
Creates a group name for display purposes.
Definition finaleframework.cpp:37130
Evpu16 GetFullNameHorizontalOffset() const
Returns the horizontal adjustment offset for the full group name (compared to the default position).
Definition ff_details.h:466
Evpu16 GetFullNameVerticalOffset() const
Returns the vertical adjustment offset for the full group name (compared to the default position).
Definition ff_details.h:484
twobyte GetBarlineShapeID() const
Returns the custom barline shape ID, it any.
Definition finaleframework.cpp:37278
GROUPBARLINESTYLES
The group barline styles, used by FCGroup::GetDrawBarlineMode() and FCGroup::SetDrawBarlineMode().
Definition ff_details.h:206
@ GROUPBARLINESTYLE_ONLYON
Definition ff_details.h:208
@ GROUPBARLINESTYLE_THROUGH
Definition ff_details.h:214
@ GROUPBARLINESTYLE_ONLYBETWEEN
Definition ff_details.h:211
Evpu16 GetBracketVerticalTopPos() const
Returns the vertical top position/offset for the bracket.
Definition ff_details.h:410
Evpu16 GetBracketVerticalBottomPos() const
Returns the vertical bottom position/offset for the bracket.
Definition ff_details.h:419
const PDKFRAMEWORK_CLASSID GetClassID() const override
Returns the internal class ID for the PDK Framework class. This is implemented mostly because Lua has...
Definition ff_details.h:219
void SetAbbreviatedNameAlign(FLAG_16 value)
Returns the alignment for the group's abbreviated name text.
Definition ff_details.h:907
twobyte GetStartStaff() const
Returns the start staff number for the group.
Definition ff_details.h:499
void SetEmptyStaffHide(GROUPSTAFFHIDES value)
Sets the optimization setting for the group.
Definition ff_details.h:798
Evpu16 GetAbbreviatedNameVerticalOffset() const
Returns the vertical adjustment offset for the abbreviated group name (compared to the default positi...
Definition ff_details.h:493
bool GetAbbreviatedNameExpandSingle() const
Definition ff_details.h:368
void SetAbbreviatedNameExpandSingle(bool state)
Definition ff_details.h:927
void SetBracketVerticalBottomPos(Evpu16 value)
Sets the vertical bottom position/offset for the bracket.
Definition ff_details.h:980
int CalcStaffIndex(twobyte staff)
Returns the 0-based index within the group for a staff.
Definition finaleframework.cpp:37208
FLAG_16 GetAbbreviatedNameAlign() const
Returns the alignment for the group's abbreviated name text.
Definition ff_details.h:626
void SetAbbreviatedNameJustify(FLAG_16 value)
Sets the justification for the group's abbreviated name text.
Definition ff_details.h:882
void SetFullNameVerticalOffset(Evpu16 value)
Sets the vertical adjustment offset for the full group name (compared to the default position).
Definition ff_details.h:754
twobyte GetBarlineStyle() const
Returns the barline style for the group.
Definition finaleframework.cpp:37284
bool SaveNewFullNameBlock(FCString *pString)
Saves a new raw text block (both a raw text and the connected text block) and assigns it to the full ...
Definition finaleframework.cpp:37195
bool GetFullNameExpandSingle() const
Definition ff_details.h:359
void SetBracketStyle(FCGROUP_BRACKETS bracketid)
Sets the bracket style (any of the GRBRAC_* defines, such as GRBRAC_PIANO).
Definition ff_details.h:937
FCGroup()
The constructor.
Definition ff_details.h:226
Evpu16 GetAbbreviatedNameHorizontalOffset() const
Returns the horizontal adjustment offset for the abbreviated group name (compared to the default posi...
Definition ff_details.h:475
void SetDrawBarlineMode(GROUPBARLINESTYLES value)
Sets how barlines are drawn for the group.
Definition ff_details.h:839
FCGROUP_BRACKETS
Constants for group bracket styles, for use with GetBracketStyle() and SetBracketStyle().
Definition ff_details.h:144
@ GRBRAC_NONE
Definition ff_details.h:146
@ GRBRAC_REVERSEDESK
Definition ff_details.h:173
@ GRBRAC_REVERSEPIANO
Definition ff_details.h:161
@ GRBRAC_CURVEDCHORUS
Definition ff_details.h:164
@ GRBRAC_DESK
Definition ff_details.h:170
@ GRBRAC_CHORUS
Definition ff_details.h:152
@ GRBRAC_PIANO
Definition ff_details.h:155
@ GRBRAC_REVERSECHORUS
Definition ff_details.h:158
@ GRBRAC_PLAIN
Definition ff_details.h:149
@ GRBRAC_REVERSECURVEDCHORUS
Definition ff_details.h:167
GROUPSTAFFHIDES
The constants for "optimization" of staves in a group.
Definition ff_details.h:189
@ GROUPSTAFFHIDE_ALLEMPTY
Definition ff_details.h:194
@ GROUPSTAFFHIDE_NEVER
Definition ff_details.h:197
@ GROUPSTAFFHIDE_NORMAL
Definition ff_details.h:191
void SetAbbreviatedNameHorizontalOffset(Evpu16 value)
Sets the horizontal adjustment offset for the abbreviated group name (compared to the default positio...
Definition ff_details.h:745
void SetAbbreviatedNameVerticalOffset(Evpu16 value)
Sets the vertical adjustment offset for the abbreviated group name (compared to the default position)...
Definition ff_details.h:763
void SetBarlineStyle(twobyte barline)
Sets the barline style for the group.
Definition finaleframework.cpp:37298
bool ContainsStaff(twobyte staff)
Returns true if the staff belongs to the group.
Definition finaleframework.cpp:37246
void SetFullNameAlign(FLAG_16 value)
Returns the alignment for the group's full name text.
Definition ff_details.h:895
void SetUseFullNamePositioning(bool state)
Sets if the individual positioning information should be used for full names in the group.
Definition ff_details.h:720
void SetFullNameExpandSingle(bool state)
Definition ff_details.h:918
void SetFullNameHorizontalOffset(Evpu16 value)
Sets the horizontal adjustment offset for the full group name (compared to the default position).
Definition ff_details.h:736
int CalcStaffSpan()
Returns the number of staves contained in the group, based on the global list of staves.
Definition finaleframework.cpp:37229
twobyte GetItemID() const
Returns the saved ID for the group.
Definition ff_details.h:505
GROUPBARLINESTYLES GetDrawBarlineMode() const
Returns how barlines are drawn for the group.
Definition ff_details.h:574
void SetFullNameJustify(FLAG_16 value)
Sets the justification for the group's full name text.
Definition ff_details.h:870
bool GetBracketSingleStaff() const
Returns the "Bracket on single staves" state for the bracket.
Definition ff_details.h:428
twobyte GetEndStaff() const
Returns the end staff number for the group.
Definition ff_details.h:437
void SetStartStaff(twobyte staffno)
Sets the start staff number for the group.
Definition ff_details.h:687
bool GetBarlineUse() const
Returns true if "Use Alternating Barline" is set for the group.
Definition ff_details.h:519
twobyte GetStartMeasure() const
Returns the start measure for the group (for Finale 2011 and later)
Definition ff_details.h:661
bool HasAbbreviatedName()
Returns true if an abbreivated name is available.
Definition ff_details.h:641
const char * ClassName() const override
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition ff_details.h:218
FCGROUP_BRACKETS GetBracketStyle() const
Returns the bracket style (any of the GRBRAC_* constants, such as GRBRAC_PIANO).
Definition ff_details.h:383
void SetBracketHorizontalPos(Evpu16 value)
Sets the horizontal position/offset for the bracket.
Definition ff_details.h:961
void SetShowGroupName(bool state)
Sets the "Show Group Name" state.
Definition ff_details.h:828
bool HasFullName()
Returns true if a full name is available.
Definition ff_details.h:635
Class that encapsulates EREGION and provides additional functionality to region handling.
Definition ff_region.h:25
RAWTEXTTYPES
enumerates the possible raw text types.
Definition ff_text.h:72
@ RAWTEXTTYPE_VERSELYRIC
Definition ff_text.h:77
@ RAWTEXTTYPE_CHORUSLYRIC
Definition ff_text.h:80
@ RAWTEXTTYPE_SECTIONLYRIC
Definition ff_text.h:83
@ RAWTEXTTYPE_UNKNOWN
Definition ff_text.h:98
Class that provides storage for text. This is to achieve platform-transparent text handling,...
Definition ff_base.h:1877