26 lines
473 B
C++
26 lines
473 B
C++
#pragma once
|
|
|
|
#include "PdfObject.h"
|
|
|
|
#include <vector>
|
|
|
|
class PdfOutline : public PdfObject
|
|
{
|
|
public:
|
|
std::string toString(PdfXRefTable* xRefTable) override;
|
|
};
|
|
using PdfOutlinePtr = std::unique_ptr<PdfOutline>;
|
|
|
|
class PdfOutlineCollection : public PdfObject
|
|
{
|
|
public:
|
|
|
|
unsigned indexObjects(unsigned count) override;
|
|
|
|
std::string toString(PdfXRefTable* xRefTable) override;
|
|
|
|
void updateDictionary();
|
|
|
|
private:
|
|
std::vector<PdfOutlinePtr> mOutlines;
|
|
};
|