#1
|
|||
|
|||
![]()
I'm working on a business card. In one of the frames, I want to give the user the possibility to add a website, a facebook address and a twitter address. Everything is calculated in a rule that returns a string with all the needed information.
I want to represent facebook and twitter by their graphic image by using an inline graphic. I would also like to keep the graphic and its text together if there is not anough space on a line, but I do not know how. I tried with an between the graphic image and the text, but this does not work (see attached image). I find back my image at the end of one line and the text on the next line Does someone has an idea how I could solve this? The text string that I return looks like <magnify type=text factor=90><f name="Myriad Pro"><z newsize="9"> <b>abc@a.com</b><br><z newsize="9">B-1047 Brussels - Tel. +32 2 11-12345 - Fax +32 2 11-98765<br> <z newsize="9"><b>www.website1.com - www.website2.com - <graphic file="E:\dsf_vdp_data\DAM\IMAGES\cc_fb.pdf"> MyFacebook - <graphic file="E:\dsf_vdp_data\DAM\IMAGES\cc_tw.pdf"> MyTwitter</b></magnify> Last edited by ivdb; March 12th, 2014 at 11:20 AM.. |
#2
|
||||
|
||||
![]()
Your code looks like you're using a non-breaking space and a space. You should take that space out:
Code:
<z newsize="9"><b>www.website1.com - www.website2.com - <graphic file="E:\dsf_vdp_data\DAM\IMAGES\cc_fb.pdf"> MyFacebook - <graphic file="E:\dsf_vdp_data\DAM\IMAGES\cc_tw.pdf"> MyTwitter</b></magnify>
__________________
Ste Pennell FusionPro VDP Creator 9.3.15 Adobe Acrobat X 10.1.1 Mac OS X 10.12 |
#3
|
|||
|
|||
![]()
I checked everything. There is no space after
|
#4
|
||||
|
||||
![]()
I suppose you could use the FusionProTextMeasure tool (here's a good example) to determine if that line is too long to fit in the text box, and if it is, insert a break ('<br>') before the last inline graphic in order to keep the graphic beside the text on the next line.
__________________
Ste Pennell FusionPro VDP Creator 9.3.15 Adobe Acrobat X 10.1.1 Mac OS X 10.12 |
![]() |
Tags |
format, graphic |
Thread Tools | Search this Thread |
Display Modes | |
|
|