removed most set<parameter>() functions. All parameters are now set
authorkramm <kramm>
Fri, 10 Sep 2004 14:24:52 +0000 (14:24 +0000)
committerkramm <kramm>
Fri, 10 Sep 2004 14:24:52 +0000 (14:24 +0000)
via setparameter().

pdf2swf/SWFOutputDev.cc
pdf2swf/SWFOutputDev.h

index ad411a9..0b79336 100644 (file)
@@ -1795,27 +1795,7 @@ void pdfswf_addfont(char*filename)
     fonts[fontnum++] = f;
 }
 
-/* TODO: get rid of this */
-void pdfswf_drawonlyshapes() { pdfswf_setparameter("drawonlyshapes", "1"); }
-void pdfswf_ignoredraworder() { pdfswf_setparameter("ignoredraworder", "1"); }
-void pdfswf_linksopennewwindow() { pdfswf_setparameter("opennewwindow", "1"); }
-void pdfswf_storeallcharacters() { pdfswf_setparameter("storeallcharacters", "1"); }
-void pdfswf_enablezlib() { pdfswf_setparameter("enablezlib", "1"); }
 void pdfswf_setoutputfilename(char*_filename) { swffilename = _filename; }
-void pdfswf_insertstop() { pdfswf_setparameter("insertstoptag", "1"); }
-
-void pdfswf_jpegquality(int val) {
-    char tmp[32];
-    sprintf(tmp, "%d", val);
-    pdfswf_setparameter("jpegquality", tmp);
-}
-void pdfswf_setversion(int n) {
-    char tmp[32];
-    sprintf(tmp, "%d", n);
-    pdfswf_setparameter("flashversion", tmp);
-}
-
-
 
 void pdfswf_convertpage(int page)
 {
index 2348da2..87b3e11 100644 (file)
@@ -27,16 +27,10 @@ void pdfswf_setparameter(char*name, char*value);
 void pdfswf_addfont(char*filename);
 
 void pdfswf_setoutputfilename(char*filename);
-void pdfswf_drawonlyshapes();
-void pdfswf_enablezlib();
-void pdfswf_ignoredraworder();
-void pdfswf_linksopennewwindow();
+
+void pdfswf_setversion(int);
 void pdfswf_jpegquality(int);
 void pdfswf_performconversion();
-void pdfswf_storeallcharacters();
-void pdfswf_insertstop();
-void pdfswf_setversion(int);
-
 
 int pdfswf_numpages();
 void pdfswf_convertpage(int page) ;