summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2014-03-20 14:10:07 +0000
committerMichael Meeks <michael.meeks@collabora.com>2014-03-20 15:45:34 +0000
commit1f2817e913c87e4f91253bd3fc01e16624ea6b71 (patch)
tree4bff9f48547f68258739670a555d8260d38aabe2 /wizards
parentc678b78c03212d4c9d3aa686afbaf2defb521881 (diff)
Fix a number of typos & trailing spaces.
Change-Id: I8dea099dbb06600f1493da111284810a0e27cd96
Diffstat (limited to 'wizards')
-rw-r--r--wizards/com/sun/star/wizards/agenda/AgendaDocument.py10
-rw-r--r--wizards/com/sun/star/wizards/agenda/AgendaWizardDialog.py8
-rw-r--r--wizards/com/sun/star/wizards/agenda/CGTopic.py6
-rw-r--r--wizards/com/sun/star/wizards/agenda/TopicsControl.py6
4 files changed, 15 insertions, 15 deletions
diff --git a/wizards/com/sun/star/wizards/agenda/AgendaDocument.py b/wizards/com/sun/star/wizards/agenda/AgendaDocument.py
index 77a55ee5eab0..0bcb30fd08e8 100644
--- a/wizards/com/sun/star/wizards/agenda/AgendaDocument.py
+++ b/wizards/com/sun/star/wizards/agenda/AgendaDocument.py
@@ -87,8 +87,8 @@ class AgendaDocument(TextDocument):
self.allItems = []
def load(self, templateURL):
- #Each template is duplicated. aw-XXX.ott is the template itself
- #and XXX.ott is a section link.
+ # Each template is duplicated. aw-XXX.ott is the template itself
+ # and XXX.ott is a section link.
self.template = self.calcTemplateName(templateURL)
self.loadAsPreview(templateURL, False)
self.xFrame.ComponentWindow.Enable = False
@@ -432,7 +432,7 @@ class AgendaDocument(TextDocument):
else:
try:
topicStartTime = int(self.agenda.cp_Time)
- #first I replace the minutes titles...
+ # first I replace the minutes titles...
self.items = self.searchFillInItems()
itemIndex = 0
for item in self.items:
@@ -823,7 +823,7 @@ class Topics(object):
topics table to the given number of topics.
Note this method does only reducing - if
the number of topics given is greater than the
- number of actuall topics it does *not* add
+ number of actual topics it does *not* add
rows !
Note also that the first topic will never be removed.
If the table contains no topics, the whole section will
@@ -917,7 +917,7 @@ class AgendaItem(object):
cell = ItemsTable.table.getCellByName(cellname)
cell.String = self.textElement
tableCursor.goRight(1, False)
- #second field is actually always null...
+ # second field is actually always null...
# this is a preparation for adding placeholders.
if self.field is not None:
self.field.write(ItemsTable.table.getCellByName(
diff --git a/wizards/com/sun/star/wizards/agenda/AgendaWizardDialog.py b/wizards/com/sun/star/wizards/agenda/AgendaWizardDialog.py
index 20f0e17da80d..fc9eef970f46 100644
--- a/wizards/com/sun/star/wizards/agenda/AgendaWizardDialog.py
+++ b/wizards/com/sun/star/wizards/agenda/AgendaWizardDialog.py
@@ -25,10 +25,10 @@ class AgendaWizardDialog(WizardDialog):
def __init__(self, xmsf):
super(AgendaWizardDialog,self).__init__(xmsf, HID )
-
+
#Load Resources
self.resources = AgendaWizardDialogResources(self.oWizardResource)
-
+
#set dialog properties...
self.setDialogProperties(True, 210, True, 200, 52, 1, 1,
self.resources.resAgendaWizardDialog_title, 310)
@@ -98,7 +98,7 @@ class AgendaWizardDialog(WizardDialog):
"ScaleImage", PropertyNames.PROPERTY_STEP,
PropertyNames.PROPERTY_TABINDEX,
PropertyNames.PROPERTY_WIDTH)
-
+
self.fontDescriptor4 = \
uno.createUnoStruct('com.sun.star.awt.FontDescriptor')
self.fontDescriptor4.Weight = 150
@@ -108,7 +108,7 @@ class AgendaWizardDialog(WizardDialog):
(self.fontDescriptor4, 16, self.resources.reslblTitle1_value,
True, 91, 8, 1, 100,212))
self.insertLabel("lblPageDesign", self.PROPS_TEXT,
- (8, self.resources.reslblPageDesign_value, 97, 32, 1, 101, 66))
+ (8, self.resources.reslblPageDesign_value, 97, 32, 1, 101, 66))
self.listPageDesign = self.insertListBox("listPageDesign",
None, AgendaWizardDialogConst.LISTPAGEDESIGN_ACTION_PERFORMED,
self.PROPS_LIST,
diff --git a/wizards/com/sun/star/wizards/agenda/CGTopic.py b/wizards/com/sun/star/wizards/agenda/CGTopic.py
index c09436308f03..e99f770b242a 100644
--- a/wizards/com/sun/star/wizards/agenda/CGTopic.py
+++ b/wizards/com/sun/star/wizards/agenda/CGTopic.py
@@ -20,7 +20,7 @@ from ..common.ConfigGroup import ConfigGroup
'''
CGTopic means: Configuration Group Topic.
This object encapsulates a configuration group with topic information.
-Since the topics gui conftrol uses its own data model, there is
+Since the topic's gui control uses its own data model, there is
also code here to convert from the data model to CGTopic object (the constructor)
and vice versa (setDataToRow method - used when loading the last session...)
'''
@@ -31,7 +31,7 @@ class CGTopic(ConfigGroup):
create a new CGTopic object with data from the given row.
the row object is a PropertyValue array, as used
by the TopicsControl's data model.
- @param row PropertyValue array as used by the TopicsControl data model.
+ @param row PropertyValue array as used by the TopicsControl's data model.
'''
def __init__(self, row=None):
@@ -39,7 +39,7 @@ class CGTopic(ConfigGroup):
self.cp_Index = int()
self.cp_Topic = str()
self.cp_Responsible = str()
- self.cp_Time = str()
+ self.cp_Time = str()
else:
self.cp_Index = int(row[0].Value[:-1])
self.cp_Topic = row[1].Value
diff --git a/wizards/com/sun/star/wizards/agenda/TopicsControl.py b/wizards/com/sun/star/wizards/agenda/TopicsControl.py
index 8e7dbc2713b8..90576cc6cd96 100644
--- a/wizards/com/sun/star/wizards/agenda/TopicsControl.py
+++ b/wizards/com/sun/star/wizards/agenda/TopicsControl.py
@@ -47,7 +47,7 @@ then the other three rows, which do not exist in the data model, are disabled.
<br/>
The following other functionality is implemented:
<br/>
-0. synchroniting data between controls, data model and live preview.
+0. synchronizing data between controls, data model and live preview.
1. Tab scrolling.<br/>
2. Keyboard scrolling.<br/>
3. Removing rows and adding new rows.<br/>
@@ -55,7 +55,7 @@ The following other functionality is implemented:
<br/>
This control relays on the ControlScroller control which uses the following
Data model:<br/>
-1. It uses a vector, whos members are arrays of PropertyValue.<br/>
+1. It uses a vector, whose members are arrays of PropertyValue.<br/>
2. Each array represents a row.<br/>
(Note: the Name and Value memebrs of the PropertyValue object are being used)
3. Each property Value represents a value
@@ -157,7 +157,7 @@ class TopicsControl(ControlScroller):
setEnabled(True)
def saveTopics(self, agenda):
- #last row is always empty
+ # last row is always empty
agenda.cp_Topics.childrenList = self.scrollfields[:-1]
'''