Sign in to follow this  
Followers 0
menno

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

5 posts in this topic

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0