Commit 25db4283 authored by Kristian Høgsberg's avatar Kristian Høgsberg

2005-06-15 Kristian Høgsberg <krh@redhat.com>

        * glib/poppler-document.cc:
        * glib/poppler-document.h: Patch from Marco to get initial status
        (open or closed) for bookmark subtrees.
-----------------------------------------------------------
parent e54e306a
2005-06-15 Kristian Høgsberg <krh@redhat.com>
* glib/poppler-document.cc:
* glib/poppler-document.h: Patch from Marco to get initial status
(open or closed) for bookmark subtrees.
2005-06-13 Kristian Høgsberg <krh@redhat.com> 2005-06-13 Kristian Høgsberg <krh@redhat.com>
* glib/poppler-document.cc: * glib/poppler-document.cc:
......
...@@ -699,6 +699,15 @@ unicode_to_char (Unicode *unicode, ...@@ -699,6 +699,15 @@ unicode_to_char (Unicode *unicode,
return g_strdup (gstr.getCString ()); return g_strdup (gstr.getCString ());
} }
gboolean
poppler_index_iter_is_open (PopplerIndexIter *iter)
{
OutlineItem *item;
item = (OutlineItem *)iter->items->get (iter->index);
return item->isOpen();
}
PopplerAction * PopplerAction *
poppler_index_iter_get_action (PopplerIndexIter *iter) poppler_index_iter_get_action (PopplerIndexIter *iter)
......
...@@ -100,6 +100,7 @@ PopplerIndexIter *poppler_index_iter_copy (PopplerIndexIter *iter); ...@@ -100,6 +100,7 @@ PopplerIndexIter *poppler_index_iter_copy (PopplerIndexIter *iter);
void poppler_index_iter_free (PopplerIndexIter *iter); void poppler_index_iter_free (PopplerIndexIter *iter);
PopplerIndexIter *poppler_index_iter_get_child (PopplerIndexIter *parent); PopplerIndexIter *poppler_index_iter_get_child (PopplerIndexIter *parent);
gboolean poppler_index_iter_is_open (PopplerIndexIter *iter);
PopplerAction *poppler_index_iter_get_action (PopplerIndexIter *iter); PopplerAction *poppler_index_iter_get_action (PopplerIndexIter *iter);
gboolean poppler_index_iter_next (PopplerIndexIter *iter); gboolean poppler_index_iter_next (PopplerIndexIter *iter);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment