Finale PDK Framework  0.54
Public Types | Public Member Functions | List of all members
FCMiscDocPrefs Class Reference

Class that contains document preferences that doesn't fit in any other class. More...

#include <ff_prefs.h>

Inheritance diagram for FCMiscDocPrefs:
__FCPrefsBase __FCBaseData __FCBase

Public Types

enum  DATEFORMATS { DATEFORMAT_SHORT = 0, DATEFORMAT_LONG = 1, DATEFORMAT_MACLONG = 2 }
 Date formats to be used with GetDateFormat() and SetDateFormat(). More...
 
enum  BEAMSLOPESTYLES { BEAMSLOPE_ENDNOTESONLY = BEAMSTYLE_ENDNOTESONLY, BEAMSLOPE_FLATTENALL = BEAMSTYLE_FLATTENALL, BEAMSLOPE_FLATTENSTANDARD = BEAMSTYLE_FLATTENSTANDARD, BEAMSLOPE_FLATTENEXTREME = BEAMSTYLE_FLATTENEXTREME }
 The beaming styles for use with GetBeamSlopeStyle() and SetBeamSlopeStyle() More...
 
enum  PAGEMARGINSCOPES { PAGEMARGINSCOPE_CURRENT = 0, PAGEMARGINSCOPE_ALL = 1, PAGEMARGINSCOPE_LEFTORRIGHT = 2, PAGEMARGINSCOPE_RANGE = 3 }
 The beaming styles for use with GetPageMarginScope() and GetPageMarginScope(). More...
 
- Public Types inherited from __FCBase
enum  PDKFRAMEWORK_CLASSID {
  FCID_UNKNOWN = 0, FCID_ACCIDENTALMOD, FCID_ALLOTMENT, FCID_ARTICULATION,
  FCID_ARTICULATIONDEF, FCID_BACKWARDREPEAT, FCID_BASELINE, FCID_BEAMMOD,
  FCID_BEATCHARTELEMENT, FCID_BROKENBEAMMOD, FCID_CATEGORYDEF, FCID_CELLCLEFCHANGE,
  FCID_CELLFRAMEHOLD, FCID_CELLGRAPHIC, FCID_CELLTEXT, FCID_CENTERSMARTSHAPE,
  FCID_CHORD, FCID_CHORDPREFS, FCID_CHORDSUFFIXELEMENT, FCID_CHORUSSYLLABLE,
  FCID_CLEFDEF, FCID_COMPOSITETIMESIGBOTTOMELEMENT, FCID_COMPOSITETIMESIGTOPELEMENT, FCID_CROSSSTAFFMOD,
  FCID_CUSTOMSMARTLINEDEF, FCID_CUSTOMSTEMMOD, FCID_DISTANCEPREFS, FCID_DOTMOD,
  FCID_ENCLOSURE, FCID_ENDINGREPEAT, FCID_ENTRYALTERMOD, FCID_EXECUTABLESHAPEDEF,
  FCID_EXPRESSION, FCID_FONTINFO, FCID_FONTPREFS, FCID_FREEZESYSTEM,
  FCID_FRETBOARDSTYLEDEF, FCID_FRETBOARDSTYLEDEFS, FCID_FRETBOARDGROUPDEF, FCID_FRETBOARDGROUPDEFS,
  FCID_FRETINSTRUMENTDEF, FCID_GENERALPREFS, FCID_GRIDSGUIDESPREFS, FCID_GROUP,
  FCID_GROUPNAMEPOSITIONPREFS, FCID_HUMANPLAYBACKPREFS, FCID_INDEPENDENTCELLDETAIL, FCID_INSTRUMENTDEF,
  FCID_INSTRUMENTPLAYBACKDATA, FCID_KEYSIGNATURE, FCID_LAYERPREFS, FCID_LYRICSPREFS,
  FCID_MEASURE, FCID_MEASURENUMBERREGION, FCID_METATOOLASSIGNMENT, FCID_MIDIEXPRESSION,
  FCID_MISCDOCPREFS, FCID_MULTIMEASUREREST, FCID_MULTIMEASURERESTPREFS, FCID_MULTISTAFFINSTRUMENT,
  FCID_MULTISTAFFINSTRUMENTS, FCID_MUSICCHARACTERPREFS, FCID_MUSICSPACINGPREFS, FCID_NUMBER,
  FCID_NOTEHEADMOD, FCID_OTHERINCI, FCID_PERCUSSIONLAYOUTNOTE, FCID_PERCUSSIONSTAFF,
  FCID_PERFORMANCEMOD, FCID_PAGE, FCID_PAGEFORMATPREFS, FCID_PAGEGRAPHIC,
  FCID_PAGETEXT, FCID_PART, FCID_PARTEXTRACTPREFS, FCID_PARTSCOPEPREFS,
  FCID_PERCUSSIONNOTEMOD, FCID_PIANOBRACEPREFS, FCID_PLAYBACKPREFS, FCID_RAWTEXT,
  FCID_REPEATPREFS, FCID_SECONDARYBEAMBREAKMOD, FCID_SECTIONSYLLABLE, FCID_SEPARATEMEASURENUMBER,
  FCID_SEPARATEPLACEMENT, FCID_SHAPEDEF, FCID_SHAPEEXPRESSIONDEF, FCID_SLURCONTOURPREFS,
  FCID_SIZEPREFS, FCID_SMARTSHAPE, FCID_SMARTSHAPEENTRYMARK, FCID_SMARTSHAPEMEASUREMARK,
  FCID_SMARTSHAPEPREFS, FCID_STAFF, FCID_STAFFLIST, FCID_STAFFNAMEPOSITION,
  FCID_STAFFNAMEPOSITIONPREFS, FCID_STAFFSTYLEASSIGN, FCID_STAFFSTYLEDEF, FCID_STAFFSYSTEM,
  FCID_STEMCONNECTIONTABLE, FCID_STEMMOD, FCID_STRING, FCID_SYLLABLEENTRYMOD,
  FCID_SYSTEMSTAFF, FCID_TABLATURENOTEMOD, FCID_TEMPOELEMENT, FCID_TEXTBLOCK,
  FCID_TEXTEXPRESSIONDEF, FCID_TEXTREPEAT, FCID_TEXTREPEATDEF, FCID_TIEMOD,
  FCID_TIEPREFS, FCID_TIECONTOURPREFS, FCID_TIEPLACEMENTPREFS, FCID_TIMESIGNATURE,
  FCID_TUPLET, FCID_TUPLETPREFS, FCID_VERSESYLLABLE
}
 Constants for the GetClassID method. More...
 
enum  MEASUREMENTUNITS {
  MEASUREMENTUNIT_DEFAULT = UNIT_DEFAULT, MEASUREMENTUNIT_EVPUS = UNIT_EVPUS, MEASUREMENTUNIT_INCHES = UNIT_INCHES, MEASUREMENTUNIT_CENTIMETERS = UNIT_CENTS,
  MEASUREMENTUNIT_POINTS = UNIT_POINTS, MEASUREMENTUNIT_PICAS = UNIT_PICAS, MEASUREMENTUNIT_SPACES = UNIT_SPACES, MEASUREMENTUNIT_MILLIMETERS = 100
}
 Constants for Finale's standard measurement units. More...
 

