mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 02:18:04 +01:00
50 lines
705 B
C++
50 lines
705 B
C++
//
|
|
// Outline.cpp
|
|
//
|
|
// Library: PDF
|
|
// Package: PDFCore
|
|
// Module: Outline
|
|
//
|
|
// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
|
|
// and Contributors.
|
|
//
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
//
|
|
|
|
|
|
#include "Poco/PDF/Outline.h"
|
|
#include "Poco/PDF/PDFException.h"
|
|
|
|
|
|
namespace Poco {
|
|
namespace PDF {
|
|
|
|
|
|
Outline::Outline(HPDF_Doc* pPDF, const HPDF_Outline& outline, const std::string& name):
|
|
Resource<HPDF_Outline>(pPDF, outline, name)
|
|
{
|
|
open();
|
|
}
|
|
|
|
|
|
Outline::~Outline()
|
|
{
|
|
}
|
|
|
|
|
|
Outline::Outline(const Outline& other):
|
|
Resource<HPDF_Outline>(other)
|
|
{
|
|
}
|
|
|
|
|
|
Outline& Outline::operator = (const Outline& outline)
|
|
{
|
|
Outline tmp(outline);
|
|
swap(tmp);
|
|
return *this;
|
|
}
|
|
|
|
|
|
} } // namespace Poco::PDF
|