diff options
author | Javier Fernandez <jfernandez@igalia.com> | 2013-03-08 22:40:01 +0000 |
---|---|---|
committer | Javier Fernandez <jfernandez@igalia.com> | 2013-04-11 13:16:06 +0000 |
commit | f6572389a4903fd0eebe0ae336d4d256394f70e2 (patch) | |
tree | 2d2efe40b77b59f0eb1e60cb77932ba49f01c3c0 | |
parent | aaf8f8bfd6e708a73852fdab265ba4439c5004f4 (diff) |
Added templates creation code, but implementation is still pending.
Change-Id: Ic74cf67d40ef86e4f609495f00d4cd7e69ac777d
-rw-r--r-- | wizards/com/sun/star/wizards/web/Process.py | 3 | ||||
-rw-r--r-- | wizards/com/sun/star/wizards/web/data/CGLayout.py | 6 |
2 files changed, 5 insertions, 4 deletions
diff --git a/wizards/com/sun/star/wizards/web/Process.py b/wizards/com/sun/star/wizards/web/Process.py index 1516cad9fdfd..8ebbb8d64b85 100644 --- a/wizards/com/sun/star/wizards/web/Process.py +++ b/wizards/com/sun/star/wizards/web/Process.py @@ -345,8 +345,7 @@ class Process(ProcessErrors): @classmethod def generate1(self, xmsf, layout, doc, fileAccess, targetPath, task): # a map that contains xsl templates. the keys are the xsl file names. - #templates = layout.getTemplates(xmsf) - templates = {} + templates = layout.getTemplates(xmsf) task.advance1(True, TASK_GENERATE_XSL) diff --git a/wizards/com/sun/star/wizards/web/data/CGLayout.py b/wizards/com/sun/star/wizards/web/data/CGLayout.py index 9830664cb98c..e05e9a78e4ac 100644 --- a/wizards/com/sun/star/wizards/web/data/CGLayout.py +++ b/wizards/com/sun/star/wizards/web/data/CGLayout.py @@ -46,5 +46,7 @@ class CGLayout(ConfigGroup): return [ResId, ResId + 1] def getTemplates(self, xmsf): - self.createTemplates(xmsf) - return self.templates + # COMMENT - TODO + #self.createTemplates(xmsf) + #return self.templates + return {} |