Forum Discussion
Creating a pdf file from Storyline running under an LMS
I have been able to get this to work with outstanding results. The only things I am still struggling with, and it seems like a small detail but will impact the UX in the end, is text wrapping.
I know how to set text wrapping in Storyline and I know how to set text wrapping in Adobe. Somehow, the two aren't working together. When the text comes over in the PDF, if I set the Adobe form as "Auto" size and "Multi line", text that would normally overflow and, therefore, wrap, does not. It just disappears.
I've tried looking at some forums to paste some additional script into storyline to help prior to it coming over but then the form doesn't execute at all.
Anyone have anything like this happen and, if so, what did you do?
Hi Sara
When I started this thread I was using the jsPDF library to create pdf's - for reasons explained in this thread (and others I have posted) I now use pdf-lib.
Can I just check? You mention the 'Adobe Form' so I'm guessing this question relates to using pdf-lib?
I don't know the answer to your question, but I'm also hoping someone else might be ableto suggest a solution.
AS I understand it, the problem is that, when setting the field properties in the receiving pdf form, these would appear to be the options:
I know there are problems if we try and set the "Allow Rich Text Formatting" flag - and my understanding (but I may be wrong) is that the pdf-lib JavaScript library just doesn't support RTF. In which case this might be related to your issue.
Basically, you lose all formatting when you capture the text entry in Storyline and then write it to the pdf form field via pdf-lib. Meaning this is not an approach that is really suited to long-form answers. THIS IS NOT TRUE - SEE POST BELOW
In our design we just stick to short (one paragraph) answer type questions in Storyline.
BUT - this does raise an interesting challenge of how to overcome this restriction if anyone is up for it??
Related Content
- 2 months ago