From e938b7d14fa1b8c4ade923ad864fba0ef2fb16cf Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Fri, 17 Nov 2006 18:10:51 +0100 Subject: remove PSLevel2Writer --- src/Postscript.H | 10 ---------- src/Postscript.cxx | 21 --------------------- 2 files changed, 31 deletions(-) diff --git a/src/Postscript.H b/src/Postscript.H index dd53fa3..5237ee5 100644 --- a/src/Postscript.H +++ b/src/Postscript.H @@ -97,14 +97,4 @@ class PSLevel1Writer : public PSWriter { PSLevel1Writer(PSEditModel *p); }; -class PSLevel2Writer : public PSWriter { - protected: - char *ps_header(); - - char *ps_trailer(); - - public: - PSLevel2Writer(PSEditModel *p); -}; - #endif diff --git a/src/Postscript.cxx b/src/Postscript.cxx index cc2b469..e83e1b6 100644 --- a/src/Postscript.cxx +++ b/src/Postscript.cxx @@ -416,24 +416,3 @@ char * PSLevel1Writer::ps_header() { char * PSLevel1Writer::ps_trailer() { return "grestore PSEditWidgetshowpage} def\n"; } - - -PSLevel2Writer::PSLevel2Writer(PSEditModel *p) : PSWriter(p) {}; - -char * PSLevel2Writer::ps_header() { - return \ - "/PSEditWidgetPageCount 0 def\n" \ - "<< /EndPage {\n" \ - "gsave initgraphics\n" \ - "pop\n" \ - "PSEditWidgetPageCount 0 eq { \n" \ - "1 add %% use showpage counter instead.\n" \ - "} {\n" \ - "PSEditWidgetPageCount\n" \ - "} ifelse\n"; - -} - -char * PSLevel2Writer::ps_trailer() { - return "grestore true } >> setpagedevice\n"; -} -- cgit v1.2.3