17 bool _workaround2012bug;
23 _dataid.text.rawTextNumber = number;
42 virtual const char*
ClassName() {
return "FCRawText"; }
55 bool Load(twobyte number);
68 bool SaveAs(twobyte number);
109 #ifdef PDK_FRAMEWORK_LUAFRIENDLY
114 #ifdef PDK_FRAMEWORK_DEBUG
142 virtual EXTAG
Tag() {
return 0; }
144 virtual const char*
ClassName() {
return "__FCOtherText"; }
153 virtual EXTAG Tag() {
return ot_EndingRepeatText; }
155 virtual const char*
ClassName() {
return "FCEndingRepeatText"; }
162 virtual EXTAG Tag() {
163 #if FXT_VERSION >= FINALEVERSION_25_3
165 return ot_RepeatStaffListName;
167 return ot_StaffListName;
171 virtual bool HasUnicodeSupport();
174 virtual const char*
ClassName() {
return "FCStaffListText"; }
180 const EXTAG __ot_CategoryStaffListName = MAKEEXTAG(edOther,
'C',
'L');
185 virtual EXTAG Tag() {
return __ot_CategoryStaffListName; }
186 virtual bool HasUnicodeSupport() {
return false; }
188 virtual const char*
ClassName() {
return "FCCategoryStaffListText"; }
193 const EXTAG __ot_StaffAssignStaffListName = MAKEEXTAG(edOther,
'S',
'l');
198 virtual EXTAG Tag() {
return __ot_StaffAssignStaffListName; }
199 virtual bool HasUnicodeSupport() {
return false; }
201 virtual const char*
ClassName() {
return "FCStaffListStaffAssignText"; }
207 virtual EXTAG
Tag() {
return ot_TextRepeatStyleText; }
209 virtual const char*
ClassName() {
return "FCTextRepeatText"; }
216 virtual EXTAG
Tag() {
return ot_PercussionMapTitle; }
218 virtual const char*
ClassName() {
return "FCPercussionLayoutNotesText"; }
225 virtual EXTAG
Tag() {
return ot_InstDefinitionName; }
227 virtual const char*
ClassName() {
return "FCInstrumentDefText"; }
237 virtual EXTAG
Tag() {
return 0; }
238 virtual const char*
ClassName() {
return "__FCLyricsBase"; }
248 virtual EXTAG
Tag() {
return tx_VerseLyric; }
250 virtual const char*
ClassName() {
return "FCLyricsVerseText"; }
260 virtual EXTAG
Tag() {
return tx_SectionLyric; }
262 virtual const char* ClassName() {
return "FCLyricsSectionText"; }
272 virtual EXTAG
Tag() {
return tx_ChorusLyric; }
274 virtual const char* ClassName() {
return "FCLyricsChorusText"; }
278 #ifdef PDK_FRAMEWORK_ENIGMASTRINGS
292 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
298 bool _LoadWrapper(twobyte number)
300 if (!
Load(number))
return false;
302 if (!pString)
return true;
310 virtual EXTAG
Tag() {
return tx_FileInfo; }
312 virtual const char*
ClassName() {
return "FCFileInfoText"; }
314 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
315 const twobyte GetID_Title() {
return 1; }
316 const twobyte GetID_Subtitle() {
return 7; }
317 const twobyte GetID_Composer() {
return 2; }
318 const twobyte GetID_Arranger() {
return 6; }
319 const twobyte GetID_Lyricist() {
return 5; }
320 const twobyte GetID_Copyright() {
return 3; }
321 const twobyte GetID_Description() {
return 4; }
328 bool LoadTitle() {
return _LoadWrapper(GetID_Title()); }
const char * GetCString() const
Returns a C-string version of the string.
Definition: finaleframework.cpp:1159
virtual void DebugDump()
Outputs the class data/information for debugging purposes.
Definition: ff_base.h:918
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:375
bool SaveAsTitle()
Saves the text as the "Title" in the File Info text.
Definition: ff_text.h:371
The class for chorus lyrics texts.
Definition: ff_text.h:270
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_text.h:238
virtual EXTAG Tag()
The Enigma tag for the derived class.
Definition: ff_text.h:216
virtual bool IsDynamicSize()
Definition: ff_text.h:28
virtual EXTAG Tag()
The Enigma tag for the derived class.
Definition: ff_text.h:248
EXTAG GetCustomTag()
Returns the custom Enigma tag, if any.
Definition: ff_base.h:815
bool LoadCopyright()
Loads the copyright File Info text.
Definition: ff_text.h:358
The class for file information text fields.
Definition: ff_text.h:291
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_text.h:209
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_text.h:144
virtual int DataSizeLoad()
Returns the data size for the data structure that should be loaded.
Definition: finaleframework.cpp:3845
virtual EXTAG Tag()
The Enigma tag for the derived class.
Definition: ff_text.h:237
virtual bool HasUnicodeSupport()
Should return true if the data structure has Unicode support on the running platform.
Definition: finaleframework.cpp:3966
virtual void Deallocate()
Definition: finaleframework.cpp:3858
virtual void DebugDump()
Outputs the class data/information for debugging purposes.
Definition: ff_text.h:115
Text used for the name of a percussion layout. Please refer to the FCPercussionLayoutNotes class...
Definition: ff_text.h:214
virtual const PDKFRAMEWORK_CLASSID GetClassID()
Returns the internal class ID for the PDK Framework class. This is implemented mostly because Lua has...
Definition: ff_text.h:43
Staff list titles for staff lists in repeats.
Definition: ff_text.h:160
Staff list titles for staff lists in categories.
Definition: ff_text.h:183
bool SaveAsCopyright()
Saves the text as the "Copyright" in the File Info text.
Definition: ff_text.h:406
bool SaveAsDescription()
Saves the text as the "Description" in the File Info text.
Definition: ff_text.h:413
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_text.h:188
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_text.h:155
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_text.h:201
bool LoadComposer()
Loads the composer File Info text.
Definition: ff_text.h:340
bool LoadTitle()
Loads the title File Info text.
Definition: ff_text.h:328
Text in repeat endings.
Definition: ff_text.h:151
virtual void * Allocate()
Definition: finaleframework.cpp:3852
bool Load(twobyte number)
Loads the text with the indicated text number.
Definition: finaleframework.cpp:3865
PDKFRAMEWORK_CLASSID
Constants for the GetClassID method.
Definition: ff_base.h:60
bool SaveAsSubtitle()
Saves the text as the "Subtitle" in the File Info text.
Definition: ff_text.h:378
bool LoadDescription()
Loads the description File Info text.
Definition: ff_text.h:364
The class for section lyrics texts.
Definition: ff_text.h:258
Staff list titles for staff-assigned staff lists.
Definition: ff_text.h:196
The class for raw text objects. All other text classes are based on this class, but it can also be us...
Definition: ff_text.h:16
bool SaveAsLyricist()
Saves the text as the "Lyricist" in the File Info text.
Definition: ff_text.h:399
bool SaveAs(twobyte number)
Saves the text by a new text number.
Definition: finaleframework.cpp:3902
The base class for all lyrics text classes.
Definition: ff_text.h:235
FCRawText()
The constructor.
Definition: finaleframework.cpp:3816
virtual EXTAG Tag()
The Enigma tag for the derived class.
Definition: ff_text.h:272
FCString * CreateString()
Creates a string object with the loaded text. If the string doesn't exist (or if it's empty)...
Definition: finaleframework.cpp:3949
bool LoadSubtitle()
Loads the subtitle File Info text.
Definition: ff_text.h:334
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_text.h:42
virtual twobyte GetItemNo() const
Gets the item number for the text.
Definition: ff_text.h:97
bool LoadArranger()
Loads the arranger File Info text.
Definition: ff_text.h:346
virtual EXTAG Tag()
The Enigma tag for the derived class.
Definition: ff_text.h:260
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_text.h:174
bool TrimEnigmaFontTags()
Removes all Enigma font tags from a string, leaving only the actual text and text insert tags...
Definition: finaleframework.cpp:1262
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_text.h:227
The base class for text classes that loads from 'other' (not as regular raw text).
Definition: ff_text.h:133
virtual EXTAG Tag()
The Enigma tag for the derived class.
Definition: ff_text.h:32
Base class for all data-related classes (that handles Finale data).
Definition: ff_base.h:628
virtual ~FCRawText()
The (virtual) destructor.
Definition: finaleframework.cpp:3821
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_text.h:312
virtual twobyte GetItemNo()
Gets the item number for the text.
Definition: ff_text.h:147
bool SaveAsArranger()
Saves the text as the "Arranger" in the File Info text.
Definition: ff_text.h:392
void GetText(FCString *pString)
Copies the object's text to a FCString object.
Definition: finaleframework.cpp:3937
virtual void SetRawTextNumber(twobyte number)
Definition: ff_text.h:137
The class for verse lyrics texts.
Definition: ff_text.h:246
bool SaveAsComposer()
Saves the text as the "Composer" in the File Info text.
Definition: ff_text.h:385
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_text.h:250
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
virtual const char * ClassName()
Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child...
Definition: ff_text.h:218
virtual EXTAG Tag()
The Enigma tag for the derived class.
Definition: ff_text.h:207
virtual EXTAG Tag()
The Enigma tag for the derived class.
Definition: ff_text.h:225
bool LoadLyricist()
Loads the lyricist File Info text.
Definition: ff_text.h:352
virtual __FCBaseData * CreateObject()
Definition: ff_text.h:35
virtual bool LoadNext()
Loads the next element from the database, if any.
Definition: finaleframework.cpp:877
virtual EXTAG Tag()
The Enigma tag for the derived class.
Definition: ff_text.h:142
virtual EXTAG Tag()
The Enigma tag for the derived class.
Definition: ff_text.h:310
bool SaveNew()
Saves the text at the first empty spot.
Definition: finaleframework.cpp:3909
void SetText(FCString *pString)
Sets the text for the object. (The object needs to be saved to Finale to take effect.)
Definition: finaleframework.cpp:3916
Text used for text repeats.
Definition: ff_text.h:205
virtual EVERSION EnigmaVersion()
The Enigma version for save/load/create/delete operations.
Definition: finaleframework.cpp:3827
Text used for an instrument definition. Please refer to the FCInstrumentDef class.
Definition: ff_text.h:223
virtual bool LoadFirst()
Loads the first raw text entry.
Definition: ff_text.h:59
virtual void SetRawTextNumber(twobyte number)
Definition: ff_text.h:21