Public Member Functions

 FCMiscDocPrefs ()
 The constructor. More...
 
virtual const char * ClassName ()
 Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child class. More...
 
virtual const PDKFRAMEWORK_CLASSID GetClassID ()
 Returns the internal class ID for the PDK Framework class. This is implemented mostly because Lua has problems to resolve the true classes of inherited objects. More...
 
bool GetExtendSecondaryBeamsOverRests () const
 Returns the state of the "Extend Secondary Beams Over Rests" beam option. More...
 
bool GetPrimaryBeamWithinSpace () const
 Returns the state of the "Allow Primary Beam Within a Space" beam option. More...
 
bool GetHalfStemsForBeamedRests () const
 Returns the state of the "Display Half-stems for Beamed Rests" beam option. More...
 
bool GetAllowFloatingRests () const
 Returns the state of the "Allow rests to float" beam option. More...
 
bool GetBeamThreeEights () const
 Returns the "Beam three eight notes before/after an eight rest" beaming option. More...
 
BEAMSLOPESTYLES GetBeamSlopeStyle () const
 Returns the beam slope style. More...
 
bool GetExtendBeamsOverRests () const
 Returns the state of the "Extend beams over rests" document option. More...
 
bool GetBeamedCommonTimeEights () const
 Returns the state of the "Beam 4 eights in 4/4" document option. More...
 
bool GetDisplayReverseStemming () const
 Returns the state of the "Display Reverse Stemming" stem option. More...
 
bool GetIncludeRestsInFour () const
 Returns the state of the "Include rests when beaming in groups of four" beaming option. More...
 
bool GetDoubleBarlineAtKeyChange () const
 Returns true if the "Double barline preceding key changes" option is used. This option is only available on Finale 2014.5 and later versions. More...
 
bool GetDisplayAllBarlines () const
 Returns true if "Display All Barlines" is used. More...
 
bool GetCloseBarlineAtSystem () const
 Returns true if "Close Barline at End of Each System" is used. More...
 
bool GetCloseBarlineAtEnd () const
 Returns true if "Close Barline at End of Piece" is used. More...
 
bool GetFinalBarlineAtEnd () const
 Returns true if "final barline at end" is used. More...
 
bool GetLeftBarlineDisplaySingle () const
 Returns true if "Left Barlines - Display on Single Staves" is used. More...
 
bool GetLeftBarlineDisplayMultipe () const
 Returns true if "Left Barlines - Display on Multiple Staves" is used. More...
 
bool GetNormalDefaultBarline () const
 Returns true if the default barline style is the normal barline. More...
 
bool GetAlwaysSlashGraceNote () const
 Returns the state of the "Always Slash Grace Notes" check box. More...
 
bool GetUseStemConnections () const
 Returns true if the stem connection table is used for the document. More...
 
twobyte GetClefResize () const
 Returns the default % reduction for clef changes. More...
 
bool GetShowActiveLayerOnly () const
 Returns the "Show Active Layer Only" option. More...
 
bool GetConsolidateRestsAcrossLayers () const
 Returns the "Consolidate Rests Across Layers", available in Finale 2014 and above. More...
 
bool GetItalicizeCapoChords () const
 Returns the "Italicize Capo Chords" setting (in the Chord menu). More...
 
bool GetShowFretboards () const
 Returns the "Show Fretboards" (in the Chord menu). More...
 
Evpu16 GetMaxBeamSlope () const
 Returns the maximum beam slope, in EVPUs. More...
 
bool GetOnlyFirstSystemClef () const
 Returns if the clefs should be displayed only on the first system, or not. More...
 
eClef GetDefaultClefIndex () const
 Returns the default clef index. More...
 
twobyte GetCurveResolution () const
 Returns the curve resolution (1-128), for non-PostScript and screen output. More...
 
bool GetAdjustDotForMultiVoices () const
 Returns if the augmentation dots should adjust for multiple voices. More...
 
twobyte GetGraceNotePlaybackDuration () const
 Returns the duration of a grace note (in EDUs). More...
 
bool GetKeySigOnlyFirstSystem () const
 Returns if the clef should be displayed only on first staff system. More...
 
bool GetKeySigNaturalsInC () const
 Returns if naturals should be displayed in C at start of staff systems. More...
 
bool GetKeySigModeChange () const
 Returns if the key should redisplay if only mode is changing. More...
 
bool GetKeySigCancelOutgoing () const
 Returns if outgoing keys should be canceled. More...
 
bool GetKeySigCancelSwitchingSharpsFlats () const
 Returns the Finale 25.4 option if outgoing keys should be canceled when switching between sharps and flats. More...
 
bool GetKeySigPreserveOctave () const
 Returns if the octaves should be preserved when simplifying keys. More...
 
twobyte GetTimeSigCompositeDecimals () const
 Returns how many decimals composite time signatures should have in the fraction part. More...
 
bool GetAbbreviateCommonTimeSig () const
 Returns if common time signatures should be abbreviated. More...
 
bool GetAbbreviateCutTimeSig () const
 Returns if cut time signatures should be abbreviated. More...
 
bool GetCourtesyClefAtSystemEnd () const
 Returns if courtesy clefs should be displayed at the end of systems. More...
 
bool GetCourtesyTimeSigAtSystemEnd () const
 Returns if courtesy time signatures should be displayed at the end of systems. More...
 
bool GetCourtesyKeySigAtSystemEnd () const
 Returns if courtesy key signatures should be displayed at the end of systems. More...
 
bool GetSecondsInTimeStamp () const
 Returns if the time stamp (for text inserts) should include seconds. More...
 
DATEFORMATS GetDateFormat () const
 Returns the date format to be used in the document (for text inserts). More...
 
int GetTextTabCharacters () const
 Returns the number of space characters that forms a tab stop in text. More...
 
bool GetScaleManualNotePositioning () const
 Sets if manual positioning of notes should be scaled. More...
 
bool GetCrossStaffNotesInOriginal () const
 Sets if cross staff notes should be displayed in the original staff. More...
 
bool GetUseNoteShapes () const
 Sets if note shape should be used. More...
 
TimeEdu16 GetPickupDuration () const
 Returns the duration of the pickup measure (in EDUs). 0 if no pickup measure. More...
 
CMPER GetSpecialExtractionID () const
 Returns the Cmper to the special extracted part IU list. 0 if no special extracted part is active. More...
 
bool GetDisplayPartExpressions () const
 Returns the "Display Expressions for Parts" option state. More...
 
fourbyte GetUnderlineDepth () const
 Returns the Underline Depth option (currently Mac only). More...
 
fourbyte GetUnderlineThickness () const
 Returns the Underline Thickness option (currently Mac only). More...
 
fourbyte GetFretboardsResizeFraction () const
 Returns the fretboard resize value, in 10000th of a percent. More...
 
bool GetChordPlayback () const
 Returns if chord playback is enabled. More...
 
bool GetAvoidSystemMarginCollisions () const
 Returns the "Avoid Margin Collision" setting in the Layout menu. More...
 
PAGEMARGINSCOPES GetPageMarginScope () const
 Returns the margin adjusment scope for "Page Margins" in the Layout menu. More...
 
bool GetKeepOctaveTransposition () const
 Returns the "Keep octave transposition in Concert Pitch" setting for the document, introduced in Finale 25.2. More...
 
