Task pane commands

Modified on Mon, 5 Oct at 1:55 PM

The Accessibility Assistant functionality is a task pane that must be opened to check the accessibility of the current document or presentation. We support controlling the default destination of the exported PDF.

CMD

<Cmd case="SkabelonDesign.PowerVision:OpenTaskPane"/>

Parameter

ExportPath

Define the export destination of the exported PDF. This parameter is optional, but notice that if it is omitted, the export dialog default to the Documents folder.

Use Origin as value if the desired export destination is the same as the document.

ContrastThreshold

Compares the luminosity of font color vs. a background color. The default setting for contrast is 4.5 (if the parameter is not used/defined), meaning an issue will be raised if the contrast between two colors goes below 4.5. Use the parameter if you want to define a custom contrast value.
This site is helpful if you want to test the contrast ratio.

ExportOptions

Use the ExportOptions to determine how the PDF should be outputted. Use Mail to give the user the option to save the PDF to a local file location, or use Folder if the file should be attached to an email after export. If you don't define ExportOptions, then it defaults to Folder only.

If you only want one option in the dropdown, and it is not Folder, write ExportOptions="Mail", if you want multiple options write ExportOptions="Mail;Folder".

The latest export option used will be saved as the default option in the next session.
If no previous export has been done, it will default to the first export option defined, meaning, in this case: ExportOptions="Mail;Folder", the default option will be Mail.

UseDirectExport

When set to true, we start the export process directly if there are no issues in the document and therefore doesn't show the AA task-pane. Instead of a document title that can be set in the task-pane, we now use the file name. If omitted or set to false we start AA normally.

Here is an example of how the command could look with the new parameter:

XML
<Cmd case="SkabelonDesign.PowerVision:OpenTaskPane"
               ExportPath="%USERPROFILE%"
               ContrastThreshold="4.5"
               ExportOptions="Mail;Folder"
               UseDirectExport="true"/>

Note:

When you export, it will select the first option by default, which is "Mail" in this case. If you wish to make the default selection the regular export to a folder, you need to rearrange the order of export choices.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article