mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-11 14:00:32 +08:00
git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@63069 954022d7-b5bf-4e40-9824-e11837661b57
39 lines
761 B
C++
39 lines
761 B
C++
#ifndef _PDF_WRITER_SRC_OUTLINE_H
|
|
#define _PDF_WRITER_SRC_OUTLINE_H
|
|
|
|
#include "Objects.h"
|
|
|
|
namespace PdfWriter
|
|
{
|
|
class CDestination;
|
|
|
|
class COutline : public CDictObject
|
|
{
|
|
public:
|
|
COutline(CXref* pXref);
|
|
COutline(COutline* pParent, const char* sTitle, CXref* pXref);
|
|
|
|
void SetDestination(CDestination* pDestination);
|
|
void SetOpened(bool bOpened);
|
|
void BeforeWrite();
|
|
EDictType GetDictType() const
|
|
{
|
|
return dict_type_OUTLINE;
|
|
}
|
|
COutline* GetFirst();
|
|
COutline* GetLast();
|
|
COutline* GetPrev();
|
|
COutline* GetNext();
|
|
COutline* GetParent();
|
|
bool GetOpened();
|
|
|
|
private:
|
|
|
|
void AddChild(COutline* pItem);
|
|
unsigned int CountChild();
|
|
};
|
|
}
|
|
|
|
#endif // _PDF_WRITER_SRC_OUTLINE_H
|
|
|