We need to convert an MS Word document (2007) to pdf format and need an an appro

We need to convert an MS Word document (2007) to pdf format and need an an approach that produces an accurate rendering. We expected the Pdf From Docx smart service to do the deed, but have encountered two problems (so far). First, Pdf From Docx doesn't use the Appian Document Manager's current version of the document (it uses the initial version). We've gotten around this feature by using the Copy Document Service smart service to create a temporary copy of the document (only one version is created and it's based on the current version of the original). The second, and more serious problem is the format of the resulting pdf. The format is different, there are extraneous data, and font formats are not preserved (e.g., bold). Suggestions?...

OriginalPostID-122382

OriginalPostID-122382

  Discussion posts and replies are publicly visible

Parents
  • Gene - Are you familiar with MS Word's document.xml file that lives inside your word doc?

    If your document.xml looks like this:

    ###</w:t></w:r><w:r w:rsidR="00037C59"><w:rPr><w:sz w:val="22"/><w:szCs w:val="22"/><w:highlight w:val="yellow"/></w:rPr><w:t>mergeField1</w:t></w:r><w:r w:rsidRPr="008F6B19"><w:rPr><w:sz w:val="22"/><w:szCs w:val="22"/><w:highlight w:val="yellow"/></w:rPr><w:t>###

    Then the merge will not work (your tags might be different depending on formatting)

    you can go ahead and remove the extraneous tags between the hashes and your token:
    ###mergeField1###

    That should get merged.
Reply
  • Gene - Are you familiar with MS Word's document.xml file that lives inside your word doc?

    If your document.xml looks like this:

    ###</w:t></w:r><w:r w:rsidR="00037C59"><w:rPr><w:sz w:val="22"/><w:szCs w:val="22"/><w:highlight w:val="yellow"/></w:rPr><w:t>mergeField1</w:t></w:r><w:r w:rsidRPr="008F6B19"><w:rPr><w:sz w:val="22"/><w:szCs w:val="22"/><w:highlight w:val="yellow"/></w:rPr><w:t>###

    Then the merge will not work (your tags might be different depending on formatting)

    you can go ahead and remove the extraneous tags between the hashes and your token:
    ###mergeField1###

    That should get merged.
Children
No Data