Browse Source

first commit

master
Shaggy 8 years ago
commit
47f18d68aa
  1. 2
      .gitignore
  2. 9
      README
  3. 28
      anypaper/PKGBUILD
  4. 42
      anyterm/PKGBUILD
  5. BIN
      anyterm/anyterm-1.1.29.tbz2
  6. 6
      anyterm/anytermd.conf.d
  7. 40
      anyterm/anytermd.rc.d
  8. 12
      anyterm/boost-build.patch
  9. 33
      evince2-light/0001-tiff-fix-compile-warning.patch
  10. 61
      evince2-light/PKGBUILD
  11. BIN
      evince2-light/evince-2.32.0.tar.bz2
  12. BIN
      evince2-light/evince2-light-2.32.0-7-x86_64.pkg.tar.xz
  13. BIN
      evince2-light/evince2-light-2.32.0-7.src.tar.gz
  14. 13
      evince2-light/evince2-light.install
  15. 12
      evince2-light/kill-missing-gconf-complaints.patch
  16. 32
      evince2-light/libview-crash.patch
  17. 13
      evince2-light/pkg/evince2-light/.INSTALL
  18. BIN
      evince2-light/pkg/evince2-light/.MTREE
  19. 32
      evince2-light/pkg/evince2-light/.PKGINFO
  20. BIN
      evince2-light/pkg/evince2-light/usr/bin/evince
  21. BIN
      evince2-light/pkg/evince2-light/usr/bin/evince-previewer
  22. BIN
      evince2-light/pkg/evince2-light/usr/bin/evince-thumbnailer
  23. 62
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/evince-document.h
  24. 34
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/evince-view.h
  25. 161
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-annotation.h
  26. 65
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-async-renderer.h
  27. 79
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-attachment.h
  28. 48
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-backends-manager.h
  29. 99
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-document-annotations.h
  30. 59
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-document-attachments.h
  31. 39
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-document-factory.h
  32. 65
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-document-find.h
  33. 78
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-document-fonts.h
  34. 128
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-document-forms.h
  35. 65
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-document-images.h
  36. 154
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-document-info.h
  37. 85
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-document-layers.h
  38. 87
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-document-links.h
  39. 67
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-document-misc.h
  40. 59
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-document-print.h
  41. 67
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-document-security.h
  42. 75
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-document-text.h
  43. 69
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-document-thumbnails.h
  44. 64
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-document-transition.h
  45. 84
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-document-type-builtins.h
  46. 303
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-document.h
  47. 101
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-file-exporter.h
  48. 71
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-file-helpers.h
  49. 214
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-form-field.h
  50. 68
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-image.h
  51. 41
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-init.h
  52. 62
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-layer.h
  53. 73
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-link-action.h
  54. 95
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-link-dest.h
  55. 55
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-link.h
  56. 53
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-mapping-list.h
  57. 63
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-page.h
  58. 70
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-render-context.h
  59. 93
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-selection.h
  60. 87
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-transition-effect.h
  61. 69
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-version.h
  62. 87
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/libview/ev-document-model.h
  63. 48
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/libview/ev-job-scheduler.h
  64. 502
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/libview/ev-jobs.h
  65. 71
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/libview/ev-print-operation.h
  66. 57
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/libview/ev-stock-icons.h
  67. 51
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/libview/ev-view-presentation.h
  68. 38
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/libview/ev-view-type-builtins.h
  69. 115
      evince2-light/pkg/evince2-light/usr/include/evince/2.32/libview/ev-view.h
  70. 84
      evince2-light/pkg/evince2-light/usr/lib/evince/3/backends/comicsdocument.evince-backend
  71. 55
      evince2-light/pkg/evince2-light/usr/lib/evince/3/backends/djvudocument.evince-backend
  72. 76
      evince2-light/pkg/evince2-light/usr/lib/evince/3/backends/impressdocument.evince-backend
  73. BIN
      evince2-light/pkg/evince2-light/usr/lib/evince/3/backends/libcomicsdocument.so
  74. BIN
      evince2-light/pkg/evince2-light/usr/lib/evince/3/backends/libdjvudocument.so
  75. BIN
      evince2-light/pkg/evince2-light/usr/lib/evince/3/backends/libimpressdocument.so
  76. BIN
      evince2-light/pkg/evince2-light/usr/lib/evince/3/backends/libpdfdocument.so
  77. BIN
      evince2-light/pkg/evince2-light/usr/lib/evince/3/backends/libpixbufdocument.so
  78. BIN
      evince2-light/pkg/evince2-light/usr/lib/evince/3/backends/libpsdocument.so
  79. BIN
      evince2-light/pkg/evince2-light/usr/lib/evince/3/backends/libtiffdocument.so
  80. 88
      evince2-light/pkg/evince2-light/usr/lib/evince/3/backends/pdfdocument.evince-backend
  81. 14
      evince2-light/pkg/evince2-light/usr/lib/evince/3/backends/pixbufdocument.evince-backend
  82. 86
      evince2-light/pkg/evince2-light/usr/lib/evince/3/backends/psdocument.evince-backend
  83. 4
      evince2-light/pkg/evince2-light/usr/lib/evince/3/backends/tiffdocument.evince-backend
  84. BIN
      evince2-light/pkg/evince2-light/usr/lib/evince/evince-convert-metadata
  85. BIN
      evince2-light/pkg/evince2-light/usr/lib/evince/evinced
  86. 1
      evince2-light/pkg/evince2-light/usr/lib/libevdocument.so
  87. 1
      evince2-light/pkg/evince2-light/usr/lib/libevdocument.so.3
  88. BIN
      evince2-light/pkg/evince2-light/usr/lib/libevdocument.so.3.0.0
  89. 1
      evince2-light/pkg/evince2-light/usr/lib/libevview.so
  90. 1
      evince2-light/pkg/evince2-light/usr/lib/libevview.so.3
  91. BIN
      evince2-light/pkg/evince2-light/usr/lib/libevview.so.3.0.0
  92. 12
      evince2-light/pkg/evince2-light/usr/lib/pkgconfig/evince-document-2.32.pc
  93. 11
      evince2-light/pkg/evince2-light/usr/lib/pkgconfig/evince-view-2.32.pc
  94. 150
      evince2-light/pkg/evince2-light/usr/share/applications/evince.desktop
  95. 3
      evince2-light/pkg/evince2-light/usr/share/dbus-1/services/org.gnome.evince.Daemon.service
  96. 34
      evince2-light/pkg/evince2-light/usr/share/evince/evince-previewer-ui.xml
  97. 39
      evince2-light/pkg/evince2-light/usr/share/evince/evince-toolbar.xml
  98. 138
      evince2-light/pkg/evince2-light/usr/share/evince/evince-ui.xml
  99. BIN
      evince2-light/pkg/evince2-light/usr/share/evince/hand-open.png
  100. BIN
      evince2-light/pkg/evince2-light/usr/share/evince/icons/hicolor/16x16/actions/object-rotate-left.png
  101. Some files were not shown because too many files have changed in this diff Show More

2
.gitignore vendored

@ -0,0 +1,2 @@ @@ -0,0 +1,2 @@
*.exe
*/src

9
README

@ -0,0 +1,9 @@ @@ -0,0 +1,9 @@
= AUR Stash =
Basicly a stash for PKGBUILD files.
Running yaourt -G name in this dir will pull a pkgbuild automaticly.

28
anypaper/PKGBUILD

