mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 03:37:59 +01:00
## Summary of the Pull Request This PR enables user to preview PDF files in the Explorer preview pane and in Outlook. **What is this about:** Windows does not support out of the box experience for previewing PDF files in the preview pane. Users need to install third-party software like Adobe Acrobat reader. The PdfPreviewHandler module enbales the user to preview PDF files. **How does someone test / validate:** Run the installer, open Explorer and select a PDF file, enable the preview pane. Maybe need to remove third-party PDF software. ## Quality Checklist - [X] **Linked issue:** #3548 - [ ] **Communication:** I've discussed this with core contributors in the issue. - [X] **Tests:** Added/updated and all pass - [X] **Installer:** Added/updated and all pass - [X] **Localization:** All end user facing strings can be localized - [ ] **Docs:** Added/ updated - [x] **Binaries:** Any new files are added to WXS / YML - [ ] No new binaries - [x] YML for signing - [x] WXS for installer
24 lines
825 B
C#
24 lines
825 B
C#
// Copyright (c) Microsoft Corporation
|
|
// The Microsoft Corporation licenses this file to you under the MIT license.
|
|
// See the LICENSE file in the project root for more information.
|
|
|
|
using Microsoft.PowerToys.Telemetry;
|
|
using Microsoft.PowerToys.Telemetry.Events;
|
|
|
|
namespace Microsoft.PowerToys.PreviewHandler.Pdf.Telemetry.Events
|
|
{
|
|
/// <summary>
|
|
/// A telemetry event that is triggered when an error occurs while attempting to view a markdown file in the preview pane.
|
|
/// </summary>
|
|
public class PdfFilePreviewError : EventBase, IEvent
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the error message.
|
|
/// </summary>
|
|
public string Message { get; set; }
|
|
|
|
/// <inheritdoc/>
|
|
public PartA_PrivTags PartA_PrivTags => PartA_PrivTags.ProductAndServicePerformance;
|
|
}
|
|
}
|