summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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";
-}