diff --git a/source/easymacro.py b/source/easymacro.py index d91c6af..5682097 100644 --- a/source/easymacro.py +++ b/source/easymacro.py @@ -2775,7 +2775,7 @@ class LOWriterTextRange(object): @property def string(self): s = '' - if self._is_paragraph: + if not self._is_table: s = self.obj.String return s @string.setter diff --git a/source/images/insert.svg b/source/images/insert.svg new file mode 100644 index 0000000..21d461b --- /dev/null +++ b/source/images/insert.svg @@ -0,0 +1,87 @@ + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/source/images/preview.svg b/source/images/preview.svg new file mode 100644 index 0000000..8c4e378 --- /dev/null +++ b/source/images/preview.svg @@ -0,0 +1,113 @@ + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/source/zaz.py b/source/zaz.py index 667fe97..5238ec2 100755 --- a/source/zaz.py +++ b/source/zaz.py @@ -46,7 +46,6 @@ from conf import ( log) -EASYMACRO_TMP = 'easymacro2.py' EASYMACRO = 'easymacro.py' @@ -747,7 +746,7 @@ def _new(args): path_logo = 'images/pymacros.png' copyfile(path_logo, _join(path, 'images/logo.png')) copyfile('zaz.py', _join(path, 'zaz.py')) - copyfile(EASYMACRO_TMP, _join(path, 'easymacro.py')) + copyfile(EASYMACRO, _join(path, 'easymacro.py')) copyfile('conf.py.example', _join(path, 'conf.py')) msg = 'Folders and files copy successfully for new extension.'