@ -0,0 +1,28 @@ @@ -0,0 +1,28 @@
# Maintainer: John "ShaggyTwoDope" Jenkins <twodopeshaggy at gmail dot com>
pkgname=anypaper
pkgver=2.4
pkgrel=1
pkgdesc="Frontend for feh and other wallpaper setting tools."
arch=('i686' 'x86_64')
url="http://anypaper.sourceforge.net"
license=('GPL')
depends=('gtk2' 'libpng' 'feh')
makedepends=('automake' 'autoconf')
changelog=
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
noextract=()
md5sums=('bb6b520725c7842424de2be04a59c541')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}

42
anyterm/PKGBUILD

@ -0,0 +1,42 @@ @@ -0,0 +1,42 @@
# Maintainer: Kaiting Chen <kaiting.chen@kiwilight.com>
pkgname='anyterm'
pkgver='1.1.29'
pkgrel='3'
pkgdesc='A web based terminal emulator running on AJAX'
arch=('i686' 'x86_64')
url='http://anyterm.org/'
license=('GPL')
backup=('etc/conf.d/anytermd')
depends=('boost' 'zlib')
makedepends=('subversion')
md5sums=('65a4253829f70c47c2c48d2a7d54ba97'
'57f53e528de667fabcc1a1100e99c478'
'a5c676b3cd443ff36dce5c6474ba3c3f')
source=('boost-build.patch'
'anytermd.rc.d' 'anytermd.conf.d')
build() {
_source='http://svn.anyterm.org/anyterm/tags/releases'
svn co "$_source/1.1/$pkgver" $srcdir/$pkgname-$pkgver
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np1 -i "${srcdir}/boost-build.patch"
make
cd browser; for file in *; do install -Dm644 \
${file} ${pkgdir}/usr/share/anyterm/${file}
done; cd ..
rm "${pkgdir}/usr/share/anyterm/README.images"
install -Dm644 ${srcdir}/anytermd.conf.d \
${pkgdir}/etc/conf.d/anytermd
install -Dm755 ${srcdir}/anytermd.rc.d \
${pkgdir}/etc/rc.d/anytermd
install -Dm644 anytermd.1 \
${pkgdir}/usr/share/man/man1/anytermd.1
install -Dm755 anytermd ${pkgdir}/usr/sbin/anytermd
}

BIN
anyterm/anyterm-1.1.29.tbz2

Binary file not shown.

6
anyterm/anytermd.conf.d

@ -0,0 +1,6 @@ @@ -0,0 +1,6 @@
### /etc/default/anytermd: Initialization configuration for anytermd
ANYTERMD_COMMAND="/bin/login"
ANYTERMD_OPTIONS=""
### /etc/default/anytermd: Initialization configuration for anytermd

40
anyterm/anytermd.rc.d

@ -0,0 +1,40 @@ @@ -0,0 +1,40 @@
#! /bin/bash
### /etc/rc.d/anytermd: Initscript for Anyterm
. /etc/conf.d/anytermd
. /etc/rc.conf
. /etc/rc.d/functions
PID=`pidof -o %PPID /usr/sbin/anytermd`
case "$1" in
start)
stat_busy "Starting Anyterm Daemon"
[ -z "$PID" ] && /usr/sbin/anytermd \
$ANYTERMD_OPTIONS \
-c "$ANYTERMD_COMMAND" &> /dev/null
if [ $? -gt 0 ]; then
stat_fail
else stat_done; add_daemon anytermd
echo $PID > /var/run/anytermd.pid
fi ;;
stop)
stat_busy "Stopping Anyterm Daemon"
[ ! -z "$PID" ] \
&& kill $PID &>/dev/null
if [ $? -gt 0 ]; then
stat_fail
else
stat_done; rm_daemon anytermd; fi ;;
restart)
$0 stop
sleep 1
$0 start ;;
*)
echo "usage: $0 {start|stop|restart}"
esac
exit 0
### /etc/rc.d/anytermd: Initscript for Anyterm

12
anyterm/boost-build.patch

@ -0,0 +1,12 @@ @@ -0,0 +1,12 @@
diff -ur anyterm-1.1.29.backup//libpbe/src/SmtpClient.cc anyterm-1.1.29/libpbe/src/SmtpClient.cc
--- anyterm-1.1.29.backup//libpbe/src/SmtpClient.cc 2010-04-24 22:10:22.163990187 -0400
+++ anyterm-1.1.29/libpbe/src/SmtpClient.cc 2010-04-24 22:11:36.664229627 -0400
@@ -22,6 +22,8 @@
#include <syslog.h>
#include <unistd.h>
+#include <stdio.h>
+#include <stdlib.h>
#ifdef __OpenBSD__
// Is this really needed?

33
evince2-light/0001-tiff-fix-compile-warning.patch

@ -0,0 +1,33 @@ @@ -0,0 +1,33 @@
From 00b5e55c90477eeac02bec58f032cb6916a1eb5c Mon Sep 17 00:00:00 2001
From: Hib Eris <hib@hiberis.nl>
Date: Mon, 20 Feb 2012 21:36:16 +0100
Subject: [PATCH] tiff: fix compile warning
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Upstream-Status: Backport
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
backend/tiff/tiff2ps.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/backend/tiff/tiff2ps.c b/backend/tiff/tiff2ps.c
index c0dc0bf..fc63c2e 100644
--- a/backend/tiff/tiff2ps.c
+++ b/backend/tiff/tiff2ps.c
@@ -1127,8 +1127,8 @@ PS_Lvl2page(TIFF2PSContext* ctx, TIFF* tif, uint32 w, uint32 h)
}
buf_data = (unsigned char *)_TIFFmalloc(chunk_size);
if (!buf_data) {
- TIFFError(ctx->filename, "Can't alloc %u bytes for %s.",
- chunk_size, tiled_image ? "tiles" : "strips");
+ TIFFError(ctx->filename, "Can't alloc %u bytes for %s.",
+ (uint) chunk_size, tiled_image ? "tiles" : "strips");
return(FALSE);
}
--
1.7.6.5

61
evince2-light/PKGBUILD

@ -0,0 +1,61 @@ @@ -0,0 +1,61 @@
# Maintainer: John Jenkins twodopeshaggy@gmail.com
# Contributor: megadriver <megadriver at gmx dot com>
# Contributor: Leonid.I
# This is basically the old evince-gtk PKGBUILD by pizzapunk
# This one DOES conflict with evince from [extra], on purpose :)
pkgname=evince2-light
pkgver=2.32.0
pkgrel=7
pkgdesc="Simply a document viewer (GTK2 version, GNOME free!)"
arch=('i686' 'x86_64')
url="http://projects.gnome.org/evince/"
license=('GPL')
depends=('gtk2' 'poppler-glib' 'libspectre' 'djvulibre' 't1lib' 'gsfonts' 'hicolor-icon-theme' 'desktop-file-utils')
makedepends=('intltool')
provides=('evince')
conflicts=('evince')
options=('!libtool')
install=evince2-light.install
source=("http://ftp.gnome.org/pub/gnome/sources/evince/2.32/evince-$pkgver.tar.bz2"
update-poppler.patch libview-crash.patch kill-missing-gconf-complaints.patch 0001-tiff-fix-compile-warning.patch)
md5sums=('ebc3ce6df8dcbf29cb9492f8dd031319'
'10630dcef4486c00e58ef93963b4177f'
'98139149793acd30188e037780e9a2cf'
'0db697ba8cdca1deb889d36aaacf4f52'
"339d61e12fd953913e29c4ee8e908f54")
build() {
cd "$srcdir"/evince-$pkgver
patch -Np1 -i "$srcdir/libview-crash.patch"
patch -Np1 -i "$srcdir/update-poppler.patch"
patch -Np1 -i "$srcdir/kill-missing-gconf-complaints.patch"
patch -Np1 -i "$srcdir/0001-tiff-fix-compile-warning.patch"
sed -i -e '63d' configure.ac
autoreconf -fi
# Don't depend on gnome-icon-theme
sed -i '/gnome-icon-theme/d' configure
./configure --prefix=/usr \
--libexecdir=/usr/lib/evince \
--disable-static \
--disable-schemas-compile \
--disable-tests \
--disable-nautilus \
--disable-scrollkeeper \
--disable-help \
--enable-t1lib \
--enable-pixbuf \
--enable-impress \
--without-keyring \
--without-gconf
make LIBS=-lICE
}
package() {
cd "$srcdir"/evince-$pkgver
make DESTDIR="$pkgdir" install
rm -rf $pkgdir/usr/share/GConf
}

BIN
evince2-light/evince-2.32.0.tar.bz2

Binary file not shown.

BIN
evince2-light/evince2-light-2.32.0-7-x86_64.pkg.tar.xz

Binary file not shown.

BIN
evince2-light/evince2-light-2.32.0-7.src.tar.gz

Binary file not shown.

13
evince2-light/evince2-light.install

@ -0,0 +1,13 @@ @@ -0,0 +1,13 @@
post_install() {
glib-compile-schemas usr/share/glib-2.0/schemas &> /dev/null
update-desktop-database -q
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}

12
evince2-light/kill-missing-gconf-complaints.patch

@ -0,0 +1,12 @@ @@ -0,0 +1,12 @@
--- a/configure.ac 2010-09-27 20:48:44.000000000 +0200
+++ b/configure.ac 2012-03-20 22:01:07.676509469 +0100
@@ -11,6 +11,9 @@
# The evince API version
m4_define([ev_api_version], [2.32])
+# Kill gconf
+m4_pattern_allow([AM_GCONF_SOURCE_2],[GCONF_SCHEMAS_INSTALL])
+
# Libtool versioning. The backend and view libraries have separate versions.
# Before making a release, the libtool version should be modified.
# The string is of the form C:R:A.

32
evince2-light/libview-crash.patch

