appy.pod: bugfix in html2odt: in some situations, while using stylesMappings, some empty tags were present in the result, producing a superflous empty paragraph; bugfix while importing PNG files under Windows; appy.gen: began to implement a new global Appy-specific page template and styles.
This commit is contained in:
parent
ddec7cd62c
commit
7514eb31a9
9 changed files with 114 additions and 21 deletions
17
gen/utils.py
17
gen/utils.py
|
@ -213,23 +213,6 @@ class Keywords:
|
|||
return op.join(self.keywords)+'*'
|
||||
return ''
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
class FakeBrain:
|
||||
'''This class behaves like a brain retrieved from a query to a ZCatalog. It
|
||||
is used for representing a fake brain that was generated from a search in
|
||||
a distant portal_catalog.'''
|
||||
Creator = None
|
||||
created = None
|
||||
modified = None
|
||||
review_state = None
|
||||
def has_key(self, key): return hasattr(self, key)
|
||||
def getPath(self): return self.path
|
||||
def getURL(self, relative=0): return self.url
|
||||
def _unrestrictedGetObject(self): return self
|
||||
def pretty_title_or_id(self): return self.Title
|
||||
def getObject(self, REQUEST=None): return self
|
||||
def getRID(self): return self.url
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
CONVERSION_ERROR = 'An error occurred while executing command "%s". %s'
|
||||
class FileWrapper:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue