From 272ec634b0d667036722d7a0497adbc21ae42d3a Mon Sep 17 00:00:00 2001 From: Mauricio Baeza Date: Sun, 29 Nov 2020 22:11:06 -0600 Subject: [PATCH] Add fill range --- source/diff.py | 4 ---- source/easymacro2.py | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/source/diff.py b/source/diff.py index 8e0857f..1541825 100644 --- a/source/diff.py +++ b/source/diff.py @@ -365,10 +365,6 @@ class LOCellRange(object): def auto_format(self, value): self.obj.autoFormat(value) - def fill(self, source=1): - self.obj.fillAuto(0, source) - return - def get_column(self, index=0, first=False): ca = self.address ra = self.current_region.address diff --git a/source/easymacro2.py b/source/easymacro2.py index 224184e..3f46897 100644 --- a/source/easymacro2.py +++ b/source/easymacro2.py @@ -2517,6 +2517,10 @@ class LOCalcRange(object): self.obj.clearContents(what) return + def fill(self, source=1): + self.obj.fillAuto(0, source) + return + class LOWriterPageStyle(LOBaseObject):