Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
6 replies
Subscribers
4 subscribers
Views
3312 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
Hi. We are generating documents using the Word Doc from Template Smart Service,
olivierd
over 10 years ago
Hi. We are generating documents using the Word Doc from Template Smart Service, then converting to PDF using the plugin Any Document to PDF. Unfortunately we are facing a format issue: the Word documents generated are without hyphenation (we believe due to Protected View) and therefore the PDF service generate them without hyphenation too. It causes issue as documents format is important in our use case (hyphenation and Justify alignments). Could you please advice? Is there a solution to somehow deactivate Protected View in Appian? Or configure the Open Office service used for the PDF conversion to do it? Thanks in advance....
OriginalPostID-131590
OriginalPostID-131590
Discussion posts and replies are publicly visible
0
Mike Schmitt
Certified Lead Developer
over 10 years ago
Could you perhaps give more detail on what you mean when you say the word documents generated "without hyphenation"? Are you saying that you're passing hyphens into the template replacement fields and they're being stripped out, or...?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
olivierd
over 10 years ago
Thanks for your answer, actually when you use Word templates with hyphenation it is ignored when generated to PDF. Attached a simple Word doc (no replacement fields) and how it come when converted to PDF by Appian plugin. All hyphens (e.g.: line 4) are gone.
Test.docx
Test.pdf
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Mike Schmitt
Certified Lead Developer
over 10 years ago
Ah, I understand. However when I open your sample converted PDF in adobe reader it appears to me that the hyphens are there, unless the issue is something else that i'm missing. Example:
screencast.com/.../IYDbrVptDzb
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
olivierd
over 10 years ago
Those at the end of lines are missing, example attached
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Mike Schmitt
Certified Lead Developer
over 10 years ago
Ok I understand - though I should note that when I open your docx file in Word, the word "development" does not wrap around as in your screenshot, it appears all on the next line exactly as in your PDF.
I would note also that the hyphen in "de- velopment" when it wraps to a new line is not actually a component of the text but instead added by whatever program renders the text for onscreen display, and therefore will depend totally on the parameters of how the text is displayed. In other words it seems to me that it's enough of a Dynamic element that you shouldn't necessarily count on it to appear in a converted PDF.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
olivierd
over 10 years ago
Ok I see, thanks for your help.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel