poppler-layer.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /* poppler-layer.h: glib interface to poppler
  2. *
  3. * Copyright (C) 2008 Carlos Garcia Campos <carlosgc@gnome.org>
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation; either version 2, or (at your option)
  8. * any later version.
  9. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with this program; if not, write to the Free Software
  17. * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
  18. */
  19. #ifndef __POPPLER_LAYER_H__
  20. #define __POPPLER_LAYER_H__
  21. #include <glib-object.h>
  22. #include "poppler.h"
  23. G_BEGIN_DECLS
  24. #define POPPLER_TYPE_LAYER (poppler_layer_get_type())
  25. #define POPPLER_LAYER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), POPPLER_TYPE_LAYER, PopplerLayer))
  26. #define POPPLER_IS_LAYER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), POPPLER_TYPE_LAYER))
  27. POPPLER_PUBLIC
  28. GType poppler_layer_get_type(void) G_GNUC_CONST;
  29. POPPLER_PUBLIC
  30. const gchar *poppler_layer_get_title(PopplerLayer *layer);
  31. POPPLER_PUBLIC
  32. gboolean poppler_layer_is_visible(PopplerLayer *layer);
  33. POPPLER_PUBLIC
  34. void poppler_layer_show(PopplerLayer *layer);
  35. POPPLER_PUBLIC
  36. void poppler_layer_hide(PopplerLayer *layer);
  37. POPPLER_PUBLIC
  38. gboolean poppler_layer_is_parent(PopplerLayer *layer);
  39. POPPLER_PUBLIC
  40. gint poppler_layer_get_radio_button_group_id(PopplerLayer *layer);
  41. G_END_DECLS
  42. #endif /* __POPPLER_LAYER_H__ */