﻿// C++/WinRT v1.0.180821.2

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

#pragma once

WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Automation::Text {

enum class TextPatternRangeEndpoint : int32_t
{
    Start = 0,
    End = 1,
};

enum class TextUnit : int32_t
{
    Character = 0,
    Format = 1,
    Word = 2,
    Line = 3,
    Paragraph = 4,
    Page = 5,
    Document = 6,
};

}

namespace winrt::impl {

template <> struct category<Windows::UI::Xaml::Automation::Text::TextPatternRangeEndpoint>{ using type = enum_category; };
template <> struct category<Windows::UI::Xaml::Automation::Text::TextUnit>{ using type = enum_category; };
template <> struct name<Windows::UI::Xaml::Automation::Text::TextPatternRangeEndpoint>{ static constexpr auto & value{ L"Windows.UI.Xaml.Automation.Text.TextPatternRangeEndpoint" }; };
template <> struct name<Windows::UI::Xaml::Automation::Text::TextUnit>{ static constexpr auto & value{ L"Windows.UI.Xaml.Automation.Text.TextUnit" }; };

}
