Jump to content

sandigcustomprinters.com

Registered Users - Approved
  • Posts

    81
  • Joined

Everything posted by sandigcustomprinters.com

  1. Can you help me with that OnRecordStart text Measure rule to suppress the frame? I very novice here and do not know how to write that. How do you write the text measure to determine if copy does not fit in the frame? var tm = new FusionProTextMeasure; tm.useTags = true; tm.CalculateTextExtent(Resource(BCText)); var tmWidth = tm.textWidth; if (tmWidth > "XX??") //if text exceeds frame { FindTextFrame("textblock").suppress = true; FindTextFrame("textblocklong").suppress = false; } else { FindTextFrame("textblock").suppress = false; FindTextFrame("textblocklong").suppress = true; } Thanks for your help.
  2. I am trying to switch which frame contains copy, based on a copyfit. If copy fits in Frame A ("textblock"), then Frame B ("textblocklong") is suppressed. If copy does not fit in Frame A, then Frame A is suppressed and Frame B is used. Copy will always fit in Frame B. I cannot figure out to get this rule to put copy into Frame B("textblocklong") only when FrameA !Copyfit It does manage to suppress frame B when copyfits It does manage to suppress frame A when !copy does not fit It does not manage to put content into Frame B when !copy does not fit This novice needs some help with this rule. if (FusionPro.Composition.CurrentFlow.name == "textblock") { if (!Copyfit(new MagnifyAttributes("text", 100, 100, 0, 0))) FusionPro.Composition.CurrentFlow.content = ""; }else{ (FusionPro.Composition.CurrentFlow.name == "textblocklong") FusionPro.Composition.CurrentFlow.content = ""; } }
  3. Thanks. This does work. It does not want to enter the "Please adjust your text..." note without the + FusionPro.Composition.CurrentFlow.content; But it will work for what I need.
  4. When the user inputs copy, copyfit reduces typesize to accomodate the space available in the frame, but the final typesize cannot be less than 12 point. When the user inputs more copy than space available, and the type has already reduced to a minimum 12 pt size, I need to display a warning. I cannot get the warning to display when the text exceeds the space available in the frame. if (!Copyfit(new MagnifyAttributes("text", 25, 400, 12, 72))) { if (FusionPro.Composition.CurrentFlow.name == "contentcopyfit") { FusionPro.Composition.CurrentFlow.content = '<para style="(no style)"><f name="Arial Bold"><z newsize="14.0"><color name="Pantone 202 C">' + "YOU HAVE ENTERED TOO MUCH INFORMATION." } } else if (Copyfit(new MagnifyAttributes("text", 25, 400, 12, 72))) { if (FusionPro.Composition.CurrentFlow.name == "contentcopyfit") { FusionPro.Composition.CurrentFlow.content = "" } }
  5. I am also attempting to place a repeatable component inside a table. Fusion Pro Deskjtop 7.2 validates the table, but crashes when trying to preview. Same quesiton - can repeatable components be used inside tables?
×
×
  • Create New...