Add PDF writer.
This commit is contained in:
parent
c05b7b6315
commit
9c116b1efd
72 changed files with 1819 additions and 114 deletions
26
src/publishing/pdf/PdfOutline.h
Normal file
26
src/publishing/pdf/PdfOutline.h
Normal file
|
@ -0,0 +1,26 @@
|
|||
#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;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue