Jump to content

jwhittaker

Members
  • Posts

    172
  • Joined

2 Followers

Converted

  • Location
    San Diego

Converted

  • FusionPro Products
    Yes

Converted

  • FusionPro VDP software version
    10.0.26

Converted

  • OS
    10.13.4

Converted

  • Acrobat Version
    Acrobat DC

jwhittaker's Achievements

Community Regular

Community Regular (8/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Collaborator Rare

Recent Badges

10

Reputation

  1. Bob, I think you want a text frame and use an inline graphic rule. You can only add one graphic into a graphic frame. There is a pre-defined rule when creating a text rule called "Inline Graphic Rule" You could then use conditional logic to add whatever logo you need. Here is a link to something very similar to what you are looking for. http://forums.pti.com/showthread.php?p=27648&highlight=Inline+Graphics#post27648 Jon
  2. Scotts, I see now, I had just noticed your original frames were named Table1, Table2 and Table3. I duplicated your page and created a new rule called Table_header. This template is based on the rule I had sent back called Table_with_header. I modified it for your instance. Line 38 is where you set the Header row. This is where the table flows into another frame it will add a new header row automatically. This will eliminate the need for the extra header frames and rules. myTable.Rows[0].Type = "Header"; I also added some code to "skip" a line at the top of the Table_header rule that is commented out. You can use it on some conditional logic. myTable.Rows[0].Type = "Skip"; Hope that helps. Jon Table_Samplex2.zip
  3. Scott, Here is a collect with a couple different options for you. I added an Overflow page and you can set your table frame to overflow into the overflow page text frame. I don't know of a way to have one overflow page with 3 different frames you can overflow into. I know others might know. I created a page 3 with you table rules and then others with a Header specified. I put a some text telling you which is which so you could see the difference. I hope this helps. If anyone knows how to use an Overflow page with multiple text frames that need to stay in separate text flows, please post. I would like to know how to do that also. Like this case, 3 different tables in 3 different text frames overflowing into 3 different text frames on the overflow page. Jon New folder.zip
  4. // Use TextMeasure to get the length of each company name var tm = new FusionProTextMeasure; var frameWidth = 2.25; // set width of the text box (in inches) tm.pointSize = "10 pt"; // set the type size tm.font = "Helvetica"; // set your typeface var str = Field("Title"); // set the field to use tm.CalculateTextExtent(str); tm.useTags = false; var tmWidth = tm.textWidth; var tmNumberofLines = tm.textLines; return tmNumberofLines;
  5. Afritz, You need to make all your pages unused and then change your OnRecordStart rule to this: //access the "isOnlinePreview" property and the "isPreview" property Graphic onlinePreviewVal = FusionPro.Composition.JobOptions.IsOnlinePreview; if (onlinePreviewVal=="Yes") { for (i=1; i<=20; i++) { FusionPro.Composition.SetBodyPageUsage(i, true); } FusionPro.Composition.SetBodyPageUsage("Rep", true); } else { FusionPro.Composition.SetBodyPageUsage("RepLabel", true); } Jon
  6. D Miller You could try something like this? I know there is a more efficient way but this should still work. if (Len(Field("Email")) >= 32) { var emailarray = Field("Email").split("@"); return emailarray[0] + '<p>' + "@" + emailarray[1]; } else return Field("Email");
  7. MacFan55, You need to change these 2 lines of code. You are changing both of the fields to lowercase but you are looking for uppercase letters. This is why you are not getting any pages to show. if (ToLower(Field("accountmanager")) == "ed") else if (ToLower(Field("Accountmanager")) == "jasper")
  8. You can use the append function. http://forums.pti.com/showthread.php?t=2056&highlight=append
  9. ReminderVDP, If you only want to move a frame you have to find it and then you can get the .x or the .y and subtract or add the amount you want to move. The measurements are in 100th of a point. You still need it in your OnRecordStart rule. You can try this: if (Field("AgentCoverPic").indexOf("IC")); FindGraphicFrame("FC-AgentPhoto").x = FindGraphicFrame("FC-AgentPhoto").x - (.375*7200); //The measurements are in 100th of a point Jon
  10. Frank You could do something like this: var filename = Field("name") + Field("timestamp") + ".jpg"; return CreateResource(filename, "graphic", true); Jon
  11. Hey Jimmy Have you thought about using tabs instead of all the separate frames to control the runaround? I think this will be a better solution. Jon
  12. I don't know WebCRD but you might need to convert the uppercase &AMP; to lowercase & if (Field("Title Line 1") == "") return ""; else return ReplaceSubstring(('<uppercase>'+Field("Title Line 1")+'</uppercase>'), "&AMP;", "&");
  13. Can you try this returnStr = ''; if(FusionPro.Composition.isPreview == true || FusionPro.inValidation == true) { Rule("OnJobStart"); } numRecsExtDF = externalDF.recordCount; for (recordWalker=1; recordWalker <= numRecsExtDF; recordWalker++) { if (ReplaceSubstring(externalDF.GetFieldValue(recordWalker, 'Facility'), "&", "&") == Field("Facility")) { returnStr += (ReplaceSubstring(externalDF.GetFieldValue(recordWalker, 'Facility'), "&", "&"); } } return returnStr;
  14. Jay Try and click on the create new records radio button. It should give you everything that isn't already assigned. Jon
  15. Jake Have to tried to increase the height of the text box? I have seen this when there isn't extra room when there is bottom or center justification turned on. Jon
×
×
  • Create New...