summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2006-11-17 18:10:51 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2006-11-17 18:10:51 +0100
commite938b7d14fa1b8c4ade923ad864fba0ef2fb16cf (patch)
treeb637669f4b262d3c6aebdeabdeb3df305a9ed41f
parent335e82b97463eb3c25e1a69dd7522c1875c09c5d (diff)
remove PSLevel2Writer
-rw-r--r--src/Postscript.H10
-rw-r--r--src/Postscript.cxx21
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";
-}