diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2006-11-17 18:10:51 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2006-11-17 18:10:51 +0100 |
commit | e938b7d14fa1b8c4ade923ad864fba0ef2fb16cf (patch) | |
tree | b637669f4b262d3c6aebdeabdeb3df305a9ed41f /src | |
parent | 335e82b97463eb3c25e1a69dd7522c1875c09c5d (diff) |
remove PSLevel2Writer
Diffstat (limited to 'src')
-rw-r--r-- | src/Postscript.H | 10 | ||||
-rw-r--r-- | src/Postscript.cxx | 21 |
2 files changed, 0 insertions, 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"; -} |