Jump to content

Search the Community

Showing results for tags 'suppress'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome
    • Start Here!
    • News
  • Software-Related Talk
    • Documentation
    • Getting Started
    • The JavaScript Library
    • FusionPro® VDP Creator
    • FusionPro® VDP Producer
    • FusionPro® VDP Server (API)
    • FusionPro® Expression®
    • MarcomCentral®
  • Support
    • Issues, Questions, Etc.
    • Digital Workflow Documents
    • Fonts
  • Off Topic
    • Customer Polls
    • Job Board (Moderated)
    • Reviews, Rants, and General Musings

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Location


Occupation


FusionPro VDP software version


OS


Acrobat Version


Homepage


ICQ


AIM


Yahoo


MSN


Skype


User Title

Found 9 results

  1. Hello, I have a table that contains data for anywhere from 1-6 rows that I have successfully set up in Fusion. However, when the additional rows are empty, I need the document to remove the extra empty rows. For example, if a record only contains 3 rows of values, I need the additional 3 rows of the table to hide so that the borders/grids from the table do not populate.
  2. Using FusionPro Designer 10.1.11 I'm trying to create a table where the rows have alternate shading with 13 percent black shading starting on row two and following the same every other row. I would like the shading or rows in the table to be suppressed if the data doesn't exist and need some assistance on the coding. I know you can "Loop" code but with alternating row shades was not sure how to do this. This is part an example of my table (the finished table will have a possibility of 40 rows with two columns. new FPTable; var table = new FPTable; table.AddColumns(20000,32000); table.AddRows(40); table.Rows[0].Cells[0].Margins = { Top:20, Bottom:30, Left:1800, Right:0 }; table.Rows[0].Cells[0].HAlign = "Left"; table.Rows[0].Cells[0].VAlign = "Middle"; table.Rows[0].Cells[0].Content=Field("cardholder1"); table.Rows[0].Cells[0].Font="Futura Std"; table.Rows[0].Cells[0].PointSize="10"; table.Rows[0].Cells[1].Margins = { Top:20, Bottom:30, Left:0, Right:0 }; table.Rows[0].Cells[1].HAlign = "Left"; table.Rows[0].Cells[1].VAlign = "Middle"; table.Rows[0].Cells[1].Content=Field("credit_limit1"); table.Rows[0].Cells[1].Font="Futura Std"; table.Rows[0].Cells[1].PointSize="10"; table.Rows[1].Cells[0].Margins = { Top:20, Bottom:30, Left:1800, Right:0 }; table.Rows[1].Cells[0].HAlign = "Left"; table.Rows[1].Cells[0].VAlign = "Middle"; table.Rows[1].Cells[0].ShadeColor = "Black"; table.Rows[1].Cells[0].ShadePct = "13"; table.Rows[1].Cells[0].Content=Field("cardholder2"); table.Rows[1].Cells[0].Font="Futura Std"; table.Rows[1].Cells[0].PointSize="10"; table.Rows[1].Cells[1].Margins = { Top:20, Bottom:30, Left:0, Right:0 }; table.Rows[1].Cells[1].HAlign = "Left"; table.Rows[1].Cells[1].VAlign = "Middle"; table.Rows[1].Cells[1].ShadeColor = "Black"; table.Rows[1].Cells[1].ShadePct = "13"; table.Rows[1].Cells[1].Content=Field("credit_limit2"); table.Rows[1].Cells[1].Font="Futura Std"; table.Rows[1].Cells[1].PointSize="10"; table.Rows[2].Cells[0].Margins = { Top:20, Bottom:30, Left:1800, Right:0 }; table.Rows[2].Cells[0].HAlign = "Left"; table.Rows[2].Cells[0].VAlign = "Middle"; table.Rows[2].Cells[0].Content=Field("cardholder3"); table.Rows[2].Cells[0].Font="Futura Std"; table.Rows[2].Cells[0].PointSize="10"; table.Rows[2].Cells[1].Margins = { Top:20, Bottom:30, Left:0, Right:0 }; table.Rows[2].Cells[1].HAlign = "Left"; table.Rows[2].Cells[1].VAlign = "Middle"; table.Rows[2].Cells[1].Content=Field("credit_limit3"); table.Rows[2].Cells[1].Font="Futura Std"; table.Rows[2].Cells[1].PointSize="10"; table.Rows[3].Cells[0].Margins = { Top:20, Bottom:30, Left:1800, Right:0 }; table.Rows[3].Cells[0].HAlign = "Left"; table.Rows[3].Cells[0].VAlign = "Middle"; table.Rows[3].Cells[0].ShadeColor = "Black"; table.Rows[3].Cells[0].ShadePct = "13"; table.Rows[3].Cells[0].Content=Field("cardholder4"); table.Rows[3].Cells[0].Font="Futura Std"; table.Rows[3].Cells[0].PointSize="10"; table.Rows[3].Cells[1].Margins = { Top:20, Bottom:30, Left:0, Right:0 }; table.Rows[3].Cells[1].HAlign = "Left"; table.Rows[3].Cells[1].VAlign = "Middle"; table.Rows[3].Cells[1].ShadeColor = "Black"; table.Rows[3].Cells[1].ShadePct = "13"; table.Rows[3].Cells[1].Content=Field("credit_limit4"); table.Rows[3].Cells[1].Font="Futura Std"; table.Rows[3].Cells[1].PointSize="10"; table.Rows[4].Cells[0].Margins = { Top:20, Bottom:30, Left:1800, Right:0 }; table.Rows[4].Cells[0].HAlign = "Left"; table.Rows[4].Cells[0].VAlign = "Middle"; table.Rows[4].Cells[0].Content=Field("cardholder5"); table.Rows[4].Cells[0].Font="Futura Std"; table.Rows[4].Cells[0].PointSize="10"; table.Rows[4].Cells[1].Margins = { Top:20, Bottom:30, Left:0, Right:0 }; table.Rows[4].Cells[1].HAlign = "Left"; table.Rows[4].Cells[1].VAlign = "Middle"; table.Rows[4].Cells[1].Content=Field("credit_limit5"); table.Rows[4].Cells[1].Font="Futura Std"; table.Rows[4].Cells[1].PointSize="10"; table.Rows[5].Cells[0].Margins = { Top:20, Bottom:30, Left:1800, Right:0 }; table.Rows[5].Cells[0].VAlign = "Middle"; table.Rows[5].Cells[0].ShadeColor = "Black"; table.Rows[5].Cells[0].ShadePct = "13"; table.Rows[5].Cells[0].Content=Field("cardholder6"); table.Rows[5].Cells[0].Font="Futura Std"; table.Rows[5].Cells[0].PointSize="10"; table.Rows[5].Cells[1].Margins = { Top:20, Bottom:30, Left:0, Right:0 }; table.Rows[5].Cells[1].HAlign = "Left"; table.Rows[5].Cells[1].VAlign = "Middle"; table.Rows[5].Cells[1].ShadeColor = "Black"; table.Rows[5].Cells[1].ShadePct = "13"; table.Rows[5].Cells[1].Content=Field("credit_limit6"); table.Rows[5].Cells[1].Font="Futura Std"; table.Rows[5].Cells[1].PointSize="10"; table.Rows[6].Cells[0].Margins = { Top:20, Bottom:30, Left:1800, Right:0 }; table.Rows[6].Cells[0].HAlign = "Left"; table.Rows[6].Cells[0].VAlign = "Middle"; table.Rows[6].Cells[0].Content=Field("cardholder7"); table.Rows[6].Cells[0].Font="Futura Std"; table.Rows[6].Cells[0].PointSize="10"; table.Rows[6].Cells[1].Margins = { Top:20, Bottom:30, Left:0, Right:0 }; table.Rows[6].Cells[1].HAlign = "Left"; table.Rows[6].Cells[1].VAlign = "Middle"; table.Rows[6].Cells[1].ShadeColor = "Black"; table.Rows[6].Cells[1].Font="Futura Std"; table.Rows[6].Cells[1].PointSize="10"; table.Rows[7].Cells[0].Margins = { Top:20, Bottom:30, Left:1800, Right:0 }; table.Rows[7].Cells[0].VAlign = "Middle"; table.Rows[7].Cells[0].ShadeColor = "Black"; table.Rows[7].Cells[0].ShadePct = "13"; table.Rows[7].Cells[0].Content=Field("cardholder8"); table.Rows[7].Cells[0].Font="Futura Std"; table.Rows[7].Cells[0].PointSize="10"; table.Rows[7].Cells[1].Margins = { Top:20, Bottom:30, Left:0, Right:0 }; table.Rows[7].Cells[1].HAlign = "Left"; table.Rows[7].Cells[1].VAlign = "Middle"; table.Rows[7].Cells[1].ShadeColor = "Black"; table.Rows[7].Cells[1].ShadePct = "13"; table.Rows[7].Cells[1].Content=Field("credit_limit8"); table.Rows[7].Cells[1].Font="Futura Std"; table.Rows[7].Cells[1].PointSize="10"; return table.MakeTags(); I'm not sure how to write the rule to purge rows in a table where there is no data and with alternate shading in the cells.
  3. I have created a Table as follows. My question is how do I suppress the rows if the data is empty so that the last line moves up under the last record with data. I have a total of 12 possible rows with a total row at the last. The table looks great now but need to purge the empty rows for each record. new FPTable; var table = new FPTable; table.AddColumns(13500,1800,5400); table.AddRows(13); table.Rows[0].Cells[0].Margins = { Top:0, Bottom:68, Left:0, Right:0 }; table.Rows[0].Cells[0].HAlign = "Left"; table.Rows[0].Cells[0].Content=Field("Designation_1"); table.Rows[0].Cells[1].Margins = { Top:0, Bottom:68, Left:0, Right:0 }; table.Rows[0].Cells[1].HAlign = "Center"; table.Rows[0].Cells[1].Content=Field("GC1"); table.Rows[0].Cells[2].Margins = { Top:0, Bottom:68, Left:0, Right:0 }; table.Rows[0].Cells[2].Content=Field("Amount_1"); table.Rows[1].Cells[0].Margins = { Top:0, Bottom:68, Left:0, Right:0 }; table.Rows[1].Cells[0].HAlign = "Left"; table.Rows[1].Cells[0].Content=Field("Designation_2"); table.Rows[1].Cells[1].Margins = { Top:0, Bottom:68, Left:0, Right:0 }; table.Rows[1].Cells[1].HAlign = "Center"; table.Rows[1].Cells[1].Content=Field("GC2"); table.Rows[1].Cells[2].Margins = { Top:0, Bottom:68, Left:0, Right:0 }; table.Rows[1].Cells[2].Content=Field("Amount_2"); table.Rows[2].Cells[0].Margins = { Top:0, Bottom:68, Left:0, Right:0 }; table.Rows[2].Cells[0].HAlign = "Left"; table.Rows[2].Cells[0].Content=Field("Designation_3"); table.Rows[2].Cells[1].Margins = { Top:0, Bottom:68, Left:0, Right:0 }; table.Rows[2].Cells[1].HAlign = "Center"; table.Rows[2].Cells[1].Content=Field("GC3"); table.Rows[2].Cells[2].Margins = { Top:0, Bottom:68, Left:0, Right:0 }; table.Rows[2].Cells[2].Content=Field("Amount_3"); table.Rows[3].Cells[0].Margins = { Top:0, Bottom:68, Left:0, Right:0 }; table.Rows[3].Cells[0].HAlign = "Left"; table.Rows[3].Cells[0].Content=Field("Designation_4"); table.Rows[3].Cells[1].Margins = { Top:0, Bottom:68, Left:0, Right:0 }; table.Rows[3].Cells[1].HAlign = "Center"; table.Rows[3].Cells[1].Content=Field("GC4"); table.Rows[3].Cells[2].Margins = { Top:0, Bottom:68, Left:0, Right:0 }; table.Rows[3].Cells[2].Content=Field("Amount_4"); table.Rows[4].Cells[0].Margins = { Top:0, Bottom:68, Left:0, Right:0 }; table.Rows[4].Cells[0].HAlign = "Left"; table.Rows[4].Cells[0].Content=Field("Designation_5"); table.Rows[4].Cells[1].Margins = { Top:0, Bottom:68, Left:0, Right:0 }; table.Rows[4].Cells[1].HAlign = "Center"; table.Rows[4].Cells[1].Content=Field("GC5"); table.Rows[4].Cells[2].Margins = { Top:0, Bottom:68, Left:0, Right:0 }; table.Rows[4].Cells[2].Content=Field("Amount_5"); table.Rows[5].Cells[0].Margins = { Top:0, Bottom:68, Left:0, Right:0 }; table.Rows[5].Cells[0].HAlign = "Left"; table.Rows[5].Cells[0].Content=Field("Designation_6"); table.Rows[5].Cells[1].Margins = { Top:0, Bottom:68, Left:0, Right:0 }; table.Rows[5].Cells[1].HAlign = "Center"; table.Rows[5].Cells[1].Content=Field("GC6"); table.Rows[5].Cells[2].Margins = { Top:0, Bottom:68, Left:0, Right:0 }; table.Rows[5].Cells[2].Content=Field("Amount_6"); table.Rows[6].Cells[0].Margins = { Top:0, Bottom:68, Left:0, Right:0 }; table.Rows[6].Cells[0].HAlign = "Left"; table.Rows[6].Cells[0].Content=Field("Designation_7"); table.Rows[6].Cells[1].Margins = { Top:0, Bottom:68, Left:0, Right:0 }; table.Rows[6].Cells[1].HAlign = "Center"; table.Rows[6].Cells[1].Content=Field("GC7"); table.Rows[6].Cells[2].Margins = { Top:0, Bottom:68, Left:0, Right:0 }; table.Rows[6].Cells[2].Content=Field("Amount_7"); table.Rows[7].Cells[0].Margins = { Top:0, Bottom:68, Left:0, Right:0 }; table.Rows[7].Cells[0].HAlign = "Left"; table.Rows[7].Cells[0].Content=Field("Designation_8"); table.Rows[7].Cells[1].Margins = { Top:0, Bottom:68, Left:0, Right:0 }; table.Rows[7].Cells[1].HAlign = "Center"; table.Rows[7].Cells[1].Content=Field("GC8"); table.Rows[7].Cells[2].Margins = { Top:0, Bottom:68, Left:0, Right:0 }; table.Rows[7].Cells[2].Content=Field("Amount_8"); table.Rows[8].Cells[0].Margins = { Top:0, Bottom:68, Left:0, Right:0 }; table.Rows[8].Cells[0].HAlign = "Left"; table.Rows[8].Cells[0].Content=Field("Designation_9"); table.Rows[8].Cells[1].Margins = { Top:0, Bottom:68, Left:0, Right:0 }; table.Rows[8].Cells[1].HAlign = "Center"; table.Rows[8].Cells[1].Content=Field("GC9"); table.Rows[8].Cells[2].Margins = { Top:0, Bottom:68, Left:0, Right:0 }; table.Rows[8].Cells[2].Content=Field("Amount_9"); table.Rows[9].Cells[0].Margins = { Top:0, Bottom:68, Left:0, Right:0 }; table.Rows[9].Cells[0].HAlign = "Left"; table.Rows[9].Cells[0].Content=Field("Designation_10"); table.Rows[9].Cells[1].Margins = { Top:0, Bottom:68, Left:0, Right:0 }; table.Rows[9].Cells[1].HAlign = "Center"; table.Rows[9].Cells[1].Content=Field("GC10"); table.Rows[9].Cells[2].Margins = { Top:0, Bottom:68, Left:0, Right:0 }; table.Rows[9].Cells[2].Content=Field("Amount_10"); table.Rows[10].Cells[0].Margins = { Top:0, Bottom:68, Left:0, Right:0 }; table.Rows[10].Cells[0].HAlign = "Left"; table.Rows[10].Cells[0].Content=Field("Designation_11"); table.Rows[10].Cells[1].Margins = { Top:0, Bottom:68, Left:0, Right:0 }; table.Rows[10].Cells[1].HAlign = "Center"; table.Rows[10].Cells[1].Content=Field("GC11"); table.Rows[10].Cells[2].Margins = { Top:0, Bottom:68, Left:0, Right:0 }; table.Rows[10].Cells[2].Content=Field("Amount_11"); table.Rows[11].Cells[0].Margins = { Top:0, Bottom:68, Left:0, Right:0 }; table.Rows[11].Cells[0].HAlign = "Left"; table.Rows[11].Cells[0].Content=Field("Designation_12"); table.Rows[11].Cells[1].Margins = { Top:0, Bottom:68, Left:0, Right:0 }; table.Rows[11].Cells[1].HAlign = "Center"; table.Rows[11].Cells[1].Content=Field("GC12"); table.Rows[11].Cells[2].Margins = { Top:0, Bottom:68, Left:0, Right:0 }; table.Rows[11].Cells[2].Content=Field("Amount_12"); table.Rows[12].Cells[0].Margins = {Top:0, Bottom:68, Left:0, Right:0 }; table.Rows[12].Cells[0].HAlign = "Left"; table.Rows[12].Cells[0].Font = "Brandon Grotesque Bold"; table.Rows[12].Cells[0].Content="TOTAL 2018 TAX-DEDUCTIBLE GIVING:"; table.Rows[12].Cells[2].Margins = { Top:0, Bottom:68, Left:0, Right:0 }; table.Rows[12].Cells[2].HAlign = "Center"; table.Rows[12].Cells[2].Font = "Brandon Grotesque Bold"; table.Rows[12].Cells[2].Content=Field("CAL18_TTL"); return table.MakeTags();
  4. The project is a 2-sided letter sent to families of students in a school district. Letter is in English on the front, and one of 5 language translations on back, or no translation (blank back) if English is spoken at home. The pdf I create has many blank pages, and I'd like to save on click counts on the machine. I can't universally "delete blank pages" because they aren't blank, they each contain an empty graphic frame. I'm wondering if there is a way to suppress the page if the graphic frame, which is the only thing on the page, is empty?
  5. I'm an extreme novice at scripting. But I need a rule to suppress the line if ALL variables are empty. The following is a script I'm trying out. I need the following format to happen: "Mem_Lastname", "Mem_Firstname" "Mem_MiddleInit" Example: Doe, Joe C (I need the comma inserted between the Mem_Lastname and Mem_First name fields.) I need the whole line suppressed if all the fields are empty, not just one, including the comma. Here's the script I have so far. return [Trim(Field("Mem_Lastname")),Trim(Field("Mem_Firstname")),Trim(Field("Mem_MiddleInit"))].filter(String).join(" ");
  6. Hi new here. i was told this is possible, just don't know how to search this forum. how do you suppress certain graphics from showing up in the output file? Is it hard to do? I'd like to use graphics to represent guidelines for safeareas on photos. Thanks for the help!
  7. I have product that has an option for page size, orientation, and bleed. As of now, my product will suppress all pages that are not the size or orientation selected. However, when I compose my record, regardless of my selection for bleed, the "Bleed" and "NoBleed" graphic box appears. Each page has a two graphic fields on them [bleed, NoBleed]. Is the fact that there are multiple graphic frames with the same name an issue? I assume that it should suppress all graphic fields with this name. if (Field("Bleed") == "Yes"){ FindGraphicFrame("Bleed").suppress = false; FindGraphicFrame("NoBleed").suppress = true; } else { FindGraphicFrame("Bleed").suppress = true; FindGraphicFrame("NoBleed").suppress = false; } if (Field("Orientation")== "Portrait") { FusionPro.Composition.SetBodyPageUsage("small_L", false); FusionPro.Composition.SetBodyPageUsage("large_L", false); if (Field("Size") == '11" x 17"' ) { FusionPro.Composition.SetBodyPageUsage("small_P", false); FusionPro.Composition.SetBodyPageUsage("large_P", true); } else if (Field("Size") == '8.5" x 11"' ) { FusionPro.Composition.SetBodyPageUsage("small_P", true); FusionPro.Composition.SetBodyPageUsage("large_P", false); } } else if (Field("Orientation")== "Landscape") { FusionPro.Composition.SetBodyPageUsage("small_P", false); FusionPro.Composition.SetBodyPageUsage("large_P", false); if (Field("Size") == '11" x 17"' ) { FusionPro.Composition.SetBodyPageUsage("small_L", false); FusionPro.Composition.SetBodyPageUsage("large_L", true); } else if (Field("Size") == '8.5" x 11"' ) { FusionPro.Composition.SetBodyPageUsage("small_L", true); FusionPro.Composition.SetBodyPageUsage("large_L", false); } }
  8. I am working on a complicated form where a multiple fields can be either empty (Suppressed), Blank (leaving spaces for users to complete) or have a value. I listed an example of the three options for the Last Name field below 1. Empty "" 2. Blank "Last Name __ __ __ __ __ __ __" 3. Value "Last Name Smith" The form needs to flex left to right and top to bottom. Each line has multiple fields (ie. Last Name, First Name, Middle Initial). I need to suppress the text Frames when ALL fields on that line are empty so the second line will move up. I am having difficulty due to the field labels being above the actual field and the numerous rules needed for each field. Below are examples I what I trying to do using field names below Eaxample A Line1: Last Name First Name Middle Initial Line2: Smith John M Line3: Address 1 Address 2 Line4: 123 North Main St Apartment B Example B Line1: Address 1 Address 2 Line2: 123 North Main St Apartment B Line3: City St Zip Line4: Anywhere NY 12345
  9. 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 = ""; } }
×
×
  • Create New...