void SetAlwaysSlashGraceNote (bool state)
 Sets the state of the "Always Slash Grace Notes" check box. More...
 
void SetExtendSecondaryBeamsOverRests (bool state)
 Sets the state of the "Extend Secondary Beams Over Rests" beam option. More...
 
void SetPrimaryBeamWithinSpace (bool state)
 Sets the state of the "Allow Primary Beam Within a Space" beam option. More...
 
void SetHalfStemsForBeamedRests (bool state)
 Sets the state of the "Display Half-stems for Beamed Rests" beam option. More...
 
void SetAllowFloatingRests (bool state)
 Sets the state of the "Allow rests to float" beam option. More...
 
void SetBeamThreeEights (bool state)
 Sets the "Beam three eight notes before/after an eight rest" beaming option. More...
 
void SetDisplayReverseStemming (bool state)
 Sets the state of the "Display Reverse Stemming" stem option. More...
 
void SetIncludeRestsInFour (bool state)
 Sets the state of the "Include rests when beaming in groups of four" beaming option. More...
 
void SetBeamSlopeStyle (BEAMSLOPESTYLES mode)
 Sets the beam slope style. More...
 
void SetExtendBeamsOverRests (bool state)
 Sets the state of the "Extend beams over rests" document option. More...
 
void SetUseStemConnections (bool state)
 Sets if the stem connection table is used for the document or not. More...
 
void SetShowActiveLayerOnly (bool state)
 Sets the "Show Active Layer Only" option. More...
 
void SetConsolidateRestsAcrossLayers (bool value)
 Sets the "Consolidate Rests Across Layers", available in Finale 2014 and above. More...
 
void SetClefResize (twobyte value)
 Sets the default % reduction for clef changes. More...
 
void SetBeamedCommonTimeEights (bool state)
 Sets the state of the "Beam 4 eights in 4/4" document option. More...
 
void SetDoubleBarlineAtKeyChange (bool state)
 Sets if the "Double barline preceding key changes" option should be used. This option is only available on Finale 2014.5 and later versions. More...
 
void SetDisplayAllBarlines (bool state)
 Sets if "Display All Barlines" is used. More...
 
void SetCloseBarlineAtSystem (bool state)
 Sets if "Close Barline at End of Each System" is used. More...
 
void SetCloseBarlineAtEnd (bool state)
 Sets if "Close Barline at End of Piece" is used. More...
 
void SetFinalBarlineAtEnd (bool state)
 Sets if "final barline at end" is used. More...
 
void SetLeftBarlineDisplaySingle (bool state)
 Sets if "Left Barlines - Display on Single Staves" is used. More...
 
void SetLeftBarlineDisplayMultipe (bool state)
 Sets if "Left Barlines - Display on Multiple Staves" is used. More...
 
void SetNormalDefaultBarline (bool state)
 Returns if the default barline style is the normal barline. More...
 
void SetItalicizeCapoChords (bool state)
 Sets the the "Italicize Capo Chords" (in the Chord menu). More...
 
void SetShowFretboards (bool state)
 Sets the the "Show Fretboards" (in the Chord menu). More...
 
void SetMaxBeamSlope (Evpu16 slope)
 Sets the maximum beam slope, in EVPUs. More...
 
void SetOnlyFirstSystemClef (bool state)
 Sets if the clefs should be displayed only on the first system, or not. More...
 
void SetDefaultClefIndex (eClef clef)
 Sets the default clef index. More...
 
void SetCurveResolution (twobyte value)
 Sets the curve resolution (1-128), for non-PostScript and screen output. More...
 
void SetAdjustDotForMultiVoices (bool state)
 Sets if the augmentation dots should adjust for multiple voices. More...
 
void SetGraceNotePlaybackDuration (twobyte value)
 Sets the duration of a grace note (in EDUs). More...
 
void SetKeySigOnlyFirstSystem (bool state)
 Sets if the clef should be displayed only on first staff system. More...
 
void SetKeySigNaturalsInC (bool state)
 Sets if naturals should be displayed in C at start of staff systems. More...
 
void SetKeySigModeChange (bool state)
 Sets if the key should redisplay if only mode is changing. More...
 
void SetKeySigCancelOutgoing (bool state)
 Sets if outgoing keys should be canceled. More...
 
void SetKeySigCancelSwitchingSharpsFlats (bool state)
 Sets the Finale 25.4 option if outgoing keys should be canceled when switching between sharps and flats. More...
 
void SetKeySigPreserveOctave (bool state)
 Sets if the octaves should be preserved when simplifying keys. More...
 
void SetTimeSigCompositeDecimals (twobyte count)
 Sets how many decimals composite time signatures should have in the fraction part. More...
 
void SetAbbreviateCommonTimeSig (bool state)
 Sets if common time signatures should be abbreviated. More...
 
void SetAbbreviateCutTimeSig (bool state)
 Sets if cut time signatures should be abbreviated. More...
 
void SetCourtesyClefAtSystemEnd (bool state)
 Sets if courtesy clefs should be displayed at the end of systems. More...
 
void SetCourtesyTimeSigAtSystemEnd (bool state)
 Sets if courtesy time signatures should be displayed at the end of systems. More...
 
void SetCourtesyKeySigAtSystemEnd (bool state)
 Sets if courtesy key signatures should be displayed at the end of systems. More...
 
void SetSecondsInTimeStamp (bool state)
 Sets if the time stamp (for text inserts) should include seconds. More...
 
void SetDateFormat (DATEFORMATS dateformat)
 Sets the date format to be used in the document (for text inserts). More...
 
void SetTextTabCharacters (int tabcount)
 Sets the number of space characters that forms a tab stop in text. More...
 
void SetScaleManualNotePositioning (bool state)
 Sets if manual positioning of notes should be scaled. More...
 
void SetCrossStaffNotesInOriginal (bool state)
 Sets if cross staff notes should be displayed in the original staff. More...
 
void SetUseNoteShapes (bool state)
 Sets if note shape should be used. More...
 
void SetPickupDuration (TimeEdu16 duration)
 Sets the duration of the pickup measure (in EDUs). 0 if no pickup measure. More...
 
void SetSpecialExtractionID (CMPER cmper)
 Sets the Cmper to the special extracted part IU list. 0 if no special extracted part is active. More...
 
void SetDisplayPartExpressions (bool state)
 Sets the "Display Expressions for Parts" option state. More...
 
void SetUnderlineDepth (fourbyte value)
 Sets the Underline Depth option (currently Mac only). More...
 
void SetUnderlineThickness (fourbyte value)
 Sets the Underline Thickness option (currently Mac only). More...
 
void SetFretboardsResizeFraction (fourbyte value)
 Sets the fretboard resize value, in 10000th of a percent. More...
 
void SetChordPlayback (bool state)
 Sets if chord playback should be enabled. More...
 
void SetAvoidSystemMarginCollisions (bool state)
 Sets the "Avoid Margin Collision" setting in the Layout menu. More...
 
void SetPageMarginScope (PAGEMARGINSCOPES mode)
 Returns the margin adjusment scope for "Page Margins" in the Layout menu. More...
 
void SetKeepOctaveTransposition (bool state)
 
- Public Member Functions inherited from __FCPrefsBase
virtual bool Reload ()
 Overridden version of Reload(), that handles prefs from multiple sources.
 
