1//
2// TextAnnotation.cpp
3//
4// Library: PDF
5// Package: PDFCore
6// Module: TextAnnotation
7//
8// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
9// and Contributors.
10//
11// SPDX-License-Identifier: BSL-1.0
12//
13
14
15#include "Poco/PDF/TextAnnotation.h"
16#include "Poco/PDF/PDFException.h"
17
18
19namespace Poco {
20namespace PDF {
21
22
23TextAnnotation::TextAnnotation(HPDF_Doc* pPDF,
24 const HPDF_Annotation& annotation,
25 const std::string& name):
26 Resource<HPDF_Annotation>(pPDF, annotation, name)
27{
28 open();
29}
30
31
32TextAnnotation::~TextAnnotation()
33{
34 close();
35}
36
37
38} } // namespace Poco::PDF
39