Mobile app version of vmapp.org
Login or Join
Kevin459

: InDesign, Data Merge and Variable Text Wrap I am working on card game with many, many cards. These cards have variable icons on them (example: some cards have the moon icon and some don't)

@Kevin459

Posted in: #AdobeIndesign #DataMerge #InterfaceDesign #TextWrap

I am working on card game with many, many cards. These cards have variable icons on them (example: some cards have the moon icon and some don't) I am using data merge to place the images where needed and all the game text. These icons sometimes are in the text area and sometimes not. When they are in the text area I would like them to have a text wrap so the text does not overlap the icon. When there is not an icon present I would like the text to flow across the text area. I have added some images to show the cards with the icons and text overlap and how they should look when no icon is present.

Hope this makes sense and is possible, as it will save me tons of time laying up these and future cards.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Kevin459

1 Comments

Sorted by latest first Latest Oldest Best

 

@Hamaas979

This is quite tricky but seems to be doable (successfully tested with CS6)

The idea is to apply “Wrap Around Object Shape” option to your icons instead of “Wrap Around Bounding Box”. So, if there’s no image, no wrapping either.

First create an object style for your icons frames. (You could also work with Wrapping options directly, but I find this way more handy).
Go to the Text wrap options, and set “Wrap Around Object Shape”. In my example below, I used .AI files so I set up “Same As Clipping”. Adjust options if necessary.

Now, follow the steps in the right order, because it’s a bit of a cheat:


First Check Preview in your Data merge window: that’s very important!
Create an image frame, place the variable by clicking on the image field in your Merge data window.
Then apply the “Icon” Object Style previously created.
Now, this is important: select your image frame and make sure the “wrapping” stroke does NOT appear. If so, Alt + click on the Object Style. It should disappear.

Finally, just duplicate frames and assign other icons fields. I tested it, and it works for me.


Here’s the example:


Finally, this works but your text is now off-centred. We could find this not so aesthetic.
Here’s a trick to get same “padding” space on the left than on the right: the idea is to duplicate your icons, to place them on a layer that will be invisible (make sure the “Don’t wrap text while not visible” option is NOT checked) and set them left:

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme