2
* Copyright (C) 2009, Pino Toscano <pino@kde.org>
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2, or (at your option)
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
22
#include "poppler-global.h"
31
class toc_item_private;
33
class POPPLER_CPP_EXPORT toc : public poppler::noncopyable
38
toc_item* root() const;
45
friend class toc_private;
49
class POPPLER_CPP_EXPORT toc_item : public poppler::noncopyable
52
typedef std::vector<toc_item *>::const_iterator iterator;
56
ustring title() const;
59
std::vector<toc_item *> children() const;
60
iterator children_begin() const;
61
iterator children_end() const;
68
friend class toc_private;
69
friend class toc_item_private;