8 #ifndef FF_ENTRYDETAILS_H
9 #define FF_ENTRYDETAILS_H
11 #include "ff_noteframe.h"
15 #ifdef PDK_FRAMEWORK_ENTRIES
27 #ifndef DOXYGEN_SHOULD_SKIP_THIS
40 bool _HasAnyMod(
FCNote* pNote);
45 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
47 void _DecreaseInci() {
_dataid.entryDetail.inci--; }
55 _dataid.entryDetail.entryNumber = 0;
62 _dataid.entryDetail.entryNumber = entnum;
63 _dataid.entryDetail.inci = inci;
70 virtual bool Load(ENTNUM entnum, twobyte inci);
79 bool SaveAs(ENTNUM entnum, twobyte inci);
88 if (!_pMappedEntry)
return false;
105 _pMappedEntry = pEntry;
151 #ifndef DOXYGEN_SHOULD_SKIP_THIS
158 #ifndef DOXYGEN_SHOULD_SKIP_THIS
164 virtual void _SetEntryFlag(
FCNoteEntry* pNoteEntry,
bool state)
170 #ifdef PDK_FRAMEWORK_DEBUG
192 #ifndef DOXYGEN_SHOULD_SKIP_THIS
201 EINCI _ScanForNoteID(
FCNoteEntry* pEntry, twobyte noteid);
254 #ifndef DOXYGEN_SHOULD_SKIP_THIS
265 virtual void SetNoteID(twobyte
id) = 0;
278 virtual bool _IsNoteIDMatch(
void *pBuffer, twobyte
id) = 0;
287 virtual void _SetEntryFlagN(
FCNote* pNote,
bool state)
289 pNote->_SetNoteDetailEntryFlag(state);
299 virtual bool _GetEntryFlagN(
FCNote* pNote)
301 return pNote->_GetNoteDetailEntryFlag();
317 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
318 EDTNoteheadMods2002 _noteheadmod;
320 #if FXT_VERSION >= FINALEVERSION_2012
321 EDTNoteheadMods2012 _noteheadmod2012;
324 bool _Use2012Version()
const;
326 const twobyte* _GetHorizontalPosPtr()
const
328 #if FXT_VERSION >= FINALEVERSION_2012
329 if (_Use2012Version())
return &_noteheadmod2012.horizpos;
331 return &_noteheadmod.horizpos;
334 const twobyte* _GetVerticalPosPtr()
const
336 #if FXT_VERSION >= FINALEVERSION_2012
337 if (_Use2012Version())
return &_noteheadmod2012.vertpos;
339 return &_noteheadmod.vertpos;
342 const FLAG_16* _GetFlagPtr()
const
344 #if FXT_VERSION >= FINALEVERSION_2012
345 if (_Use2012Version())
return &_noteheadmod2012.flag;
347 return &_noteheadmod.flag;
350 const FLAG_16* _GetEfxPtr()
const
352 #if FXT_VERSION >= FINALEVERSION_2012
353 if (_Use2012Version())
return &_noteheadmod2012.efx;
355 return &_noteheadmod.efx;
358 const twobyte* _GetFontSizePtr()
const
360 #if FXT_VERSION >= FINALEVERSION_2012
361 if (_Use2012Version())
return &_noteheadmod2012.fontsize;
363 return &_noteheadmod.fontsize;
366 const twobyte* _GetResizePercentPtr()
const
368 #if FXT_VERSION >= FINALEVERSION_2012
369 if (_Use2012Version())
return &_noteheadmod2012.resizepercent;
371 return &_noteheadmod.resizepercent;
374 const twobyte* _GetFontIDPtr()
const
376 #if FXT_VERSION >= FINALEVERSION_2012
377 if (_Use2012Version())
return &_noteheadmod2012.fontID;
379 return &_noteheadmod.fontID;
382 const twobyte* _GetNoteIDPtr()
const
384 #if FXT_VERSION >= FINALEVERSION_2012
385 if (_Use2012Version())
return &_noteheadmod2012.noteID;
387 return &_noteheadmod.noteID;
390 mutable EFONTNAME _fontname;
391 #if FXT_VERSION >= FINALEVERSION_25
392 mutable EnigmaFontName _fontnameUTF16;
395 virtual EXTAG
Tag() {
return ed_NoteheadMods2002; }
401 if (_Use2012Version())
return FINALEVERSION_2012;
402 return FXT_VERSION_2K2_BASE;
420 virtual const char*
ClassName() {
return "FCNoteheadMod"; }
423 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
428 void* _GetNoteheadMod()
430 #if FXT_VERSION >= FINALEVERSION_2012
431 if (_Use2012Version())
434 return &_noteheadmod2012;
437 return &_noteheadmod;
475 return *_GetVerticalPosPtr();
488 return *_GetVerticalPosPtr();
498 return GetBitFlag(*_GetFlagPtr(), NOTEHEAD_ALLOW_VERTPOS);
511 #if FXT_VERSION >= FINALEVERSION_2012
512 if (_Use2012Version())
return _noteheadmod2012.fontchar;
514 return _noteheadmod.fontchar;
523 #if FXT_VERSION >= FINALEVERSION_2012
524 if (_Use2012Version())
return (_noteheadmod2012.fontchar != 0);
526 return (_noteheadmod.fontchar != 0);
537 return *_GetResizePercentPtr();
547 return GetBitFlag(*_GetFlagPtr(), NOTEHEAD_CUSTOMFONT);
561 FX_FontNumToName(*_GetFontIDPtr(), &_fontname);
562 return (
const char*) &_fontname;
565 #if FXT_VERSION >= FINALEVERSION_25
576 FX_FontNumToName_UTF16(*_GetFontIDPtr(), _fontnameUTF16, DIM(_fontnameUTF16));
577 return _fontnameUTF16;
590 return *_GetFontSizePtr();
618 pInfo->
SetSize(*_GetFontSizePtr());
630 twobyte* pValue = (twobyte*) _GetHorizontalPosPtr();
646 twobyte* pValue = (twobyte*) _GetVerticalPosPtr();
661 Set16BitFlag((FLAG_16*) _GetFlagPtr(), NOTEHEAD_ALLOW_VERTPOS, status);
685 twobyte* pValue = (twobyte*) _GetResizePercentPtr();
698 Set16BitFlag((FLAG_16*) _GetFlagPtr(), NOTEHEAD_CUSTOMFONT, status);
723 twobyte fontnum = FX_FontNameToNum((EFONTNAME*) pszFont);
724 twobyte* pValue = (twobyte*) _GetFontIDPtr();
728 #if FXT_VERSION >= FINALEVERSION_25
739 twobyte fontnum = FX_FontNameToNum_UTF16(pszFont);
740 twobyte* pValue = (twobyte*) _GetFontIDPtr();
757 twobyte* pValue = (twobyte*) _GetFontSizePtr();
768 twobyte* pValue = (twobyte*) _GetEfxPtr();
780 twobyte* pEfx = (twobyte*) _GetEfxPtr();
782 twobyte* pFontSize = (twobyte*) _GetFontSizePtr();
784 twobyte* pFontID = (twobyte*) _GetFontIDPtr();
799 #if FXT_VERSION >= FINALEVERSION_2012
800 if (_Use2012Version())
802 _noteheadmod2012.fontchar = ch;
806 _noteheadmod.fontchar = 0xff00 | (ch & 0x00ff);
817 #if FXT_VERSION >= FINALEVERSION_2012
818 if (_Use2012Version())
820 _noteheadmod2012.fontchar = 0;
824 _noteheadmod.fontchar = 0;
834 twobyte* pValue = (twobyte*) _GetNoteIDPtr();
838 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
839 virtual bool _IsNoteIDMatch(
void *pBuffer, twobyte
id)
841 #if FXT_VERSION >= FINALEVERSION_2012
842 if (_Use2012Version())
844 return (((EDTNoteheadMods2012*) pBuffer)->noteID ==
id);
847 return (((EDTNoteheadMods2002*) pBuffer)->noteID ==
id);
862 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
866 virtual EXTAG
Tag() {
return ed_DotMods; }
867 virtual int DataSizeLoad() {
return sizeof(EDTDotMods); }
868 virtual int DataSizeSave() {
return sizeof(EDTDotMods); }
869 virtual void*
Allocate() {
return (
void*) &_dotmod; }
877 memcpy(&_dotmod, ((
FCDotMod*)pSource)->_GetDotMod(),
sizeof(_dotmod));
889 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
894 EDTDotMods* _GetDotMod() {
return &_dotmod; }
903 memset(&_dotmod, 0,
sizeof(_dotmod));
958 virtual void SetNoteID(twobyte
id) { _dotmod.noteID = id; }
972 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
973 virtual bool _IsNoteIDMatch(
void *pBuffer, twobyte
id)
975 return (((EDTDotMods*) pBuffer)->noteID ==
id);
982 virtual void _SetEntryFlagN(
FCNote* pNote,
bool state)
984 pNote->_SetSpecialAltsEntryFlag(state);
991 virtual bool _GetEntryFlagN(
FCNote* pNote)
993 return pNote->_GetSpecialAltsEntryFlag();
1009 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
1010 EDTCrossStaff _crossstaff;
1013 virtual EXTAG
Tag() {
return ed_CrossStaff; }
1014 virtual int DataSizeLoad() {
return sizeof(EDTCrossStaff); }
1015 virtual int DataSizeSave() {
return sizeof(EDTCrossStaff); }
1016 virtual void*
Allocate() {
return (
void*) &_crossstaff; }
1024 memcpy(&_crossstaff, ((
FCCrossStaffMod*)pSource)->_GetCrossStaff(),
sizeof(_crossstaff));
1033 virtual const char*
ClassName() {
return "FCCrossStaffMod"; }
1036 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
1041 EDTCrossStaff* _GetCrossStaff() {
return &_crossstaff; }
1050 memset(&_crossstaff, 0,
sizeof(_crossstaff));
1061 twobyte
GetStaff()
const {
return _crossstaff.instrument; }
1069 void SetStaff(eStaff staff) { _crossstaff.instrument = staff; }
1076 virtual void SetNoteID(twobyte
id) { _crossstaff.noteID = id; }
1078 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
1079 virtual bool _IsNoteIDMatch(
void *pBuffer, twobyte
id)
1081 return (((EDTCrossStaff*) pBuffer)->noteID ==
id);
1088 virtual void _SetEntryFlagN(
FCNote* pNote,
bool state)
1090 pNote->_SetCrossStaffEntryFlag(state);
1098 virtual bool _GetEntryFlagN(
FCNote* pNote)
1100 return pNote->_GetCrossStaffEntryFlag();
1119 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
1120 EDTSecondaryBeamBreakMods _secondarybeambreakmod;
1123 virtual int DataSizeLoad() {
return sizeof(EDTSecondaryBeamBreakMods); }
1124 virtual int DataSizeSave() {
return sizeof(EDTSecondaryBeamBreakMods); }
1125 virtual void*
Allocate() {
return (
void*) &_secondarybeambreakmod; }
1133 memcpy(&_secondarybeambreakmod, ((
FCSecondaryBeamBreakMod*)pSource)->_GetSecondaryBeamBreakMod(),
sizeof(_secondarybeambreakmod));
1142 virtual const char*
ClassName() {
return "FCSecondaryBeamBreakMod"; }
1145 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
1150 EDTSecondaryBeamBreakMods* _GetSecondaryBeamBreakMod() {
return &_secondarybeambreakmod; }
1160 memset(&_secondarybeambreakmod, 0,
sizeof(_secondarybeambreakmod));
1170 if (beamindex < 0)
return;
1171 if (beamindex > 8)
return;
1172 _secondarybeambreakmod.breaks[beamindex] = value ? 1 : 0;
1183 for (
int i = 0; i < 9; i++)
SetBreak(i, value);
1192 if (beamindex < 0)
return false;
1193 if (beamindex > 8)
return false;
1194 return (_secondarybeambreakmod.breaks[beamindex] != 0);
1287 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
1292 virtual void _SetEntryFlag(
FCNoteEntry* pNoteEntry,
bool state)
1309 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
1310 EDTStemMods _stemmod;
1314 virtual int DataSizeLoad() {
return sizeof(EDTStemMods); }
1315 virtual int DataSizeSave() {
return sizeof(EDTStemMods); }
1316 virtual void*
Allocate() {
return (
void*) &_stemmod; }
1324 memcpy(&_stemmod, ((
FCStemMod*)pSource)->_GetStemMod(),
sizeof(_stemmod));
1336 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
1341 EDTStemMods* _GetStemMod() {
return &_stemmod; }
1348 memset(&_stemmod, 0,
sizeof(_stemmod));
1352 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
1357 virtual void _SetEntryFlag(
FCNoteEntry* pNoteEntry,
bool state)
1381 twobyte returnval = HIBYTE(_stemmod.horizAdjust);
1382 if (returnval & 0x80)
1386 returnval = -returnval;
1418 _stemmod.horizAdjust = MAKE_TWOBYTE(_stemmod.horizAdjust & 0x00ff, adjust);
1429 _stemmod.horizAdjust = MAKE_TWOBYTE(adjust, _stemmod.horizAdjust & 0x00ff);
1452 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
1453 EDTArticulation _articulation;
1454 #if FXT_VERSION >= FINALEVERSION_2014B
1455 EDTArticulation2014b _articulation2014b;
1473 virtual EXTAG
Tag() {
return ed_Articulation; }
1474 virtual const char*
ClassName() {
return "FCArticulation"; }
1477 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
1482 void* _GetArticulation()
const;
1491 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
1496 virtual void _SetEntryFlag(
FCNoteEntry* pNoteEntry,
bool state)
1511 ((EDTArticulation*)_GetArticulation())->imrkdef = pDef->
GetItemNo();
1521 void SetID(CMPER cmper) { ((EDTArticulation*)_GetArticulation())->imrkdef = cmper; }
1530 ((EDTArticulation*)_GetArticulation())->posadd = pos;
1539 ((EDTArticulation*)_GetArticulation())->noteadd = pos;
1570 twobyte
GetVerticalPos()
const {
return ((EDTArticulation*)_GetArticulation())->noteadd; }
1580 twobyte
GetID()
const {
return ((EDTArticulation*)_GetArticulation())->imrkdef; }
1592 #if PDK_FRAMEWORK_LUAFRIENDLY
1626 #ifdef PDK_FRAMEWORK_DEBUG
1649 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
1650 EDTTuplet2005 _tuplet;
1653 virtual int DataSizeLoad() {
return sizeof(EDTTuplet2005); }
1654 virtual int DataSizeSave() {
return sizeof(EDTTuplet2005); }
1655 virtual void*
Allocate() {
return (
void*) &_tuplet; }
1663 memcpy(&_tuplet, ((
FCTuplet*)pSource)->_GetTuplet(),
sizeof(_tuplet));
1674 virtual EXTAG
Tag() {
return ed_Tuplet; }
1682 TUPLETPLACEMENT_MANUAL = 0,
1683 TUPLETPLACEMENT_STEMSIDE,
1684 TUPLETPLACEMENT_NOTESIDE,
1685 TUPLETPLACEMENT_ABOVE,
1686 TUPLETPLACEMENT_BELOW
1696 TUPLETNUMBER_NONE = 0,
1697 TUPLETNUMBER_REGULAR,
1699 TUPLETNUMBER_RATIOANDNOTE,
1700 TUPLETNUMBER_RATIOANDNOTE_BOTH
1709 TUPLETSHAPE_NONE = 0,
1710 TUPLETSHAPE_BRACKET,
1720 TUPLETBRACKET_ALWAYS = 0,
1721 TUPLETBRACKET_UNBEAMEDONLY,
1722 TUPLETBRACKET_NEVERBEAMEDONBEAMSIDE
1728 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
1733 EDTTuplet2005* _GetTuplet() {
return &_tuplet; }
1742 memset(&_tuplet, 0,
sizeof(_tuplet));
1765 #ifdef PDK_FRAMEWORK_PREFS
1812 #ifndef PDK_FRAMEWORK_LUAFRIENDLY
1852 #ifndef PDK_FRAMEWORK_LUAFRIENDLY
1866 #ifndef PDK_FRAMEWORK_LUAFRIENDLY
1886 #ifndef PDK_FRAMEWORK_LUAFRIENDLY
2027 #ifndef PDK_FRAMEWORK_LUAFRIENDLY
2068 #ifndef PDK_FRAMEWORK_LUAFRIENDLY
2083 #ifndef PDK_FRAMEWORK_LUAFRIENDLY
2103 #ifndef PDK_FRAMEWORK_LUAFRIENDLY
2210 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
2215 virtual void _SetEntryFlag(
FCNoteEntry* pNoteEntry,
bool state)
2223 #ifdef PDK_FRAMEWORK_DEBUG
2230 case TUPLETPLACEMENT_MANUAL:
2231 DebugOut(
"Placement mode: Manual");
2233 case TUPLETPLACEMENT_STEMSIDE:
2234 DebugOut(
"Placement mode: Stem/Beam Side");
2236 case TUPLETPLACEMENT_NOTESIDE:
2237 DebugOut(
"Placement mode: Note Side");
2239 case TUPLETPLACEMENT_ABOVE:
2242 case TUPLETPLACEMENT_BELOW:
2252 case TUPLETNUMBER_NONE:
2253 DebugOut(
"Number appearance: None");
2255 case TUPLETNUMBER_REGULAR:
2256 DebugOut(
"Number appearance: Number");
2258 case TUPLETNUMBER_RATIO:
2259 DebugOut(
"Number appearance: Ratio");
2261 case TUPLETNUMBER_RATIOANDNOTE:
2262 DebugOut(
"Number appearance: 7:8q");
2264 case TUPLETNUMBER_RATIOANDNOTE_BOTH:
2265 DebugOut(
"Number appearance: 7q:8q");
2270 case TUPLETSHAPE_NONE:
2271 DebugOut(
"Shape appearance: None");
2273 case TUPLETSHAPE_BRACKET:
2274 DebugOut(
"Shape appearance: Bracket");
2276 case TUPLETSHAPE_SLUR:
2277 DebugOut(
"Shape appearance: Slur");
2284 case TUPLETBRACKET_ALWAYS:
2285 DebugOut(
"Always use specified shape");
2287 case TUPLETBRACKET_UNBEAMEDONLY:
2288 DebugOut(
"Bracket unbeamed notes only");
2290 case TUPLETBRACKET_NEVERBEAMEDONBEAMSIDE:
2291 DebugOut(
"Never bracket beamed notes on beam side");
2317 #undef __SHOULD_INCLUDE_SYLLABLE_CODE
2319 #if (FXT_VERSION > FINALEVERSION_2012)
2320 #define __SHOULD_INCLUDE_SYLLABLE_CODE 1
2323 #ifdef DOXYGEN_SHOULD_SKIP_THIS
2324 #define __SHOULD_INCLUDE_SYLLABLE_CODE 1
2327 #ifdef __SHOULD_INCLUDE_SYLLABLE_CODE
2342 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
2343 EDTLyric2011 _syllable;
2346 int _CalcStringPos(twobyte syllablepos);
2349 FCFontInfo* _CreateFontInfo(twobyte syllablenumber);
2351 virtual int DataSizeLoad() {
return sizeof(EDTLyric2011); }
2352 virtual int DataSizeSave() {
return sizeof(EDTLyric2011); }
2353 virtual void*
Allocate() {
return (
void*) &_syllable; }
2361 memcpy(&_syllable, ((
FCSyllableBase*)pSource)->_GetSyllable(),
sizeof(_syllable));
2371 virtual EXTAG
Tag() {
return 0; };
2375 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
2380 EDTLyric2011* _GetSyllable() {
return &_syllable; }
2390 memset(&_syllable, 0,
sizeof(_syllable));
2400 _syllable.horzOff = offset;
2409 _syllable.vertOff = offset;
2420 _syllable.syll = number;
2429 _syllable.rawTextNum = rawtextid;
2440 _syllable.wext = smartshapeID;
2449 Set16BitFlag((FLAG_16*) &_syllable.lyrFlags, EDTLYRDATA_DISPLAY_VERSENUM, state);
2460 _syllable.floatingHorzOff = offset;
2470 return _syllable.horzOff;
2479 return _syllable.vertOff;
2488 return _syllable.syll;
2499 return _syllable.rawTextNum;
2510 return _syllable.wext;
2519 return GetBitFlag(_syllable.lyrFlags, EDTLYRDATA_DISPLAY_VERSENUM);
2528 return _syllable.floatingHorzOff;
2539 NULL, 0, NULL, NULL, NULL, NULL) != 0;
2566 tbool hyphen =
false;
2568 NULL, 0, NULL, NULL, &hyphen, NULL) == 0)
return false;
2596 #ifdef PDK_FRAMEWORK_LUAFRIENDLY
2609 #ifdef PDK_FRAMEWORK_LUAFRIENDLY
2622 #ifdef PDK_FRAMEWORK_LUAFRIENDLY
2649 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
2654 virtual void _SetEntryFlag(
FCNoteEntry* pNoteEntry,
bool state)
2661 #ifdef PDK_FRAMEWORK_DEBUG
2683 virtual EXTAG
Tag();
2684 virtual const char*
ClassName() {
return "FCVerseSyllable"; }
2703 virtual EXTAG
Tag();
2704 virtual const char*
ClassName() {
return "FCChorusSyllable"; }
2722 virtual EXTAG
Tag();
2723 virtual const char*
ClassName() {
return "FCSectionSyllable"; }
2744 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
2745 EDTLyricEntryInfo _lyricinfo;
2747 virtual EXTAG
Tag() {
return ed_LyricEntryInfo; }
2748 virtual int DataSizeLoad() {
return sizeof(EDTLyricEntryInfo); }
2749 virtual int DataSizeSave() {
return sizeof(EDTLyricEntryInfo); }
2750 virtual void*
Allocate() {
return (
void*) &_lyricinfo; }
2758 memcpy(&_lyricinfo, ((
FCSyllableEntryMod*)pSource)->_GetSyllableEntryMod(),
sizeof(_lyricinfo));
2806 virtual const char*
ClassName() {
return "FCSyllableEntryMod"; }
2809 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
2814 EDTLyricEntryInfo* _GetSyllableEntryMod() {
return &_lyricinfo; }
2824 memset(&_lyricinfo, 0,
sizeof(_lyricinfo));
2829 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
2834 virtual void _SetEntryFlag(
FCNoteEntry* pNoteEntry,
bool state)
2846 #ifndef PDK_FRAMEWORK_LUAFRIENDLY
2853 return (
SYLLABLEALIGNS) ((_lyricinfo.flag & LyricEntryInfo_AlignBits) / 0x100);
2862 #ifndef PDK_FRAMEWORK_LUAFRIENDLY
2880 #ifndef PDK_FRAMEWORK_LUAFRIENDLY
2887 FLAG_16 bitflag = (FLAG_16) value;
2888 bitflag = bitflag & 3;
2890 _lyricinfo.flag &= ~LyricEntryInfo_AlignBits;
2891 _lyricinfo.flag |= bitflag;
2901 #ifndef PDK_FRAMEWORK_LUAFRIENDLY
2909 FLAG_16 bitflag = (FLAG_16) value;
2910 bitflag = bitflag & 3;
2911 _lyricinfo.flag &= ~LyricEntryInfo_JustifyBits;
2912 _lyricinfo.flag |= bitflag;
2916 #if PDK_FRAMEWORK_DEBUG
2938 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
2942 virtual EXTAG
Tag() {
return ed_Alter; }
2943 virtual int DataSizeLoad() {
return sizeof(EDTAlter); }
2944 virtual int DataSizeSave() {
return sizeof(EDTAlter); }
2945 virtual void*
Allocate() {
return (
void*) &_alter; }
2953 memcpy(&_alter, ((
FCEntryAlterMod*)pSource)->_GetAlterMod(),
sizeof(_alter));
2962 virtual const char*
ClassName() {
return "FCEntryAlterMod"; }
2965 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
2970 EDTAlter* _GetAlterMod() {
return &_alter; }
2980 memset(&_alter, 0,
sizeof(_alter));
2981 _alter.percent = 100;
2986 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
2991 virtual void _SetEntryFlag(
FCNoteEntry* pNoteEntry,
bool state)
3004 if (value == 0) value = 100;
3005 _alter.percent = value;
3015 if (_alter.percent == 0)
return 100;
3016 return _alter.percent;
3019 #if PDK_FRAMEWORK_DEBUG
3042 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
3043 EDTAccidentalMods2001 _accidentalmod;
3045 #if FXT_VERSION >= FINALEVERSION_2012
3046 EDTAccidentalMods2012 _accidentalmod2012;
3049 bool _Use2012Version()
const;
3051 const twobyte* _GetHorizontalPosPtr()
const
3053 #if FXT_VERSION >= FINALEVERSION_2012
3054 if (_Use2012Version())
return &_accidentalmod2012.horizpos;
3056 return &_accidentalmod.horizpos;
3059 const twobyte* _GetVerticalPosPtr()
const
3061 #if FXT_VERSION >= FINALEVERSION_2012
3062 if (_Use2012Version())
return &_accidentalmod2012.vertpos;
3064 return &_accidentalmod.vertpos;
3067 const FLAG_16* _GetFlagPtr()
const
3069 #if FXT_VERSION >= FINALEVERSION_2012
3070 if (_Use2012Version())
return &_accidentalmod2012.flag;
3072 return &_accidentalmod.flag;
3075 const FLAG_16* _GetEfxPtr()
const
3077 #if FXT_VERSION >= FINALEVERSION_2012
3078 if (_Use2012Version())
return &_accidentalmod2012.efx;
3080 return (FLAG_16*) &_accidentalmod.efx;
3083 const twobyte* _GetFontSizePtr()
const
3085 #if FXT_VERSION >= FINALEVERSION_2012
3086 if (_Use2012Version())
return &_accidentalmod2012.fontsize;
3088 return &_accidentalmod.fontsize;
3091 const twobyte* _GetResizePercentPtr()
const
3093 #if FXT_VERSION >= FINALEVERSION_2012
3094 if (_Use2012Version())
return &_accidentalmod2012.resizepercent;
3096 return &_accidentalmod.resizepercent;
3099 const twobyte* _GetFontIDPtr()
const
3101 #if FXT_VERSION >= FINALEVERSION_2012
3102 if (_Use2012Version())
return &_accidentalmod2012.fontID;
3104 return &_accidentalmod.fontID;
3107 const twobyte* _GetNoteIDPtr()
const
3109 #if FXT_VERSION >= FINALEVERSION_2012
3110 if (_Use2012Version())
return &_accidentalmod2012.noteID;
3112 return &_accidentalmod.noteID;
3115 mutable EFONTNAME _fontname;
3116 #if FXT_VERSION >= FINALEVERSION_25
3117 mutable EnigmaFontName _fontnameUTF16;
3120 virtual EXTAG
Tag() {
return ed_AccidentalMods2001; }
3126 if (_Use2012Version())
return FINALEVERSION_2012;
3127 return FXT_VERSION_2K2_BASE;
3145 virtual const char*
ClassName() {
return "FCAccidentalMod"; }
3148 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
3153 void* _GetAccidentalMod()
3155 #if FXT_VERSION >= FINALEVERSION_2012
3156 if (_Use2012Version())
return &_accidentalmod2012;
3158 return &_accidentalmod;
3192 return *_GetVerticalPosPtr();
3202 return *_GetVerticalPosPtr();
3211 return GetBitFlag(*_GetFlagPtr(), ACCIMODS_VERTICAL_POS);
3224 #if FXT_VERSION >= FINALEVERSION_2012
3225 if (_Use2012Version())
return _accidentalmod2012.fontchar;
3227 return _accidentalmod.fontchar;
3236 #if FXT_VERSION >= FINALEVERSION_2012
3237 if (_Use2012Version())
return (_accidentalmod2012.fontchar != 0);
3239 return (_accidentalmod.fontchar != 0);
3250 return *_GetResizePercentPtr();
3259 return GetBitFlag(*_GetFlagPtr(), ACCIMODS_CUSTOM_FONT);
3273 FX_FontNumToName(*_GetFontIDPtr(), &_fontname);
3274 return (
const char*) &_fontname;
3277 #if FXT_VERSION >= FINALEVERSION_25
3290 FX_FontNumToName_UTF16(*_GetFontIDPtr(), _fontnameUTF16, DIM(_fontnameUTF16));
3292 return _fontnameUTF16;
3305 return *_GetFontSizePtr();
3331 pInfo->
SetSize(*_GetFontSizePtr());
3343 twobyte* pValue = (twobyte*) _GetHorizontalPosPtr();
3359 twobyte* pValue = (twobyte*) _GetVerticalPosPtr();
3374 Set16BitFlag((FLAG_16*) _GetFlagPtr(), ACCIMODS_VERTICAL_POS, status);
3397 twobyte* pValue = (twobyte*) _GetResizePercentPtr();
3410 Set16BitFlag((FLAG_16*) _GetFlagPtr(), ACCIMODS_CUSTOM_FONT, status);
3435 twobyte fontnum = FX_FontNameToNum((EFONTNAME*) pszFont);
3436 twobyte* pValue = (twobyte*) _GetFontIDPtr();
3440 #if FXT_VERSION >= FINALEVERSION_25
3453 twobyte fontnum = FX_FontNameToNum_UTF16(pszFont);
3454 twobyte* pValue = (twobyte*) _GetFontIDPtr();
3471 twobyte* pValue = (twobyte*) _GetFontSizePtr();
3482 twobyte* pValue = (twobyte*) _GetEfxPtr();
3494 twobyte* pEfx = (twobyte*) _GetEfxPtr();
3496 twobyte* pFontSize = (twobyte*) _GetFontSizePtr();
3497 *pFontSize = pInfo->
GetSize();
3498 twobyte* pFontID = (twobyte*) _GetFontIDPtr();
3513 #if FXT_VERSION >= FINALEVERSION_2012
3514 if (_Use2012Version())
3516 _accidentalmod2012.fontchar = ch;
3520 _accidentalmod.fontchar = 0xff00 | (ch & 0x00ff);
3531 #if FXT_VERSION >= FINALEVERSION_2012
3532 if (_Use2012Version())
3534 _accidentalmod2012.fontchar = 0;
3538 _accidentalmod.fontchar = 0;
3548 twobyte* pValue = (twobyte*) _GetNoteIDPtr();
3552 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
3553 virtual bool _IsNoteIDMatch(
void *pBuffer, twobyte
id)
3555 #if FXT_VERSION >= FINALEVERSION_2012
3556 if (_Use2012Version())
3558 return (((EDTAccidentalMods2012*) pBuffer)->noteID ==
id);
3561 return (((EDTAccidentalMods2001*) pBuffer)->noteID ==
id);
3578 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
3579 EDTPercNoteCode _percnotemod;
3582 virtual EXTAG
Tag() {
return ed_PercNoteCode ; }
3583 virtual int DataSizeLoad() {
return sizeof(EDTPercNoteCode); }
3584 virtual int DataSizeSave() {
return sizeof(EDTPercNoteCode); }
3585 virtual void*
Allocate() {
return (
void*) &_percnotemod; }
3593 memcpy(&_percnotemod, ((
FCPercussionNoteMod*)pSource)->_GetPercussionNoteMod(),
sizeof(_percnotemod));
3602 virtual const char*
ClassName() {
return "FCPercussionNoteMod"; }
3605 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
3610 EDTPercNoteCode* _GetPercussionNoteMod() {
return &_percnotemod; }
3620 memset(&_percnotemod, 0,
sizeof(_percnotemod));
3641 virtual void SetNoteID(twobyte
id) { _percnotemod.noteID = id; }
3643 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
3644 virtual bool _IsNoteIDMatch(
void *pBuffer, twobyte
id)
3646 return (((EDTPercNoteCode*) pBuffer)->noteID ==
id);
3660 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
3661 EDTCustomStemMods _customstemmod;
3665 virtual int DataSizeLoad() {
return sizeof(EDTCustomStemMods); }
3666 virtual int DataSizeSave() {
return sizeof(EDTCustomStemMods); }
3667 virtual void*
Allocate() {
return (
void*) &_customstemmod; }
3669 virtual EVERSION
EnigmaVersion() {
return FXT_VERSION_2K5_BASE; }
3677 memcpy(&_customstemmod, ((
FCStemMod*)pSource)->_GetStemMod(),
sizeof(_customstemmod));
3686 virtual const char*
ClassName() {
return "FCCustomStemMod"; }
3689 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
3694 EDTCustomStemMods* _GetStemMod() {
return &_customstemmod; }
3704 memset(&_customstemmod, 0,
sizeof(_customstemmod));
3707 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
3712 virtual void _SetEntryFlag(
FCNoteEntry* pNoteEntry,
bool state)
3760 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
3761 EDTBeamMods _beammod;
3763 twobyte _secondarybeamnumber;
3764 bool _secondarybeamuse;
3772 void _UseUpStemData(
bool useupstem)
3774 if (_secondarybeamuse)
3777 SetCustomTag(useupstem ? ed_BeamAboveModsSecondary : ed_BeamBelowModsSecondary);
3782 SetCustomTag(useupstem ? ed_BeamAboveMods : ed_BeamBelowMods);
3784 _upstemuse = useupstem;
3787 void _PreSaveSetup()
3789 if (_secondarybeamuse)
3791 _beammod.beamWidth = -1;
3792 if (_beammod.secondaryBeamEdu == 0)
3799 _beammod.secondaryBeamEdu = 0;
3805 virtual int DataSizeLoad() {
return sizeof(EDTBeamMods); }
3806 virtual int DataSizeSave() {
return sizeof(EDTBeamMods); }
3807 virtual void*
Allocate() {
return (
void*) &_beammod; }
3809 virtual EVERSION
EnigmaVersion() {
return FXT_VERSION_2K5_BASE; }
3818 memcpy(&_beammod, pSourceMod->_GetBeamMod(),
sizeof(_beammod));
3822 _upstemuse = pSourceMod->
IsUpStem();
3833 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
3838 EDTBeamMods* _GetBeamMod() {
return &_beammod; }
3853 memset(&_beammod, 0,
sizeof(_beammod));
3857 _secondarybeamuse = secondarybeam;
3859 _secondarybeamnumber = 2;
3860 SetCustomTag(_secondarybeamuse ? ed_BeamBelowModsSecondary : ed_BeamBelowMods);
3863 #ifdef PDK_FRAMEWORK_PREFS
3868 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
3873 virtual void _SetEntryFlag(
FCNoteEntry* pNoteEntry,
bool state)
3879 virtual bool Load(ENTNUM entnum, twobyte inci)
3884 EDTBeamMods tempbeammod;
3885 memcpy(&tempbeammod, &_beammod,
sizeof(_beammod));
3887 if (!returnval) memcpy(&_beammod, &tempbeammod,
sizeof(_beammod));
3909 _UseUpStemData(stemup);
3926 _beammod.mode = mode;
3935 _beammod.startHorizAdjust = offset;
3944 _beammod.endHorizAdjust = offset;
3953 _beammod.startVertAdjust = offset;
3964 _beammod.endVertAdjust = offset;
3974 if (_secondarybeamuse)
return;
3975 _beammod.beamWidth = thickness;
3985 if (_secondarybeamuse)
return;
3986 _beammod.beamWidth = -1;
3989 #ifdef PDK_FRAMEWORK_PREFS
4009 if (!_secondarybeamuse)
return;
4010 if (beamnumber <= 1)
return;
4011 _secondarybeamnumber = beamnumber;
4012 twobyte duration = FCNoteEntry::NOTE_8TH;
4013 for (
int i = 1; i < beamnumber; i++) duration /= 2;
4014 _beammod.secondaryBeamEdu = duration;
4023 return _beammod.startHorizAdjust;
4032 return _beammod.endHorizAdjust;
4041 return _beammod.startVertAdjust;
4050 return _beammod.endVertAdjust;
4073 if (!_secondarybeamuse)
return FCNoteEntry::EIGHTH_NOTE;
4074 return _beammod.secondaryBeamEdu;
4086 if (duration == 0)
return 0;
4087 if (duration > FCNoteEntry::EIGHTH_NOTE)
return 0;
4088 twobyte retvalue = 1;
4089 TimeEdu32 tryvalue = FCNoteEntry::EIGHTH_NOTE;
4092 if (tryvalue == duration)
return retvalue;
4109 if (_secondarybeamuse)
return -1;
4110 return _beammod.beamWidth;
4127 if (!_secondarybeamuse)
return 0;
4128 twobyte result = default_separation * (
GetBeamNumber() - 1);
4129 if (_upstemuse) result = -result;
4148 if (!_secondarybeamuse)
return 0;
4166 #ifdef PDK_FRAMEWORK_DEBUG
4192 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
4193 EDTPerformanceData _performancedata;
4196 virtual EXTAG
Tag() {
return ed_PerformanceData; }
4197 virtual int DataSizeLoad() {
return sizeof(EDTPerformanceData); }
4198 virtual int DataSizeSave() {
return sizeof(EDTPerformanceData); }
4199 virtual void*
Allocate() {
return (
void*) &_performancedata; }
4200 virtual EVERSION
EnigmaVersion() {
return FXT_VERSION_2K2_BASE; }
4208 memcpy(&_performancedata, ((
FCPerformanceMod*)pSource)->_GetPerformanceMod(),
sizeof(_performancedata));
4217 virtual const char*
ClassName() {
return "FCPerformanceMod"; }
4220 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
4225 EDTPerformanceData* _GetPerformanceMod() {
return &_performancedata; }
4235 memset(&_performancedata, 0,
sizeof(_performancedata));
4247 _performancedata.enadd = value;
4257 _performancedata.stadd = value;
4269 _performancedata.velocity = value;
4280 _performancedata.keyadd = value;
4290 return _performancedata.enadd;
4300 return _performancedata.stadd;
4311 return _performancedata.keyadd;
4323 return _performancedata.velocity;
4331 virtual void SetNoteID(twobyte
id) { _performancedata.noteID = id; }
4333 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
4334 virtual bool _IsNoteIDMatch(
void *pBuffer, twobyte
id)
4336 return (((EDTPerformanceData*) pBuffer)->noteID ==
id);
4346 virtual void _SetEntryFlagN(
FCNote* pNote,
bool state)
4348 pNote->_SetPerformanceDataEntryFlag(state);
4358 virtual bool _GetEntryFlagN(
FCNote* pNote)
4360 return pNote->_GetPerformanceDataEntryFlag();
4374 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
4380 virtual int DataSizeLoad() {
return sizeof(EDTTieMods); }
4381 virtual int DataSizeSave() {
return sizeof(EDTTieMods); }
4382 virtual void*
Allocate() {
return (
void*) &_tiemod; }
4391 memcpy(&_tiemod, pTieSource->_GetTieMod(),
sizeof(_tiemod));
4404 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
4409 EDTTieMods* _GetTieMod() {
return &_tiemod; }
4416 memset(&_tiemod, 0,
sizeof(_tiemod));
4417 _tiemod.tiePlacementOpts = 0x03ff;
4418 _tiemod.stPtAdj = 0x6006;
4419 _tiemod.enPtAdj = 0x6006;
4423 SetCustomTag(starttie ? ed_TieModsStart : ed_TieModsEnd);
4424 _starttie = starttie;
4462 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
4463 virtual bool _IsNoteIDMatch(
void *pBuffer, twobyte
id)
4465 return (((EDTTieMods*) pBuffer)->noteID ==
id);
4472 virtual void _SetEntryFlagN(
FCNote* pNote,
bool state)
4474 pNote->_SetSpecialAltsEntryFlag(state);
4481 virtual bool _GetEntryFlagN(
FCNote* pNote)
4483 return pNote->_GetSpecialAltsEntryFlag();
4494 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
4495 EDTBrokenBeamMods _brokenbeammod;
4498 virtual EXTAG
Tag() {
return ed_BrokenBeamMods; }
4499 virtual int DataSizeLoad() {
return sizeof(EDTBrokenBeamMods); }
4500 virtual int DataSizeSave() {
return sizeof(EDTBrokenBeamMods); }
4501 virtual void*
Allocate() {
return (
void*) &_brokenbeammod; }
4509 memcpy(&_brokenbeammod, ((
FCBrokenBeamMod*)pSource)->_GetBrokenBeamMod(),
sizeof(_brokenbeammod));
4518 virtual const char*
ClassName() {
return "FCBrokenBeamMod"; }
4521 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
4526 EDTBrokenBeamMods* _GetBrokenBeamMod() {
return &_brokenbeammod; }
4533 memset(&_brokenbeammod, 0,
sizeof(_brokenbeammod));
4536 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
4541 virtual void _SetEntryFlag(
FCNoteEntry* pNoteEntry,
bool state)
4555 _brokenbeammod.beamdir = leftdirection ? -1 : 0;
4572 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
4573 EDTTablatureMods _tablaturemod;
4576 virtual EXTAG
Tag() {
return ed_TablatureMods; }
4577 virtual int DataSizeLoad() {
return sizeof(EDTTablatureMods); }
4578 virtual int DataSizeSave() {
return sizeof(EDTTablatureMods); }
4579 virtual void*
Allocate() {
return (
void*) &_tablaturemod; }
4587 memcpy(&_tablaturemod, ((
FCTablatureNoteMod*)pSource)->_GetTablatureMod(),
sizeof(_tablaturemod));
4596 virtual const char*
ClassName() {
return "FCTablatureNoteMod"; }
4599 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
4604 EDTTablatureMods* _GetTablatureMod() {
return &_tablaturemod; }
4610 memset(&_tablaturemod, 0,
sizeof(_tablaturemod));
4613 _tablaturemod.stringNumber = 1;
4622 return _tablaturemod.stringNumber;
4632 if (value < 1)
return;
4633 if (value > 24)
return;
4634 _tablaturemod.stringNumber = value;
4642 virtual void SetNoteID(twobyte
id) { _tablaturemod.noteID = id; }
4645 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
4646 virtual bool _IsNoteIDMatch(
void *pBuffer, twobyte
id)
4648 return (((EDTTablatureMods*) pBuffer)->noteID ==
id);
4655 virtual void _SetEntryFlagN(
FCNote* pNote,
bool state)
4657 pNote->_SetNoteDetailEntryFlag(state);
4664 virtual bool _GetEntryFlagN(
FCNote* pNote)
4666 return pNote->_GetNoteDetailEntryFlag();
4674 #endif // #ifdef PDK_FRAMEWORK_ENTRIES
virtual EXTAG Tag()
The Enigma tag for the derived class.
bool GetFontStyle(FCFontInfo *pInfo)
Gets the font style into the FCFontInfo object.
Definition: ff_entrydetails.h:3314
void SetVerticalOffset(twobyte value)
Sets the vertical tuplet offset in EVPUs.
Definition: ff_entrydetails.h:2132
virtual CMPER GetItemNo() const
Returns the item number. This typically points to items such as a page number, a measure number...
Definition: ff_other.h:305
void SetBreak128th(bool state)
Sets if the 128th note beam should break or not.
Definition: ff_entrydetails.h:1264
Class that specifies the cross-staff connection for a note.
Definition: ff_entrydetails.h:1007
virtual void DebugDump()
Outputs the class data/information for debugging purposes.
Definition: ff_base.h:918
The class for a section syllable.
Definition: ff_entrydetails.h:2718
FCStemMod()
The constructor.
Definition: ff_entrydetails.h:1345
void SetBreakSlurBracket(bool value)
Definition: ff_entrydetails.h:2094
bool GetUseCustomVerticalPos() const
Returns true if vertical position can be set.
Definition: ff_entrydetails.h:496
Class for document-independent font information.
Definition: ff_base.h:1024
bool SaveAs(ENTNUM entnum, twobyte inci)
Saves the data at the given entry number and inci.
Definition: finaleframework.cpp:18904
twobyte GetVerticalPos() const
Returns the vertical position for the accidental.
Definition: ff_entrydetails.h:3200
virtual void DebugDump()
Outputs the class data/information for debugging purposes.
Definition: ff_entrydetails.h:171
FLAG_16 GetNoteType() const
Returns the raw percussion note type.
Definition: ff_entrydetails.h:3628
void SetUseCustomFont(bool status)
Marks if a custom font should be used for the notehead or not.
Definition: ff_entrydetails.h:696
void SetUseCustomVerticalPos(bool status)
Marks if a custom vertical position should be used for the notehead or not.
Definition: ff_entrydetails.h:659
FCBrokenBeamMod()
The constructor.
Definition: ff_entrydetails.h:4530
SYLLABLEALIGNS GetAlignment() const
Returns the syllable alignment value for the entry.
Definition: ff_entrydetails.h:2851
void SetFontStyle(FCFontInfo *pInfo)
Sets the font style only (such as italics, bold, etc), based on the style info in the FCFontInfo obje...
Definition: ff_entrydetails.h:766
void SetUseDefaultFont(bool status)
The reverse functionality of FCAccidentalMod::SetUseCustomFont.
Definition: ff_entrydetails.h:3419
twobyte GetResize() const
Returns the accidental resize in percent.
Definition: ff_entrydetails.h:3248
bool GetUseCustomFont() const
Returns if a custom font is used for the accidental or not.
Definition: ff_entrydetails.h:3257
Simple class for the representation of x, y coordinates.
Definition: ff_base.h:3906
twobyte GetVerticalOffset() const
Returns the vertical tuplet offset in EVPUs.
Definition: ff_entrydetails.h:1915
virtual const PDKFRAMEWORK_CLASSID GetClassID()
Returns the internal class ID for the PDK Framework class. This is implemented mostly because Lua has...
Definition: ff_entrydetails.h:421
twobyte GetRightHorizontalOffset() const
Returns the horizontal right-side offset.
Definition: ff_entrydetails.h:4030
SYLLABLEJUSTIFICATIONS GetJustification() const
Returns the syllable justification value for the entry.
Definition: ff_entrydetails.h:2867
void SetResize(twobyte value)
Sets the note entry resize value in percent.
Definition: ff_entrydetails.h:3002
The class for a verse syllable.
Definition: ff_entrydetails.h:2679
void UseBeamedData(bool usebeam)
Sets if beamed or non-beamed data should be loaded/saved.
Definition: ff_entrydetails.h:1437
virtual int DataSizeSave()
Returns the data size for the data structure that should be saved or created.
Definition: finaleframework.cpp:813
void SetBreak64th(bool state)
Sets if the 64th note beam should break or not.
Definition: ff_entrydetails.h:1246
bool LoadRestDotAt(FCNoteEntry *pEntry)
Tries to load a rest dot with the rest ID.
Definition: finaleframework.cpp:19232
twobyte GetSymbolicNumber() const
Returns the symbolic number of the tuplet.
Definition: ff_entrydetails.h:1789
twobyte GetVerticalShapeOffset() const
Returns the vertical bracket offset in EVPUs.
Definition: ff_entrydetails.h:1939
void SetAlwaysFlat(bool value)
Sets the "Always Flat" setting.
Definition: ff_entrydetails.h:2114
twobyte GetLeftHorizontalOffset() const
Returns the horizontal left-side offset.
Definition: ff_entrydetails.h:4021
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_entrydetails.h:4518
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_entrydetails.h:2704
EXTAG GetCustomTag()
Returns the custom Enigma tag, if any.
Definition: ff_base.h:815
void SetNoteType(FLAG_16 value)
Sets the percussion note type.
Definition: ff_entrydetails.h:3634
void SetBreak(int beamindex, bool value)
Sets if a secondary beam should break or not.
Definition: ff_entrydetails.h:1168
void SetReferenceNumber(twobyte value)
Sets the reference number value.
Definition: ff_entrydetails.h:2010
NUMBERSTYLE GetNumberStyle() const
Returns the settings for the number style that should be used by the tuplet.
Definition: finaleframework.cpp:19501
virtual EXTAG Tag()
The Enigma tag for the derived class.
Definition: ff_entrydetails.h:1674
ENTNUM GetEntryNumber() const
Returns the internal entry number (ID) for the note entry.
Definition: ff_noteframe.h:1059
void SetAvoidStaff(bool value)
Sets the "Avoid Staff" setting for the tuplet.
Definition: ff_entrydetails.h:2044
twobyte GetFontSize() const
Returns the custom font size.
Definition: ff_entrydetails.h:587
Class for attaching an tuplet to an entry.
Definition: ff_entrydetails.h:1647
virtual bool LoadNext()
Overloaded version of LoadNext.
Definition: finaleframework.cpp:18913
static void DebugOut(const char *pszLine)
Static method to output a line of text for debugging purposes.
Definition: finaleframework.cpp:465
void * _datablock
Pointer to the object's data block, the meaning is implementation-specific for each derived subclass...
Definition: ff_base.h:640
FCAccidentalMod()
The constructor.
Definition: ff_entrydetails.h:3163
twobyte GetFontSize() const
Returns the custom font size.
Definition: ff_entrydetails.h:3302
void SetCrossStaff(bool state)
Sets the cross staff state for the note.
Definition: ff_noteframe.h:417
FCCustomStemMod()
The constructor.
Definition: ff_entrydetails.h:3701
Class for custom stem shapes (in Finale's Special Tools). The data is connected to either an upstem o...
Definition: ff_entrydetails.h:3658
Definition: ff_entrydetails.h:2784
Class for acciental modifications (as in Finale's Special Tools).
Definition: ff_entrydetails.h:3039
virtual void DebugDump()
Outputs the class data/information for debugging purposes.
Definition: ff_entrydetails.h:4167
bool GetUseCustomChar() const
Returns true if there's a custom accidental symbol.
Definition: ff_entrydetails.h:3234
ENTNUM GetItemEntryNumber() const
Returns the note entry number for the stored object.
Definition: ff_entrydetails.h:127
virtual const PDKFRAMEWORK_CLASSID GetClassID()
Returns the internal class ID for the PDK Framework class. This is implemented mostly because Lua has...
Definition: ff_entrydetails.h:2685
virtual const PDKFRAMEWORK_CLASSID GetClassID()
Returns the internal class ID for the PDK Framework class. This is implemented mostly because Lua has...
Definition: ff_entrydetails.h:2807
void SetDefaultMode()
Sets the beaming mode of the beam to document's default.
Definition: finaleframework.cpp:19270
BRACKETMODE
The settings for when the bracket shape should show.
Definition: ff_entrydetails.h:1718
twobyte GetSyllableNumber() const
Returns the 1-based syllable number from the start of the text.
Definition: ff_entrydetails.h:2486
twobyte GetReferenceDuration() const
Sets the reference duration value (in EDUs).
Definition: ff_entrydetails.h:1795
void SetBracketMode(BRACKETMODE value)
Sets when the slur/bracket shape should show.
Definition: finaleframework.cpp:19642
void ResetPos(FCArticulationDef *pDef)
Resets the articulation positioning based on the articulation definition. This method currently doesn...
Definition: ff_entrydetails.h:1620
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_entrydetails.h:2723
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_entrydetails.h:4596
twobyte GetItemInci() const
Returns the inci number for the stored object.
Definition: ff_entrydetails.h:121
FCNoteEntry * GetNoteEntry()
Returns a pointer to the mapped note entry.
Definition: ff_entrydetails.h:115
__FCLyricsBase * CreateLyricText()
Creates and loads the lyric raw text block for the syllable.
void SetVisible(bool state)
Returns the visibility state of the articulation.
Definition: finaleframework.cpp:19366
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_entrydetails.h:1142
Definition: ff_entrydetails.h:2800
Class for manually broken beam adjustments (in Finale's Special Tools).
Definition: ff_entrydetails.h:4492
virtual void SetNoteEntry(FCNoteEntry *pEntry)
Maps the data to an entry.
Definition: ff_entrydetails.h:102
virtual void SetNoteID(twobyte id)
Sets the note ID for the accidental, so it maps to the note.
Definition: ff_entrydetails.h:3641
twobyte GetLeftVerticalOffset() const
Returns the vertical left-side offset.
Definition: ff_entrydetails.h:4039
The class for an articulation definition. On Finale 2012 and above, this class supports the Unicode c...
Definition: ff_other.h:11535
void SetBreakAll(bool value)
Sets if all secondary beams should break or not.
Definition: ff_entrydetails.h:1181
void SetVisible(bool value)
Sets the visibility state of the tuplet.
Definition: ff_entrydetails.h:2207
void SetAlignment(SYLLABLEALIGNS value)
Sets the syllable alignment value for the entry.
Definition: ff_entrydetails.h:2879
void SetStaff(eStaff staff)
Sets the cross staff connected with the note.
Definition: ff_entrydetails.h:1069
void SetUseCustomFont(bool status)
Marks if a custom font should be used for the accidental or not.
Definition: ff_entrydetails.h:3408
virtual EXTAG Tag()
The Enigma tag for the derived class.
Definition: ff_entrydetails.h:1473
twobyte GetVerticalPos() const
Returns the vertical position for the notehead.
Definition: ff_entrydetails.h:486
Class with adjustments to the ties (in Finale's Special Tools).
Definition: ff_entrydetails.h:4372
bool CalcHyphen()
Returns true if the syllable ends with a hyphen.
Definition: ff_entrydetails.h:2564
void Set16BitFlag(FLAG_16 *flag, FLAG_16 flagbits, bool state)
Sets a 16 bit flag in the data block.
Definition: finaleframework.cpp:573
FCBeamMod(bool secondarybeam)
The constructor.
Definition: ff_entrydetails.h:3850
virtual const PDKFRAMEWORK_CLASSID GetClassID()
Returns the internal class ID for the PDK Framework class. This is implemented mostly because Lua has...
Definition: ff_entrydetails.h:3687
void SetUseDefaultFont(bool status)
The reverse functionality of SetUseCustomFont.
Definition: ff_entrydetails.h:707
Class for controlling justification/alignment for all syllables that are connected to an entry...
Definition: ff_entrydetails.h:2742
FCTablatureNoteMod()
The constructor.
Definition: ff_entrydetails.h:4608
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_entrydetails.h:3602
void SetTupletStartFlag(bool state)
Sets the flag that marks that a tuplet starts on the entry.
Definition: ff_noteframe.h:1319
twobyte GetStringNumber() const
Returns the 1-based string number for the note.
Definition: ff_entrydetails.h:4620
void SetArticulationDef(FCArticulationDef *pDef)
Assigns an articulation definition to the articulation instance.
Definition: ff_entrydetails.h:1508
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_entrydetails.h:1474
Definition: ff_entrydetails.h:2775
virtual bool IsChorus()
Returns true if the syllable object is a chorus syllable.
Definition: ff_entrydetails.h:2552
void SetMode(twobyte mode)
Sets the Beaming Style mode where the beam data will be "active". This mode is controlled by Document...
Definition: ff_entrydetails.h:3924
bool GetUseCustomFont() const
Returns if a custom font is used for the notehead or not.
Definition: ff_entrydetails.h:545
PDKFRAMEWORK_CLASSID
Constants for the GetClassID method.
Definition: ff_base.h:60
TimeEdu32 CalcFullReferenceDuration()
Calculates the full reference duration of a tuplet, in EDUs.
Definition: ff_entrydetails.h:1754
void SetPlacementMode(PLACEMENTMODE value)
Sets where the tuplet should be placed compared to the note entry.
Definition: finaleframework.cpp:19553
__FCEntryDetailNoteID()
The constructor.
Definition: ff_entrydetails.h:208
FCArticulation()
The constructor.
Definition: finaleframework.cpp:19284
twobyte GetID() const
Returns the (1-based) articulation definition ID.
Definition: ff_entrydetails.h:1580
virtual void CloneMemoryFrom(__FCBaseData *pSource)
Definition: finaleframework.cpp:753
void SetWordExtensionID(twobyte smartshapeID)
Sets the smart shape ID for the word extension.
Definition: ff_entrydetails.h:2438
void SetHorizontalPos(twobyte pos)
Sets the horizontal position.
Definition: ff_entrydetails.h:1528
void SetFontNameUTF16(const eUniChar16 *pszFont)
Sets the font name for the accidental.
Definition: ff_entrydetails.h:3450
bool GetFontInfo(FCFontInfo *pInfo)
Gets all the font info (name, style, size) into the FCFontInfo object, for custom fonts records...
Definition: ff_entrydetails.h:614
bool GetBreak16th() const
Returns if the 16th note beam should break or not.
Definition: ff_entrydetails.h:1201
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 d...
Definition: finaleframework.cpp:274
Definition: ff_entrydetails.h:2781
bool SaveRestDotAt(FCNoteEntry *pEntry)
Saves a rest dot with the rest ID.
Definition: finaleframework.cpp:19240
twobyte CalcLeftVerticalPos(twobyte default_separation)
Calculates the secondary beam's vertical left position compared to the primary beam's vertical left p...
Definition: ff_entrydetails.h:4125
twobyte GetVerticalDownOffset() const
Returns the vertical adjustment for stems pointing down.
Definition: ff_entrydetails.h:1373
bool GetMatchHookLengths() const
Returns the "Match Hook Lengths" setting.
Definition: ff_entrydetails.h:1945
void SetHorizontalPos(twobyte value)
Sets the horizontal position for the notehead.
Definition: ff_entrydetails.h:628
twobyte GetWordExtensionID() const
Returns the smart shape ID for the word extension.
Definition: ff_entrydetails.h:2508
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_entrydetails.h:2806
twobyte GetHorizontalShapeOffset() const
Returns the horizontal bracket offset in EVPUs.
Definition: ff_entrydetails.h:1933
FCPercussionNoteMod()
The constructor.
Definition: ff_entrydetails.h:3617
void SetCustomChar(eUniChar32 ch)
Sets the font character for the accidental.
Definition: ff_entrydetails.h:3511
twobyte GetRightHookLength() const
Returns the right-side hook length of the bracket/slur shape in EVPUs.
Definition: ff_entrydetails.h:1968
Definition: ff_entrydetails.h:2797
bool IsStartTie()
Returns true if it's a start tie object (defined as a parameter to the constructor).
Definition: ff_entrydetails.h:4429
FCSyllableEntryMod()
The constructor.
Definition: ff_entrydetails.h:2822
FCSecondaryBeamBreakMod()
The constructor.
Definition: ff_entrydetails.h:1157
virtual const PDKFRAMEWORK_CLASSID GetClassID()
Returns the internal class ID for the PDK Framework class. This is implemented mostly because Lua has...
Definition: ff_entrydetails.h:887
twobyte GetEndVerticalPos()
Gets the vertical offset of the tie end.
Definition: ff_entrydetails.h:4441
twobyte GetLeftExtension() const
Returns the left-side extension adjusment of the bracket/slur shape in EVPUs.
Definition: ff_entrydetails.h:1960
void SetSymbolicDuration(twobyte value)
Sets the symbolic duration value (in EDUs).
Definition: ff_entrydetails.h:2004
NUMBERSTYLE
The settings for the number style that should be used by the tuplet.
Definition: ff_entrydetails.h:1694
void SetResize(twobyte value)
Sets the accidental resize in percent.
Definition: ff_entrydetails.h:3395
void SetFontInfo(FCFontInfo *pInfo)
Sets all the font info (name, style, size) to the info available in the FCFontInfo object...
Definition: ff_entrydetails.h:3492
Class for manual stem adjustments (in Finale's Special Tools).
Definition: ff_entrydetails.h:1307
SYLLABLEJUSTIFICATIONS
The 4 different entry syllable justifications values.
Definition: ff_entrydetails.h:2772
virtual const PDKFRAMEWORK_CLASSID GetClassID()
Returns the internal class ID for the PDK Framework class. This is implemented mostly because Lua has...
Definition: ff_entrydetails.h:1726
void SetFontStyle(FCFontInfo *pInfo)
Sets the font style only (such as italics, bold, etc), based on the style info in the FCFontInfo obje...
Definition: ff_entrydetails.h:3480
twobyte GetSymbolicDuration() const
Returns the symbolic duration value (in EDUs).
Definition: ff_entrydetails.h:1781
bool GetRawText(FCString *pString)
Fills a string object with the raw text (with Enigma formatting commands).
The class for a chorus syllable.
Definition: ff_entrydetails.h:2699
bool GetUseCustomVerticalPos() const
Returns true if vertical position can be set for the accidental.
Definition: ff_entrydetails.h:3209
void SetStartVerticalPos(twobyte pos)
Sets the vertical offset of the tie start.
Definition: ff_entrydetails.h:4447
void SetInterDotSpacing(twobyte space)
Sets the inter-dot spacing.
Definition: ff_entrydetails.h:951
void SetSize(twobyte fontsize)
Sets the font size as an integer value.
Definition: ff_base.h:1306
void SetEngraverTuplet(bool value)
Sets the "engraver tuplet" setting for the tuplet.
Definition: ff_entrydetails.h:2038
void SetLeftVerticalOffset(twobyte offset)
Sets the vertical left-side offset.
Definition: ff_entrydetails.h:3951
bool GetUseCustomChar() const
Returns true if there's a custom notehead.
Definition: ff_entrydetails.h:521
virtual void SetNoteID(twobyte id)
Sets the note ID for the dot, so it maps to the note.
Definition: ff_entrydetails.h:4460
bool CalcStemUp()
Returns the direction of the beam.
Definition: finaleframework.cpp:16622
virtual bool IsVerse()
Returns true if the syllable object is a verse syllable.
Definition: ff_entrydetails.h:2687
virtual const PDKFRAMEWORK_CLASSID GetClassID()
Returns the internal class ID for the PDK Framework class. This is implemented mostly because Lua has...
Definition: ff_entrydetails.h:3603
void SetRightVerticalOffset(twobyte offset)
Sets the vertical right-side offset.
Definition: ff_entrydetails.h:3962
void SetCustomTag(EXTAG tag)
Sets the custom Enigma tag, for classes that support multiple Enigma tags.
Definition: ff_base.h:827
void SetJustification(SYLLABLEJUSTIFICATIONS value)
Sets the syllable justification value for the entry.
Definition: ff_entrydetails.h:2900
bool GetIncludeLyricNumber() const
Returns if the lyric number should be included/displayed with the syllable, or not.
Definition: ff_entrydetails.h:2517
void SetFontSize(twobyte fontsize)
Sets the font size for the accidental.
Definition: ff_entrydetails.h:3469
The base class for all lyrics text classes.
Definition: ff_text.h:235
virtual bool IsVerse()
Returns true if the syllable object is a verse syllable.
Definition: ff_entrydetails.h:2546
virtual void DebugDump()
Outputs the class data/information for debugging purposes.
Definition: ff_entrydetails.h:2224
void SetSyllableNumber(twobyte number)
Sets the 1-based syllable number from the start of the text.
Definition: ff_entrydetails.h:2418
void SetID(CMPER cmper)
Sets the (1-based) articulation definition ID.
Definition: ff_entrydetails.h:1521
void SetHorizontalOffset(twobyte value)
Sets the horizontal tuplet offset in EVPUs.
Definition: ff_entrydetails.h:2126
void SetVerticalUpOffset(twobyte adjust)
Sets the vertical adjustment for stems pointing up.
Definition: ff_entrydetails.h:1401
void SetIgnoreNumberOffset(bool value)
Sets the "Ignore Number Offset" setting.
Definition: ff_entrydetails.h:2144
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:449
twobyte GetRawTextNumber() const
Returns the raw text number that is mapped to the syllable.
Definition: ff_entrydetails.h:2497
void SetResize(twobyte value)
Sets the notehead resize in percent.
Definition: ff_entrydetails.h:683
twobyte GetNameByID()
Gets the internal Enigma font ID. This value is document-specific.
Definition: finaleframework.cpp:3297
Class with info about one tablature note.
Definition: ff_entrydetails.h:4570
bool CalcMetricPos(FCPoint *pPoint)
Calculate the metric position for an articulation.
Definition: finaleframework.cpp:19396
void SetBreak256th(bool state)
Sets if the 256th note beam should break or not.
Definition: ff_entrydetails.h:1282
void SetLeftHorizontalOffset(twobyte offset)
Sets the horizontal left-side offset.
Definition: ff_entrydetails.h:3933
void SetVerticalOffset(Evpu16 offset)
Sets the vertical offset relative to the default position.
Definition: ff_entrydetails.h:2407
FCArticulationDef * CreateArticulationDef()
Creates a articulation definition object for the articulation.
Definition: finaleframework.cpp:19375
twobyte GetBeamDuration()
Gets the duration (in EDUs) of the beam.
Definition: ff_entrydetails.h:4071
virtual void SetNoteID(twobyte id)
Sets the note ID for the cross staff note, so it maps to the note object.
Definition: ff_entrydetails.h:1076
virtual bool LoadFirst()
Overloaded version of LoadFirst that will load the first inci for the entry. SetNoteEntry must be cal...
Definition: ff_entrydetails.h:86
virtual void * Allocate()=0
void ClearChar()
Clears the font character for the notehead to use the default notehead character. ...
Definition: ff_entrydetails.h:815
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_entrydetails.h:2962
twobyte GetInterDotSpacing() const
Returns the inter-dot spacing.
Definition: ff_entrydetails.h:945
twobyte GetStartVerticalPos()
Gets the vertical offset of the tie start.
Definition: ff_entrydetails.h:4435
virtual void DebugDump()
Outputs the class data/information for debugging purposes.
Definition: ff_entrydetails.h:2917
virtual const PDKFRAMEWORK_CLASSID GetClassID()
Returns the internal class ID for the PDK Framework class. This is implemented mostly because Lua has...
Definition: ff_entrydetails.h:1034
void SetFontInfo(FCFontInfo *pInfo)
Sets all the font info (name, style, size) to the info available in the FCFontInfo object...
Definition: ff_entrydetails.h:778
void SetHorizontalUpOffset(twobyte adjust)
Sets the horizontal adjustment for stems pointing up.
Definition: ff_entrydetails.h:1416
bool IsValidSyllableNumber()
Returns true if the current syllable number for the object is valid. This also requires that the raw ...
Definition: ff_entrydetails.h:2536
void SetDefaultBeamThickness()
Sets the default (100%) beam thickness. This can ONLY be set for primary beam data.
Definition: ff_entrydetails.h:3983
SHAPESTYLE GetShapeStyle() const
Returns the setting for which bracket shape the tuplet should use.
Definition: finaleframework.cpp:19524
void SetHorizontalDownOffset(twobyte adjust)
Sets the horizontal adjustment for stems pointing down.
Definition: ff_entrydetails.h:1427
Encapsulates one note in a note entry (from the FCNoteEntry class).
Definition: ff_noteframe.h:27
void SetRawTextNumber(twobyte rawtextid)
Sets the raw text number that is mapped to the syllable.
Definition: ff_entrydetails.h:2427
virtual const PDKFRAMEWORK_CLASSID GetClassID()
Returns the internal class ID for the PDK Framework class. This is implemented mostly because Lua has...
Definition: ff_entrydetails.h:3831
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_entrydetails.h:3830
void SetShapeStyle(SHAPESTYLE value)
Sets the setting for which bracket shape the tuplet should use.
Definition: finaleframework.cpp:19616
twobyte GetLeftHookLength() const
Returns the left-side hook length of the bracket/slur shape in EVPUs.
Definition: ff_entrydetails.h:1951
void SetUseDefaultVerticalPos(bool status)
Clears and uses the default vertical positioning.
Definition: ff_entrydetails.h:3384
twobyte CalcRightVerticalPos(twobyte default_separation)
Calculates the secondary beam's vertical right position compared to the primary beam's vertical right...
Definition: ff_entrydetails.h:4146
virtual const PDKFRAMEWORK_CLASSID GetClassID()
Returns the internal class ID for the PDK Framework class. This is implemented mostly because Lua has...
Definition: ff_entrydetails.h:1334
virtual void DebugDump()
Outputs the class data/information for debugging purposes.
Definition: ff_entrydetails.h:3020
void SetBreak16th(bool state)
Sets if the 16th note beam should break or not.
Definition: ff_entrydetails.h:1210
twobyte GetVerticalUpOffset() const
Returns the vertical adjustment for stems pointing up.
Definition: ff_entrydetails.h:1367
int CalcStringPos()
Returns the 0-based string position in the raw string where the syllable starts.
bool GetBreak(int beamindex) const
Returns true if the secondary beam should break.
Definition: ff_entrydetails.h:1190
void SetUseDefaultVerticalPos(bool status)
Clears and uses the default vertical positioning.
Definition: ff_entrydetails.h:672
twobyte GetResize() const
Returns the notehead resize in percent.
Definition: ff_entrydetails.h:535
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_entrydetails.h:3145
void SetHorizontalShapeOffset(twobyte value)
Sets the horizontal shape offset value (in EVPUs).
Definition: ff_entrydetails.h:2150
bool GetIgnoreNumberOffset() const
Returns the "Ignore Number Offset" setting.
Definition: ff_entrydetails.h:1927
Class for custom beam adjustments (in Finale's Special Tools).
Definition: ff_entrydetails.h:3758
void SetFontName(const char *pszFont)
Sets the font name for the notehead.
Definition: ff_entrydetails.h:721
void SetRightExtension(twobyte value)
Sets the right extension of the bracket/slur shape in EVPUs, compared to the right-side default posit...
Definition: ff_entrydetails.h:2195
virtual const PDKFRAMEWORK_CLASSID GetClassID()
Returns the internal class ID for the PDK Framework class. This is implemented mostly because Lua has...
Definition: ff_entrydetails.h:1143
void SetVerticalPos(twobyte value)
Sets the vertical position for the notehead.
Definition: ff_entrydetails.h:644
twobyte GetShapeID() const
Returns the shape ID for the stem.
Definition: ff_entrydetails.h:3730
virtual void DebugDump()
Outputs the class data/information for debugging purposes.
Definition: ff_entrydetails.h:2662
void SetFloatingHorizontalOffset(Evpu16 offset)
Returns the additional horizontal offset, used for the floating lyrics spacing.
Definition: ff_entrydetails.h:2458
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_entrydetails.h:420
void SetFontNameUTF16(const eUniChar16 *pszFont)
Sets the font name for the notehead.
Definition: ff_entrydetails.h:736
void SetLeftExtension(twobyte value)
Sets the left extension of the bracket/slur shape in EVPUs, compared to the left default position...
Definition: ff_entrydetails.h:2178
virtual bool IsSection()
Returns true if the syllable object is a section syllable.
Definition: ff_entrydetails.h:2558
virtual bool IsChorus()
Returns true if the syllable object is a chorus syllable.
Definition: ff_entrydetails.h:2706
FCNoteheadMod()
The constructor.
Definition: ff_entrydetails.h:446
virtual void SetNoteID(twobyte id)
Sets the note ID for the dot, so it maps to the note.
Definition: ff_entrydetails.h:4642
virtual const PDKFRAMEWORK_CLASSID GetClassID()
Returns the internal class ID for the PDK Framework class. This is implemented mostly because Lua has...
Definition: ff_entrydetails.h:3146
const eUniChar16 * GetFontNameUTF16() const
Gets the font name for the notehead.
Definition: ff_entrydetails.h:572
twobyte GetVerticalPos() const
Gets the vertical position of the dot.
Definition: ff_entrydetails.h:922
bool GetBreak128th() const
Returns if the 128th note beam should break or not.
Definition: ff_entrydetails.h:1255
FCFontInfo * CreateNextFontInfo()
Creates a font info object for the start of the next syllable.
FCDotMod()
The constructor.
Definition: ff_entrydetails.h:901
void SetLyricFlag(bool state)
Sets the flag that marks that an entry has syllable attached to it.
Definition: ff_noteframe.h:1325
virtual const PDKFRAMEWORK_CLASSID GetClassID()
Returns the internal class ID for the PDK Framework class. This is implemented mostly because Lua has...
Definition: ff_entrydetails.h:2705
virtual const PDKFRAMEWORK_CLASSID GetClassID()
Returns the internal class ID for the PDK Framework class. This is implemented mostly because Lua has...
Definition: ff_entrydetails.h:1475
Class for attaching an articulation definition to an entry.
Definition: ff_entrydetails.h:1450
void SetMatchHookLengths(bool value)
Sets the "Match Hook Lengths" setting.
Definition: ff_entrydetails.h:2162
Definition: ff_entrydetails.h:2778
virtual EXTAG Tag()
The Enigma tag for the derived class.
bool GetBreak32nd() const
Returns if the 32nd note beam should break or not.
Definition: ff_entrydetails.h:1219
FCSyllableBase()
The constructor.
Definition: ff_entrydetails.h:2387
twobyte GetVerticalPos() const
Returns the vertical position.
Definition: ff_entrydetails.h:1570
eUniChar32 GetCustomChar() const
Returns the custom notehead, it any.
Definition: ff_entrydetails.h:509
void SetReferenceDuration(twobyte value)
Sets the reference duration value (in EDUs).
Definition: ff_entrydetails.h:2016
bool GetVisible() const
Sets the visibility state of the articulation.
Definition: finaleframework.cpp:19357
twobyte GetVerticalPosIfPossible()
Returns the vertical position for the notehead, but only if the value has been enabled for Finale...
Definition: ff_entrydetails.h:472
virtual EXTAG Tag()
The Enigma tag for the derived class.
Definition: ff_entrydetails.h:2371
void SetFontName(const char *pszFont)
Sets the font name for the accidental.
Definition: ff_entrydetails.h:3433
FCCrossStaffMod()
The constructor.
Definition: ff_entrydetails.h:1048
int _loadedsize
Loaded size of the data block for a loaded object, in bytes. Since the datablock is implementation-sp...
Definition: ff_base.h:653
BRACKETMODE GetBracketMode() const
Returns the settings for when the bracket/slur shape should show.
Definition: finaleframework.cpp:19543
PLACEMENTMODE GetPlacementMode() const
Gets the settings for where the tuplet should be placed compared to the note entry.
Definition: finaleframework.cpp:19479
void SetUseBottomNote(bool value)
Sets the "Use Bottom Note" setting for the tuplet.
Definition: ff_entrydetails.h:2056
void SetHorizontalOffset(Evpu16 offset)
Sets the horizontal offset relative to the EDU position. Positive values are to the right...
Definition: ff_entrydetails.h:2398
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_entrydetails.h:1033
virtual bool SaveNew()
Overridden SaveNew() method for FCBeamMod.
Definition: ff_entrydetails.h:3899
virtual bool Load(ENTNUM entnum, twobyte inci)
Loads the data at the given entry number and inci.
Definition: ff_entrydetails.h:3879
twobyte GetRightVerticalOffset() const
Gets the vertical right-side offset.
Definition: ff_entrydetails.h:4048
Base class for all data-related classes (that handles Finale data).
Definition: ff_base.h:628
twobyte GetHorizontalPos() const
Returns the horizontal position for the accidental.
Definition: ff_entrydetails.h:3178
Definition: ff_entrydetails.h:2803
SYLLABLEALIGNS
The 4 different entry syllable alignment values.
Definition: ff_entrydetails.h:2791
twobyte GetMode()
Returns the Beaming Style mode where the beam data will be "active". This mode is controlled by Docum...
Definition: ff_entrydetails.h:4063
void ClearChar()
Clears the font character for the accidental to use the default accidental character.
Definition: ff_entrydetails.h:3529
twobyte GetSize() const
Returns the font size as an integer number.
Definition: ff_base.h:1115
void SetVerticalDownOffset(twobyte adjust)
Sets the vertical adjustment for stems pointing down.
Definition: ff_entrydetails.h:1407
virtual bool Save()
Saves the currently loaded to its current location.
Definition: finaleframework.cpp:848
void SetNoteDetailFlag(bool state)
Sets the flag state for note detail records.
Definition: ff_noteframe.h:1281
static void DebugOutBool(const char *pszPrefixText, bool state)
Static method that outputs a line for debugging purposes. The boolean state appears afterwards as eit...
Definition: finaleframework.cpp:390
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_entrydetails.h:4401
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 (a...
Definition: finaleframework.cpp:397
Evpu16 GetDefaultVerticalPos() const
Returns the default vertical position for the articulation definition.
Definition: ff_other.h:11960
int CalcNextStringPos()
Returns the 0-based string position in the raw string where the next syllable starts.
virtual bool Reload()
Overridden Reload() method, that supports complex (mixed) data.
Definition: finaleframework.cpp:18892
twobyte GetResize() const
Returns the note entry resize value in percent.
Definition: ff_entrydetails.h:3013
Class for (what it seems) the sole purpose of note entry resize.
Definition: ff_entrydetails.h:2936
void SetNameByID(twobyte id)
Sets the font name by using the document's internal Enigma font ID.
Definition: finaleframework.cpp:3330
void UseUpStemData(bool useupstem)
Sets if beamed or non-beamed data should be loaded/saved.
Definition: ff_entrydetails.h:3724
bool GetBracketFullDuration() const
Returns the "Bracket Full Duration" setting.
Definition: ff_entrydetails.h:1903
twobyte GetHorizontalUpOffset() const
Returns the horizontal adjustment for stems pointing up.
Definition: ff_entrydetails.h:1379
twobyte GetBeamNumber()
Returns the 1-based number of the beam. 1 is the 8th-note beam.
Definition: ff_entrydetails.h:4083
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_entrydetails.h:2684
const char * GetFontName() const
Gets the font name for the accidental.
Definition: ff_entrydetails.h:3270
void SetLeftDirection(bool leftdirection)
Sets the direction of the broken beam.
Definition: ff_entrydetails.h:4553
void SetAllowHorizontalDrag(bool value)
Sets the "Allow Horizontal Drag" setting for the tuplet.
Definition: ff_entrydetails.h:2050
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_entrydetails.h:886
twobyte GetFloatingHorizontalOffset() const
Returns the additional horizontal offset, used for the floating lyrics spacing.
Definition: ff_entrydetails.h:2526
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 h...
Definition: finaleframework.cpp:343
virtual __FCBaseData * CreateObject()=0
Creates a new instance of the object.
void SetCustomChar(eUniChar32 ch)
Sets the font character for the notehead.
Definition: ff_entrydetails.h:797
virtual void SetNoteEntry(FCNoteEntry *pEntry)
Overridden method to assign a note entry with the data.
Definition: ff_entrydetails.h:3906
bool GetText(FCString *pString)
Fills a string object with the syllable text (without formatting).
bool GetAvoidStaff() const
Returns the "Avoid Staff" setting for the tuplet.
Definition: ff_entrydetails.h:1829
virtual const PDKFRAMEWORK_CLASSID GetClassID()
Returns the internal class ID for the PDK Framework class. This is implemented mostly because Lua has...
Definition: ff_entrydetails.h:4597
void PrefsReset(bool resetposition)
Resets the tuplet settings to the current preference defaults.
Definition: finaleframework.cpp:19674
void SetSlopeAdjust(twobyte value)
Sets the "Manual Slope Adjustment" value.
Definition: ff_entrydetails.h:2201
EDataID _dataid
The EdataID for the last loaded/saved object.
Definition: ff_base.h:657
Class that provides storage for text. This is to achieve platform-transparent text handling...
Definition: ff_base.h:1473
bool GetFontInfo(FCFontInfo *pInfo)
Gets all the font info (name, style, size) into the FCFontInfo object.
Definition: ff_entrydetails.h:3327
virtual twobyte CalcLastInci()
For internal use only!
Definition: ff_base.h:700
void SetFontSize(twobyte fontsize)
Sets the font size for the notehead.
Definition: ff_entrydetails.h:755
virtual const PDKFRAMEWORK_CLASSID GetClassID()
Returns the internal class ID for the PDK Framework class. This is implemented mostly because Lua has...
Definition: ff_entrydetails.h:4519
Encapsulates a note entry from an owner class (for example FCNoteEntryCell, FCNoteEntryLayer) class...
Definition: ff_noteframe.h:808
void SetCenterUsingDuration(bool value)
Sets the "Center Using Duration" setting.
Definition: ff_entrydetails.h:2138
bool SaveAt(FCNote *pNote)
Saves the note entry modifications in a slot and sets the correct flag in the associated note entry...
Definition: finaleframework.cpp:19080
void SetHorizontalPos(twobyte pos)
Sets the vertical position of the dot.
Definition: ff_entrydetails.h:930
Base class that provides the basic functionality for entry detail data (such as Special Tools modific...
Definition: ff_entrydetails.h:25
bool GetVisible() const
Returns the visibility setting for the tuplet.
Definition: ff_entrydetails.h:1990
twobyte GetHorizontalPos() const
Gets the vertical position of the dot.
Definition: ff_entrydetails.h:914
twobyte GetHorizontalPos() const
Returns the horizontal position for the notehead.
Definition: ff_entrydetails.h:462
virtual const PDKFRAMEWORK_CLASSID GetClassID()
Returns the internal class ID for the PDK Framework class. This is implemented mostly because Lua has...
Definition: ff_entrydetails.h:4402
virtual bool SaveNew()
Saves a new inci and sets the correct flag in the associated note entry.
Definition: finaleframework.cpp:18928
virtual const PDKFRAMEWORK_CLASSID GetClassID()
Returns the internal class ID for the PDK Framework class. This is implemented mostly because Lua has...
Definition: ff_entrydetails.h:2724
bool GetFontStyle(FCFontInfo *pInfo)
Gets only the font style (such as italics, bold etc) into the FCFontInfo object, for custom fonts rec...
Definition: ff_entrydetails.h:600
void SetLeftHookLength(twobyte value)
Sets the left hook length of the bracket/slur shape in EVPUs.
Definition: ff_entrydetails.h:2169
void SetBracketFullDuration(bool value)
Sets the "Bracket Full Duration" setting.
Definition: ff_entrydetails.h:2120
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_entrydetails.h:1725
bool GetAlwaysFlat() const
Returns the "Always Flat" setting.
Definition: ff_entrydetails.h:1897
void SetVerticalShapeOffset(twobyte value)
Sets the vertical shape offset value (in EVPUs).
Definition: ff_entrydetails.h:2156
void SetSymbolicNumber(twobyte value)
Sets the symbolic number of the tuplet.
Definition: ff_entrydetails.h:1998
virtual EXTAG Tag()=0
The Enigma tag for the derived class.
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_entrydetails.h:1333
eUniChar32 GetCustomChar() const
Returns the custom accidental symbol, it any.
Definition: ff_entrydetails.h:3222
twobyte GetVerticalPosIfPossible()
Returns the vertical position for the accidental, but only if the value has been enabled for Finale...
Definition: ff_entrydetails.h:3189
bool IsUpStem()
Returns true if the data is connected to up-stem data, otherwise it's connected to down-stem data...
Definition: ff_entrydetails.h:4164
void SetEntnumAndInci(ENTNUM entnum, twobyte inci)
Sets the entry number reference and inci for the object.
Definition: ff_entrydetails.h:60
__FCEntryDetail()
The constructor.
Definition: ff_entrydetails.h:52
bool GetAllowHorizontalDrag() const
Returns the "Allow Horizontal Drag" setting for the tuplet.
Definition: ff_entrydetails.h:1835
Evpu16 GetHorizontalOffset() const
Returns the horizontal offset relative to the EDU position. Positive values are to the right...
Definition: ff_entrydetails.h:2468
FCFontInfo * CreateFontInfo()
Creates a font info object for the start of the syllable.
bool GetBreak64th() const
Returns if the 64th note beam should break or not.
Definition: ff_entrydetails.h:1237
TimeEdu32 CalcFullSymbolicDuration()
Calculates the symbolic duration of a tuplet, in edus.
Definition: ff_entrydetails.h:1763
void SetRightHorizontalOffset(twobyte offset)
Sets the horizontal right-side offset.
Definition: ff_entrydetails.h:3942
void SetHorizontalPos(twobyte value)
Sets the horizontal position for the accidental.
Definition: ff_entrydetails.h:3341
void SetBreak32nd(bool state)
Sets if the 32nd note beam should break or not.
Definition: ff_entrydetails.h:1228
bool GetBreak256th() const
Returns if the 256th note beam should break or not.
Definition: ff_entrydetails.h:1273
void SetRightHookLength(twobyte value)
Sets the right hook length of the bracket/slur shape in EVPUs.
Definition: ff_entrydetails.h:2186
bool LoadAt(FCNote *pNote)
Tries to finds and load the note entry modifications based on the note ID.
Definition: finaleframework.cpp:19108
Class for secondary beam breaks (in Finale's Special Tools).
Definition: ff_entrydetails.h:1117
bool GetEngraverTuplet() const
Returns the "engraver tuplet" setting for the tuplet.
Definition: ff_entrydetails.h:1823
virtual const PDKFRAMEWORK_CLASSID GetClassID()
Returns the internal class ID for the PDK Framework class. This is implemented mostly because Lua has...
Definition: ff_entrydetails.h:2963
PLACEMENTMODE
The settings for where the tuplet should be placed compared to the note entry.
Definition: ff_entrydetails.h:1681
twobyte GetThickness() const
Returns the beam thickness. This can ONLY be set for primary beam data.
Definition: ff_entrydetails.h:4107
virtual bool IsSection()
Returns true if the syllable object is a section syllable.
Definition: ff_entrydetails.h:2725
void SetStringNumber(twobyte value)
Sets the 1-based string number for the note.
Definition: ff_entrydetails.h:4630
Class for notehead modifications (as in Finale's Special Tools).
Definition: ff_entrydetails.h:314
bool GetBreakSlurBracket() const
Returns the setting for if the slur/bracket should be broken around the number.
Definition: ff_entrydetails.h:1878
FLAG_16 GetEnigmaStyles() const
Gets the font style as standard Enigma bit storage.
Definition: ff_base.h:1164
Base class for attaching an syllable to an entry.
Definition: ff_entrydetails.h:2340
void SetArticulationFlag(bool state)
Sets the flag that marks that an articulation is attached to the entry.
Definition: ff_noteframe.h:1305
Base class that provide entry details that are based on noteIDs, such as notehead modifications...
Definition: ff_entrydetails.h:189
void SetVerticalPos(twobyte pos)
Sets the vertical position of the dot.
Definition: ff_entrydetails.h:938
FCEntryAlterMod()
The constructor.
Definition: ff_entrydetails.h:2978
virtual bool SaveNew()
Overridden method for SaveNew()
Definition: finaleframework.cpp:19133
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_entrydetails.h:2373
twobyte GetHorizontalPos() const
Returns the horizontal position.
Definition: ff_entrydetails.h:1563
virtual bool Save()
Overridden Save() method for FCBeamMod.
Definition: ff_entrydetails.h:3892
void SetShapeID(CMPER theid)
Sets the shape ID for the stem.
Definition: ff_entrydetails.h:3736
Definition: ff_entrydetails.h:2794
twobyte GetSlopeAdjust() const
Returns the "Manual Slope Adjustment" value.
Definition: ff_entrydetails.h:1984
const char * GetFontName() const
Gets the font name for the notehead.
Definition: ff_entrydetails.h:558
twobyte GetRightExtension() const
Returns the right-side extension adjusment of the bracket/slur shape in EVPUs.
Definition: ff_entrydetails.h:1978
FCTieMod(bool starttie)
The constructor.
Definition: ff_entrydetails.h:4413
Evpu16 GetVerticalOffset() const
Returns the vertical offset relative to the default position.
Definition: ff_entrydetails.h:2477
SHAPESTYLE
The setting for which bracket shape the tuplet should use.
Definition: ff_entrydetails.h:1707
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_entrydetails.h:3686
const eUniChar16 * GetFontNameUTF16() const
Gets the font name for the accidental.
Definition: ff_entrydetails.h:3286
void SetUseCustomVerticalPos(bool status)
Marks if a custom vertical position should be used for the accidental or not.
Definition: ff_entrydetails.h:3372
FCTuplet()
The constructor.
Definition: ff_entrydetails.h:1740
virtual void DebugDump()
Outputs the class data/information for debugging purposes.
Definition: ff_entrydetails.h:1627
virtual EXTAG Tag()
The Enigma tag for the derived class.
virtual int DataSizeLoad()=0
Returns the data size for the data structure that should be loaded.
void SetStemDetailFlag(bool state)
Sets the flag state for stem detail records.
Definition: ff_noteframe.h:1333
Class with adjustments to the augmentation dots (in Finale's Special Tools).
Definition: ff_entrydetails.h:860
bool CalcFlippedSymbolUsed()
Returns true if the flipped version of the articulation is used (based on the entry metrics)...
Definition: finaleframework.cpp:19429
bool GetUseBottomNote() const
Returns the "Use Bottom Note" setting for the tuplet.
Definition: ff_entrydetails.h:1841
void SetSecondaryBeamFlag(bool state)
Sets the flag state for secondary beam detail records.
Definition: ff_noteframe.h:1341
virtual void SetNoteID(twobyte id)
Sets the note ID for the dot, so it maps to the note.
Definition: ff_entrydetails.h:958
virtual bool Load(ENTNUM entnum, twobyte inci)
Loads the data at the given entry number and inci.
Definition: finaleframework.cpp:18886
void SetBeamNumber(twobyte beamnumber)
Sets the 1-based beam that the data is connected to. Don't change this for loaded data...
Definition: ff_entrydetails.h:4007
virtual void SetNoteID(twobyte id)
Sets the note ID for the notehead, so it maps to the note.
Definition: ff_entrydetails.h:832
bool GetCenterUsingDuration() const
Returns the "Center Using Duration" setting.
Definition: ff_entrydetails.h:1921
virtual void SetNoteID(twobyte id)
Sets the note ID for the notehead, so it maps to the note.
Definition: ff_entrydetails.h:3546
void SetVerticalPos(twobyte pos)
Sets the vertical position.
Definition: ff_entrydetails.h:1537
twobyte GetReferenceNumber() const
Sets the reference number value.
Definition: ff_entrydetails.h:1801
Class for percussion note modification.
Definition: ff_entrydetails.h:3575
void SetVerticalPos(twobyte value)
Sets the vertical position for the accidental.
Definition: ff_entrydetails.h:3357
virtual EVERSION EnigmaVersion()
The Enigma version for save/load/create/delete operations.
Definition: ff_base.h:757
twobyte GetHorizontalOffset() const
Returns the horizontal tuplet offset in EVPUs.
Definition: ff_entrydetails.h:1909
bool IsSecondaryBeam()
Returns true if the data is connected to a secondary beam, otherwise it's primary beam data...
Definition: ff_entrydetails.h:4157
void SetIncludeLyricNumber(bool state)
Sets if the lyric number should be included/displayed with the syllable, or not.
Definition: ff_entrydetails.h:2447
void SetThickness(twobyte thickness)
Sets the beam thickness. This can ONLY be set for primary beam data.
Definition: ff_entrydetails.h:3972
void SetEndVerticalPos(twobyte pos)
Sets the vertical offset of the tie end.
Definition: ff_entrydetails.h:4453
twobyte GetHorizontalDownOffset() const
Returns the horizontal adjustment for stems pointing up.
Definition: ff_entrydetails.h:1395
twobyte GetStaff() const
Returns the cross staff connected with the note.
Definition: ff_entrydetails.h:1061
void SetNumberStyle(NUMBERSTYLE value)
Sets the setting for the number style that should be used by the tuplet.
Definition: finaleframework.cpp:19584
void SetEnigmaStyles(FLAG_16 fontstyles)
Sets the font style as standard Enigma bit storage.
Definition: ff_base.h:1261
bool SaveRawText(FCString *pString)
Saves the raw syllable text to the full string.
bool EraseAt(FCNote *pNote)
Deletes the note entry modifications for a slot and adjusts the flag in the associated note entry...
Definition: finaleframework.cpp:19117