Files
nearby/cpp/platform/impl/windows/generated/winrt/impl/Windows.Data.Pdf.2.h
T
hai007 b1815095dd BEGIN_PUBLIC
Microsoft has updated the winrt library
END_PUBLC

PiperOrigin-RevId: 387168248
2021-07-29 03:27:37 -07:00

55 lines
3.2 KiB
C++

// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210505.3
#ifndef WINRT_Windows_Data_Pdf_2_H
#define WINRT_Windows_Data_Pdf_2_H
#include "winrt/impl/Windows.Foundation.1.h"
#include "winrt/impl/Windows.Storage.1.h"
#include "winrt/impl/Windows.Storage.Streams.1.h"
#include "winrt/impl/Windows.Data.Pdf.1.h"
WINRT_EXPORT namespace winrt::Windows::Data::Pdf
{
struct __declspec(empty_bases) PdfDocument : winrt::Windows::Data::Pdf::IPdfDocument
{
PdfDocument(std::nullptr_t) noexcept {}
PdfDocument(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Data::Pdf::IPdfDocument(ptr, take_ownership_from_abi) {}
PdfDocument(PdfDocument const&) noexcept = default;
PdfDocument(PdfDocument&&) noexcept = default;
PdfDocument& operator=(PdfDocument const&) & noexcept = default;
PdfDocument& operator=(PdfDocument&&) & noexcept = default;
static auto LoadFromFileAsync(winrt::Windows::Storage::IStorageFile const& file);
static auto LoadFromFileAsync(winrt::Windows::Storage::IStorageFile const& file, param::hstring const& password);
static auto LoadFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& inputStream);
static auto LoadFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& inputStream, param::hstring const& password);
};
struct __declspec(empty_bases) PdfPage : winrt::Windows::Data::Pdf::IPdfPage,
impl::require<PdfPage, winrt::Windows::Foundation::IClosable>
{
PdfPage(std::nullptr_t) noexcept {}
PdfPage(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Data::Pdf::IPdfPage(ptr, take_ownership_from_abi) {}
PdfPage(PdfPage const&) noexcept = default;
PdfPage(PdfPage&&) noexcept = default;
PdfPage& operator=(PdfPage const&) & noexcept = default;
PdfPage& operator=(PdfPage&&) & noexcept = default;
};
struct __declspec(empty_bases) PdfPageDimensions : winrt::Windows::Data::Pdf::IPdfPageDimensions
{
PdfPageDimensions(std::nullptr_t) noexcept {}
PdfPageDimensions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Data::Pdf::IPdfPageDimensions(ptr, take_ownership_from_abi) {}
PdfPageDimensions(PdfPageDimensions const&) noexcept = default;
PdfPageDimensions(PdfPageDimensions&&) noexcept = default;
PdfPageDimensions& operator=(PdfPageDimensions const&) & noexcept = default;
PdfPageDimensions& operator=(PdfPageDimensions&&) & noexcept = default;
};
struct __declspec(empty_bases) PdfPageRenderOptions : winrt::Windows::Data::Pdf::IPdfPageRenderOptions
{
PdfPageRenderOptions(std::nullptr_t) noexcept {}
PdfPageRenderOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Data::Pdf::IPdfPageRenderOptions(ptr, take_ownership_from_abi) {}
PdfPageRenderOptions();
PdfPageRenderOptions(PdfPageRenderOptions const&) noexcept = default;
PdfPageRenderOptions(PdfPageRenderOptions&&) noexcept = default;
PdfPageRenderOptions& operator=(PdfPageRenderOptions const&) & noexcept = default;
PdfPageRenderOptions& operator=(PdfPageRenderOptions&&) & noexcept = default;
};
}
#endif