@ -0,0 +1,32 @@ @@ -0,0 +1,32 @@
commit a3b87cb28e46958b37e384a47604032ea0889807
Author: Carlos Garcia Campos <carlosgc@gnome.org>
Date: Sun Nov 21 12:27:21 2010 +0100
libview: Make sure we have a valid page range before getting/setting selection list
Fixes bug #630999.
diff --git a/libview/ev-pixbuf-cache.c b/libview/ev-pixbuf-cache.c
index 367f70d..ee68354 100644
--- a/libview/ev-pixbuf-cache.c
+++ b/libview/ev-pixbuf-cache.c
@@ -1035,6 +1035,9 @@ ev_pixbuf_cache_set_selection_list (EvPixbufCache *pixbuf_cache,
if (!EV_IS_SELECTION (pixbuf_cache->document))
return;
+ if (pixbuf_cache->start_page == -1 || pixbuf_cache->end_page == -1)
+ return;
+
/* We check each area to see what needs updating, and what needs freeing; */
page = pixbuf_cache->start_page - pixbuf_cache->preload_cache_size;
for (i = 0; i < pixbuf_cache->preload_cache_size; i++) {
@@ -1114,6 +1117,9 @@ ev_pixbuf_cache_get_selection_list (EvPixbufCache *pixbuf_cache)
g_return_val_if_fail (EV_IS_PIXBUF_CACHE (pixbuf_cache), NULL);
+ if (pixbuf_cache->start_page == -1 || pixbuf_cache->end_page == -1)
+ return NULL;
+
/* We check each area to see what needs updating, and what needs freeing; */
page = pixbuf_cache->start_page - pixbuf_cache->preload_cache_size;
for (i = 0; i < pixbuf_cache->preload_cache_size; i++) {

13
evince2-light/pkg/evince2-light/.INSTALL

@ -0,0 +1,13 @@ @@ -0,0 +1,13 @@
post_install() {
glib-compile-schemas usr/share/glib-2.0/schemas &> /dev/null
update-desktop-database -q
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}

BIN
evince2-light/pkg/evince2-light/.MTREE

Binary file not shown.

32
evince2-light/pkg/evince2-light/.PKGINFO

@ -0,0 +1,32 @@ @@ -0,0 +1,32 @@
# Generated by makepkg 4.1.2
# using fakeroot version 1.20.2
# Sat Dec 13 04:44:04 UTC 2014
pkgname = evince2-light
pkgver = 2.32.0-7
pkgdesc = Simply a document viewer (GTK2 version, GNOME free!)
url = http://projects.gnome.org/evince/
builddate = 1418445844
packager = Unknown Packager
size = 6447104
arch = x86_64
license = GPL
conflict = evince
provides = evince
depend = gtk2
depend = poppler-glib
depend = libspectre
depend = djvulibre
depend = t1lib
depend = gsfonts
depend = hicolor-icon-theme
depend = desktop-file-utils
makedepend = intltool
makepkgopt = strip
makepkgopt = docs
makepkgopt = !libtool
makepkgopt = !staticlibs
makepkgopt = emptydirs
makepkgopt = zipman
makepkgopt = purge
makepkgopt = !upx
makepkgopt = !debug

BIN
evince2-light/pkg/evince2-light/usr/bin/evince

Binary file not shown.

BIN
evince2-light/pkg/evince2-light/usr/bin/evince-previewer

Binary file not shown.

BIN
evince2-light/pkg/evince2-light/usr/bin/evince-thumbnailer

Binary file not shown.

62
evince2-light/pkg/evince2-light/usr/include/evince/2.32/evince-document.h

@ -0,0 +1,62 @@ @@ -0,0 +1,62 @@
/*
* Copyright © 2009 Christian Persch
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by the
* Free Software Foundation; either version 2.1 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
* General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef EVINCE_DOCUMENT_H
#define EVINCE_DOCUMENT_H
#define __EV_EVINCE_DOCUMENT_H_INSIDE__
#include <libdocument/ev-annotation.h>
#include <libdocument/ev-async-renderer.h>
#include <libdocument/ev-attachment.h>
#include <libdocument/ev-backends-manager.h>
#include <libdocument/ev-document-attachments.h>
#include <libdocument/ev-document-factory.h>
#include <libdocument/ev-document-find.h>
#include <libdocument/ev-document-fonts.h>
#include <libdocument/ev-document-forms.h>
#include <libdocument/ev-document.h>
#include <libdocument/ev-document-images.h>
#include <libdocument/ev-document-info.h>
#include <libdocument/ev-document-layers.h>
#include <libdocument/ev-document-print.h>
#include <libdocument/ev-document-links.h>
#include <libdocument/ev-document-misc.h>
#include <libdocument/ev-document-security.h>
#include <libdocument/ev-document-thumbnails.h>
#include <libdocument/ev-document-transition.h>
#include <libdocument/ev-document-type-builtins.h>
#include <libdocument/ev-file-exporter.h>
#include <libdocument/ev-file-helpers.h>
#include <libdocument/ev-form-field.h>
#include <libdocument/ev-image.h>
#include <libdocument/ev-init.h>
#include <libdocument/ev-layer.h>
#include <libdocument/ev-link-action.h>
#include <libdocument/ev-link-dest.h>
#include <libdocument/ev-link.h>
#include <libdocument/ev-mapping-list.h>
#include <libdocument/ev-page.h>
#include <libdocument/ev-render-context.h>
#include <libdocument/ev-selection.h>
#include <libdocument/ev-transition-effect.h>
#include <libdocument/ev-version.h>
#undef __EV_EVINCE_DOCUMENT_H_INSIDE__
#endif /* !EVINCE_DOCUMENT_H */

34
evince2-light/pkg/evince2-light/usr/include/evince/2.32/evince-view.h

@ -0,0 +1,34 @@ @@ -0,0 +1,34 @@
/*
* Copyright © 2009 Christian Persch
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by the
* Free Software Foundation; either version 2.1 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
* General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef EVINCE_VIEW_H
#define EVINCE_VIEW_H
#define __EV_EVINCE_VIEW_H_INSIDE__
#include <libview/ev-job-scheduler.h>
#include <libview/ev-jobs.h>
#include <libview/ev-document-model.h>
#include <libview/ev-print-operation.h>
#include <libview/ev-view.h>
#include <libview/ev-view-type-builtins.h>
#include <libview/ev-stock-icons.h>
#undef __EV_EVINCE_VIEW_H_INSIDE__
#endif /* !EVINCE_VIEW_H */

161
evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-annotation.h

@ -0,0 +1,161 @@ @@ -0,0 +1,161 @@
/* ev-annotation.h
* this file is part of evince, a gnome document viewer
*
* Copyright (C) 2009 Carlos Garcia Campos <carlosgc@gnome.org>
* Copyright (C) 2007 Iñigo Martinez <inigomartinez@gmail.com>
*
* Evince is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* Evince is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_ANNOTATION_H
#define EV_ANNOTATION_H
#include <glib-object.h>
#include "ev-document.h"
#include "ev-attachment.h"
G_BEGIN_DECLS
/* EvAnnotation */
#define EV_TYPE_ANNOTATION (ev_annotation_get_type())
#define EV_ANNOTATION(object) (G_TYPE_CHECK_INSTANCE_CAST((object), EV_TYPE_ANNOTATION, EvAnnotation))
#define EV_ANNOTATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), EV_TYPE_ANNOTATION, EvAnnotationClass))
#define EV_IS_ANNOTATION(object) (G_TYPE_CHECK_INSTANCE_TYPE((object), EV_TYPE_ANNOTATION))
#define EV_IS_ANNOTATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), EV_TYPE_ANNOTATION))
#define EV_ANNOTATION_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS((object), EV_TYPE_ANNOTATION, EvAnnotationClass))
/* EvAnnotationMarkup */
#define EV_TYPE_ANNOTATION_MARKUP (ev_annotation_markup_get_type ())
#define EV_ANNOTATION_MARKUP(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EV_TYPE_ANNOTATION_MARKUP, EvAnnotationMarkup))
#define EV_ANNOTATION_MARKUP_IFACE(k) (G_TYPE_CHECK_CLASS_CAST((k), EV_TYPE_ANNOTATION_MARKUP, EvAnnotationMarkupInterface))
#define EV_IS_ANNOTATION_MARKUP(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EV_TYPE_ANNOTATION_MARKUP))
#define EV_IS_ANNOTATION_MARKUP_IFACE(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EV_TYPE_ANNOTATION_MARKUP))
#define EV_ANNOTATION_MARKUP_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), EV_TYPE_ANNOTATION_MARKUP, EvAnnotationMarkupInterface))
/* EvAnnotationText */
#define EV_TYPE_ANNOTATION_TEXT (ev_annotation_text_get_type())
#define EV_ANNOTATION_TEXT(object) (G_TYPE_CHECK_INSTANCE_CAST((object), EV_TYPE_ANNOTATION_TEXT, EvAnnotationText))
#define EV_ANNOTATION_TEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), EV_TYPE_ANNOTATION_TEXT, EvAnnotationTextClass))
#define EV_IS_ANNOTATION_TEXT(object) (G_TYPE_CHECK_INSTANCE_TYPE((object), EV_TYPE_ANNOTATION_TEXT))
#define EV_IS_ANNOTATION_TEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), EV_TYPE_ANNOTATION_TEXT))
#define EV_ANNOTATION_TEXT_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS((object), EV_TYPE_ANNOTATION_TEXT, EvAnnotationTextClass))
/* EvAnnotationText */
#define EV_TYPE_ANNOTATION_ATTACHMENT (ev_annotation_attachment_get_type())
#define EV_ANNOTATION_ATTACHMENT(object) (G_TYPE_CHECK_INSTANCE_CAST((object), EV_TYPE_ANNOTATION_ATTACHMENT, EvAnnotationAttachment))
#define EV_ANNOTATION_ATTACHMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), EV_TYPE_ANNOTATION_ATTACHMENT, EvAnnotationAttachmentClass))
#define EV_IS_ANNOTATION_ATTACHMENT(object) (G_TYPE_CHECK_INSTANCE_TYPE((object), EV_TYPE_ANNOTATION_ATTACHMENT))
#define EV_IS_ANNOTATION_ATTACHMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), EV_TYPE_ANNOTATION_ATTACHMENT))
#define EV_ANNOTATION_ATTACHMENT_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS((object), EV_TYPE_ANNOTATION_ATTACHMENT, EvAnnotationAttachmentClass))
typedef struct _EvAnnotation EvAnnotation;
typedef struct _EvAnnotationClass EvAnnotationClass;
typedef struct _EvAnnotationMarkup EvAnnotationMarkup;
typedef struct _EvAnnotationMarkupInterface EvAnnotationMarkupInterface;
typedef struct _EvAnnotationText EvAnnotationText;
typedef struct _EvAnnotationTextClass EvAnnotationTextClass;
typedef struct _EvAnnotationAttachment EvAnnotationAttachment;
typedef struct _EvAnnotationAttachmentClass EvAnnotationAttachmentClass;
typedef enum {
EV_ANNOTATION_TYPE_UNKNOWN,
EV_ANNOTATION_TYPE_TEXT,
EV_ANNOTATION_TYPE_ATTACHMENT
} EvAnnotationType;
typedef enum {
EV_ANNOTATION_TEXT_ICON_NOTE,
EV_ANNOTATION_TEXT_ICON_COMMENT,
EV_ANNOTATION_TEXT_ICON_KEY,
EV_ANNOTATION_TEXT_ICON_HELP,
EV_ANNOTATION_TEXT_ICON_NEW_PARAGRAPH,
EV_ANNOTATION_TEXT_ICON_PARAGRAPH,
EV_ANNOTATION_TEXT_ICON_INSERT,
EV_ANNOTATION_TEXT_ICON_CROSS,
EV_ANNOTATION_TEXT_ICON_CIRCLE,
EV_ANNOTATION_TEXT_ICON_UNKNOWN
} EvAnnotationTextIcon;
/* EvAnnotation */
GType ev_annotation_get_type (void) G_GNUC_CONST;
EvAnnotationType ev_annotation_get_annotation_type (EvAnnotation *annot);
EvPage *ev_annotation_get_page (EvAnnotation *annot);
guint ev_annotation_get_page_index (EvAnnotation *annot);
gboolean ev_annotation_equal (EvAnnotation *annot,
EvAnnotation *other);
const gchar *ev_annotation_get_contents (EvAnnotation *annot);
gboolean ev_annotation_set_contents (EvAnnotation *annot,
const gchar *contents);
const gchar *ev_annotation_get_name (EvAnnotation *annot);
gboolean ev_annotation_set_name (EvAnnotation *annot,
const gchar *name);
const gchar *ev_annotation_get_modified (EvAnnotation *annot);
gboolean ev_annotation_set_modified (EvAnnotation *annot,
const gchar *modified);
gboolean ev_annotation_set_modified_from_time (EvAnnotation *annot,
GTime utime);
void ev_annotation_get_color (EvAnnotation *annot,
GdkColor *color);
gboolean ev_annotation_set_color (EvAnnotation *annot,
const GdkColor *color);
/* EvAnnotationMarkup */
GType ev_annotation_markup_get_type (void) G_GNUC_CONST;
const gchar *ev_annotation_markup_get_label (EvAnnotationMarkup *markup);
gboolean ev_annotation_markup_set_label (EvAnnotationMarkup *markup,
const gchar *label);
gdouble ev_annotation_markup_get_opacity (EvAnnotationMarkup *markup);
gboolean ev_annotation_markup_set_opacity (EvAnnotationMarkup *markup,
gdouble opacity);
gboolean ev_annotation_markup_has_popup (EvAnnotationMarkup *markup);
gboolean ev_annotation_markup_set_has_popup (EvAnnotationMarkup *markup,
gboolean has_popup);
void ev_annotation_markup_get_rectangle (EvAnnotationMarkup *markup,
EvRectangle *ev_rect);
gboolean ev_annotation_markup_set_rectangle (EvAnnotationMarkup *markup,
const EvRectangle *ev_rect);
gboolean ev_annotation_markup_get_popup_is_open (EvAnnotationMarkup *markup);
gboolean ev_annotation_markup_set_popup_is_open (EvAnnotationMarkup *markup,
gboolean is_open);
/* EvAnnotationText */
GType ev_annotation_text_get_type (void) G_GNUC_CONST;
EvAnnotation *ev_annotation_text_new (EvPage *page);
EvAnnotationTextIcon ev_annotation_text_get_icon (EvAnnotationText *text);
gboolean ev_annotation_text_set_icon (EvAnnotationText *text,
EvAnnotationTextIcon icon);
gboolean ev_annotation_text_get_is_open (EvAnnotationText *text);
gboolean ev_annotation_text_set_is_open (EvAnnotationText *text,
gboolean is_open);
/* EvAnnotationAttachment */
GType ev_annotation_attachment_get_type (void) G_GNUC_CONST;
EvAnnotation *ev_annotation_attachment_new (EvPage *page,
EvAttachment *attachment);
EvAttachment *ev_annotation_attachment_get_attachment (EvAnnotationAttachment *annot);
gboolean ev_annotation_attachment_set_attachment (EvAnnotationAttachment *annot,
EvAttachment *attachment);
G_END_DECLS
#endif /* EV_ANNOTATION_H */

65
evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-async-renderer.h

@ -0,0 +1,65 @@ @@ -0,0 +1,65 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; c-indent-level: 8 -*- */
/*
* Copyright (C) 2000-2003 Marco Pesenti Gritti
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
*/
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_ASYNC_RENDERER_H
#define EV_ASYNC_RENDERER_H
#include <glib-object.h>
#include <glib.h>
#include <gdk/gdk.h>
G_BEGIN_DECLS
#define EV_TYPE_ASYNC_RENDERER (ev_async_renderer_get_type ())
#define EV_ASYNC_RENDERER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EV_TYPE_ASYNC_RENDERER, EvAsyncRenderer))
#define EV_ASYNC_RENDERER_IFACE(k) (G_TYPE_CHECK_CLASS_CAST((k), EV_TYPE_ASYNC_RENDERER, EvAsyncRendererInterface))
#define EV_IS_ASYNC_RENDERER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EV_TYPE_ASYNC_RENDERER))
#define EV_IS_ASYNC_RENDERER_IFACE(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EV_TYPE_ASYNC_RENDERER))
#define EV_ASYNC_RENDERER_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), EV_TYPE_ASYNC_RENDERER, EvAsyncRendererInterface))
typedef struct _EvAsyncRenderer EvAsyncRenderer;
typedef struct _EvAsyncRendererInterface EvAsyncRendererInterface;
struct _EvAsyncRendererInterface
{
GTypeInterface base_iface;
void (* render_finished) (EvAsyncRenderer *renderer,
GdkPixbuf *pixbuf);
void (* render_pixbuf) (EvAsyncRenderer *renderer,
int page,
double scale,
int rotation);
};
GType ev_async_renderer_get_type (void);
void ev_async_renderer_render_pixbuf (EvAsyncRenderer *renderer,
int page,
double scale,
int rotation);
G_END_DECLS
#endif

79
evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-attachment.h

@ -0,0 +1,79 @@ @@ -0,0 +1,79 @@
/* this file is part of evince, a gnome document viewer
*
* Copyright (C) 2006 Carlos Garcia Campos <carlosgc@gnome.org>
*
* Evince is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* Evince is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef __EV_ATTACHMENT_H__
#define __EV_ATTACHMENT_H__
#include <glib-object.h>
#include <gio/gio.h>
G_BEGIN_DECLS
typedef struct _EvAttachment EvAttachment;
typedef struct _EvAttachmentClass EvAttachmentClass;
typedef struct _EvAttachmentPrivate EvAttachmentPrivate;
#define EV_TYPE_ATTACHMENT (ev_attachment_get_type())
#define EV_ATTACHMENT(object) (G_TYPE_CHECK_INSTANCE_CAST((object), EV_TYPE_ATTACHMENT, EvAttachment))
#define EV_ATTACHMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), EV_TYPE_ATTACHMENT, EvAttachmentClass))
#define EV_IS_ATTACHMENT(object) (G_TYPE_CHECK_INSTANCE_TYPE((object), EV_TYPE_ATTACHMENT))
#define EV_IS_ATTACHMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), EV_TYPE_ATTACHMENT))
#define EV_ATTACHMENT_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS((object), EV_TYPE_ATTACHMENT, EvAttachmentClass))
#define EV_ATTACHMENT_ERROR (ev_attachment_error_quark ())
struct _EvAttachment {
GObject base_instance;
EvAttachmentPrivate *priv;
};
struct _EvAttachmentClass {
GObjectClass base_class;
};
GType ev_attachment_get_type (void) G_GNUC_CONST;
GQuark ev_attachment_error_quark (void) G_GNUC_CONST;
EvAttachment *ev_attachment_new (const gchar *name,
const gchar *description,
GTime mtime,
GTime ctime,
gsize size,
gpointer data);
const gchar *ev_attachment_get_name (EvAttachment *attachment);
const gchar *ev_attachment_get_description (EvAttachment *attachment);
GTime ev_attachment_get_modification_date (EvAttachment *attachment);
GTime ev_attachment_get_creation_date (EvAttachment *attachment);
const gchar *ev_attachment_get_mime_type (EvAttachment *attachment);
gboolean ev_attachment_save (EvAttachment *attachment,
GFile *file,
GError **error);
gboolean ev_attachment_open (EvAttachment *attachment,
GdkScreen *screen,
guint32 timestamp,
GError **error);
G_END_DECLS
#endif /* __EV_ATTACHMENT_H__ */

48
evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-backends-manager.h

@ -0,0 +1,48 @@ @@ -0,0 +1,48 @@
/* this file is part of evince, a gnome document viewer
*
* Copyright (C) 2007 Carlos Garcia Campos <carlosgc@gnome.org>
*
* Evince is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* Evince is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_BACKENDS_MANAGER
#define EV_BACKENDS_MANAGER
#include <glib.h>
#include "ev-document.h"
G_BEGIN_DECLS
typedef struct _EvTypeInfo {
const gchar *desc;
const gchar **mime_types;
} EvTypeInfo;
gboolean _ev_backends_manager_init (void);
void _ev_backends_manager_shutdown (void);
EvDocument *ev_backends_manager_get_document (const gchar *mime_type);
const gchar *ev_backends_manager_get_document_module_name (EvDocument *document);
EvTypeInfo *ev_backends_manager_get_document_type_info (EvDocument *document);
GList *ev_backends_manager_get_all_types_info (void);
G_END_DECLS
#endif /* EV_BACKENDS_MANAGER */

99
evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-document-annotations.h

@ -0,0 +1,99 @@ @@ -0,0 +1,99 @@
/* ev-document-annotations.h
* this file is part of evince, a gnome document viewer
*
* Copyright (C) 2007 Iñigo Martinez <inigomartinez@gmail.com>
*
* Evince is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* Evince is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_DOCUMENT_ANNOTATIONS_H
#define EV_DOCUMENT_ANNOTATIONS_H
#include <glib-object.h>
#include "ev-document.h"
#include "ev-annotation.h"
#include "ev-mapping-list.h"
G_BEGIN_DECLS
#define EV_TYPE_DOCUMENT_ANNOTATIONS (ev_document_annotations_get_type ())
#define EV_DOCUMENT_ANNOTATIONS(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EV_TYPE_DOCUMENT_ANNOTATIONS, EvDocumentAnnotations))
#define EV_DOCUMENT_ANNOTATIONS_IFACE(k) (G_TYPE_CHECK_CLASS_CAST((k), EV_TYPE_DOCUMENT_ANNOTATIONS, EvDocumentAnnotationsInterface))
#define EV_IS_DOCUMENT_ANNOTATIONS(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EV_TYPE_DOCUMENT_ANNOTATIONS))
#define EV_IS_DOCUMENT_ANNOTATIONS_IFACE(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EV_TYPE_DOCUMENT_ANNOTATIONS))
#define EV_DOCUMENT_ANNOTATIONS_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), EV_TYPE_DOCUMENT_ANNOTATIONS, EvDocumentAnnotationsInterface))
typedef enum {
EV_ANNOTATIONS_SAVE_NONE = 0,
EV_ANNOTATIONS_SAVE_CONTENTS = 1 << 0,
EV_ANNOTATIONS_SAVE_COLOR = 1 << 1,
/* Markup Annotations */
EV_ANNOTATIONS_SAVE_LABEL = 1 << 2,
EV_ANNOTATIONS_SAVE_OPACITY = 1 << 3,
EV_ANNOTATIONS_SAVE_POPUP_RECT = 1 << 4,
EV_ANNOTATIONS_SAVE_POPUP_IS_OPEN = 1 << 5,
/* Text Annotations */
EV_ANNOTATIONS_SAVE_TEXT_IS_OPEN = 1 << 6,
EV_ANNOTATIONS_SAVE_TEXT_ICON = 1 << 7,
/* Attachment Annotations */
EV_ANNOTATIONS_SAVE_ATTACHMENT = 1 << 8,
/* Save all */
EV_ANNOTATIONS_SAVE_ALL = (1 << 9) - 1
} EvAnnotationsSaveMask;
typedef struct _EvDocumentAnnotations EvDocumentAnnotations;
typedef struct _EvDocumentAnnotationsInterface EvDocumentAnnotationsInterface;
struct _EvDocumentAnnotationsInterface
{
GTypeInterface base_iface;
/* Methods */
EvMappingList *(* get_annotations) (EvDocumentAnnotations *document_annots,
EvPage *page);
gboolean (* document_is_modified) (EvDocumentAnnotations *document_annots);
void (* add_annotation) (EvDocumentAnnotations *document_annots,
EvAnnotation *annot,
EvRectangle *rect);
void (* save_annotation) (EvDocumentAnnotations *document_annots,
EvAnnotation *annot,
EvAnnotationsSaveMask mask);
};
GType ev_document_annotations_get_type (void) G_GNUC_CONST;
EvMappingList *ev_document_annotations_get_annotations (EvDocumentAnnotations *document_annots,
EvPage *page);
gboolean ev_document_annotations_document_is_modified (EvDocumentAnnotations *document_annots);
void ev_document_annotations_add_annotation (EvDocumentAnnotations *document_annots,
EvAnnotation *annot,
EvRectangle *rect);
void ev_document_annotations_save_annotation (EvDocumentAnnotations *document_annots,
EvAnnotation *annot,
EvAnnotationsSaveMask mask);
gboolean ev_document_annotations_can_add_annotation (EvDocumentAnnotations *document_annots);
G_END_DECLS
#endif /* EV_DOCUMENT_ANNOTATIONS_H */

59
evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-document-attachments.h

@ -0,0 +1,59 @@ @@ -0,0 +1,59 @@
/* ev-document-attachments.h
* this file is part of evince, a gnome document viewer
*
* Copyright (C) 2009 Carlos Garcia Campos <carlosgc@gnome.org>
*
* Evince is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* Evince is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_DOCUMENT_ATTACHMENTS_H
#define EV_DOCUMENT_ATTACHMENTS_H
#include <glib-object.h>
#include <glib.h>
G_BEGIN_DECLS
#define EV_TYPE_DOCUMENT_ATTACHMENTS (ev_document_attachments_get_type ())
#define EV_DOCUMENT_ATTACHMENTS(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EV_TYPE_DOCUMENT_ATTACHMENTS, EvDocumentAttachments))
#define EV_DOCUMENT_ATTACHMENTS_IFACE(k) (G_TYPE_CHECK_CLASS_CAST((k), EV_TYPE_DOCUMENT_ATTACHMENTS, EvDocumentAttachmentsInterface))
#define EV_IS_DOCUMENT_ATTACHMENTS(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EV_TYPE_DOCUMENT_ATTACHMENTS))
#define EV_IS_DOCUMENT_ATTACHMENTS_IFACE(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EV_TYPE_DOCUMENT_ATTACHMENTS))
#define EV_DOCUMENT_ATTACHMENTS_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), EV_TYPE_DOCUMENT_ATTACHMENTS, EvDocumentAttachmentsInterface))
typedef struct _EvDocumentAttachments EvDocumentAttachments;
typedef struct _EvDocumentAttachmentsInterface EvDocumentAttachmentsInterface;
struct _EvDocumentAttachmentsInterface
{
GTypeInterface base_iface;
/* Methods */
gboolean (* has_attachments) (EvDocumentAttachments *document_attachments);
GList *(* get_attachments) (EvDocumentAttachments *document_attachments);
};
GType ev_document_attachments_get_type (void) G_GNUC_CONST;
gboolean ev_document_attachments_has_attachments (EvDocumentAttachments *document_attachments);
GList *ev_document_attachments_get_attachments (EvDocumentAttachments *document_attachments);
G_END_DECLS
#endif /* EV_DOCUMENT_ATTACHMENTS_H */

39
evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-document-factory.h

@ -0,0 +1,39 @@ @@ -0,0 +1,39 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; c-indent-level: 8 -*- */
/*
* Copyright (C) 2005, Red Hat, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
*/
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_DOCUMENT_FACTORY_H
#define EV_DOCUMENT_FACTORY_H
#include <gtk/gtk.h>
#include "ev-document.h"
G_BEGIN_DECLS
EvDocument* ev_document_factory_get_document (const char *uri, GError **error);
void ev_document_factory_add_filters (GtkWidget *chooser, EvDocument *document);
G_END_DECLS
#endif

65
evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-document-find.h

@ -0,0 +1,65 @@ @@ -0,0 +1,65 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; c-indent-level: 8 -*- */
/*
* Copyright (C) 2004 Red Hat, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* $Id$
*/
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_DOCUMENT_FIND_H
#define EV_DOCUMENT_FIND_H
#include <glib-object.h>
#include <glib.h>
#include "ev-document.h"
G_BEGIN_DECLS
#define EV_TYPE_DOCUMENT_FIND (ev_document_find_get_type ())
#define EV_DOCUMENT_FIND(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EV_TYPE_DOCUMENT_FIND, EvDocumentFind))
#define EV_DOCUMENT_FIND_IFACE(k) (G_TYPE_CHECK_CLASS_CAST((k), EV_TYPE_DOCUMENT_FIND, EvDocumentFindInterface))
#define EV_IS_DOCUMENT_FIND(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EV_TYPE_DOCUMENT_FIND))
#define EV_IS_DOCUMENT_FIND_IFACE(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EV_TYPE_DOCUMENT_FIND))
#define EV_DOCUMENT_FIND_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), EV_TYPE_DOCUMENT_FIND, EvDocumentFindInterface))
typedef struct _EvDocumentFind EvDocumentFind;
typedef struct _EvDocumentFindInterface EvDocumentFindInterface;
struct _EvDocumentFindInterface
{
GTypeInterface base_iface;
/* Methods */
GList *(* find_text) (EvDocumentFind *document_find,
EvPage *page,
const gchar *text,
gboolean case_sensitive);
};
GType ev_document_find_get_type (void) G_GNUC_CONST;
GList *ev_document_find_find_text (EvDocumentFind *document_find,
EvPage *page,
const gchar *text,
gboolean case_sensitive);
G_END_DECLS
#endif /* EV_DOCUMENT_FIND_H */

78
evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-document-fonts.h

@ -0,0 +1,78 @@ @@ -0,0 +1,78 @@
/* ev-document-fonts.h
* this file is part of evince, a gnome document viewer
*
* Copyright (C) 2004 Red Hat, Inc.
*
* Author:
* Marco Pesenti Gritti <mpg@redhat.com>
*
* Evince is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* Evince is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_DOCUMENT_FONTS_H
#define EV_DOCUMENT_FONTS_H
#include <glib-object.h>
#include <glib.h>
#include <gtk/gtk.h>
#include "ev-document.h"
#include "ev-link.h"
G_BEGIN_DECLS
#define EV_TYPE_DOCUMENT_FONTS (ev_document_fonts_get_type ())
#define EV_DOCUMENT_FONTS(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EV_TYPE_DOCUMENT_FONTS, EvDocumentFonts))
#define EV_DOCUMENT_FONTS_IFACE(k) (G_TYPE_CHECK_CLASS_CAST((k), EV_TYPE_DOCUMENT_FONTS, EvDocumentFontsInterface))
#define EV_IS_DOCUMENT_FONTS(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EV_TYPE_DOCUMENT_FONTS))
#define EV_IS_DOCUMENT_FONTS_IFACE(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EV_TYPE_DOCUMENT_FONTS))
#define EV_DOCUMENT_FONTS_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), EV_TYPE_DOCUMENT_FONTS, EvDocumentFontsInterface))
typedef struct _EvDocumentFonts EvDocumentFonts;
typedef struct _EvDocumentFontsInterface EvDocumentFontsInterface;
enum {
EV_DOCUMENT_FONTS_COLUMN_NAME,
EV_DOCUMENT_FONTS_COLUMN_DETAILS,
EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS
};
struct _EvDocumentFontsInterface
{
GTypeInterface base_iface;
/* Methods */
gboolean (* scan) (EvDocumentFonts *document_fonts,
int n_pages);
double (* get_progress) (EvDocumentFonts *document_fonts);
void (* fill_model) (EvDocumentFonts *document_fonts,
GtkTreeModel *model);
};
GType ev_document_fonts_get_type (void);
gboolean ev_document_fonts_scan (EvDocumentFonts *document_fonts,
int n_pages);
double ev_document_fonts_get_progress (EvDocumentFonts *document_fonts);
void ev_document_fonts_fill_model (EvDocumentFonts *document_fonts,
GtkTreeModel *model);
G_END_DECLS
#endif

