Nicola, Not sure if your problem could be done this way, or at least I'm not sure if the coding functions within FusionPro can actually do this, but in theory something like this should work.
Place your static line on your page, and a text box aligned flush right to that line. The text box should be a "set width" that you are "certain" will be longer than you would ever need for your largest address. Determine which of the variable text lines is the longest (by character count or some other type of method), and then discover what the length of that line-segment is in points (doing this all in an OnRecordStart rule). Then you could assign a variable tab setting to that location before you place your address lines into the text box. The tab setting should then put the longest line at a point where it "appears" to be flush right to the static gray line. It would help greatly if someone from Printable could chime in on this as to whether or not any of the text measuring commands/functions that are used in the CopyFit or CopyFitLine procedures would return a value that would measure the width of a text line-segment and return a length value in points. Entering text after a movable tab is the only way I can think of to have a left justified section move as a whole to the right. If you know the length of the longest line (X), and you know the width of a text box (Y), then a simple subtraction of X from Y should give you your tab setting T. Good luck, and I'll keep working. --- David A. Sweet Web Designer/Graphic Designer HKM Direct Market Communications A DirectConnectGroup Company -----Original Message----- From: Nicola DosSantos [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 23, 2008 3:39 PM To: FusionPro Users Forum Subject: [fusionpro] Suggestions on how to create a complex layout Hello Everyone, I need to create a template that was developed with very complex layout rules and I'm not sure if it can be done in Fusion Pro, so I was hoping if anyone had any suggestions on how I could get this to work.... The product is a letterhead. There is a gray line that runs horizontally across the top of the letterhead sheet. The length, stroke weight, and placement of the line is static. There is a variable text paragraph with contact information that prints directly beneath the horizontal gray line. The variable text paragraph is made up of 8 variable text fields (Name, Title, Address, Building, City, State, Zip, Phone). Most of these variable fields are optional. When all of the fields are used the paragraph results in 5 lines of text. When the minimum number of variable fields are used the paragraph results in 2 lines of text. Here is where I'm unsure how to proceed. The variable text paragraph is Flush Left. However the last or furthest right character on the longest line of text within the paragraph must always align with the right edge of the gray line. So that even though the paragraph is Flush Left, the location where the flush left edge is moves. I see this as creating two issues that need to be solved, If anyone can see any others please let me know what you think. First I'll need to find a way to determine where the furthest right character is within the paragraph and on which line it falls. Second I would need to find a way to move the flush left edge. When we typeset this letterhead in InDesign we type the information and then we move the left edge of the graphic frame until we can see that the furthest right character on the longest line is aligned with the right edge of the gray line. I know that in FusionPro we cannot move a variable frame using javascript. Any suggestions on how to achieve this would be greatly appreciated. Thanks in advance. I apologize if my explanation is at all confusing. -- Nicola DosSantos Ambit Press / Minuteman Press of Cambridge Five Cambridge Center Cambridge, MA 02142 Tel: 617.876.3688 Fax: 617.876.3896 www.ambitpress.com Please send all jobs to [EMAIL PROTECTED] +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- FusionPro 5.0 Now Available! Variable text on a curve and soft drop-shadows for variable text LIMITED TIME upgrade offer of $299 per license for current customers: http://fusionpro.printable.com/store/upgrade New licenses available for $599 each at: http://fusionpro.printable.com/store/ All FusionPro 5.0 customers to receive FusionPro 5.1 with Adobe Acrobat 8 and InDesign CS3 support when released for FREE. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- -- Users of FusionPro Desktop have unlimited free email support. Contact Printable Support at [EMAIL PROTECTED] -- View FusionPro Knowledge Base, FusionPro Samples at www.printable.com/vdp/desktop.htm -- You are currently subscribed to fusionpro as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] -- -- Note: All e-mail sent to or from this address will be received or otherwise recorded by the e-mail recipients of this forum. It is subject to archival, monitoring or review by, and/or disclosure to someone other than the recipient. Our privacy policy is posted on www.printplanet.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.19.9/1239 - Release Date: 1/23/2008 10:24 AM No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.19.10/1241 - Release Date: 1/24/2008 9:58 AM +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- FusionPro 5.0 Now Available! Variable text on a curve and soft drop-shadows for variable text LIMITED TIME upgrade offer of $299 per license for current customers: http://fusionpro.printable.com/store/upgrade New licenses available for $599 each at: http://fusionpro.printable.com/store/ All FusionPro 5.0 customers to receive FusionPro 5.1 with Adobe Acrobat 8 and InDesign CS3 support when released for FREE. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- -- Users of FusionPro Desktop have unlimited free email support. Contact Printable Support at [EMAIL PROTECTED] -- View FusionPro Knowledge Base, FusionPro Samples at www.printable.com/vdp/desktop.htm -- You are currently subscribed to fusionpro as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] -- -- Note: All e-mail sent to or from this address will be received or otherwise recorded by the e-mail recipients of this forum. It is subject to archival, monitoring or review by, and/or disclosure to someone other than the recipient. Our privacy policy is posted on www.printplanet.com --
