MarketplaceStudioSnippetPDF Converter for Microsoft Word Text Files

Create your first automation in just a few minutes.Try Studio Web

PDF Converter for Microsoft Word Text Files

PDF Converter for Microsoft Word Text Files

by YouTube

Star

5

Snippet

Downloads

283

Summary

Summary

This workflow is able to convert Word files (*.docx, *.doc, *.rtf, *.txt, etc) to PDF format.

Overview

Overview

This workflow is able to convert Word files (*.docx, *.doc, *.rtf, *.txt, etc) to PDF. It can convert either one file at a time or all files in a specified folder.

Arguments:

  1. in_WordDocument (String) - the word document which should be converted to pdf.
  2. in_PdfDocument (String) - if this is empty, the pdf document will be saved in the same path and with the same name as the in_WordDocument
  3. in_WordDocumentsFolder (String) - this is used in case the in_WordDocument is empty.The activity converts all documents in the specified folder to pdf
  4. in_PdfDocumentsFolder (String) - this is the output folder for the converted files. If it is empty, the pdf files will be saved in the same path as the word files
  5. out_ValidWordDocuments (Array of String) - this output argument returns a list of all the files that were successfully converted
  6. out_InvalidWordDocuments (Array of String) - this output argument returns a list of all the files which could not be converted to pdfs
  7. out_PdfDocuments (Array of String) - this output argument returns a list of all the pdf files resulted from the convertion

Log messages:

  • File WORD_DOCUMENT_NAME could not be converted to pdf - if exception is thrown when trying to convert file
  • No files converted - when no files have been converted
  • The following files have been converted: - shows the list of all the files which have been converted
  • The following files have not been converted because they are invalid: - shows the list of all the files which have not been converted
  • Conversion finished

Exceptions:

  • in_WordDocument and in_WordDocumentsFolder are empty
  • Folder in_WordDocumentsFolder does not exist

NOTE: Installation Guidelines for Snippets can be found here

Features

Features

There are a lot of cases when we need to convert files from Word supported file types (docx, doc, txt, rtf) to PDF. By Importing this workflow a developer's job is simplified. He can invoke this workflow by passing a file or a folder of files to the workflow and it will handle everything from that moment. The workflow returns 3 arrays as output arguments containing the files which could be converted, the files which couldn't be converted and the resulted pdf's for the developer to use later.

Additional Information

Additional Information

Dependencies

https://activities.uipath.com/docs/about-the-word-activities-pack Word activities

Code Language

Visual Basic

Publisher

YouTube

Visit publisher's page

Trusted Source

License & Privacy

License Agreement

Privacy Terms

Technical

Version

1.0.0

Updated

February 18, 2020

Works with

The workflow was created using using UiPath Studio 2018.1.4

Certification

Silver Certified

Application

Microsoft Word

Support

UiPath Community Support

Similar Listings