summaryrefslogtreecommitdiff
path: root/wizards/com/sun/star/wizards/agenda
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2014-02-06 23:21:40 +0100
committerAndras Timar <andras.timar@collabora.com>2014-02-06 23:22:30 +0100
commitac6e8ac7e407887a18bca6c835f85e372a4d0932 (patch)
tree4011854fc6beb6c4bf03fc278efeeffddedae7d0 /wizards/com/sun/star/wizards/agenda
parent31ae0011352faa834da8969559430935e81d479f (diff)
typo fixes in comments
Change-Id: Idd49478d59cd062118fbf8e99d1c8bc5250013fc
Diffstat (limited to 'wizards/com/sun/star/wizards/agenda')
-rw-r--r--wizards/com/sun/star/wizards/agenda/AgendaDocument.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/wizards/com/sun/star/wizards/agenda/AgendaDocument.py b/wizards/com/sun/star/wizards/agenda/AgendaDocument.py
index 180b83f261cc..77a55ee5eab0 100644
--- a/wizards/com/sun/star/wizards/agenda/AgendaDocument.py
+++ b/wizards/com/sun/star/wizards/agenda/AgendaDocument.py
@@ -106,7 +106,7 @@ class AgendaDocument(TextDocument):
def calcTemplateName(self, url):
return FileAccess.connectURLs(
FileAccess.getParentDir(url), FileAccess.getFilename(url)[3:])
-
+
'''synchronize the document to the model.<br/>
this method rewrites all titles, item tables , and the topics table-
thus synchronizing the document to the data model (CGAgenda).
@@ -142,7 +142,7 @@ class AgendaDocument(TextDocument):
except Exception:
traceback.print_exc()
self.xTextDocument.unlockControllers()
-
+
'''
checks the data model if the
item corresponding to the given string should be shown
@@ -199,7 +199,7 @@ class AgendaDocument(TextDocument):
self.resources.resPlaceHolderHint, self.xTextDocument))
self.itemsCache[
self.templateConsts.FILLIN_READ] = \
- AgendaItem (self.templateConsts.FILLIN_READ,
+ AgendaItem (self.templateConsts.FILLIN_READ,
self.resources.itemRead,
PlaceholderElement (
self.resources.reschkRead_value,
@@ -630,7 +630,7 @@ class ItemsTable(object):
self.agenda.textSectionHandler.breakLinkOfTextSection(
self.section)
# we need to get a instance after linking
-
+
ItemsTable.table = self.agenda.getTable(name)
self.section = self.agenda.getSection(name)
cursor = ItemsTable.table.createCursorByCellName("A1")
@@ -640,8 +640,8 @@ class ItemsTable(object):
cellName = ""
'''
now go through all items that belong to this
- table. Check each one agains the model. If it should
- be display, call it's write method.
+ table. Check each one against the model. If it should
+ be displayed, call its write method.
All items are of type AgendaItem which means they write
two cells to the table: a title (text) and a placeholder.
see AgendaItem class below.
@@ -813,11 +813,11 @@ class Topics(object):
# move the cursor to the needed cell...
cursor.goRight(column, False)
-
+
xc = Topics.table.getCellByName(cursor.RangeName)
# and write it !
te = TextElement(xc, data[column].Value)
- te.write()
+ te.write()
'''removes obsolete rows, reducing the
topics table to the given number of topics.