128
evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-document-forms.h

@ -0,0 +1,128 @@ @@ -0,0 +1,128 @@
/* ev-document-forms.h
* this file is part of evince, a gnome document viewer
*
* Copyright (C) 2007 Carlos Garcia Campos <carlosgc@gnome.org>
*
* Evince is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* Evince is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_DOCUMENT_FORMS_H
#define EV_DOCUMENT_FORMS_H
#include <glib-object.h>
#include "ev-document.h"
#include "ev-form-field.h"
#include "ev-mapping-list.h"
G_BEGIN_DECLS
#define EV_TYPE_DOCUMENT_FORMS (ev_document_forms_get_type ())
#define EV_DOCUMENT_FORMS(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EV_TYPE_DOCUMENT_FORMS, EvDocumentForms))
#define EV_DOCUMENT_FORMS_IFACE(k) (G_TYPE_CHECK_CLASS_CAST((k), EV_TYPE_DOCUMENT_FORMS, EvDocumentFormsInterface))
#define EV_IS_DOCUMENT_FORMS(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EV_TYPE_DOCUMENT_FORMS))
#define EV_IS_DOCUMENT_FORMS_IFACE(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EV_TYPE_DOCUMENT_FORMS))
#define EV_DOCUMENT_FORMS_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), EV_TYPE_DOCUMENT_FORMS, EvDocumentFormsInterface))
typedef struct _EvDocumentForms EvDocumentForms;
typedef struct _EvDocumentFormsInterface EvDocumentFormsInterface;
struct _EvDocumentFormsInterface
{
GTypeInterface base_iface;
/* Methods */
EvMappingList *(* get_form_fields) (EvDocumentForms *document_forms,
EvPage *page);
gboolean (* document_is_modified) (EvDocumentForms *document_forms);
gchar *(* form_field_text_get_text) (EvDocumentForms *document_forms,
EvFormField *field);
void (* form_field_text_set_text) (EvDocumentForms *document_forms,
EvFormField *field,
const gchar *text);
gboolean (* form_field_button_get_state) (EvDocumentForms *document_forms,
EvFormField *field);
void (* form_field_button_set_state) (EvDocumentForms *document_forms,
EvFormField *field,
gboolean state);
gchar *(* form_field_choice_get_item) (EvDocumentForms *document_forms,
EvFormField *field,
gint index);
gint (* form_field_choice_get_n_items) (EvDocumentForms *document_forms,
EvFormField *field);
gboolean (* form_field_choice_is_item_selected) (EvDocumentForms *document_forms,
EvFormField *field,
gint index);
void (* form_field_choice_select_item) (EvDocumentForms *document_forms,
EvFormField *field,
gint index);
void (* form_field_choice_toggle_item) (EvDocumentForms *document_forms,
EvFormField *field,
gint index);
void (* form_field_choice_unselect_all) (EvDocumentForms *document_forms,
EvFormField *field);
void (* form_field_choice_set_text) (EvDocumentForms *document_forms,
EvFormField *field,
const gchar *text);
gchar *(* form_field_choice_get_text) (EvDocumentForms *document_forms,
EvFormField *field);
};
GType ev_document_forms_get_type (void) G_GNUC_CONST;
EvMappingList *ev_document_forms_get_form_fields (EvDocumentForms *document_forms,
EvPage *page);
gboolean ev_document_forms_document_is_modified (EvDocumentForms *document_forms);
gchar *ev_document_forms_form_field_text_get_text (EvDocumentForms *document_forms,
EvFormField *field);
void ev_document_forms_form_field_text_set_text (EvDocumentForms *document_forms,
EvFormField *field,
const gchar *text);
gboolean ev_document_forms_form_field_button_get_state (EvDocumentForms *document_forms,
EvFormField *field);
void ev_document_forms_form_field_button_set_state (EvDocumentForms *document_forms,
EvFormField *field,
gboolean state);
gchar *ev_document_forms_form_field_choice_get_item (EvDocumentForms *document_forms,
EvFormField *field,
gint index);
gint ev_document_forms_form_field_choice_get_n_items (EvDocumentForms *document_forms,
EvFormField *field);
gboolean ev_document_forms_form_field_choice_is_item_selected (EvDocumentForms *document_forms,
EvFormField *field,
gint index);
void ev_document_forms_form_field_choice_select_item (EvDocumentForms *document_forms,
EvFormField *field,
gint index);
void ev_document_forms_form_field_choice_toggle_item (EvDocumentForms *document_forms,
EvFormField *field,
gint index);
void ev_document_forms_form_field_choice_unselect_all (EvDocumentForms *document_forms,
EvFormField *field);
void ev_document_forms_form_field_choice_set_text (EvDocumentForms *document_forms,
EvFormField *field,
const gchar *text);
gchar *ev_document_forms_form_field_choice_get_text (EvDocumentForms *document_forms,
EvFormField *field);
G_END_DECLS
#endif /* EV_DOCUMENT_FORMS_H */