virtual bool Load (twobyte prefsno=1)
 The default Load method for preference data. All preference data loading must go through here at some point. More...
 
virtual bool Save ()
 Saves the currently loaded to its current location. More...
 
virtual bool LoadFirst ()
 Loads the very first element in the database, if any. More...
 
int GetItemNo () const
 Returns the prefs number for the loaded data. More...
 
- Public Member Functions inherited from __FCBaseData
EDOCID GetConnectedDocID () const
 Returns the document ID that was connected to the last load/save of the data. More...
 
bool VerifyConnectedDocID ()
 Checks that the stored document ID for the data object matches the current document's ID. More...
 
virtual EVERSION EnigmaVersion ()
 The Enigma version for save/load/create/delete operations. More...
 
virtual int DataSizeSave ()
 Returns the data size for the data structure that should be saved or created. More...
 
void _CloneFrom (__FCBaseData *pSource)
 For internal use only. Copies object data (except data block) from another object. More...
 
const EDataID * _GetDataID ()
 Intended ONLY for the _CloneFrom implementation. More...
 
int _GetLoadedSize () const
 Intended ONLY for the _CloneFrom implementation. More...
 
const void * GetDataBlock ()
 Intended ONLY for the _CloneFrom implementation. More...
 
EXTAG GetCustomTag ()
 Returns the custom Enigma tag, if any. More...
 
void SetCustomTag (EXTAG tag)
 Sets the custom Enigma tag, for classes that support multiple Enigma tags. More...
 
 __FCBaseData ()
 The constructor.
 
virtual ~__FCBaseData ()
 Virtual destructor.
 
virtual bool DeleteData ()
 Deletes the associated data from Finale's database. Be careful when deleting multiple objects. More...
 
virtual bool DeepDeleteData ()
 Deletes data and all data that's connected to the object. More...
 
virtual bool LoadLast ()
 Loads the very last element in the database, if any. More...
 
virtual bool LoadNext ()
 Loads the next element from the database, if any. More...
 
virtual bool LoadPrevious ()
 Loads the previous element in the database, if any. More...
 
__FCBaseDataCreateClone ()
 Creates an identical copy of an object. More...
 
virtual void DebugDump ()
 Outputs the class data/information for debugging purposes. More...
 
virtual void DebugDataDump ()
 Outputs a memory dump of the data block in the object for debugging purposes. More...
 
virtual void DebugDataByteArrayDump ()
 Outputs a memory dump of the data block in the object for debugging purposes, as a C++ byte array. More...
 
void DebugDataOffsetDump (int offset, int size)
 For debug mode only. Dumps a data memory block at a specific offset and with a specific size.
 
FCNumbersCreateRawDataDump ()
 Creates a byte collection with the raw loaded data block for the object (if the object type supports single data blocks). This method is only intended for debug purposes. More...
 
- Public Member Functions inherited from __FCBase
 __FCBase ()
 The constructor.
 
virtual ~__FCBase ()
 Virtual destructor, so all inherited classes get the virtual destructor. More...
 
void DebugMsgDigit (const char *pszPrefixText, int i)
 Creates a simple Message Box for debug purposes. The text appears with the extra digit (in decimal presentation) appearing afterwards. More...
 
void DebugMsgHex (const char *pszPrefixText, int i)
 Creates a simple Message Box for debug purposes. The text appears with the extra digit (as a hexadecimal number) appearing afterwards. More...
 
void DebugMsgString (const char *pszPrefixText, const char *thestring)
 Creates a simple Message Box for debug purposes. The text appears with the extra string appearing afterwards. More...
 
void DebugMsg (const char *pszMsg)
 Creates a simple Message Box for debug purposes with just one text string. More...
 
void DebugOutMenuInfo (FCUI *pUI, int menuixd_horiz, int menuixd_vert) const
 Outputs the menu command info for debugging purposes. More...
 
int DebugOutFormat (const char *fmt,...)
 Outputs debug text using C style "printf" syntax. More...
 
void Set16BitFlag (FLAG_16 *flag, FLAG_16 flagbits, bool state)
 Sets a 16 bit flag in the data block. More...
 
void Set32BitFlag (FLAG_32 *flag, FLAG_32 flagbits, bool state)
 Sets a 32 bit flag in the data block. More...
 
bool GetBitFlag (FLAG_32 flag, FLAG_32 flagbits) const
 Gets a state from flag bits. Returns true if any bit in the mask is set. More...
 
void SetUserData (void *pData)
 Sets the user data attached to the instance of an object. More...
 
void SetUserData2 (void *pData)
 Sets the additional user data attached to the instance of an object. More...
 
void * GetUserData () const
 Gets the user data attached to the instance of an object. More...
 
void * GetUserData2 () const
 Gets the additional user data attached to the instance of an object. More...
 
virtual bool IsIdentical (__FCBase *pCompareObject)
 Returns true if the data in the passed object is considered to be identical to the current object, otherwise false. More...
 
void StoreXML_String (tinyxml2::XMLElement *pParentNode, const char *pszElementName, FCString *pStringValue)
 Helper function to store FCString objects in the XML file. More...
 
void StoreXML_Integer (tinyxml2::XMLElement *pParentNode, const char *pszElementName, int value)
 Helper function to store integer objects in the XML file. More...
 
void StoreXML_Bool (tinyxml2::XMLElement *pParentNode, const char *pszElementName, bool value)
 Helper function to store boolean objects in the XML file. More...
 
void StoreXML_StringAttribute (tinyxml2::XMLElement *pNode, const char *pszAttributeName, FCString *pStringValue)
 Helper function to store FCString objects in the XML file, as an attribute to a node. More...
 
void StoreXML_IntegerAttribute (tinyxml2::XMLElement *pNode, const char *pszAttributeName, int value)
 Helper function to store integer objects in the XML file, as an attribute to a node. More...
 
void StoreXML_BoolAttribute (tinyxml2::XMLElement *pNode, const char *pszAttributeName, bool value)
 Helper function to store boolean objects in the XML file, as an attribute to a node. More...
 
void StoreXML_FloatAttribute (tinyxml2::XMLElement *pNode, const char *pszAttributeName, float value)
 Helper function to store floating point objects in the XML file, as an attribute to a node. More...
 
virtual void StoreToXML (tinyxml2::XMLElement *pParentNode)
 Virtual method that is used to store an object's data. More...
 
bool ReadXML_String (tinyxml2::XMLElement *pParentNode, const char *pszElementName, FCString *pStringValue)
 Helper method to read FCString objects from the XML file. More...
 
bool ReadXML_Integer (tinyxml2::XMLElement *pParentNode, const char *pszElementName, int *pValue)
 Helper method to read integer objects from the XML file. More...
 
bool ReadXML_Bool (tinyxml2::XMLElement *pParentNode, const char *pszElementName, bool *pValue)
 Helper method to read boolean objects from the XML file. More...
 
bool ReadXML_StringAttribute (tinyxml2::XMLElement *pNode, const char *pszAttributeName, FCString *pStringValue)
 Helper method to read FCString objects from the XML file, as an attribute to a node. More...
 
bool ReadXML_IntegerAttribute (tinyxml2::XMLElement *pNode, const char *pszAttributeName, int *pValue)
 Helper method to read integer objects from the XML file, as an attribute to a node. More...
 
