Centralize legacy document image exports

This commit is contained in:
2026-06-04 13:57:32 +02:00
parent ab6223c256
commit 78003923ca
9 changed files with 530 additions and 53 deletions

View File

@@ -0,0 +1,32 @@
#pragma once
#include "app_core/document_export.h"
#include "foundation/result.h"
class App;
namespace pp::panopainter {
[[nodiscard]] pp::foundation::Status execute_legacy_document_export_file(
App& app,
const pp::app::DocumentExportFileTarget& target);
[[nodiscard]] pp::foundation::Status execute_legacy_document_export_stem(
App& app,
pp::app::DocumentExportCollectionKind kind,
const pp::app::DocumentExportStemTarget& target);
[[nodiscard]] pp::foundation::Status execute_legacy_document_export_collection(
App& app,
pp::app::DocumentExportCollectionKind kind,
const pp::app::DocumentExportCollectionTarget& target);
[[nodiscard]] pp::foundation::Status execute_legacy_document_export_depth(
App& app,
std::string_view document_name);
[[nodiscard]] pp::foundation::Status execute_legacy_document_export_cube_faces(
App& app,
std::string_view document_name);
} // namespace pp::panopainter