mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-02-23 21:27:14 +01:00
Switched to POCO library for unified platform/library interface. Deprecated the external module API. It was creating more problems than solving. Removed most built-in libraries in favor of system libraries for easier maintenance. Cleaned and secured code with help from static analyzers.
50 lines
706 B
C++
50 lines
706 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
|