bool ReadXML_BoolAttribute (tinyxml2::XMLElement *pNode, const char *pszAttributeName, bool *pValue)
 Helper method to read boolean objects from the XML file, as an attribute to a node. More...
 
bool ReadXML_FloatAttribute (tinyxml2::XMLElement *pNode, const char *pszAttributeName, float *pValue)
 Helper method to read floating point objects from the XML file, as an attribute to a node. More...
 
virtual bool ReadFromXML (tinyxml2::XMLElement *pParentNode)
 Virtual method that is used to read object data. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from __FCBase
static void DebugOutPtr (const char *pszPrefixText, void *ptr)
 Static method that outputs a line for debugging purposes. The prefix text appears with the extra ptr (in hexadeximal representation) appearing afterwards. More...
 
static void DebugOutDigit (const char *pszPrefixText, int i)
 Static method that outputs a line for debugging purposes. The text appears with the extra digit (in decimal presentation) appearing afterwards. More...
 
static void DebugOutFloat (const char *pszPrefixText, float f)
 Static method that outputs a line for debugging purposes. The text appears with the extra float value appearing afterwards. More...
 
static void DebugOutTag (const char *pszPrefixText, EXTAG extag)
 Static method that outputs a line for debugging purposes. The text appears with the EXTAG (in text) appearing afterwards. More...
 
static void DebugOutHex (const char *pszPrefixText, int i)
 Static method that outputs a line for debugging purposes. The text appears with the extra digit (in hexadecimal presentation) appearing afterwards. More...
 
static void DebugOutBin (const char *pszPrefixText, int i)
 Static method that outputs a line for debugging purposes. The text appears with the extra digit (in binary presentation) appearing afterwards. More...
 
static void DebugOutString (const char *pszPrefixText, const char *thestring)
 Static method that outputs a line for debugging purposes (C string version). The text appears with the extra string appearing afterwards. More...
 
static void DebugOutString (const char *pszPrefixText, FCString *pString)
 Static method that outputs a line for debugging purposes (FCString version). The text appears with the extra string appearing afterwards. More...
 
static void DebugOutBool (const char *pszPrefixText, bool state)
 Static method that outputs a line for debugging purposes. The boolean state appears afterwards as either "TRUE" or "FALSE". More...
 
static void DebugOutBlock (const void *pBuffer, int startoffset, int size)
 Static method that outputs a memory block for debugging purposes. Eight bytes per line will appear (as hex digits) until the whole memory block is dumped. More...
 
static void DebugOutByteArrayBlock (const void *pBuffer, int startoffset, int size)
 Static method that outputs a memory block for debugging purposes. Eight bytes per line will appear (as hex digits) as a C++ onebyte array, until the whole memory block is dumped. More...
 
static void DebugOut (const char *pszLine)
 Static method to output a line of text for debugging purposes. More...
 
- Protected Member Functions inherited from __FCBaseData
virtual void Deallocate ()
 
virtual bool IsDynamicSize ()
 
bool LoadDataBlock ()
 Loads the data. If the object is of dynamic size, the old memory block is freed and a new is allocated.
 
void ClearData ()
 
virtual twobyte CalcLastInci ()
 For internal use only! More...
 
bool DataIsLoaded () const
 Returns true is any data has been loaded into the object. More...
 
void _TagDocumentID ()
 For internal use only. More...
 
- Protected Attributes inherited from __FCBaseData
EDOCID _connecteddocID
 The "connected" document ID., which is the document the where the document was loaded (or last saved). This is for a mechanism to prevent resaving of certain data in other documents.
 
void * _datablock
 Pointer to the object's data block, the meaning is implementation-specific for each derived subclass.
 
bool _heapdatablock
 Variable that tells if _datablock is dynamically created on the heap (and should be deleted at object destruction).
 
int _loadedsize
 Loaded size of the data block for a loaded object, in bytes. Since the datablock is implementation-specific, the _loadedsize should be updated by child classes that create new data. More...
 
EDataID _dataid
 The EdataID for the last loaded/saved object.
 

Detailed Description

Class that contains document preferences that doesn't fit in any other class.

Member Enumeration Documentation

The beaming styles for use with GetBeamSlopeStyle() and SetBeamSlopeStyle()

Lua-supported.

Enumerator
BEAMSLOPE_ENDNOTESONLY 

"Base Slope on End Notes Only" option

BEAMSLOPE_FLATTENALL 

The "Flatten All Beams" option.

BEAMSLOPE_FLATTENSTANDARD 

The "Flatten Beams Based on Standard Note" option

BEAMSLOPE_FLATTENEXTREME 

The "Flatten Beams Based on Extreme Note" option.

Date formats to be used with GetDateFormat() and SetDateFormat().

Lua-supported.

Enumerator
DATEFORMAT_SHORT 

Short date format

DATEFORMAT_LONG 

Long date format

DATEFORMAT_MACLONG 

Mac-specific long date format alternative.

The beaming styles for use with GetPageMarginScope() and GetPageMarginScope().

Lua-supported.

Enumerator
PAGEMARGINSCOPE_CURRENT 

Adjust current page only.

PAGEMARGINSCOPE_ALL 

Adjust all pages.

PAGEMARGINSCOPE_LEFTORRIGHT 

Adjust left or right pages.

PAGEMARGINSCOPE_RANGE 

Adjust a range of pages.

Constructor & Destructor Documentation

FCMiscDocPrefs::FCMiscDocPrefs ( )
inline

The constructor.

Lua-supported.

Member Function Documentation

virtual const char* FCMiscDocPrefs::ClassName ( )
inlinevirtual

Returns the name of the class, for diagnostic purposes. This method MUST be overwritten in each child class.

Lua-supported.

Reimplemented from __FCBaseData.

bool FCMiscDocPrefs::GetAbbreviateCommonTimeSig ( ) const
inline

Returns if common time signatures should be abbreviated.

Lua-supported (also as property).

bool FCMiscDocPrefs::GetAbbreviateCutTimeSig ( ) const
inline

Returns if cut time signatures should be abbreviated.

Lua-supported (also as property).

bool FCMiscDocPrefs::GetAdjustDotForMultiVoices ( ) const
inline

Returns if the augmentation dots should adjust for multiple voices.

Lua-supported (also as property).

bool FCMiscDocPrefs::GetAllowFloatingRests ( ) const
inline

Returns the state of the "Allow rests to float" beam option.

Lua-supported (also as property).

bool FCMiscDocPrefs::GetAlwaysSlashGraceNote ( ) const
inline

Returns the state of the "Always Slash Grace Notes" check box.

Lua-supported (also as property).

bool FCMiscDocPrefs::GetAvoidSystemMarginCollisions ( ) const
inline

Returns the "Avoid Margin Collision" setting in the Layout menu.

Lua-supported (also as property).

bool FCMiscDocPrefs::GetBeamedCommonTimeEights ( ) const
inline

Returns the state of the "Beam 4 eights in 4/4" document option.

Lua-supported (also as property).

BEAMSLOPESTYLES FCMiscDocPrefs::GetBeamSlopeStyle ( ) const
inline

Returns the beam slope style.

This is connected with the FCBeamMod::SetDefaultMode() method.

Lua-supported (also as property).

