Jump to content
Sign in to follow this  
Menno van Beek

Scribe: howto write ¶ with ScribeDocWriteValue ( name ; value )

Recommended Posts

When writing an address to a worddocument with ScribeDocWriteValue ( name ; value ) all ¶'s are "converted" to spaces printing the address as one line (I've of coarse made sure that in the field-properties in word the "allow multiple lines"-option is selected for this particular field).

I've tried changing the ¶ to \n and <br/>, but that's literally written to the worddoc. For the time being I have a workaround by cutting up the address in several fields, but that's not a long term solution (different countries use different mockups of an address).

Anyone knows how to solve this ?

regards, Menno

Share this post


Link to post
Share on other sites

A recent version of the Scribe plugin (1.3) supports inclusion of carriage returns in the the ScribeDocSubstitute function for Word .docx files. However, at this time carriage returns are not supported for the ScribeDocWriteValue function (for either PDF or Excel).

Share this post


Link to post
Share on other sites

Thanks for your reply, but Scribe stands out with the posibility to write values, so will it support writing carriage-returns in values in the future?

Regards, Menno

Share this post


Link to post
Share on other sites

That is definitely a possibility. I'm adding that to our feature request as there have been others who have suggested it as well.

Share this post


Link to post
Share on other sites

We'd like to add our support to including any changes to ScribeFileAsText.

 

Although Scribe creates our Word documents as required, the text field used in FMP to display the Word content removes all the carriage returns in a calculated address to spaces. We've tried all combinations of LF, CR, etc. we can think of, but all get converted to spaces.

 

This is preventing us using Scribe more widely.

 

Thanks

 

Andy

Share this post


Link to post
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.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.