PoDoFo 1.1.0
Loading...
Searching...
No Matches
PdfFontObject.h
1
7#ifndef PDF_FONT_OBJECT_H
8#define PDF_FONT_OBJECT_H
9
10#include "PdfFont.h"
11
12namespace PoDoFo {
13
14class PODOFO_API PdfFontObject final : public PdfFont
15{
16 friend class PdfFont;
17
18private:
21 PdfFontObject(PdfObject& obj, PdfFontMetricsConstPtr&& metrics,
22 const PdfEncoding& encoding);
23
24private:
25 // To be used by PdfFont
26 static std::unique_ptr<PdfFontObject> Create(PdfObject& obj, PdfObject& descendantObj,
27 PdfFontMetricsConstPtr&& metrics, const PdfEncoding& encoding);
28
29 static std::unique_ptr<PdfFontObject> Create(PdfObject& obj,
30 PdfFontMetricsConstPtr&& metrics, const PdfEncoding& encoding);
31
32public:
33 bool IsObjectLoaded() const override;
34};
35
36}
37
38#endif // PDF_FONT_OBJECT_H
SPDX-FileCopyrightText: (C) 2022 Francesco Pretto ceztko@gmail.com SPDX-License-Identifier: LGPL-2....
Definition basetypes.h:16
@ Create
Create a new file or truncate existing one for writing/reading.