65
evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-document-images.h

@ -0,0 +1,65 @@ @@ -0,0 +1,65 @@
/* ev-document-images.h
* this file is part of evince, a gnome document viewer
*
* Copyright (C) 2006 Carlos Garcia Campos <carlosgc@gnome.org>
*
* Evince is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* Evince is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_DOCUMENT_IMAGES_H
#define EV_DOCUMENT_IMAGES_H
#include <glib-object.h>
#include <glib.h>
#include "ev-document.h"
#include "ev-image.h"
#include "ev-mapping-list.h"
G_BEGIN_DECLS
#define EV_TYPE_DOCUMENT_IMAGES (ev_document_images_get_type ())
#define EV_DOCUMENT_IMAGES(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EV_TYPE_DOCUMENT_IMAGES, EvDocumentImages))
#define EV_DOCUMENT_IMAGES_IFACE(k) (G_TYPE_CHECK_CLASS_CAST((k), EV_TYPE_DOCUMENT_IMAGES, EvDocumentImagesInterface))
#define EV_IS_DOCUMENT_IMAGES(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EV_TYPE_DOCUMENT_IMAGES))
#define EV_IS_DOCUMENT_IMAGES_IFACE(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EV_TYPE_DOCUMENT_IMAGES))
#define EV_DOCUMENT_IMAGES_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), EV_TYPE_DOCUMENT_IMAGES, EvDocumentImagesInterface))
typedef struct _EvDocumentImages EvDocumentImages;
typedef struct _EvDocumentImagesInterface EvDocumentImagesInterface;
struct _EvDocumentImagesInterface {
GTypeInterface base_iface;
/* Methods */
EvMappingList *(* get_image_mapping) (EvDocumentImages *document_images,
EvPage *page);
GdkPixbuf *(* get_image) (EvDocumentImages *document_images,
EvImage *image);
};
GType ev_document_images_get_type (void) G_GNUC_CONST;
EvMappingList *ev_document_images_get_image_mapping (EvDocumentImages *document_images,
EvPage *page);
GdkPixbuf *ev_document_images_get_image (EvDocumentImages *document_images,
EvImage *image);
G_END_DECLS
#endif /* EV_DOCUMENT_IMAGES_H */

