Hi Andy,

Yes, you have to know how wide your text frame is, in points, and plug
that number into the function call manually.  You can change your "Page
& Ruler Units" setting to Points in the Acrobat Preferences dialog, and
the FusionPro Text Frame palette will change its units to match, so that
you can get the right value in points.  (Although, technically, it's the
width of the column, not of the frame.  Remember to take any Text Inset
into account as well.)

There is currently no capacity for reading layout information about text
frames into JavaScript rules in FusionPro, with the notable exception of
the flow name in the OnCopyfit callback rule.  We have been looking into
ways to access layout (frame) information in rules for some time now.
Currently, our recommendation for users with variable layout needs is to
use the DIF manipulation API in a custom solution with FusionPro Server.
Such a solution would also allow you to read in the width of a frame and
pass it to a JavaScript rule.

And actually, you may have noticed that these CopyfitLine-type functions
using the FusionProTextMeasure object only work with simple, single
rectangular text frames without runaround or multiple frames.  Only the
full-blown OnCopyfit function has the ability to fit text within an
entire flow, taking into account multiple frames, runaround, and
everything else.  So, simply knowing the width of a particular frame may
not be enough information to be able to fit the text into the flow.

Thanks,
Dan


+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
Calling all FP Web Users!

Do you have a question or lots of knowledge to share about FusionPro Web?

If so, join our Printable Web to Print Users' Forum today!

Send email to [EMAIL PROTECTED] to find out how!
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-


--
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
--

Reply via email to