Remove text range class

This commit is contained in:
Mauricio Baeza 2020-12-04 22:20:52 -06:00
parent d81ccd943a
commit 67fec86289
1 changed files with 0 additions and 32 deletions

View File

@ -103,38 +103,6 @@ class LOWriter(LODocument):
return found
class LOTextRange(object):
def __init__(self, obj):
self._obj = obj
self._is_paragraph = self.obj.ImplementationName == 'SwXParagraph'
self._is_table = self.obj.ImplementationName == 'SwXTextTable'
@property
def obj(self):
return self._obj
@property
def is_paragraph(self):
return self._is_paragraph
@property
def is_table(self):
return self._is_table
@property
def string(self):
return self.obj.String
@property
def text(self):
return self.obj.getText()
@property
def cursor(self):
return self.text.createTextCursorByRange(self.obj)
class LOBase(object):
TYPES = {
str: 'setString',