Jump to content

Search the Community

Showing results for tags 'alignment'.

  • 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 6 results

  1. I am working on a table and am new to formatting and alignment etc. What I would like to do is format my date (MM/dd/yyyy), amounts (add $) and keep the first 2 column left aligned but right align the last 3 columns. Any help would be appreciated! var table = new FPTable(); table.AddColumns(8000,29500,7000,7000,5700); var data = FusionPro.GetMultiLineRecords(); for (var rec = 1; rec <= data.recordCount; rec++) { function ExField(str) { return '<p br=false linespacing=0.8>' + TaggedTextFromRaw(data.GetFieldValue(rec, str)); } var content = ["Trx_Date_From","Description","ApprovedAmt", "Payments","Balance"].map(ExField); var row = table.AddRow(); var [cell] = row.Cells; cell.Margins = { 'Top': 1, 'Bottom': 1, 'Left': 0, 'Right': 0 }; cell.VAlign = 'Bottom'; row.CopyCells(0, 1, 2, 3, 4); row.minHeight = 15 * 100; // 15 pt row height. row.SetContents.apply(row, content); } return table.MakeTags();
  2. Hello all! I'm building a catalog utilizing FPRepeatableComponent. Depending on the information in the record, each section can have from 1 to 11 products that flow into the body and overflow pages. Each page can contain up to two products. The issue I'm having is if there is a single product on the page. If I set the text box to vertically align center, I get the one product centered, but I also get a duplicate of the same product aligned to the top (overlapping each other). Instead, I tried using FindTextFrame in OnRecordStart to center the content, and got the same result. If I align the text frame to the bottom, I get one on top and one on the bottom of the same product. Now, if I set the frame to align to the top, I get one product on the page like I should. In short, the alignment works, but always ghosts the same product to the top. How do I bust the ghost? TIA! ~Lisa **Edited to add that the rule does validate correctly, only listing one instance of the final product. Though, if the text box vertical alignment is set to center or bottom, two instances of the final product appear on composition. FusionPro Windows 10.0.26
  3. Hi, For a customer I have to create a business card with a QR-code with a logo in it. The background color of the business card itself is 20% green, but the QR-code which is 100% green must have a white background. My proposed solution was creating a table with background color white, where the table width is measured by content (found this solution here: http://forums.pti.com/showthread.php?t=3233). This works fine. If I could position this table exact in the middle of my text frame, I could place a graphic frame in the same dimensions exact above it. In this graphic frame I would place the logo exact in the middle. Result should be a QR-code with white background and the company logo in the middle. Somehow I don't manage to align the table into the textframe. This is my code: var Text = Rule("getQRcode2"); var PointSize = 7; var Font = "Helvetica"; var Color = "white"; var tm = new FusionProTextMeasure; tm.pointSize = PointSize * 100; tm.font = Font; tm.CalculateTextExtent(Text); var myTable = new FPTable; myTable.AddColumns(tm.textWidth + 100); var theCell = myTable.AddRow().Cells[0]; theCell.PointSize = PointSize; theCell.Font = Font; theCell.ShadeColor = Color; theCell.ShadePct = 100; theCell.Content = Text; theCell.Margins = { Top: 0, Bottom: -68, Left: 0, Right: 0 }; var X=myTable.MakeTags(); X += "<p leading=1> "; return X; Next step would be aligning the table rght-top, but with logo still in the middle of the QR-code. Anybody a clue how to realize this? Thanks!
  4. I have a rule that grabs data to show a list of commodities and the dollar figure of sales return Field("Export1") + "<t>" + Export1MB + "<p>" + Field("Export2") + "<t>" + Export2MB + "<p>" + Field("Export3") + "<t>" + Export3MB + "<p>" + Field("Export4") + "<t>" + Export4MB + "<p>" + Field("Export5") + "<t>" + Export5MB + "<p>" + Field("Export6") + "<t>" + Export6MB + "<p>" + Field("Export7") + "<t>" + Export7MB + "<p>" + Field("Export8") + "<t>" + Export8MB + "<p>" + Field("Export9") + "<t>" + Export9MB + "<p>" + Field("Export10") + "<t>" + Export10MB + "<p>" + Field("Export11") + "<t>" + Export11MB + "<p>" + Field("Export12") + "<t>" + Export12MB + "<p>" + Field("Export13") + "<t>" + Export13MB; and I have a tab style for the tab to right align with a dot leader. When the text is displayed, the right alignment is all over the place. I haven't had this problem before. What's happening?
  5. Hello, I new to Fusion Pro and I'm working on a Template setup to display like this: "Company Logo" + "Company Name" + "Company Address" - centered on a business card I'm trying to align the inline graphic "Company Logo" to 'center' on the line of copy with no success. Can anyone aid me in this? Thank you for your time.
  6. I am programming a product template with 10 products for one of my customers. This template has a section with features. All copy is left aligned and bullets must line up with heading. For the bullets, the customer uses bullet space first character of first word. I'm using formatted text and am having problems with the flow of the bullets. When the bullets wrap it is placing the first character of the 2nd line under the bullet rather than the first character of the first word on the line. I tried using tabs but could not get it to work. It was shifting all copy instead of lining up the copy. FusionPro Support suggested I use tagged text. I have never used tagged text before. I clicked the view source button on my formatted text, copied it and created a tagged text file. I inserted manual breaks where copy should break <br> and tried as well as \xa0 to try to get subsequent lines to move over. The first attempt broke the line correctly but still placed subsequent lines under the bullet. The second attempt added \xa0 in the copy and still placed subsequent lines under the bullet. I also checked with an internal resource that has used FusionPro for 8 years and the resource could not get it to work. Will someone please help me? Thanks so much!
×
×
  • Create New...