evince r3401 - in trunk: . help/reference help/reference/libdocument help/reference/libview help/reference/shell help/reference/shell/tmpl help/reference/tmpl



Author: carlosgc
Date: Sun Feb  1 16:43:51 2009
New Revision: 3401
URL: http://svn.gnome.org/viewvc/evince?rev=3401&view=rev

Log:
2009-02-01  Carlos Garcia Campos  <carlosgc gnome org>

	* configure.ac:
	* help/reference/Makefile.am:
	* help/reference/libdocument/Makefile.am:
	* help/reference/libdocument/libevdocument-docs.sgml:
	* help/reference/libdocument/libevdocument.types:
	* help/reference/libdocument/version.xml.in:
	* help/reference/libview/Makefile.am:
	* help/reference/libview/libevview-docs.sgml:
	* help/reference/libview/libevview.types:
	* help/reference/libview/version.xml.in:
	* help/reference/shell/Makefile.am:
	* help/reference/shell/evince-docs.sgml:
	* help/reference/shell/evince.types:
	* help/reference/shell/tmpl/dummy.sgml:
	* help/reference/shell/version.xml.in:

	Split API documentation into libdocument, libview and
	shell. Required gtk-doc files has been added, but API docs still
	need to be completed and improved. Fixes bug #568465.

Added:
   trunk/help/reference/libdocument/
   trunk/help/reference/libdocument/Makefile.am
      - copied, changed from r3400, /trunk/help/reference/Makefile.am
   trunk/help/reference/libdocument/libevdocument-docs.sgml
   trunk/help/reference/libdocument/libevdocument.types
   trunk/help/reference/libdocument/version.xml.in
      - copied, changed from r3400, /trunk/help/reference/version.xml.in
   trunk/help/reference/libview/
   trunk/help/reference/libview/Makefile.am
      - copied, changed from r3400, /trunk/help/reference/Makefile.am
   trunk/help/reference/libview/libevview-docs.sgml
   trunk/help/reference/libview/libevview.types
   trunk/help/reference/libview/version.xml.in
      - copied, changed from r3400, /trunk/help/reference/version.xml.in
   trunk/help/reference/shell/
   trunk/help/reference/shell/Makefile.am
      - copied, changed from r3400, /trunk/help/reference/Makefile.am
   trunk/help/reference/shell/evince-docs.sgml
   trunk/help/reference/shell/evince.types
   trunk/help/reference/shell/tmpl/
   trunk/help/reference/shell/tmpl/dummy.sgml
      - copied, changed from r3400, /trunk/help/reference/tmpl/dummy.sgml
   trunk/help/reference/shell/version.xml.in
      - copied, changed from r3400, /trunk/help/reference/version.xml.in
Removed:
   trunk/help/reference/evince-docs.sgml
   trunk/help/reference/evince.types
   trunk/help/reference/tmpl/dummy.sgml
   trunk/help/reference/version.xml.in
Modified:
   trunk/ChangeLog
   trunk/configure.ac
   trunk/help/reference/Makefile.am

Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac	(original)
+++ trunk/configure.ac	Sun Feb  1 16:43:51 2009
@@ -512,7 +512,12 @@
 data/icons/scalable/apps/Makefile
 help/Makefile
 help/reference/Makefile
-help/reference/version.xml
+help/reference/libdocument/Makefile
+help/reference/libdocument/version.xml
+help/reference/libview/Makefile
+help/reference/libview/version.xml
+help/reference/shell/Makefile
+help/reference/shell/version.xml
 libdocument/Makefile
 libdocument/ev-version.h
 libview/Makefile