Returns
Any of the BEAMSLOPE_* constants.
bool FCMiscDocPrefs::GetBeamThreeEights ( ) const
inline

Returns the "Beam three eight notes before/after an eight rest" beaming option.

Lua-supported (also as property).

bool FCMiscDocPrefs::GetChordPlayback ( ) const
inline

Returns if chord playback is enabled.

Lua-supported (also as property).

virtual const PDKFRAMEWORK_CLASSID FCMiscDocPrefs::GetClassID ( )
inlinevirtual

Returns the internal class ID for the PDK Framework class. This is implemented mostly because Lua has problems to resolve the true classes of inherited objects.

This method must be overwritten by all child classes.

Lua-supported.

Implements __FCBaseData.

twobyte FCMiscDocPrefs::GetClefResize ( ) const
inline

Returns the default % reduction for clef changes.

Lua-supported (also as property).

bool FCMiscDocPrefs::GetCloseBarlineAtEnd ( ) const
inline

Returns true if "Close Barline at End of Piece" is used.

Lua-supported (also as property).

bool FCMiscDocPrefs::GetCloseBarlineAtSystem ( ) const
inline

Returns true if "Close Barline at End of Each System" is used.

Lua-supported (also as property).

bool FCMiscDocPrefs::GetConsolidateRestsAcrossLayers ( ) const

Returns the "Consolidate Rests Across Layers", available in Finale 2014 and above.

Lua-supported (also as property).

Returns
On Finale versions earlier than 2014, the method always returns false.
bool FCMiscDocPrefs::GetCourtesyClefAtSystemEnd ( ) const
inline

Returns if courtesy clefs should be displayed at the end of systems.

Lua-supported (also as property).

bool FCMiscDocPrefs::GetCourtesyKeySigAtSystemEnd ( ) const
inline

Returns if courtesy key signatures should be displayed at the end of systems.

Lua-supported (also as property).

bool FCMiscDocPrefs::GetCourtesyTimeSigAtSystemEnd ( ) const
inline

Returns if courtesy time signatures should be displayed at the end of systems.

Lua-supported (also as property).

bool FCMiscDocPrefs::GetCrossStaffNotesInOriginal ( ) const
inline

Sets if cross staff notes should be displayed in the original staff.

Lua-supported (also as property).

twobyte FCMiscDocPrefs::GetCurveResolution ( ) const
inline

Returns the curve resolution (1-128), for non-PostScript and screen output.

Lua-supported (also as property).

DATEFORMATS FCMiscDocPrefs::GetDateFormat ( ) const
inline

Returns the date format to be used in the document (for text inserts).

Lua-supported (also as property).

Returns
Any of the DATEFORMAT_* constants.
eClef FCMiscDocPrefs::GetDefaultClefIndex ( ) const
inline

Returns the default clef index.

Lua-supported (also as property).

bool FCMiscDocPrefs::GetDisplayAllBarlines ( ) const
inline

Returns true if "Display All Barlines" is used.

Lua-supported (also as property).

bool FCMiscDocPrefs::GetDisplayPartExpressions ( ) const
inline

Returns the "Display Expressions for Parts" option state.

Lua-supported (also as property).

bool FCMiscDocPrefs::GetDisplayReverseStemming ( ) const
inline

Returns the state of the "Display Reverse Stemming" stem option.

Lua-supported (also as property).

bool FCMiscDocPrefs::GetDoubleBarlineAtKeyChange ( ) const

Returns true if the "Double barline preceding key changes" option is used. This option is only available on Finale 2014.5 and later versions.

Lua-supported (also as property).

Returns
On Finale versions earlier than 2014.5, false is always returned. Otherwise, the state of the option is returned.
bool FCMiscDocPrefs::GetExtendBeamsOverRests ( ) const
inline

Returns the state of the "Extend beams over rests" document option.

Lua-supported (also as property).

bool FCMiscDocPrefs::GetExtendSecondaryBeamsOverRests ( ) const
inline

Returns the state of the "Extend Secondary Beams Over Rests" beam option.

Lua-supported (also as property).

bool FCMiscDocPrefs::GetFinalBarlineAtEnd ( ) const
inline

Returns true if "final barline at end" is used.

Lua-supported (also as property).

fourbyte FCMiscDocPrefs::GetFretboardsResizeFraction ( ) const
inline

Returns the fretboard resize value, in 10000th of a percent.

Lua-supported (also as property).

twobyte FCMiscDocPrefs::GetGraceNotePlaybackDuration ( ) const
inline

Returns the duration of a grace note (in EDUs).

Lua-supported (also as property).

bool FCMiscDocPrefs::GetHalfStemsForBeamedRests ( ) const
inline

Returns the state of the "Display Half-stems for Beamed Rests" beam option.

Lua-supported (also as property).

bool FCMiscDocPrefs::GetIncludeRestsInFour ( ) const
inline

Returns the state of the "Include rests when beaming in groups of four" beaming option.

Lua-supported (also as property).

bool FCMiscDocPrefs::GetItalicizeCapoChords ( ) const
inline

Returns the "Italicize Capo Chords" setting (in the Chord menu).

Lua-supported (also as property).

bool FCMiscDocPrefs::GetKeepOctaveTransposition ( ) const

Returns the "Keep octave transposition in Concert Pitch" setting for the document, introduced in Finale 25.2.

This method will always return true on earlier versions than Finale 25.2.

Lua-supported (also as property).

Returns
True if "Keep octave transposition in Concert Pitch" should be ON. Always true on earlier versions than Finale 25.2.
bool FCMiscDocPrefs::GetKeySigCancelOutgoing ( ) const
inline

Returns if outgoing keys should be canceled.

Lua-supported (also as property).

bool FCMiscDocPrefs::GetKeySigCancelSwitchingSharpsFlats ( ) const

Returns the Finale 25.4 option if outgoing keys should be canceled when switching between sharps and flats.

Lua-supported (also as property).

Returns
Always true on pre-Fin25.4. Otherwise, the state of the "When switching between sharps and flats" option.
bool FCMiscDocPrefs::GetKeySigModeChange ( ) const
inline

Returns if the key should redisplay if only mode is changing.

Lua-supported (also as property).

bool FCMiscDocPrefs::GetKeySigNaturalsInC ( ) const
inline

Returns if naturals should be displayed in C at start of staff systems.

Lua-supported (also as property).

bool FCMiscDocPrefs::GetKeySigOnlyFirstSystem ( ) const
inline

Returns if the clef should be displayed only on first staff system.

Lua-supported (also as property).

bool FCMiscDocPrefs::GetKeySigPreserveOctave ( ) const
inline

Returns if the octaves should be preserved when simplifying keys.

Lua-supported (also as property).

bool FCMiscDocPrefs::GetLeftBarlineDisplayMultipe ( ) const
inline

Returns true if "Left Barlines - Display on Multiple Staves" is used.

Lua-supported (also as property).

bool FCMiscDocPrefs::GetLeftBarlineDisplaySingle ( ) const
inline

Returns true if "Left Barlines - Display on Single Staves" is used.

Lua-supported (also as property).

Evpu16 FCMiscDocPrefs::GetMaxBeamSlope ( ) const
inline

Returns the maximum beam slope, in EVPUs.

Lua-supported (also as property).

