EN
RU
Portals
0.7.0 · dev
0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Toggle main menu visibility
Loading...
Searching...
No Matches
ui_document_export.hpp
1
// Copyright (c) 2026 ttldtor.
2
// SPDX-License-Identifier: BSL-1.0
3
#pragma once
4
5
#include <portals/document_export.hpp>
6
#include <portals/ui_ref.hpp>
7
8
namespace
portals::ui {
17
std::expected<void, ManagedError> startExport(
Ref<DocumentView>
viewer, std::filesystem::path output,
18
std::function<
void
(
const
DocumentExportResult &)> completed = {},
19
std::source_location origin = std::source_location::current());
25
bool
exportFile(
Ref<DocumentView>
viewer, std::filesystem::path output,
26
std::function<
void
(
const
DocumentExportResult &)> completed = {},
27
std::source_location origin = std::source_location::current());
28
}
// namespace portals::ui
portals::ui::Ref
Typed Widget observation; explicit composite specializations reuse their existing weak facades.
Definition
ui_ref.hpp:761
include
portals
ui_document_export.hpp