Modified: trunk/help/reference/Makefile.am
==============================================================================
--- trunk/help/reference/Makefile.am	(original)
+++ trunk/help/reference/Makefile.am	Sun Feb  1 16:43:51 2009
@@ -1,130 +1 @@
-## Process this file with automake to produce Makefile.in
-
-# We require automake 1.6 at least.
-AUTOMAKE_OPTIONS = 1.6
-
-# This is a blank Makefile.am for using gtk-doc.
-# Copy this to your project's API docs directory and modify the variables to
-# suit your project. See the GTK+ Makefiles in gtk+/docs/reference for examples
-# of using the various options.
-
-# The name of the module, e.g. 'glib'.
-DOC_MODULE=evince
-
-# The top-level SGML file. You can change this if you want to.
-DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
-
-# The directory containing the source code. Relative to $(srcdir).
-# gtk-doc will search all .c & .h files beneath here for inline comments
-# documenting the functions and macros.
-# e.g. DOC_SOURCE_DIR=../../../gtk
-DOC_SOURCE_DIR=../../shell --source-dir=../../libdocument --source-dir=../../libview
-
-# Extra options to pass to gtkdoc-scangobj. Not normally needed.
-SCANGOBJ_OPTIONS=
-
-# Extra options to supply to gtkdoc-scan.
-# e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED" 
-SCAN_OPTIONS=
-
-# Extra options to supply to gtkdoc-mkdb.
-# e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml
-MKDB_OPTIONS=--sgml-mode --output-format=xml
-
-# Extra options to supply to gtkdoc-mktmpl
-# e.g. MKTMPL_OPTIONS=--only-section-tmpl
-MKTMPL_OPTIONS=
-
-# Extra options to supply to gtkdoc-fixref. Not normally needed.
-# e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
-FIXXREF_OPTIONS=
-
-# Used for dependencies. The docs will be rebuilt if any of these change.
-# e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
-# e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
-HFILE_GLOB=$(top_srcdir)/shell/*.h $(top_srcdir)/libdocument/*.h
-CFILE_GLOB=$(top_srcdir)/shell/*.c $(top_srcdir)/libdocument/*.c
-
-# Header files to ignore when scanning.
-# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
-IGNORE_HFILES=  \
-ev-backend-marshal.c \
-ev-backend-marshalers.h \
-ev-backend-marshalers.c \
-ev-marshal.h \
-ev-marshal.c 
-
-# Images to copy into HTML directory.
-# e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
-HTML_IMAGES=
-
-# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
-# e.g. content_files=running.sgml building.sgml changes-2.0.sgml
-content_files=
-
-# SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
-# These files must be listed here *and* in content_files
-# e.g. expand_content_files=running.sgml
-expand_content_files=
-
-# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
-# Only needed if you are using gtkdoc-scangobj to dynamically query widget
-# signals and properties.
-# e.g. INCLUDES=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
-# e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
-INCLUDES= \
-	-I$(top_srcdir)					\
-	-I$(top_builddir)				\
-	-I$(top_srcdir)/shell \
-	-DDATADIR=\"$(pkgdatadir)\"			\
-	-DGNOMEDATADIR=\"$(datadir)\"			\
-	-I$(top_srcdir)/cut-n-paste/zoom-control/	\
-	-I$(top_srcdir)/cut-n-paste/toolbar-editor/	\
-	-I$(top_srcdir)/cut-n-paste/totem-screensaver/	\
-	-I$(top_srcdir)/libdocument			\
-	-I$(top_builddir)/libdocument			\
-	-I$(top_srcdir)/libview				\
-	-I$(top_builddir)/libview			\
-	-I$(top_srcdir)/properties			\
-	-DGNOMELOCALEDIR=\"$(datadir)/locale\"		\
-	-DGNOMEICONDIR=\""$(datadir)/pixmaps"\" 	\
-	-DEVINCE_COMPILATION				\
-	$(SHELL_CFLAGS)					\
-	$(WARN_CFLAGS)					\
-	$(DISABLE_DEPRECATED)				\
-	$(GNOME_PRINT_CFLAGS)				\
-	$(GTK_PRINT_CFLAGS)
-
-GTKDOC_LIBS= \
-	$(top_builddir)/cut-n-paste/zoom-control/libephyzoom.la		\
-	$(top_builddir)/cut-n-paste/toolbar-editor/libtoolbareditor.la	\
-	$(top_builddir)/cut-n-paste/totem-screensaver/libtotemscrsaver.la	\
-	$(top_builddir)/cut-n-paste/gedit-message-area/libgeditmsgarea.la	\
-	$(top_builddir)/cut-n-paste/evmountoperation/libevmountoperation.la	\
-	$(top_builddir)/cut-n-paste/gimpcellrenderertoggle/libgimpcellrenderertoggle.la	\
-	$(top_builddir)/cut-n-paste/smclient/libsmclient.la		\
-	$(top_builddir)/properties/libevproperties.la			\
-	$(top_builddir)/libdocument/libevdocument.la			\
-	$(top_builddir)/libview/libevview.la				\
-	$(SHELL_LIBS)							\
-	$(GNOME_PRINT_LIBS)						\
-	$(filter-out ../../shell/main.o,$(wildcard ../../shell/*.o))
-
-if ENABLE_DJVU
-GTKDOC_LIBS +=	$(DJVU_LIBS)
-endif
-
-if ENABLE_DVI
-GTKDOC_LIBS +=	-lkpathsea
-endif
-
-if WITH_TYPE1_FONTS
-GTKDOC_LIBS += -lt1
-endif
-
-# This includes the standard gtk-doc make rules, copied by gtkdocize.
-include $(top_srcdir)/gtk-doc.make
-
-# Other files to distribute
-# e.g. EXTRA_DIST += version.xml.in
-EXTRA_DIST += version.xml.in
+SUBDIRS = libdocument libview shell
\ No newline at end of file

Copied: trunk/help/reference/libdocument/Makefile.am (from r3400, /trunk/help/reference/Makefile.am)
==============================================================================
--- /trunk/help/reference/Makefile.am	(original)
+++ trunk/help/reference/libdocument/Makefile.am	Sun Feb  1 16:43:51 2009
@@ -9,7 +9,7 @@
 # of using the various options.
 
 # The name of the module, e.g. 'glib'.
-DOC_MODULE=evince
+DOC_MODULE=libevdocument
 
 # The top-level SGML file. You can change this if you want to.
 DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
@@ -18,7 +18,7 @@
 # gtk-doc will search all .c & .h files beneath here for inline comments
 # documenting the functions and macros.
 # e.g. DOC_SOURCE_DIR=../../../gtk
-DOC_SOURCE_DIR=../../shell --source-dir=../../libdocument --source-dir=../../libview
+DOC_SOURCE_DIR=../../../libdocument
 
 # Extra options to pass to gtkdoc-scangobj. Not normally needed.
 SCANGOBJ_OPTIONS=
@@ -42,17 +42,14 @@
 # Used for dependencies. The docs will be rebuilt if any of these change.
 # e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
 # e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
-HFILE_GLOB=$(top_srcdir)/shell/*.h $(top_srcdir)/libdocument/*.h
-CFILE_GLOB=$(top_srcdir)/shell/*.c $(top_srcdir)/libdocument/*.c
+HFILE_GLOB=$(top_srcdir)/libdocument/*.h
+CFILE_GLOB=$(top_srcdir)/libdocument/*.c
 
 # Header files to ignore when scanning.
 # e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
 IGNORE_HFILES=  \
-ev-backend-marshal.c \
-ev-backend-marshalers.h \
-ev-backend-marshalers.c \
-ev-marshal.h \
-ev-marshal.c 
+	ev-debug.h	\
+	ev-module.h
 
 # Images to copy into HTML directory.
 # e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
@@ -75,52 +72,21 @@
 INCLUDES= \
 	-I$(top_srcdir)					\
 	-I$(top_builddir)				\
-	-I$(top_srcdir)/shell \
+	-I$(top_srcdir)/libdocument 			\
 	-DDATADIR=\"$(pkgdatadir)\"			\
 	-DGNOMEDATADIR=\"$(datadir)\"			\
-	-I$(top_srcdir)/cut-n-paste/zoom-control/	\
-	-I$(top_srcdir)/cut-n-paste/toolbar-editor/	\
-	-I$(top_srcdir)/cut-n-paste/totem-screensaver/	\
-	-I$(top_srcdir)/libdocument			\
-	-I$(top_builddir)/libdocument			\
-	-I$(top_srcdir)/libview				\
-	-I$(top_builddir)/libview			\
-	-I$(top_srcdir)/properties			\
+	-DEVINCE_UIDIR=\"$(pkgdatadir)\" 		\
 	-DGNOMELOCALEDIR=\"$(datadir)/locale\"		\
-	-DGNOMEICONDIR=\""$(datadir)/pixmaps"\" 	\
+	-DEV_BACKENDSDIR=\"$(backenddir)\"		\
 	-DEVINCE_COMPILATION				\
-	$(SHELL_CFLAGS)					\
+	$(AM_CFLAGS)					\
+	$(LIBDOCUMENT_CFLAGS)				\
 	$(WARN_CFLAGS)					\
-	$(DISABLE_DEPRECATED)				\
-	$(GNOME_PRINT_CFLAGS)				\
-	$(GTK_PRINT_CFLAGS)
-
-GTKDOC_LIBS= \
-	$(top_builddir)/cut-n-paste/zoom-control/libephyzoom.la		\
-	$(top_builddir)/cut-n-paste/toolbar-editor/libtoolbareditor.la	\
-	$(top_builddir)/cut-n-paste/totem-screensaver/libtotemscrsaver.la	\
-	$(top_builddir)/cut-n-paste/gedit-message-area/libgeditmsgarea.la	\
-	$(top_builddir)/cut-n-paste/evmountoperation/libevmountoperation.la	\
-	$(top_builddir)/cut-n-paste/gimpcellrenderertoggle/libgimpcellrenderertoggle.la	\
-	$(top_builddir)/cut-n-paste/smclient/libsmclient.la		\
-	$(top_builddir)/properties/libevproperties.la			\
-	$(top_builddir)/libdocument/libevdocument.la			\
-	$(top_builddir)/libview/libevview.la				\
-	$(SHELL_LIBS)							\
-	$(GNOME_PRINT_LIBS)						\
-	$(filter-out ../../shell/main.o,$(wildcard ../../shell/*.o))
-
-if ENABLE_DJVU
-GTKDOC_LIBS +=	$(DJVU_LIBS)
-endif
-
-if ENABLE_DVI
-GTKDOC_LIBS +=	-lkpathsea
-endif
-
-if WITH_TYPE1_FONTS
-GTKDOC_LIBS += -lt1
-endif
+	$(DISABLE_DEPRECATED)
+
+GTKDOC_LIBS=						\
+	$(top_builddir)/libdocument/libevdocument.la	\
+	$(LIBDOCUMENT_LIBS)
 
 # This includes the standard gtk-doc make rules, copied by gtkdocize.
 include $(top_srcdir)/gtk-doc.make

Added: trunk/help/reference/libdocument/libevdocument-docs.sgml
==============================================================================
--- (empty file)
+++ trunk/help/reference/libdocument/libevdocument-docs.sgml	Sun Feb  1 16:43:51 2009
@@ -0,0 +1,74 @@
+<?xml version="1.0"?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+               "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd";
+[
+  <!ENTITY % local.common.attrib "xmlns:xi  CDATA  #FIXED 'http://www.w3.org/2003/XInclude'">
+  <!ENTITY version SYSTEM "version.xml">
+]>
+<book id="index">
+  <bookinfo>
+    <title>libevdocument Reference Manual</title>
+    <releaseinfo>for Evince &version;</releaseinfo>
+  </bookinfo>
+
+  <part id="interfaces">
+    <title>Document Interfaces</title>
+    <partintro>
+      <para>
+	Provides support for writing Evince backends. For example
+	EvDocumentAttachments is used to represent document
+	attachments. The core have objects that represent various
+	document interfaces.
+      </para>
+    </partintro>
+    <xi:include href="xml/ev-async-renderer.xml"/>
+    <xi:include href="xml/ev-document-find.xml"/>
+    <xi:include href="xml/ev-document-fonts.xml"/>
+    <xi:include href="xml/ev-document-forms.xml"/>
+    <xi:include href="xml/ev-document-images.xml"/>
+    <xi:include href="xml/ev-document-links.xml"/>
+    <xi:include href="xml/ev-document-security.xml"/>
+    <xi:include href="xml/ev-document-thumbnails.xml"/>
+    <xi:include href="xml/ev-document-transition.xml"/>
+    <xi:include href="xml/ev-file-exporter.xml"/>
+    <xi:include href="xml/ev-document.xml"/>
+    <xi:include href="xml/ev-selection.xml"/>
+    <xi:include href="xml/ev-document-layers.xml"/>
+  </part>
+
+  <part id="data">
+    <title>Document data</title>
+    <partintro>
+      <para>
+	Helper objects related to document like attachments, links and
+	images.
+      </para>
+    </partintro>
+    <xi:include href="xml/ev-attachment.xml"/>
+    <xi:include href="xml/ev-document-info.xml"/>
+    <xi:include href="xml/ev-form-field.xml"/>
+    <xi:include href="xml/ev-image.xml"/>
+    <xi:include href="xml/ev-link-action.xml"/>
+    <xi:include href="xml/ev-link-dest.xml"/>
+    <xi:include href="xml/ev-link.xml"/>
+    <xi:include href="xml/ev-render-context.xml"/>
+    <xi:include href="xml/ev-layer.xml"/>
+    <xi:include href="xml/ev-page.xml"/>
+    <xi:include href="xml/ev-transition-effect.xml"/>
+  </part>
+
+  <part id="helper">
+    <title>Helper functions</title>
+    <partintro>
+      <para>
+	Helper functions common for backend implementation
+      </para>
+    </partintro>
+    <xi:include href="xml/ev-document-factory.xml"/>
+    <xi:include href="xml/ev-document-misc.xml"/>
+    <xi:include href="xml/ev-file-helpers.xml"/>
+    <xi:include href="xml/ev-backends-manager.xml"/>
+    <xi:include href="xml/ev-init.xml"/>
+  </part>
+
+</book>

Added: trunk/help/reference/libdocument/libevdocument.types
==============================================================================
--- (empty file)
+++ trunk/help/reference/libdocument/libevdocument.types	Sun Feb  1 16:43:51 2009
@@ -0,0 +1,48 @@
+#include "evince-document.h"
+
+ev_async_renderer_get_type
+ev_attachment_get_type
+ev_document_find_get_type
+ev_document_fonts_get_type
+ev_document_forms_get_type
+ev_document_images_get_type
+ev_document_info_get_type
+ev_document_links_get_type
+ev_document_security_get_type
+ev_document_thumbnails_get_type
+ev_document_transition_get_type
+ev_file_exporter_get_type
+ev_form_field_get_type
+ev_form_field_text_get_type
+ev_form_field_button_get_type
+ev_form_field_choice_get_type
+ev_form_field_signature_get_type
+ev_image_get_type
+ev_link_action_get_type
+ev_link_dest_get_type
+ev_link_get_type
+ev_render_context_get_type
+ev_document_get_type
+ev_selection_get_type
+ev_document_error_get_type
+ev_document_layout_get_type
+ev_document_mode_get_type
+ev_document_ui_hints_get_type
+ev_document_permissions_get_type
+ev_document_info_fields_get_type
+ev_file_exporter_format_get_type
+ev_file_exporter_capabilities_get_type
+ev_compression_type_get_type
+ev_form_field_text_type_get_type
+ev_form_field_button_type_get_type
+ev_form_field_choice_type_get_type
+ev_link_action_type_get_type
+ev_link_dest_type_get_type
+ev_selection_style_get_type
+ev_transition_effect_type_get_type
+ev_transition_effect_alignment_get_type
+ev_transition_effect_direction_get_type
+ev_layer_get_type
+ev_page_get_type
+ev_transition_effect_get_type
+ev_document_layers_get_type

Copied: trunk/help/reference/libdocument/version.xml.in (from r3400, /trunk/help/reference/version.xml.in)
==============================================================================

Copied: trunk/help/reference/libview/Makefile.am (from r3400, /trunk/help/reference/Makefile.am)
==============================================================================
--- /trunk/help/reference/Makefile.am	(original)
+++ trunk/help/reference/libview/Makefile.am	Sun Feb  1 16:43:51 2009
@@ -9,7 +9,7 @@
 # of using the various options.
 
 # The name of the module, e.g. 'glib'.
-DOC_MODULE=evince
+DOC_MODULE=libevview
 
 # The top-level SGML file. You can change this if you want to.
 DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
@@ -18,7 +18,7 @@
 # gtk-doc will search all .c & .h files beneath here for inline comments
 # documenting the functions and macros.
 # e.g. DOC_SOURCE_DIR=../../../gtk
-DOC_SOURCE_DIR=../../shell --source-dir=../../libdocument --source-dir=../../libview
+DOC_SOURCE_DIR=../../../libview
 
 # Extra options to pass to gtkdoc-scangobj. Not normally needed.
 SCANGOBJ_OPTIONS=
@@ -42,17 +42,18 @@
 # Used for dependencies. The docs will be rebuilt if any of these change.
 # e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
 # e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
-HFILE_GLOB=$(top_srcdir)/shell/*.h $(top_srcdir)/libdocument/*.h
-CFILE_GLOB=$(top_srcdir)/shell/*.c $(top_srcdir)/libdocument/*.c
+HFILE_GLOB=$(top_srcdir)/libview/*.h
+CFILE_GLOB=$(top_srcdir)/libview/*.c
 
 # Header files to ignore when scanning.
 # e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
 IGNORE_HFILES=  \
-ev-backend-marshal.c \
-ev-backend-marshalers.h \
-ev-backend-marshalers.c \
-ev-marshal.h \
-ev-marshal.c 
+	ev-pixbuf-cache.h		\
+	ev-timeline.h			\
+	ev-transition-animation.h	\
+	ev-view-accessible.h		\
+	ev-view-marshal.h		\
+	ev-view-private.h
 
 # Images to copy into HTML directory.
 # e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
@@ -75,52 +76,23 @@
 INCLUDES= \
 	-I$(top_srcdir)					\
 	-I$(top_builddir)				\
-	-I$(top_srcdir)/shell \
+	-I$(top_srcdir)/libview 			\
 	-DDATADIR=\"$(pkgdatadir)\"			\
 	-DGNOMEDATADIR=\"$(datadir)\"			\
-	-I$(top_srcdir)/cut-n-paste/zoom-control/	\
-	-I$(top_srcdir)/cut-n-paste/toolbar-editor/	\
-	-I$(top_srcdir)/cut-n-paste/totem-screensaver/	\
-	-I$(top_srcdir)/libdocument			\
-	-I$(top_builddir)/libdocument			\
-	-I$(top_srcdir)/libview				\
-	-I$(top_builddir)/libview			\
-	-I$(top_srcdir)/properties			\
+	-DEVINCE_UIDIR=\"$(pkgdatadir)\" 		\
 	-DGNOMELOCALEDIR=\"$(datadir)/locale\"		\
-	-DGNOMEICONDIR=\""$(datadir)/pixmaps"\" 	\
 	-DEVINCE_COMPILATION				\
-	$(SHELL_CFLAGS)					\
+	-I$(top_srcdir)/libdocument			\
+	-I$(top_builddir)/libdocument			\
+	$(AM_CFLAGS)					\
+	$(LIBVIEW_CFLAGS)				\
 	$(WARN_CFLAGS)					\
-	$(DISABLE_DEPRECATED)				\
-	$(GNOME_PRINT_CFLAGS)				\
-	$(GTK_PRINT_CFLAGS)
-
-GTKDOC_LIBS= \
-	$(top_builddir)/cut-n-paste/zoom-control/libephyzoom.la		\
-	$(top_builddir)/cut-n-paste/toolbar-editor/libtoolbareditor.la	\
-	$(top_builddir)/cut-n-paste/totem-screensaver/libtotemscrsaver.la	\
-	$(top_builddir)/cut-n-paste/gedit-message-area/libgeditmsgarea.la	\
-	$(top_builddir)/cut-n-paste/evmountoperation/libevmountoperation.la	\
-	$(top_builddir)/cut-n-paste/gimpcellrenderertoggle/libgimpcellrenderertoggle.la	\
-	$(top_builddir)/cut-n-paste/smclient/libsmclient.la		\
-	$(top_builddir)/properties/libevproperties.la			\
-	$(top_builddir)/libdocument/libevdocument.la			\
-	$(top_builddir)/libview/libevview.la				\
-	$(SHELL_LIBS)							\
-	$(GNOME_PRINT_LIBS)						\
-	$(filter-out ../../shell/main.o,$(wildcard ../../shell/*.o))
-
-if ENABLE_DJVU
-GTKDOC_LIBS +=	$(DJVU_LIBS)
-endif
-
-if ENABLE_DVI
-GTKDOC_LIBS +=	-lkpathsea
-endif
-
-if WITH_TYPE1_FONTS
-GTKDOC_LIBS += -lt1
-endif
+	$(DISABLE_DEPRECATED)
+
+GTKDOC_LIBS=						\
+	$(top_builddir)/libview/libevview.la		\
+	$(top_builddir)/libdocument/libevdocument.la	\
+	$(LIBVIEW_LIBS)
 
 # This includes the standard gtk-doc make rules, copied by gtkdocize.
 include $(top_srcdir)/gtk-doc.make

Added: trunk/help/reference/libview/libevview-docs.sgml
==============================================================================
--- (empty file)
+++ trunk/help/reference/libview/libevview-docs.sgml	Sun Feb  1 16:43:51 2009
@@ -0,0 +1,25 @@
+<?xml version="1.0"?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+               "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd";
+[
+  <!ENTITY % local.common.attrib "xmlns:xi  CDATA  #FIXED 'http://www.w3.org/2003/XInclude'">
+  <!ENTITY version SYSTEM "version.xml">
+]>
+<book id="index">
+  <bookinfo>
+    <title>libevview Reference Manual</title>
+    <releaseinfo>for Evince &version;</releaseinfo>
+  </bookinfo>
+
+  <chapter>
+    <title>Evince View</title>
+    <partintro>
+      <para>
+      </para>
+    </partintro>
+    <xi:include href="xml/ev-jobs.xml"/>
+    <xi:include href="xml/ev-page-cache.xml"/>
+    <xi:include href="xml/ev-view.xml"/>
+    <xi:include href="xml/ev-job-scheduler.xml"/>
+  </chapter>
+</book>

Added: trunk/help/reference/libview/libevview.types
==============================================================================
--- (empty file)
+++ trunk/help/reference/libview/libevview.types	Sun Feb  1 16:43:51 2009
@@ -0,0 +1,20 @@
+#include <evince-view.h>
+
+ev_job_get_type
+ev_job_links_get_type
+ev_job_attachments_get_type
+ev_job_render_get_type
+ev_job_thumbnail_get_type
+ev_job_fonts_get_type
+ev_job_load_get_type
+ev_job_save_get_type
+ev_job_find_get_type
+ev_job_layers_get_type
+ev_job_export_get_type
+ev_page_cache_get_type
+ev_view_get_type
+ev_job_run_mode_get_type
+ev_render_flags_get_type
+ev_job_priority_get_type
+ev_sizing_mode_get_type
+ev_view_selection_mode_get_type

Copied: trunk/help/reference/libview/version.xml.in (from r3400, /trunk/help/reference/version.xml.in)
==============================================================================

Copied: trunk/help/reference/shell/Makefile.am (from r3400, /trunk/help/reference/Makefile.am)
==============================================================================
--- /trunk/help/reference/Makefile.am	(original)
+++ trunk/help/reference/shell/Makefile.am	Sun Feb  1 16:43:51 2009
@@ -18,7 +18,7 @@
 # gtk-doc will search all .c & .h files beneath here for inline comments
 # documenting the functions and macros.
 # e.g. DOC_SOURCE_DIR=../../../gtk
-DOC_SOURCE_DIR=../../shell --source-dir=../../libdocument --source-dir=../../libview
+DOC_SOURCE_DIR=../../../shell
 
 # Extra options to pass to gtkdoc-scangobj. Not normally needed.
 SCANGOBJ_OPTIONS=
@@ -42,17 +42,14 @@
 # Used for dependencies. The docs will be rebuilt if any of these change.
 # e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
 # e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
-HFILE_GLOB=$(top_srcdir)/shell/*.h $(top_srcdir)/libdocument/*.h
-CFILE_GLOB=$(top_srcdir)/shell/*.c $(top_srcdir)/libdocument/*.c
+HFILE_GLOB=$(top_srcdir)/shell/*.h
+CFILE_GLOB=$(top_srcdir)/shell/*.c
 
 # Header files to ignore when scanning.
 # e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
-IGNORE_HFILES=  \
-ev-backend-marshal.c \
-ev-backend-marshalers.h \
-ev-backend-marshalers.c \
-ev-marshal.h \
-ev-marshal.c 
+IGNORE_HFILES=		\
+	ev-marshal.h 	\
+	ev-marshal.c 
 
 # Images to copy into HTML directory.
 # e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
@@ -92,7 +89,6 @@
 	$(SHELL_CFLAGS)					\
 	$(WARN_CFLAGS)					\
 	$(DISABLE_DEPRECATED)				\
-	$(GNOME_PRINT_CFLAGS)				\
 	$(GTK_PRINT_CFLAGS)
 
 GTKDOC_LIBS= \
@@ -107,8 +103,8 @@
 	$(top_builddir)/libdocument/libevdocument.la			\
 	$(top_builddir)/libview/libevview.la				\
 	$(SHELL_LIBS)							\
-	$(GNOME_PRINT_LIBS)						\
-	$(filter-out ../../shell/main.o,$(wildcard ../../shell/*.o))
+	$(GTK_PRINT_LIBS)						\
+	$(filter-out ../../../shell/main.o,$(wildcard ../../../shell/*.o))
 
 if ENABLE_DJVU
 GTKDOC_LIBS +=	$(DJVU_LIBS)

Added: trunk/help/reference/shell/evince-docs.sgml
==============================================================================
--- (empty file)
+++ trunk/help/reference/shell/evince-docs.sgml	Sun Feb  1 16:43:51 2009
@@ -0,0 +1,65 @@
+<?xml version="1.0"?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 
+               "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"; [
+   <!ENTITY ev-application-service		SYSTEM  "xml/ev-application-service.xml">
+   <!ENTITY ev-application			SYSTEM  "xml/ev-application.xml">
+   <!ENTITY ev-history				SYSTEM  "xml/ev-history.xml">
+   <!ENTITY ev-metadata-manager			SYSTEM  "xml/ev-metadata-manager.xml">
+   <!ENTITY ev-navigation-action-widget		SYSTEM  "xml/ev-navigation-action-widget.xml">
+   <!ENTITY ev-navigation-action		SYSTEM  "xml/ev-navigation-action.xml">
+   <!ENTITY ev-page-action-widget		SYSTEM  "xml/ev-page-action-widget.xml">
+   <!ENTITY ev-page-action			SYSTEM  "xml/ev-page-action.xml">
+   <!ENTITY ev-password-view			SYSTEM  "xml/ev-password-view.xml">
+   <!ENTITY ev-properties-dialog		SYSTEM  "xml/ev-properties-dialog.xml">
+   <!ENTITY ev-properties-fonts			SYSTEM  "xml/ev-properties-fonts.xml">
+   <!ENTITY ev-sidebar-attachments		SYSTEM  "xml/ev-sidebar-attachments.xml">
+   <!ENTITY ev-sidebar-links			SYSTEM  "xml/ev-sidebar-links.xml">
+   <!ENTITY ev-sidebar-page			SYSTEM  "xml/ev-sidebar-page.xml">
+   <!ENTITY ev-sidebar-thumbnails		SYSTEM  "xml/ev-sidebar-thumbnails.xml">
+   <!ENTITY ev-sidebar				SYSTEM  "xml/ev-sidebar.xml">
+   <!ENTITY ev-stock-icons			SYSTEM  "xml/ev-stock-icons.xml">
+   <!ENTITY ev-utils				SYSTEM  "xml/ev-utils.xml">
+   <!ENTITY ev-window-title			SYSTEM  "xml/ev-window-title.xml">
+   <!ENTITY ev-window				SYSTEM  "xml/ev-window.xml">
+    ]>
+<book id="index">
+  <bookinfo>
+    <title>Evince Programmer's Reference Manual</title>
+  </bookinfo>
+  
+    <part>
+      <title>
+       <phrase>Evince Frontend</phrase>
+      </title>
+     <partintro>
+      <para>
+
+	Evince internals are rather simple. There are an application
+	singleton that maintains list of windows and provides common
+	services, each window shows loaded document, it has menus
+	sidebar, toolbar and main view.
+      </para>
+     </partintro>
+	&ev-history;
+	&ev-metadata-manager;
+	&ev-navigation-action;
+	&ev-navigation-action-widget;
+	&ev-page-action;
+	&ev-page-action-widget;
+	&ev-password-view;
+	&ev-properties-dialog;
+	&ev-properties-fonts;
+	&ev-sidebar-attachments;
+	&ev-sidebar-links;
+	&ev-sidebar-page;
+	&ev-sidebar-thumbnails;
+	&ev-sidebar;
+	&ev-stock-icons;
+	&ev-utils;
+	&ev-window-title;
+	&ev-window;
+    </part>
+    
+  <index/>
+
+</book>

Added: trunk/help/reference/shell/evince.types
==============================================================================
--- (empty file)
+++ trunk/help/reference/shell/evince.types	Sun Feb  1 16:43:51 2009
@@ -0,0 +1,15 @@
+#include "ev-application.h"
+#include "ev-navigation-action.h"
+#include "ev-navigation-action-widget.h"
+#include "ev-page-action.h"
+#include "ev-page-action-widget.h"
+#include "ev-window.h"
+
+ev_application_get_type
+ev_navigation_action_get_type
+ev_navigation_action_widget_get_type
+ev_navigation_action_widget_get_type
+ev_page_action_get_type
+ev_page_action_widget_get_type
+ev_page_action_widget_get_type
+ev_window_get_type

Copied: trunk/help/reference/shell/tmpl/dummy.sgml (from r3400, /trunk/help/reference/tmpl/dummy.sgml)
==============================================================================

Copied: trunk/help/reference/shell/version.xml.in (from r3400, /trunk/help/reference/version.xml.in)
==============================================================================



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]