bool FCMiscDocPrefs::GetNormalDefaultBarline ( ) const
inline

Returns true if the default barline style is the normal barline.

Lua-supported (also as property).

Returns
true - Default barline style is the normal barline. false - Default barline style is previous measure's right barline.
bool FCMiscDocPrefs::GetOnlyFirstSystemClef ( ) const
inline

Returns if the clefs should be displayed only on the first system, or not.

Lua-supported (also as property).

PAGEMARGINSCOPES FCMiscDocPrefs::GetPageMarginScope ( ) const
inline

Returns the margin adjusment scope for "Page Margins" in the Layout menu.

Lua-supported (also as property).

Returns
Any of the PAGEMARGINSCOPE_ constants.
TimeEdu16 FCMiscDocPrefs::GetPickupDuration ( ) const
inline

Returns the duration of the pickup measure (in EDUs). 0 if no pickup measure.

Lua-supported (also as property).

bool FCMiscDocPrefs::GetPrimaryBeamWithinSpace ( ) const
inline

Returns the state of the "Allow Primary Beam Within a Space" beam option.

Lua-supported (also as property).

bool FCMiscDocPrefs::GetScaleManualNotePositioning ( ) const
inline

Sets if manual positioning of notes should be scaled.

Lua-supported (also as property).

bool FCMiscDocPrefs::GetSecondsInTimeStamp ( ) const
inline

Returns if the time stamp (for text inserts) should include seconds.

Lua-supported (also as property).

bool FCMiscDocPrefs::GetShowActiveLayerOnly ( ) const
inline

Returns the "Show Active Layer Only" option.

Lua-supported (also as property).

bool FCMiscDocPrefs::GetShowFretboards ( ) const
inline

Returns the "Show Fretboards" (in the Chord menu).

Lua-supported (also as property).

CMPER FCMiscDocPrefs::GetSpecialExtractionID ( ) const
inline

Returns the Cmper to the special extracted part IU list. 0 if no special extracted part is active.

Lua-supported (also as property).

int FCMiscDocPrefs::GetTextTabCharacters ( ) const
inline

Returns the number of space characters that forms a tab stop in text.

Lua-supported (also as property).

twobyte FCMiscDocPrefs::GetTimeSigCompositeDecimals ( ) const
inline

Returns how many decimals composite time signatures should have in the fraction part.

Lua-supported (also as property).

fourbyte FCMiscDocPrefs::GetUnderlineDepth ( ) const
inline

Returns the Underline Depth option (currently Mac only).

Lua-supported (also as property).

fourbyte FCMiscDocPrefs::GetUnderlineThickness ( ) const
inline

Returns the Underline Thickness option (currently Mac only).

Lua-supported (also as property).

bool FCMiscDocPrefs::GetUseNoteShapes ( ) const
inline

Sets if note shape should be used.

Lua-supported (also as property).

bool FCMiscDocPrefs::GetUseStemConnections ( ) const
inline

Returns true if the stem connection table is used for the document.

Lua-supported (also as property).

void FCMiscDocPrefs::SetAbbreviateCommonTimeSig ( bool  state)
inline

Sets if common time signatures should be abbreviated.

Lua-supported (also as property).

void FCMiscDocPrefs::SetAbbreviateCutTimeSig ( bool  state)
inline

Sets if cut time signatures should be abbreviated.

Lua-supported (also as property).

void FCMiscDocPrefs::SetAdjustDotForMultiVoices ( bool  state)
inline

Sets if the augmentation dots should adjust for multiple voices.

Lua-supported (also as property).

void FCMiscDocPrefs::SetAllowFloatingRests ( bool  state)
inline

Sets the state of the "Allow rests to float" beam option.

Lua-supported (also as property).

void FCMiscDocPrefs::SetAlwaysSlashGraceNote ( bool  state)
inline

Sets the state of the "Always Slash Grace Notes" check box.

Lua-supported (also as property).

void FCMiscDocPrefs::SetAvoidSystemMarginCollisions ( bool  state)
inline

Sets the "Avoid Margin Collision" setting in the Layout menu.

Lua-supported (also as property).

void FCMiscDocPrefs::SetBeamedCommonTimeEights ( bool  state)
inline

Sets the state of the "Beam 4 eights in 4/4" document option.

Lua-supported (also as property).

void FCMiscDocPrefs::SetBeamSlopeStyle ( BEAMSLOPESTYLES  mode)
inline

Sets the beam slope style.

This is connected with the FCBeamMod::SetDefaultMode() method.

Lua-supported (also as property).

Parameters
modeAny of the BEAMSLOPE_* constants.
void FCMiscDocPrefs::SetBeamThreeEights ( bool  state)
inline

Sets the "Beam three eight notes before/after an eight rest" beaming option.

Lua-supported (also as property).

void FCMiscDocPrefs::SetChordPlayback ( bool  state)
inline

Sets if chord playback should be enabled.

Lua-supported (also as property).

void FCMiscDocPrefs::SetClefResize ( twobyte  value)
inline

Sets the default % reduction for clef changes.

Lua-supported (also as property).

void FCMiscDocPrefs::SetCloseBarlineAtEnd ( bool  state)
inline

Sets if "Close Barline at End of Piece" is used.

Lua-supported (also as property).

void FCMiscDocPrefs::SetCloseBarlineAtSystem ( bool  state)
inline

Sets if "Close Barline at End of Each System" is used.

Lua-supported (also as property).

void FCMiscDocPrefs::SetConsolidateRestsAcrossLayers ( bool  value)

Sets the "Consolidate Rests Across Layers", available in Finale 2014 and above.

Lua-supported (also as property).

Returns
On Finale versions earlier than 2014, the method does nothing.
void FCMiscDocPrefs::SetCourtesyClefAtSystemEnd ( bool  state)
inline

Sets if courtesy clefs should be displayed at the end of systems.

Lua-supported (also as property).

void FCMiscDocPrefs::SetCourtesyKeySigAtSystemEnd ( bool  state)
inline

Sets if courtesy key signatures should be displayed at the end of systems.

Lua-supported (also as property).

void FCMiscDocPrefs::SetCourtesyTimeSigAtSystemEnd ( bool  state)
inline

Sets if courtesy time signatures should be displayed at the end of systems.

Lua-supported (also as property).

void FCMiscDocPrefs::SetCrossStaffNotesInOriginal ( bool  state)
inline

Sets if cross staff notes should be displayed in the original staff.

Lua-supported (also as property).

void FCMiscDocPrefs::SetCurveResolution ( twobyte  value)
inline

Sets the curve resolution (1-128), for non-PostScript and screen output.

This method only allow values between 1 and 128 to be set.

Lua-supported (also as property).

void FCMiscDocPrefs::SetDateFormat ( DATEFORMATS  dateformat)
inline

Sets the date format to be used in the document (for text inserts).

Lua-supported (also as property).

Parameters
dateformatAny of the DATEFORMAT_* constants.
void FCMiscDocPrefs::SetDefaultClefIndex ( eClef  clef)
inline

Sets the default clef index.

Lua-supported (also as property).

void FCMiscDocPrefs::SetDisplayAllBarlines ( bool  state)
inline

Sets if "Display All Barlines" is used.

Lua-supported (also as property).

void FCMiscDocPrefs::SetDisplayPartExpressions ( bool  state)
inline

