예제 #1
0
	def __init__(self, format, notebook, path=None, document_root_url=None):
		BaseLinker.__init__(self)
		if isinstance(format, basestring):
			format = get_format(format)
		self.notebook = notebook
		self.path = path
		self.document_root_url = document_root_url
		self._extension = '.' + format.info['extension']
예제 #2
0
파일: exporter.py 프로젝트: pombredanne/zim
 def __init__(self, format, notebook, path=None, document_root_url=None):
     BaseLinker.__init__(self)
     if isinstance(format, basestring):
         format = get_format(format)
     self.notebook = notebook
     self.path = path
     self.document_root_url = document_root_url
     self.target_dir = None
     self.target_file = None
     self._extension = '.' + format.info['extension']
예제 #3
0
파일: www.py 프로젝트: gdw2/zim
	def __init__(self, notebook, path=None):
		BaseLinker.__init__(self)
		self.notebook = notebook
		self.path = path
예제 #4
0
 def __init__(self, notebook, path=None):
     BaseLinker.__init__(self)
     self.notebook = notebook
     self.path = path