*** empty log message ***
[swftools.git] / pdf2swf / SWFOutputDev.h
diff --git a/pdf2swf/SWFOutputDev.h b/pdf2swf/SWFOutputDev.h
deleted file mode 100644 (file)
index f83a1a6..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-/* pdfswf.h
-   Header file for pdfswf.cc.
-
-   Part of the swftools package.
-
-   Copyright (c) 2001 Matthias Kramm <kramm@quiss.org> 
-   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 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 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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
-
-#ifndef __pdf_h__
-#define __pdf_h__
-
-#include "../lib/gfxdevice.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-void pdfswf_addfont(char*filename);
-void pdfswf_addfontdir(char*dir);
-void pdfswf_addlanguagedir(char*dir);
-
-void pdfswf_setparameter(char*name, char*value);
-
-typedef struct _pdf_doc
-{
-    char*info;
-    char*title;
-    int num_pages;
-    void*internal;
-} pdf_doc_t;
-
-pdf_doc_t*  pdf_init(char*filename, char*userPassword);
-void pdf_destroy(pdf_doc_t*doc);
-
-typedef struct _dev_output
-{
-    int num_pages;
-    void*internal;
-} dev_output_t;
-
-dev_output_t* dev_output_init(gfxdevice_t*dev);
-void dev_output_startframe(dev_output_t*, int width, int height);
-void dev_output_endframe(dev_output_t*);
-void dev_output_setparameter(dev_output_t*, char*name, char*value);
-void dev_output_finish(dev_output_t*);
-void dev_output_preparepage(dev_output_t*, int pdfpage, int outputpage);
-void dev_output_destroy(dev_output_t*);
-
-typedef struct _pdf_page
-{
-    pdf_doc_t*parent;
-    int nr;
-    void*internal;
-} pdf_page_t;
-
-pdf_page_t* pdf_getpage(pdf_doc_t*doc, int page);
-void pdf_page_render(pdf_page_t*page, dev_output_t*output);
-void pdf_page_rendersection(pdf_page_t*page, dev_output_t*output, int x, int y, int x1, int y1, int x2, int y2);
-void pdf_page_destroy(pdf_page_t*page);
-
-typedef struct _pdf_page_info
-{
-    int xMin, yMin, xMax, yMax;
-    int number_of_images;
-    int number_of_links;
-    int number_of_fonts;
-} pdf_page_info_t;
-
-pdf_page_info_t* pdf_page_getinfo(pdf_page_t*page);
-void pdf_page_info_destroy(pdf_page_info_t*info);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif //__pdf_h__