Sets the "Display Expressions for Parts" option state.

Lua-supported (also as property).

void FCMiscDocPrefs::SetDisplayReverseStemming ( bool  state)
inline

Sets the state of the "Display Reverse Stemming" stem option.

Lua-supported (also as property).

void FCMiscDocPrefs::SetDoubleBarlineAtKeyChange ( bool  state)

Sets if the "Double barline preceding key changes" option should be used. This option is only available on Finale 2014.5 and later versions.

On Finale versions earlier than 2014.5, this method does nothing.

Lua-supported (also as property).

void FCMiscDocPrefs::SetExtendBeamsOverRests ( bool  state)
inline

Sets the state of the "Extend beams over rests" document option.

Lua-supported (also as property).

void FCMiscDocPrefs::SetExtendSecondaryBeamsOverRests ( bool  state)
inline

Sets the state of the "Extend Secondary Beams Over Rests" beam option.

Lua-supported (also as property).

void FCMiscDocPrefs::SetFinalBarlineAtEnd ( bool  state)
inline

Sets if "final barline at end" is used.

Lua-supported (also as property).

void FCMiscDocPrefs::SetFretboardsResizeFraction ( fourbyte  value)
inline

Sets the fretboard resize value, in 10000th of a percent.

Lua-supported (also as property).

void FCMiscDocPrefs::SetGraceNotePlaybackDuration ( twobyte  value)
inline

Sets the duration of a grace note (in EDUs).

Lua-supported (also as property).

void FCMiscDocPrefs::SetHalfStemsForBeamedRests ( bool  state)
inline

Sets the state of the "Display Half-stems for Beamed Rests" beam option.

Lua-supported (also as property).

void FCMiscDocPrefs::SetIncludeRestsInFour ( bool  state)
inline

Sets the state of the "Include rests when beaming in groups of four" beaming option.

Lua-supported (also as property).

void FCMiscDocPrefs::SetItalicizeCapoChords ( bool  state)
inline

Sets the the "Italicize Capo Chords" (in the Chord menu).

Lua-supported (also as property).

void FCMiscDocPrefs::SetKeepOctaveTransposition ( bool  state)

Sets the "Keep octave transposition in Concert Pitch" setting for the document, introduced in Finale 25.2.

This method will do nothing on earlier versions than Finale 25.2.

Lua-supported (also as property).

Parameters
[in]stateTrue if "Keep octave transposition in Concert Pitch" should be ON.
void FCMiscDocPrefs::SetKeySigCancelOutgoing ( bool  state)
inline

Sets if outgoing keys should be canceled.

Lua-supported (also as property).

void FCMiscDocPrefs::SetKeySigCancelSwitchingSharpsFlats ( bool  state)

Sets the Finale 25.4 option if outgoing keys should be canceled when switching between sharps and flats.

This does nothing on version earlier than Finale 25.4.

Lua-supported (also as property).

Parameters
[in]stateThe state of the "When switching between sharps and flats" option.
void FCMiscDocPrefs::SetKeySigModeChange ( bool  state)
inline

Sets if the key should redisplay if only mode is changing.

Lua-supported (also as property).

void FCMiscDocPrefs::SetKeySigNaturalsInC ( bool  state)
inline

Sets if naturals should be displayed in C at start of staff systems.

Lua-supported (also as property).

void FCMiscDocPrefs::SetKeySigOnlyFirstSystem ( bool  state)
inline

Sets if the clef should be displayed only on first staff system.

Lua-supported (also as property).

void FCMiscDocPrefs::SetKeySigPreserveOctave ( bool  state)
inline

Sets if the octaves should be preserved when simplifying keys.

Lua-supported (also as property).

void FCMiscDocPrefs::SetLeftBarlineDisplayMultipe ( bool  state)
inline

Sets if "Left Barlines - Display on Multiple Staves" is used.

Lua-supported (also as property).

void FCMiscDocPrefs::SetLeftBarlineDisplaySingle ( bool  state)
inline

Sets if "Left Barlines - Display on Single Staves" is used.

Lua-supported (also as property).

void FCMiscDocPrefs::SetMaxBeamSlope ( Evpu16  slope)
inline

Sets the maximum beam slope, in EVPUs.

Lua-supported (also as property).

void FCMiscDocPrefs::SetNormalDefaultBarline ( bool  state)
inline

Returns if the default barline style is the normal barline.

Lua-supported (also as property).

Parameters
statetrue - Default barline style is the normal barline. false - Default barline style is previous measure's right barline.
void FCMiscDocPrefs::SetOnlyFirstSystemClef ( bool  state)
inline

Sets if the clefs should be displayed only on the first system, or not.

Lua-supported (also as property).

void FCMiscDocPrefs::SetPageMarginScope ( PAGEMARGINSCOPES  mode)
inline

Returns the margin adjusment scope for "Page Margins" in the Layout menu.

Lua-supported (also as property).

Parameters
modeAny of the PAGEMARGINSCOPE_ constants.
void FCMiscDocPrefs::SetPickupDuration ( TimeEdu16  duration)
inline

Sets the duration of the pickup measure (in EDUs). 0 if no pickup measure.

Lua-supported (also as property).

void FCMiscDocPrefs::SetPrimaryBeamWithinSpace ( bool  state)
inline

Sets the state of the "Allow Primary Beam Within a Space" beam option.

Lua-supported (also as property).

void FCMiscDocPrefs::SetScaleManualNotePositioning ( bool  state)
inline

Sets if manual positioning of notes should be scaled.

Lua-supported (also as property).

void FCMiscDocPrefs::SetSecondsInTimeStamp ( bool  state)
inline

Sets if the time stamp (for text inserts) should include seconds.

Lua-supported (also as property).

void FCMiscDocPrefs::SetShowActiveLayerOnly ( bool  state)
inline

Sets the "Show Active Layer Only" option.

Lua-supported (also as property).

void FCMiscDocPrefs::SetShowFretboards ( bool  state)
inline

Sets the the "Show Fretboards" (in the Chord menu).

Lua-supported (also as property).

void FCMiscDocPrefs::SetSpecialExtractionID ( CMPER  cmper)
inline

Sets the Cmper to the special extracted part IU list. 0 if no special extracted part is active.

Lua-supported (also as property).

void FCMiscDocPrefs::SetTextTabCharacters ( int  tabcount)
inline

Sets the number of space characters that forms a tab stop in text.

Lua-supported (also as property).

void FCMiscDocPrefs::SetTimeSigCompositeDecimals ( twobyte  count)
inline

Sets how many decimals composite time signatures should have in the fraction part.

Lua-supported (also as property).

void FCMiscDocPrefs::SetUnderlineDepth ( fourbyte  value)
inline

Sets the Underline Depth option (currently Mac only).

Lua-supported (also as property).

void FCMiscDocPrefs::SetUnderlineThickness ( fourbyte  value)
inline

Sets the Underline Thickness option (currently Mac only).

Lua-supported (also as property).

void FCMiscDocPrefs::SetUseNoteShapes ( bool  state)
inline

Sets if note shape should be used.

Lua-supported (also as property).

void FCMiscDocPrefs::SetUseStemConnections ( bool  state)
inline

Sets if the stem connection table is used for the document or not.

Lua-supported (also as property).