154
evince2-light/pkg/evince2-light/usr/include/evince/2.32/libdocument/ev-document-info.h

@ -0,0 +1,154 @@ @@ -0,0 +1,154 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; c-indent-level: 8 -*- */
/*
* Copyright (C) 2000-2003 Marco Pesenti Gritti
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
*/
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_DOCUMENT_INFO_H
#define EV_DOCUMENT_INFO_H
#include <glib-object.h>
#include <glib.h>
G_BEGIN_DECLS
typedef struct _EvDocumentInfo EvDocumentInfo;
typedef struct _EvDocumentLicense EvDocumentLicense;
#define EV_TYPE_DOCUMENT_INFO (ev_document_info_get_type())
typedef enum
{
EV_DOCUMENT_LAYOUT_SINGLE_PAGE,
EV_DOCUMENT_LAYOUT_ONE_COLUMN,
EV_DOCUMENT_LAYOUT_TWO_COLUMN_LEFT,
EV_DOCUMENT_LAYOUT_TWO_COLUMN_RIGHT,
EV_DOCUMENT_LAYOUT_TWO_PAGE_LEFT,
EV_DOCUMENT_LAYOUT_TWO_PAGE_RIGHT
} EvDocumentLayout;
typedef enum
{
EV_DOCUMENT_MODE_NONE,
EV_DOCUMENT_MODE_USE_OC,
EV_DOCUMENT_MODE_USE_THUMBS,
EV_DOCUMENT_MODE_FULL_SCREEN,
EV_DOCUMENT_MODE_USE_ATTACHMENTS,
EV_DOCUMENT_MODE_PRESENTATION = EV_DOCUMENT_MODE_FULL_SCREEN /* Will these be different? */
} EvDocumentMode;
typedef enum
{
EV_DOCUMENT_UI_HINT_HIDE_TOOLBAR = 1 << 0,
EV_DOCUMENT_UI_HINT_HIDE_MENUBAR = 1 << 1,
EV_DOCUMENT_UI_HINT_HIDE_WINDOWUI = 1 << 2,
EV_DOCUMENT_UI_HINT_FIT_WINDOW = 1 << 3,
EV_DOCUMENT_UI_HINT_CENTER_WINDOW = 1 << 4,
EV_DOCUMENT_UI_HINT_DISPLAY_DOC_TITLE = 1 << 5,
EV_DOCUMENT_UI_HINT_DIRECTION_RTL = 1 << 6
} EvDocumentUIHints;
/* This define is needed because glib-mkenums chokes with multiple lines */
#define PERMISSIONS_FULL (EV_DOCUMENT_PERMISSIONS_OK_TO_PRINT \
| EV_DOCUMENT_PERMISSIONS_OK_TO_MO