Divide BaseDoc into BaseDoc, TextDoc and DrawDoc. TextDoc and DrawDoc are abstract interfaces that must be implemented by the corresponding document generators.
svn: r8431
This commit is contained in:
@@ -69,7 +69,7 @@ if print_label == None:
|
||||
# PSDrawDoc
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
class PSDrawDoc(BaseDoc.BaseDoc):
|
||||
class PSDrawDoc(BaseDoc.BaseDoc,BaseDoc.DrawDoc):
|
||||
|
||||
def __init__(self,styles,type,template):
|
||||
BaseDoc.BaseDoc.__init__(self,styles,type,template)
|
||||
|
||||
Reference in New Issue
Block a user