mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-02-23 21:27:14 +01:00
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
|