Overview
The 'Convert Word' Power Automate action allows you to convert DOC, DOCX, DOTX and RTF file formats to either PDF, HTML, DOCX, DOC, DOTX, TXT, TIFF or PNG files:
Default Parameters
The default 'Convert Word' flow action parameters are detailed below which are contextual based on the selected Output format:
- Output Format: Select the output format: PDF, HTML, DOCX, DOC, DOTX, TXT, TIFF or PNG.
- Filename: The filename (including file extension) of the file to be converted.
- File Content: A Base64 encoded representation of the Excel file to be processed.
- Page Orientation: Set the page orientation for the source word document.
- Page Size: The page size for the source word document.
Advanced Parameters
The advanced 'Convert Word' flow action parameters are detailed below:
All output formats:
- Remove Markup: Sets whether comments and tracked changes should be removed from the document upon conversion.
- Show Revisions in Balloons: Set the types of document markup / tracked changes which should be viewed within balloons
- Tracked Changes - Inserted Text Color: For tracked changes set the inserted text color
- Tracked Changes - Deleted Text Color: For tracked changes set the deleted text color
- Tracked Changes - Moved To Text Color: For tracked changes set the 'moved to' text color
- Tracked Changes - Moved From Text Color: For tracked changes set the 'moved from' text color
- Tracked Changes - Comments Color: Set the comments color
- Time Zone: Set a specific time zone for date and time processing.
- Culture Name: This setting is used to set the culture for the document prior to conversion. Please refer to the Culture Names article for a list of supported cultures.
Output format: PDF:
- Generate Bookmarks: Set whether bookmarks should be automatically created.
- PDF/A Compliant: Sets whether the resulting document should conform to PDF/A format.
- PDF/A Compliance Level: Sets the required level of PDF/A compliance.
- Convert to PDF Form: Converts the output PDF document to a fillable PDF form (Legacy Microsoft Word controls only).
- Enable OpenType: Enables the OpenType font format
Output format: PNG:
- Page Index: Set the page within the document to convert to a PNG file. The first page is converted by default.
Output format: TIFF:
- Compression: Select a compression algorithm, the default is 'LZW'
Example
Return Parameters
The 'Convert Word' flow action returns the following data.
Action Specific Return Values
- File Content - The converted file (Base64)
Standard Return Values
- OperationId - The unique ID assigned to this operation.
- HttpStatusCode - The HTTP Status code for the response.
- HttpStatusMessage - The HTTP Status message for the response.
- Errors - An array of error messages should an error occur.
- Operation Status - Indicates whether the operation has been completed, has been queued or has failed.
0 Comments