Files
nearby/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Pdf.2.h
T
2025-07-09 08:58:00 -07:00

40 lines
2.2 KiB
C++

// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.250303.1
#pragma once
#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 WINRT_IMPL_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) {}
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 WINRT_IMPL_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) {}
};
struct WINRT_IMPL_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) {}
};
struct WINRT_IMPL_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();
};
}
#endif