Jump to content

Disable Hyphenation by Default?


Developer

Recommended Posts

The User Guide explains how to turn off hyphenation for individual paragraphs, but is there a way to disable hyphenation by default?

 

Our marketing department has specified we are never to hyphenate lines. It would be much more efficient to disable hyphenation by default rather than turn off individually by paragraph with each new document that is created.

 

I am running FusionPro VDP Designer version 8.2.7, with Adobe Acrobat 10.0.0, on Windows 7 64-bit.

 

Thank you in advance for your help!

Link to comment
Share on other sites

I don't know of any preference to globally turn it off (I would vote for it be added too) however you could try adding this to OnRecordStart:

for (var f in FusionPro.Fields)
{
   var text = '<p br="false" hyphenate="false">' + FusionPro.Fields[f];
   FusionPro.Composition.AddVariable(f, text, true)
}

 

Check out this post here though first http://forums.pti.com/showthread.php?p=10590

The fields have to be called into the frames directly for this to work so you will likely still have to manually set them in areas. It's worth a try though.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...