[JW Lua] More FCCellFrameHold and clef issues

Jan Angermüller jan at angermueller.com
Wed Sep 10 15:34:17 CEST 2014


Jari,

there are still some issues with FCCellFrameHold in v0.28:

- I still can get an FCCellFrameHold for each measure of the
   measure range where a new clef is applied, not only for the first
   measure where the clef appears.
   The documentation says:
   "Only one FCCellFrameHold data record should exists for each cell
   and only at clef changes."

   What has changed in 0.27 or 0.28 is that CalcClefChange now returns
   true even if it is hidden layers only, but it still returns true for the
   measures following the clef change.

- When I call FCCellFrameHold:DeleteData() to delete the clef change,
   also the note entries in that measure are deleted.

- Does FCCellFrameHold also handle mid-measure clefs ?
   If there is only one FCCellFrameHold per measure, it can't handle 
several (midmeasure-)clefs per measure.

- Setting mid-measure clefs to hide does not work:
   If there is a mid-measure clef (and no other clefs in this measure),
   a FCCellFrameHold object exists and CalcClefChange returns true.
   But after calling CellFrameHold:SetClefShow(finale.SHOWCLEF_HIDE), 
they are still visible.
   Only clefs at the start of a new measure can be hidden.

- If I call CellFrameHold:SetClefShow(finale.SHOWCLEF_HIDE) to hide any 
clef,
     is it possible to only affect score view ?
     Currently when I call it from within the score scope,
     the clefs are also hidden in part view.
     I don't if this Finale allows this splitting - seems like this is 
not possible and I have to use staff styles for this.


Jan




More information about the JWLua mailing list